summaryrefslogtreecommitdiff
path: root/src/mbgl/style/layers/custom_layer_impl.hpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2017-06-14 16:21:02 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2017-06-22 08:04:39 -0700
commitbe7e9bbb8d54c775127f53d793c117c4bf5e2764 (patch)
tree2621c4aa950956af9e48205bda13960ac2ce8584 /src/mbgl/style/layers/custom_layer_impl.hpp
parente4201e207c3a6b33da64fdc2f9a00ec08586dc09 (diff)
downloadqtlocation-mapboxgl-be7e9bbb8d54c775127f53d793c117c4bf5e2764.tar.gz
[core] Refactor CustomLayer internals
Move the responsibility for initialization/deinitialization/rendering to RenderCustomLayer. This eliminates special case code from Map and Style.
Diffstat (limited to 'src/mbgl/style/layers/custom_layer_impl.hpp')
-rw-r--r--src/mbgl/style/layers/custom_layer_impl.hpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mbgl/style/layers/custom_layer_impl.hpp b/src/mbgl/style/layers/custom_layer_impl.hpp
index 466d1f3e3f..defbbe6894 100644
--- a/src/mbgl/style/layers/custom_layer_impl.hpp
+++ b/src/mbgl/style/layers/custom_layer_impl.hpp
@@ -17,11 +17,6 @@ public:
CustomLayerDeinitializeFunction,
void* context);
- void initialize() const;
- void deinitialize() const;
- void render(const TransformState&) const;
-
-private:
bool hasLayoutDifference(const Layer::Impl&) const override;
void stringifyLayout(rapidjson::Writer<rapidjson::StringBuffer>&) const override;