[node] rendering interface changes

This commit is contained in:
Ivo van Dongen
2017-06-23 16:05:20 -07:00
committed by Ivo van Dongen
parent 3832f8d0d8
commit b97cc980e0
5 changed files with 125 additions and 10 deletions

View File

@@ -16,6 +16,8 @@
#pragma GCC diagnostic pop
namespace node_mbgl {
class NodeRendererFrontend;
class NodeBackend : public mbgl::HeadlessBackend {
public:
@@ -75,6 +77,7 @@ public:
std::unique_ptr<mbgl::OffscreenView> view;
NodeThreadPool threadpool;
NodeMapObserver mapObserver;
std::unique_ptr<NodeRendererFrontend> rendererFrontend;
std::unique_ptr<mbgl::Map> map;
std::exception_ptr error;