diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-10-31 19:19:47 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-11-10 07:58:39 +0100 |
commit | 690de8a3ea41a66aa4cc135200d786c2ef465e30 (patch) | |
tree | 3113f7f9819ffeffada97407752a7007e2f88465 /include | |
parent | use constructor init list (diff) | |
download | core-690de8a3ea41a66aa4cc135200d786c2ef465e30.tar.gz core-690de8a3ea41a66aa4cc135200d786c2ef465e30.zip |
first step at optional single buffered OpenGL rendering
Change-Id: I064de6ca7d40b8e6e378a01dd39a6cd09f040b68
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/opengl/OpenGLContext.hxx | 2 |
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 |