diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2017-06-14 16:21:02 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2017-06-22 08:04:39 -0700 |
commit | be7e9bbb8d54c775127f53d793c117c4bf5e2764 (patch) | |
tree | 2621c4aa950956af9e48205bda13960ac2ce8584 /src/mbgl/style/layers/custom_layer_impl.hpp | |
parent | e4201e207c3a6b33da64fdc2f9a00ec08586dc09 (diff) | |
download | qtlocation-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.hpp | 5 |
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; |