From 690de8a3ea41a66aa4cc135200d786c2ef465e30 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Fri, 31 Oct 2014 19:19:47 +0100 Subject: first step at optional single buffered OpenGL rendering Change-Id: I064de6ca7d40b8e6e378a01dd39a6cd09f040b68 --- include/vcl/opengl/OpenGLContext.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/vcl/opengl') 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 m_pChildWindowGC; bool mbInitialized; bool mbRequestLegacyContext; + bool mbUseDoubleBufferedRendering; }; #endif -- cgit