diff options
author | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2019-01-25 23:57:47 +0200 |
---|---|---|
committer | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2019-02-25 13:47:56 +0200 |
commit | e800f3754758489e09c55e38bebd00c2203e4886 (patch) | |
tree | 8eeb7642f569ddbe0b8e00e4a025f2c4e91b5706 /src/mbgl/layout | |
parent | fee22273be2d33049311de72ff6bf973b6b05164 (diff) | |
download | qtlocation-mapboxgl-e800f3754758489e09c55e38bebd00c2203e4886.tar.gz |
[core] Layer manager is responsible for buckets and layouts creation
This is a step to stop using of render layers in tile worker thread.
Diffstat (limited to 'src/mbgl/layout')
-rw-r--r-- | src/mbgl/layout/layout.hpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mbgl/layout/layout.hpp b/src/mbgl/layout/layout.hpp index 601c5fb184..1deaf13193 100644 --- a/src/mbgl/layout/layout.hpp +++ b/src/mbgl/layout/layout.hpp @@ -2,6 +2,7 @@ #include <mbgl/renderer/image_atlas.hpp> #include <mbgl/text/glyph_atlas.hpp> +#include <mbgl/tile/geometry_tile_data.hpp> #include <memory> namespace mbgl { @@ -13,7 +14,6 @@ class FeatureIndex; class Layout { public: - Layout() = default; virtual ~Layout() = default; virtual void createBucket(const ImagePositions&, @@ -32,4 +32,11 @@ public: virtual bool hasDependencies() const = 0; }; +class LayoutParameters { +public: + const BucketParameters& bucketParameters; + GlyphDependencies& glyphDependencies; + ImageDependencies& imageDependencies; +}; + } // namespace mbgl |