summaryrefslogtreecommitdiff
path: root/test/map
diff options
context:
space:
mode:
authorAleksandar Stojiljkovic <aleksandar.stojiljkovic@mapbox.com>2019-05-21 07:37:49 +0300
committerGitHub <noreply@github.com>2019-05-21 07:37:49 +0300
commit3cd8c6c1fda6c7691e0a71b6ef7a393ea0e50108 (patch)
tree99b4d40a6697d6a3b2ba5b45a68f5f0aee94855b /test/map
parent88ef7d89c46b4c4e6e8ad84a5c8e9f410ef6d3cb (diff)
downloadqtlocation-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 'test/map')
-rw-r--r--test/map/map.test.cpp2
-rw-r--r--test/map/prefetch.test.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/map/map.test.cpp b/test/map/map.test.cpp
index ee86ce7f77..42edaedf22 100644
--- a/test/map/map.test.cpp
+++ b/test/map/map.test.cpp
@@ -8,7 +8,7 @@
#include <mbgl/map/map_options.hpp>
#include <mbgl/gfx/backend_scope.hpp>
#include <mbgl/gl/context.hpp>
-#include <mbgl/gl/headless_frontend.hpp>
+#include <mbgl/gfx/headless_frontend.hpp>
#include <mbgl/storage/resource_options.hpp>
#include <mbgl/storage/network_status.hpp>
#include <mbgl/storage/default_file_source.hpp>
diff --git a/test/map/prefetch.test.cpp b/test/map/prefetch.test.cpp
index 071c918427..e1fe1f12f0 100644
--- a/test/map/prefetch.test.cpp
+++ b/test/map/prefetch.test.cpp
@@ -4,7 +4,7 @@
#include <mbgl/test/map_adapter.hpp>
#include <mbgl/map/map_options.hpp>
-#include <mbgl/gl/headless_frontend.hpp>
+#include <mbgl/gfx/headless_frontend.hpp>
#include <mbgl/style/style.hpp>
#include <mbgl/util/image.hpp>
#include <mbgl/util/io.hpp>