diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2017-06-08 14:44:47 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2017-06-13 10:18:43 -0700 |
commit | f5d3b850bff06e3cd4d4bcff288dceeb53cfa82d (patch) | |
tree | e1db4a34ec7adc09d5df8f14a2c97858ef11c02c /src/mbgl/tile/tile.hpp | |
parent | 17db460345aeab21000cf7c18c9dea8d1543d835 (diff) | |
download | qtlocation-mapboxgl-f5d3b850bff06e3cd4d4bcff288dceeb53cfa82d.tar.gz |
[core] Merge RenderLayer::uploadBuckets into RenderSource::startRender
Diffstat (limited to 'src/mbgl/tile/tile.hpp')
-rw-r--r-- | src/mbgl/tile/tile.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mbgl/tile/tile.hpp b/src/mbgl/tile/tile.hpp index bddae5138b..a925d88af3 100644 --- a/src/mbgl/tile/tile.hpp +++ b/src/mbgl/tile/tile.hpp @@ -26,6 +26,10 @@ class RenderStyle; class RenderedQueryOptions; class SourceQueryOptions; +namespace gl { +class Context; +} // namespace gl + class Tile : private util::noncopyable { public: Tile(OverscaledTileID); @@ -45,6 +49,7 @@ public: // Mark this tile as no longer needed and cancel any pending work. virtual void cancel() = 0; + virtual void upload(gl::Context&) = 0; virtual Bucket* getBucket(const style::Layer::Impl&) const = 0; virtual void setPlacementConfig(const PlacementConfig&) {} |