diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-06-06 17:15:23 -0700 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2016-06-10 12:42:14 +0200 |
commit | b45713e5e98b31b73ab1aaa278bf746116a345fc (patch) | |
tree | 7b3ff6ac998ff3793c18df7c43404d715cdf839c /src/mbgl/tile/raster_tile_data.hpp | |
parent | dbf16440a6ae8dedc408d8345e1527a516a42a1d (diff) | |
download | qtlocation-mapboxgl-b45713e5e98b31b73ab1aaa278bf746116a345fc.tar.gz |
[core] Eliminate TileData dependency on TileSource
Diffstat (limited to 'src/mbgl/tile/raster_tile_data.hpp')
-rw-r--r-- | src/mbgl/tile/raster_tile_data.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mbgl/tile/raster_tile_data.hpp b/src/mbgl/tile/raster_tile_data.hpp index 5f2478745b..f3110c1296 100644 --- a/src/mbgl/tile/raster_tile_data.hpp +++ b/src/mbgl/tile/raster_tile_data.hpp @@ -8,6 +8,7 @@ namespace mbgl { class RasterTileSource; class AsyncRequest; class Tileset; +class TileSource; namespace gl { class TexturePool; } @@ -23,6 +24,8 @@ public: const Tileset&); ~RasterTileData(); + void setNecessity(Necessity) final; + void setError(std::exception_ptr err); void setData(std::shared_ptr<const std::string> data, @@ -36,6 +39,7 @@ private: gl::TexturePool& texturePool; Worker& worker; + std::unique_ptr<TileSource> tileSource; std::unique_ptr<AsyncRequest> workRequest; // Contains the Bucket object for the tile. Buckets are render |