summaryrefslogtreecommitdiff
path: root/src/mbgl/map/tile_parser.hpp
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2015-04-28 14:53:50 +0300
committerThiago Marcos P. Santos <thiago@mapbox.com>2015-05-05 18:35:40 +0300
commit071e2e1731b447e195290936c9bf52d28f52b2d9 (patch)
tree5524cbfcbd94a09ff589ca047c16d5f3ec41637e /src/mbgl/map/tile_parser.hpp
parentf10839bac21a067bd4eff50a160223e5796a587e (diff)
downloadqtlocation-mapboxgl-071e2e1731b447e195290936c9bf52d28f52b2d9.tar.gz
Do not process buckets depending on Glyphs that were not loaded
For now, the buckets depending on Glyphs that are not yet available are simply not created (or created and discarded). In the future we could refactor the code to not create the bucket at all or put the bucket in a suspended state until the glyph range is available.
Diffstat (limited to 'src/mbgl/map/tile_parser.hpp')
-rw-r--r--src/mbgl/map/tile_parser.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/map/tile_parser.hpp b/src/mbgl/map/tile_parser.hpp
index dcada6fc1e..18184e27a3 100644
--- a/src/mbgl/map/tile_parser.hpp
+++ b/src/mbgl/map/tile_parser.hpp
@@ -54,7 +54,7 @@ private:
std::unique_ptr<Bucket> createBucket(const StyleBucket&);
std::unique_ptr<Bucket> createFillBucket(const GeometryTileLayer&, const StyleBucket&);
std::unique_ptr<Bucket> createLineBucket(const GeometryTileLayer&, const StyleBucket&);
- std::unique_ptr<Bucket> createSymbolBucket(const GeometryTileLayer&, const StyleBucket&);
+ std::unique_ptr<Bucket> createSymbolBucket(const GeometryTileLayer&, const StyleBucket&, bool& needsResources);
template <class Bucket>
void addBucketGeometries(Bucket&, const GeometryTileLayer&, const FilterExpression&);