diff options
Diffstat (limited to 'src/mbgl/style/source.hpp')
-rw-r--r-- | src/mbgl/style/source.hpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/mbgl/style/source.hpp b/src/mbgl/style/source.hpp index 575297e326..350534e634 100644 --- a/src/mbgl/style/source.hpp +++ b/src/mbgl/style/source.hpp @@ -23,6 +23,10 @@ class TransformState; class RenderTile; struct ClipID; +namespace algorithm { +class ClipIDGenerator; +} // namespace algorithm + namespace style { class Style; @@ -45,13 +49,10 @@ public: // new data available that a tile in the "partial" state might be interested at. bool update(const UpdateParameters&); - template <typename ClipIDGenerator> - void updateClipIDs(ClipIDGenerator& generator) { - generator.update(renderTiles); - } - - void updateMatrices(const mat4 &projMatrix, const TransformState &transform); - void finishRender(Painter &painter); + void startRender(algorithm::ClipIDGenerator&, + const mat4& projMatrix, + const TransformState&); + void finishRender(Painter&); const std::map<UnwrappedTileID, RenderTile>& getRenderTiles() const; |