diff options
author | Aleksandar Stojiljkovic <aleksandar.stojiljkovic@mapbox.com> | 2019-05-21 07:37:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-21 07:37:49 +0300 |
commit | 3cd8c6c1fda6c7691e0a71b6ef7a393ea0e50108 (patch) | |
tree | 99b4d40a6697d6a3b2ba5b45a68f5f0aee94855b /benchmark | |
parent | 88ef7d89c46b4c4e6e8ad84a5c8e9f410ef6d3cb (diff) | |
download | qtlocation-mapboxgl-3cd8c6c1fda6c7691e0a71b6ef7a393ea0e50108.tar.gz |
[core] Refactor HeadlessFrontend/Backend: GL separation and factory (#14692)
Refactor out HeadlessFrontend and HeadlessBackend gl independent code to gfx.
Define gl::HeadlessBackend as subclass, instantiated by gfx::HeadlessBackend static factory method.
GL dependent tests are still using gl::HeadlessBackend directly (not through gfx).
Diffstat (limited to 'benchmark')
-rw-r--r-- | benchmark/api/query.benchmark.cpp | 2 | ||||
-rw-r--r-- | benchmark/api/render.benchmark.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/benchmark/api/query.benchmark.cpp b/benchmark/api/query.benchmark.cpp index 7f08da73d0..5e7fd823e0 100644 --- a/benchmark/api/query.benchmark.cpp +++ b/benchmark/api/query.benchmark.cpp @@ -2,7 +2,7 @@ #include <mbgl/map/map.hpp> #include <mbgl/map/map_options.hpp> -#include <mbgl/gl/headless_frontend.hpp> +#include <mbgl/gfx/headless_frontend.hpp> #include <mbgl/renderer/renderer.hpp> #include <mbgl/style/style.hpp> #include <mbgl/style/image.hpp> diff --git a/benchmark/api/render.benchmark.cpp b/benchmark/api/render.benchmark.cpp index f9d3911f0b..305ae8ce79 100644 --- a/benchmark/api/render.benchmark.cpp +++ b/benchmark/api/render.benchmark.cpp @@ -3,7 +3,7 @@ #include <mbgl/map/map.hpp> #include <mbgl/map/map_observer.hpp> #include <mbgl/map/map_options.hpp> -#include <mbgl/gl/headless_frontend.hpp> +#include <mbgl/gfx/headless_frontend.hpp> #include <mbgl/renderer/renderer.hpp> #include <mbgl/style/style.hpp> #include <mbgl/style/image.hpp> |