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 /platform/linux | |
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 'platform/linux')
-rw-r--r-- | platform/linux/config.cmake | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/platform/linux/config.cmake b/platform/linux/config.cmake index 118dfe696c..7cc1f1fe4d 100644 --- a/platform/linux/config.cmake +++ b/platform/linux/config.cmake @@ -64,8 +64,10 @@ macro(mbgl_platform_core) PRIVATE platform/default/src/mbgl/util/png_reader.cpp # Headless view - PRIVATE platform/default/src/mbgl/gl/headless_frontend.cpp - PRIVATE platform/default/include/mbgl/gl/headless_frontend.hpp + PRIVATE platform/default/src/mbgl/gfx/headless_frontend.cpp + PRIVATE platform/default/include/mbgl/gfx/headless_frontend.hpp + PRIVATE platform/default/src/mbgl/gfx/headless_backend.cpp + PRIVATE platform/default/include/mbgl/gfx/headless_backend.hpp PRIVATE platform/default/src/mbgl/gl/headless_backend.cpp PRIVATE platform/default/include/mbgl/gl/headless_backend.hpp |