diff options
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; |