Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorr.kuznetsov <r.kuznetsov@corp.mail.ru>2018-08-27 12:37:52 +0300
committerAleksey Belousov <beloal@users.noreply.github.com>2018-09-25 12:33:08 +0300
commita81f1fc4d1f698a0f0aaaa1e7a29f41516b05d11 (patch)
treecf7c511247ca2ae4da08e2a11d2b22232846a3da /drape/oglcontext.hpp
parent5cca83542d89b081d668bccca7bf14c5c8c165ad (diff)
[drape][metal] Added states.
Diffstat (limited to 'drape/oglcontext.hpp')
-rw-r--r--drape/oglcontext.hpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/drape/oglcontext.hpp b/drape/oglcontext.hpp
index 129e76c09b..2692e662a8 100644
--- a/drape/oglcontext.hpp
+++ b/drape/oglcontext.hpp
@@ -4,13 +4,19 @@
namespace dp
{
-class OGLContext: public GraphicsContext
+class OGLContext : public GraphicsContext
{
public:
void Init(ApiVersion apiVersion) override;
+ ApiVersion GetApiVersion() const override;
+ std::string GetRendererName() const override;
+ std::string GetRendererVersion() const override;
+ void ApplyFramebuffer(std::string const & framebufferLabel) override {}
+
void SetClearColor(dp::Color const & color) override;
void Clear(uint32_t clearBits) override;
void Flush() override;
+ void SetViewport(uint32_t x, uint32_t y, uint32_t w, uint32_t h) override;
void SetDepthTestEnabled(bool enabled) override;
void SetDepthTestFunction(TestFunction depthFunction) override;
void SetStencilTestEnabled(bool enabled) override;