summaryrefslogtreecommitdiff
path: root/src/mbgl/style
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2017-04-27 15:05:11 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2017-05-04 07:29:08 -0700
commit89f1ffc6d29d5631dfd322834397ec2247c5c9d7 (patch)
tree277bd6ca61cbecaa9c659273992da2abbe9a431e /src/mbgl/style
parent806da5d940aed7021f921ab98b9ae8e4e364f732 (diff)
downloadqtlocation-mapboxgl-89f1ffc6d29d5631dfd322834397ec2247c5c9d7.tar.gz
[core] UpdateParameters ⇢ TileParameters
Diffstat (limited to 'src/mbgl/style')
-rw-r--r--src/mbgl/style/style.cpp4
-rw-r--r--src/mbgl/style/style.hpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mbgl/style/style.cpp b/src/mbgl/style/style.cpp
index 7f21d81b0e..5180f440c5 100644
--- a/src/mbgl/style/style.cpp
+++ b/src/mbgl/style/style.cpp
@@ -20,7 +20,7 @@
#include <mbgl/text/glyph_atlas.hpp>
#include <mbgl/geometry/line_atlas.hpp>
#include <mbgl/renderer/render_source.hpp>
-#include <mbgl/renderer/update_parameters.hpp>
+#include <mbgl/renderer/tile_parameters.hpp>
#include <mbgl/renderer/cascade_parameters.hpp>
#include <mbgl/renderer/property_evaluation_parameters.hpp>
#include <mbgl/renderer/render_item.hpp>
@@ -327,7 +327,7 @@ double Style::getDefaultPitch() const {
return defaultPitch;
}
-void Style::updateTiles(const UpdateParameters& parameters) {
+void Style::updateTiles(const TileParameters& parameters) {
for (const auto& renderSource : renderSources) {
if (renderSource->enabled) {
renderSource->updateTiles(parameters);
diff --git a/src/mbgl/style/style.hpp b/src/mbgl/style/style.hpp
index c7528483e9..e07a4fda75 100644
--- a/src/mbgl/style/style.hpp
+++ b/src/mbgl/style/style.hpp
@@ -36,7 +36,7 @@ class RenderedQueryOptions;
class Scheduler;
class RenderLayer;
class RenderSource;
-class UpdateParameters;
+class TileParameters;
namespace style {
@@ -61,7 +61,7 @@ public:
// Fetch the tiles needed by the current viewport and emit a signal when
// a tile is ready so observers can render the tile.
- void updateTiles(const UpdateParameters&);
+ void updateTiles(const TileParameters&);
void relayout();
void cascade(const TimePoint&, MapMode);