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-06-14 17:25:09 +0300
committerDaria Volvenkova <d.volvenkova@corp.mail.ru>2018-06-14 18:59:37 +0300
commit791352ffe3bd036f9e8eddd3ff49ee84a1eb572a (patch)
treea895b50222ed5c04cc496cf0017a07f33af8aca2 /drape/oglcontext.hpp
parent84110327bd7507007a655d99215bc5046c83793d (diff)
Added Android OGL context validation and present availability
Diffstat (limited to 'drape/oglcontext.hpp')
-rw-r--r--drape/oglcontext.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/drape/oglcontext.hpp b/drape/oglcontext.hpp
index 9c55ff1345..baaa5bcc3a 100644
--- a/drape/oglcontext.hpp
+++ b/drape/oglcontext.hpp
@@ -2,7 +2,6 @@
namespace dp
{
-
class OGLContext
{
public:
@@ -11,9 +10,10 @@ public:
virtual void makeCurrent() = 0;
virtual void doneCurrent() {}
virtual void setDefaultFramebuffer() = 0;
- /// @ param w, h - pixel size of render target (logical size * visual scale)
+ // w, h - pixel size of render target (logical size * visual scale).
virtual void resize(int /*w*/, int /*h*/) {}
virtual void setRenderingEnabled(bool /*enabled*/) {}
+ virtual void setPresentAvailable(bool /*available*/) {}
+ virtual bool validate() { return true; }
};
-
-} // namespace dp
+} // namespace dp