summaryrefslogtreecommitdiff
path: root/src/mbgl/map/map_context.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/map/map_context.hpp')
-rw-r--r--src/mbgl/map/map_context.hpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/mbgl/map/map_context.hpp b/src/mbgl/map/map_context.hpp
index dd0c2de465..83ab71c86e 100644
--- a/src/mbgl/map/map_context.hpp
+++ b/src/mbgl/map/map_context.hpp
@@ -8,9 +8,9 @@
#include <mbgl/map/map_data.hpp>
#include <mbgl/style/style.hpp>
#include <mbgl/util/async_task.hpp>
-#include <mbgl/util/gl_object_store.hpp>
#include <mbgl/util/ptr.hpp>
#include <mbgl/util/optional.hpp>
+#include <mbgl/gl/gl_object_store.hpp>
#include <vector>
@@ -18,11 +18,12 @@ namespace mbgl {
class View;
class MapData;
-class TexturePool;
class Painter;
class SpriteImage;
class FileRequest;
+namespace gl { class TexturePool; }
+
struct FrameData {
std::array<uint16_t, 2> framebufferSize;
};
@@ -77,16 +78,17 @@ private:
void loadStyleJSON(const std::string& json, const std::string& base);
View& view;
+ FileSource& fileSource;
std::unique_ptr<MapData> dataPtr;
MapData& data;
- util::GLObjectStore glObjectStore;
+ gl::GLObjectStore glObjectStore;
Update updateFlags = Update::Nothing;
util::AsyncTask asyncUpdate;
util::AsyncTask asyncInvalidate;
- std::unique_ptr<TexturePool> texturePool;
+ std::unique_ptr<gl::TexturePool> texturePool;
std::unique_ptr<Painter> painter;
std::unique_ptr<Style> style;