[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).
This commit is contained in:
Aleksandar Stojiljkovic
2019-05-21 07:37:49 +03:00
committed by GitHub
parent 88ef7d89c4
commit 3cd8c6c1fd
27 changed files with 113 additions and 64 deletions

View File

@@ -4,7 +4,7 @@
#include "node_conversion.hpp"
#include <mbgl/renderer/renderer.hpp>
#include <mbgl/gl/headless_frontend.hpp>
#include <mbgl/gfx/headless_frontend.hpp>
#include <mbgl/style/conversion/source.hpp>
#include <mbgl/style/conversion/layer.hpp>
#include <mbgl/style/conversion/filter.hpp>