diff options
Diffstat (limited to 'include/vcl/openglwin.hxx')
-rw-r--r-- | include/vcl/openglwin.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/vcl/openglwin.hxx b/include/vcl/openglwin.hxx index 6b2e58dd5c40..9ae5d14b6ff7 100644 --- a/include/vcl/openglwin.hxx +++ b/include/vcl/openglwin.hxx @@ -48,6 +48,12 @@ 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; |