summaryrefslogtreecommitdiff
path: root/src/mbgl/style/source_impl.hpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-11-04 13:00:41 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-11-07 10:16:35 -0800
commitaa087967675cd337961ebea78bd04836600d8aed (patch)
treefc15ac2fc7c4ae3fe6016771bb2582d519f295e4 /src/mbgl/style/source_impl.hpp
parent1533d28314fe869ad3f1772872e99516eab76e36 (diff)
downloadqtlocation-mapboxgl-aa087967675cd337961ebea78bd04836600d8aed.tar.gz
[core] Separate pathway for notifying workers of new images/glyphs
Diffstat (limited to 'src/mbgl/style/source_impl.hpp')
-rw-r--r--src/mbgl/style/source_impl.hpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mbgl/style/source_impl.hpp b/src/mbgl/style/source_impl.hpp
index 9efe5205b3..1041ebffed 100644
--- a/src/mbgl/style/source_impl.hpp
+++ b/src/mbgl/style/source_impl.hpp
@@ -43,11 +43,14 @@ public:
virtual void loadDescription(FileSource&) = 0;
bool isLoaded() const;
- // Called when the camera has changed or icons or glyphs are loaded. May load new
- // tiles, unload obsolete tiles, and trigger further parsing of incomplete tiles or
- // re-placement of existing complete tiles.
+ // Called when the camera has changed. May load new tiles, unload obsolete tiles, or
+ // trigger re-placement of existing complete tiles.
void updateTiles(const UpdateParameters&);
+ // Called when icons or glyphs are loaded. Triggers further processing of tiles which
+ // were waiting on such dependencies.
+ void updateSymbolDependentTiles();
+
// Removes all tiles (by putting them into the cache).
void removeTiles();