summaryrefslogtreecommitdiff
path: root/src/mbgl/map/tile_worker.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/map/tile_worker.hpp')
-rw-r--r--src/mbgl/map/tile_worker.hpp15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/mbgl/map/tile_worker.hpp b/src/mbgl/map/tile_worker.hpp
index be07488aea..ee94f756ed 100644
--- a/src/mbgl/map/tile_worker.hpp
+++ b/src/mbgl/map/tile_worker.hpp
@@ -6,8 +6,6 @@
#include <mbgl/map/tile_data.hpp>
#include <mbgl/util/noncopyable.hpp>
#include <mbgl/util/ptr.hpp>
-#include <mbgl/style/filter_expression.hpp>
-#include <mbgl/style/style_calculation_parameters.hpp>
#include <mbgl/text/placement_config.hpp>
#include <string>
@@ -23,7 +21,6 @@ class GeometryTile;
class Style;
class Bucket;
class StyleLayer;
-class GeometryTileLayer;
// We're using this class to shuttle the resulting buckets from the worker thread to the MapContext
// thread. This class is movable-only because the vector contains movable-only value elements.
@@ -56,24 +53,16 @@ public:
private:
void parseLayer(const StyleLayer&, const GeometryTile&);
-
- void createFillBucket(const GeometryTileLayer&, const StyleLayer&);
- void createLineBucket(const GeometryTileLayer&, const StyleLayer&);
- void createCircleBucket(const GeometryTileLayer&, const StyleLayer&);
- void createSymbolBucket(const GeometryTileLayer&, const StyleLayer&);
-
void insertBucket(const std::string& name, std::unique_ptr<Bucket>);
- template <class Bucket>
- void addBucketGeometries(Bucket&, const GeometryTileLayer&, const FilterExpression&);
-
const TileID id;
const std::string sourceID;
- const StyleCalculationParameters parameters;
Style& style;
const std::atomic<TileData::State>& state;
+ bool partialParse = false;
+
std::unique_ptr<CollisionTile> collisionTile;
// Contains buckets that we couldn't parse so far due to missing resources.