summaryrefslogtreecommitdiff
path: root/src/mbgl/renderer/render_layer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/renderer/render_layer.hpp')
-rw-r--r--src/mbgl/renderer/render_layer.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mbgl/renderer/render_layer.hpp b/src/mbgl/renderer/render_layer.hpp
index 04753fc674..dc7c58adeb 100644
--- a/src/mbgl/renderer/render_layer.hpp
+++ b/src/mbgl/renderer/render_layer.hpp
@@ -95,7 +95,14 @@ public:
void setImpl(Immutable<style::Layer::Impl>);
virtual void markContextDestroyed();
+
+ // TODO: Figure out how to remove this or whether layers other than
+ // RenderHeatmapLayer and RenderLineLayer need paint property updates,
+ // similar to color ramp. Temporarily moved to the base.
+ virtual void update();
+
friend std::string layoutKey(const RenderLayer&);
+
protected:
// Checks whether the current hardware can render this layer. If it can't, we'll show a warning
// in the console to inform the developer.