diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2019-04-02 14:11:37 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2019-05-15 11:57:43 -0700 |
commit | 179c5fe83ba4ebe593208db9ca41f409024824ef (patch) | |
tree | c54be0d8debe9d7ed3a7f4fd4be21af041b5bc88 /src/mbgl/gfx | |
parent | da5bd4d6e3a0202cc4f9e4d3d17e159eb90acba6 (diff) | |
download | qtlocation-mapboxgl-179c5fe83ba4ebe593208db9ca41f409024824ef.tar.gz |
[core] add gfx::CommandEncoder::present()
Diffstat (limited to 'src/mbgl/gfx')
-rw-r--r-- | src/mbgl/gfx/command_encoder.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mbgl/gfx/command_encoder.hpp b/src/mbgl/gfx/command_encoder.hpp index 145c2bef82..46ae551982 100644 --- a/src/mbgl/gfx/command_encoder.hpp +++ b/src/mbgl/gfx/command_encoder.hpp @@ -9,6 +9,7 @@ namespace gfx { class RenderPassDescriptor; class RenderPass; +class Renderable; class CommandEncoder { protected: @@ -28,6 +29,7 @@ public: } virtual std::unique_ptr<RenderPass> createRenderPass(const char* name, const RenderPassDescriptor&) = 0; + virtual void present(Renderable&) = 0; }; } // namespace gfx |