diff options
author | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2019-05-22 11:01:54 +0300 |
---|---|---|
committer | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2019-05-28 16:16:42 +0300 |
commit | a03f7b166b2fe68f63ca75337bd0ac0000cee135 (patch) | |
tree | f4435b998b5775a4596392bcc45bea020c09527e /src/mbgl/tile/tile.hpp | |
parent | e5431d01817c0546aa0b971a7b0b33c9bbd87077 (diff) | |
download | qtlocation-mapboxgl-a03f7b166b2fe68f63ca75337bd0ac0000cee135.tar.gz |
[core] RenderTile does not expose Tile
RenderTile and Tile will be split when ochestration movces to a separate thread.
This PR improves encapsulation of Tiles management: now performed within TilePyramid.
Diffstat (limited to 'src/mbgl/tile/tile.hpp')
-rw-r--r-- | src/mbgl/tile/tile.hpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mbgl/tile/tile.hpp b/src/mbgl/tile/tile.hpp index e98d192efd..1bb38f5c96 100644 --- a/src/mbgl/tile/tile.hpp +++ b/src/mbgl/tile/tile.hpp @@ -62,12 +62,6 @@ public: // Returns `true` if the corresponding render layer data is present in this tile (and i.e. it // was succesfully updated); returns `false` otherwise. virtual bool updateLayerProperties(const Immutable<style::LayerProperties>&) { return true; } - - template <class T> - T* getBucket(const style::Layer::Impl& layer) const { - return static_cast<T*>(getBucket(layer)); - } - virtual void setShowCollisionBoxes(const bool) {} virtual void setLayers(const std::vector<Immutable<style::LayerProperties>>&) {} virtual void setMask(TileMask&&) {} |