diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2015-04-22 13:47:51 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2015-05-04 17:33:04 +0200 |
commit | 5f496d8f0c235f99f795074d74381cdde264b570 (patch) | |
tree | bf13c5f6948615f215158f152183c7569a746efb /src/mbgl/map/tile_data.hpp | |
parent | c6be7086235cac73d745058b114941edf74f5d5c (diff) | |
download | qtlocation-mapboxgl-5f496d8f0c235f99f795074d74381cdde264b570.tar.gz |
build render order array once instead of recursing through lots of different objects
Diffstat (limited to 'src/mbgl/map/tile_data.hpp')
-rw-r--r-- | src/mbgl/map/tile_data.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mbgl/map/tile_data.hpp b/src/mbgl/map/tile_data.hpp index 92d9778fd5..b85db7db78 100644 --- a/src/mbgl/map/tile_data.hpp +++ b/src/mbgl/map/tile_data.hpp @@ -47,8 +47,7 @@ public: // Override this in the child class. virtual void parse() = 0; - virtual void render(Painter &painter, const StyleLayer &layer_desc, const mat4 &matrix) = 0; - virtual bool hasData(StyleLayer const &layer_desc) const = 0; + virtual Bucket* getBucket(StyleLayer const &layer_desc) = 0; const TileID id; const std::string name; |