summaryrefslogtreecommitdiff
path: root/test/style
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2015-09-21 13:15:58 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2015-09-28 14:10:23 -0700
commitaf392b9434fd176704e564dfc22ee74f3a50cdf6 (patch)
treec3c333a4729a18c660b4edd68adeb801c779721e /test/style
parent24a58344284ca8c882bf2ab83b9129ca8ce9d4b3 (diff)
downloadqtlocation-mapboxgl-af392b9434fd176704e564dfc22ee74f3a50cdf6.tar.gz
Rewrite annotation invalidation strategy
First, move style mutation code out of StyleParser and into AnnotationManager, coalescing it with the mutation code for shape layers. Second, allow AnnotationManager to keep track of stale tiles entirely internally. There's no reason to pass sets of TileIDs around. Third, correct the logic for invalidating the shape source. Since AnnotationManager does not track shape invalidations on a tile-by-tile basis, don't try to invalidate the shape source tile-by-tile. Fixes #1675 Fixes #2322 Fixes #2095
Diffstat (limited to 'test/style')
-rw-r--r--test/style/resource_loading.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/style/resource_loading.cpp b/test/style/resource_loading.cpp
index 5ed09065a1..0562434586 100644
--- a/test/style/resource_loading.cpp
+++ b/test/style/resource_loading.cpp
@@ -63,10 +63,6 @@ public:
callback_(error);
}
- void onSpriteStoreLoaded() override {
- // no-op
- }
-
private:
MapData data_;
Transform transform_;