summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-01-26 15:15:36 +0200
committerTor Lillqvist <tml@collabora.com>2016-01-26 16:18:45 +0200
commit4cd058f3f6568724c65ac88769f17fcc6078da23 (patch)
treed3477e423c650a24ce754d6a6713a66fc9926c74 /include
parentf94a77682bed8815ac2e400cadb9244b784cffda (diff)
OpenGLWrapper is the right place for getBufferSwapCounter()
Change-Id: I3f7db276ab00d5fa493f993736f1010e76fcbcc8
Diffstat (limited to 'include')
-rw-r--r--include/vcl/opengl/OpenGLWrapper.hxx6
-rw-r--r--include/vcl/openglwin.hxx6
2 files changed, 6 insertions, 6 deletions
diff --git a/include/vcl/opengl/OpenGLWrapper.hxx b/include/vcl/opengl/OpenGLWrapper.hxx
index e73aa08466be..3b7f6a7e91da 100644
--- a/include/vcl/opengl/OpenGLWrapper.hxx
+++ b/include/vcl/opengl/OpenGLWrapper.hxx
@@ -23,6 +23,12 @@ struct VCL_DLLPUBLIC OpenGLWrapper
* Returns true if VCL has OpenGL rendering enabled
*/
static bool isVCLOpenGLEnabled();
+
+
+ /**
+ * Returns the number of times OpenGL buffers have been swapped.
+ */
+ static sal_Int64 getBufferSwapCounter();
};
#endif // INCLUDED_VCL_OPENGL_OPENGLWRAPPER_HXX
diff --git a/include/vcl/openglwin.hxx b/include/vcl/openglwin.hxx
index 9ae5d14b6ff7..6b2e58dd5c40 100644
--- a/include/vcl/openglwin.hxx
+++ b/include/vcl/openglwin.hxx
@@ -48,12 +48,6 @@ public:
virtual void MouseMove( const MouseEvent& rMEvt ) override;
virtual void Command( const CommandEvent& rCEvt ) override;
- /**
- * Returns the number of times OpenGL buffers have been swapped.
- * Not really any good reason why this is in this class, but...
- */
- static sal_Int64 getBufferSwapCounter();
-
private:
std::unique_ptr<OpenGLWindowImpl> mxImpl;
IRenderer* mpRenderer;