diff options
author | Tor Lillqvist <tml@collabora.com> | 2016-01-26 15:15:36 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2016-01-26 16:18:45 +0200 |
commit | 4cd058f3f6568724c65ac88769f17fcc6078da23 (patch) | |
tree | d3477e423c650a24ce754d6a6713a66fc9926c74 /include/vcl/opengl | |
parent | f94a77682bed8815ac2e400cadb9244b784cffda (diff) |
OpenGLWrapper is the right place for getBufferSwapCounter()
Change-Id: I3f7db276ab00d5fa493f993736f1010e76fcbcc8
Diffstat (limited to 'include/vcl/opengl')
-rw-r--r-- | include/vcl/opengl/OpenGLWrapper.hxx | 6 |
1 files changed, 6 insertions, 0 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 |