summaryrefslogtreecommitdiff
path: root/src/mbgl/text/placement.hpp
diff options
context:
space:
mode:
authorChris Loer <chris.loer@gmail.com>2017-11-14 15:30:27 -0800
committerChris Loer <chris.loer@mapbox.com>2017-11-17 10:05:15 -0800
commit25cfb5863c9ac3705d2bcf4086c237608264e3ae (patch)
treee142caa7789b0f23e2633ef5f920a869f6e14d91 /src/mbgl/text/placement.hpp
parentd69c1c4806038fec756672d80cef7691c5280c6a (diff)
downloadqtlocation-mapboxgl-25cfb5863c9ac3705d2bcf4086c237608264e3ae.tar.gz
[core] Symbol cross-fading.
Hold onto tiles after they've been removed from the render tree long enough to run a fade animation on their symbols.
Diffstat (limited to 'src/mbgl/text/placement.hpp')
-rw-r--r--src/mbgl/text/placement.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mbgl/text/placement.hpp b/src/mbgl/text/placement.hpp
index c6d1f259a5..bcc20f15a4 100644
--- a/src/mbgl/text/placement.hpp
+++ b/src/mbgl/text/placement.hpp
@@ -70,7 +70,8 @@ private:
const float scale,
const float pixelRatio,
const bool showCollisionBoxes,
- std::unordered_set<uint32_t>& seenCrossTileIDs);
+ std::unordered_set<uint32_t>& seenCrossTileIDs,
+ const bool holdingForFade);
void updateBucketOpacities(SymbolBucket&, std::set<uint32_t>&);