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:
authorRoman Kuznetsov <r.kuznetsow@gmail.com>2018-10-02 22:14:27 +0300
committerDaria Volvenkova <d.volvenkova@corp.mail.ru>2018-10-03 17:03:51 +0300
commit9f38888d36b280f10e66f63d9851fd4bd7b26101 (patch)
treee753e7a99e04d4187088a90a03105462657e90aa /drape/oglcontext.hpp
parent91fb68f510de1d675e445535650ada4e5d21169f (diff)
Added rendering optimizations for Metal
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 2692e662a8..4a2a452b66 100644
--- a/drape/oglcontext.hpp
+++ b/drape/oglcontext.hpp
@@ -12,9 +12,12 @@ public:
std::string GetRendererName() const override;
std::string GetRendererVersion() const override;
void ApplyFramebuffer(std::string const & framebufferLabel) override {}
+
+ void PushDebugLabel(std::string const & label) override {}
+ void PopDebugLabel() override {}
void SetClearColor(dp::Color const & color) override;
- void Clear(uint32_t clearBits) override;
+ void Clear(uint32_t clearBits, uint32_t storeBits) override;
void Flush() override;
void SetViewport(uint32_t x, uint32_t y, uint32_t w, uint32_t h) override;
void SetDepthTestEnabled(bool enabled) override;
@@ -23,5 +26,8 @@ public:
void SetStencilFunction(StencilFace face, TestFunction stencilFunction) override;
void SetStencilActions(StencilFace face, StencilAction stencilFailAction, StencilAction depthFailAction,
StencilAction passAction) override;
+
+ // Do not use custom stencil reference value in OpenGL rendering.
+ void SetStencilReferenceValue(uint32_t stencilReferenceValue) override {}
};
} // namespace dp