summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-10-31 19:19:47 +0100
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-11-10 07:58:39 +0100
commit690de8a3ea41a66aa4cc135200d786c2ef465e30 (patch)
tree3113f7f9819ffeffada97407752a7007e2f88465 /include
parent4ec36db0589d50d0e7b9c42165d95d8c9c0d6efb (diff)
first step at optional single buffered OpenGL rendering
Change-Id: I064de6ca7d40b8e6e378a01dd39a6cd09f040b68
Diffstat (limited to 'include')
-rw-r--r--include/vcl/opengl/OpenGLContext.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/vcl/opengl/OpenGLContext.hxx b/include/vcl/opengl/OpenGLContext.hxx
index 91b54e4e8ade..1692ba0f5da2 100644
--- a/include/vcl/opengl/OpenGLContext.hxx
+++ b/include/vcl/opengl/OpenGLContext.hxx
@@ -155,6 +155,7 @@ public:
~OpenGLContext();
void requestLegacyContext();
+ void requestSingleBufferedRendering();
bool init(vcl::Window* pParent = 0);
bool init(SystemChildWindow* pChildWindow);
@@ -207,6 +208,7 @@ private:
boost::scoped_ptr<SystemChildWindow> m_pChildWindowGC;
bool mbInitialized;
bool mbRequestLegacyContext;
+ bool mbUseDoubleBufferedRendering;
};
#endif