diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2019-05-13 17:13:31 -0700 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2019-05-15 11:57:43 -0700 |
commit | 3a6ff7710fcf201f82ddc2090488ef585bd8ab17 (patch) | |
tree | de380cbb7f5553282b081dce9202cbe9e502ebe5 /src/mbgl/tile/tile.hpp | |
parent | bf0998697e0893d8a56421a139c7fc4855e89fa5 (diff) | |
download | qtlocation-mapboxgl-3a6ff7710fcf201f82ddc2090488ef585bd8ab17.tar.gz |
[core] add gfx::UploadPass, split startRender into prepare and upload
Diffstat (limited to 'src/mbgl/tile/tile.hpp')
-rw-r--r-- | src/mbgl/tile/tile.hpp | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/mbgl/tile/tile.hpp b/src/mbgl/tile/tile.hpp index c9b1af6beb..e98d192efd 100644 --- a/src/mbgl/tile/tile.hpp +++ b/src/mbgl/tile/tile.hpp @@ -20,20 +20,17 @@ namespace mbgl { -class DebugBucket; class LayerRenderData; class TransformState; class TileObserver; class RenderLayer; class RenderedQueryOptions; class SourceQueryOptions; - class CollisionIndex; -namespace gl { -class Context; -} // namespace gl - +namespace gfx { +class UploadPass; +} // namespace gfx class Tile { public: @@ -55,7 +52,7 @@ public: // Mark this tile as no longer needed and cancel any pending work. virtual void cancel(); - virtual void upload(gfx::Context&) = 0; + virtual void upload(gfx::UploadPass&) = 0; virtual Bucket* getBucket(const style::Layer::Impl&) const = 0; virtual const LayerRenderData* getLayerRenderData(const style::Layer::Impl&) const { assert(false); @@ -141,9 +138,6 @@ public: optional<Timestamp> modified; optional<Timestamp> expires; - // Contains the tile ID string for painting debug information. - std::unique_ptr<DebugBucket> debugBucket; - protected: bool triedOptional = false; bool renderable = false; |