diff options
author | Thomas Moenicke <thomas.moenicke@mapbox.com> | 2020-02-03 19:10:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-03 19:10:57 +0200 |
commit | b64ed754442b894f3914a4191798fbd2f2bc8cd9 (patch) | |
tree | 59bb14829d7cdd5f2466dad4cffb74c4d1b80068 /src/mbgl/layermanager | |
parent | 2e10d3548a8b3aff1f28b9514594c3c14509f084 (diff) | |
download | qtlocation-mapboxgl-b64ed754442b894f3914a4191798fbd2f2bc8cd9.tar.gz |
[build] Adding a build flag to build without GL if needed (#16120)
* [build] Adding a build flag to build without GL if needed
* [build] Moving custom layer to mbgl/gl
Diffstat (limited to 'src/mbgl/layermanager')
-rw-r--r-- | src/mbgl/layermanager/custom_layer_factory.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/mbgl/layermanager/custom_layer_factory.cpp b/src/mbgl/layermanager/custom_layer_factory.cpp deleted file mode 100644 index f84f261e79..0000000000 --- a/src/mbgl/layermanager/custom_layer_factory.cpp +++ /dev/null @@ -1,22 +0,0 @@ -#include <mbgl/layermanager/custom_layer_factory.hpp> - -#include <mbgl/renderer/layers/render_custom_layer.hpp> -#include <mbgl/style/layers/custom_layer.hpp> -#include <mbgl/style/layers/custom_layer_impl.hpp> - -namespace mbgl { - -const style::LayerTypeInfo* CustomLayerFactory::getTypeInfo() const noexcept { - return style::CustomLayer::Impl::staticTypeInfo(); -} - -std::unique_ptr<style::Layer> CustomLayerFactory::createLayer(const std::string&, const style::conversion::Convertible&) noexcept { - assert(false); - return nullptr; -} - -std::unique_ptr<RenderLayer> CustomLayerFactory::createRenderLayer(Immutable<style::Layer::Impl> impl) noexcept { - return std::make_unique<RenderCustomLayer>(staticImmutableCast<style::CustomLayer::Impl>(impl)); -} - -} // namespace mbgl |