summaryrefslogtreecommitdiff
path: root/src/mbgl/renderer/image_manager.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2019-05-13 17:13:31 -0700
committerKonstantin Käfer <mail@kkaefer.com>2019-05-15 10:55:58 -0700
commit867555b1c9ef51fec23ce77c682cf7d5b5a23c5e (patch)
treede380cbb7f5553282b081dce9202cbe9e502ebe5 /src/mbgl/renderer/image_manager.hpp
parent1a9e93e8d5fc6fd027160b3126eab03d0809ca69 (diff)
downloadqtlocation-mapboxgl-upstream/gfx-refactor-7.tar.gz
[core] add gfx::UploadPass, split startRender into prepare and uploadupstream/gfx-refactor-7
Diffstat (limited to 'src/mbgl/renderer/image_manager.hpp')
-rw-r--r--src/mbgl/renderer/image_manager.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mbgl/renderer/image_manager.hpp b/src/mbgl/renderer/image_manager.hpp
index c2d6466b3a..533259039f 100644
--- a/src/mbgl/renderer/image_manager.hpp
+++ b/src/mbgl/renderer/image_manager.hpp
@@ -19,7 +19,7 @@ template <class T>
class Actor;
namespace gfx {
-class Context;
+class UploadPass;
} // namespace gfx
class ImageRequestor;
@@ -83,8 +83,8 @@ private:
public:
optional<ImagePosition> getPattern(const std::string& name);
- gfx::TextureBinding textureBinding(gfx::Context&);
- void upload(gfx::Context&);
+ gfx::TextureBinding textureBinding();
+ void upload(gfx::UploadPass&);
Size getPixelSize() const;