diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-08-29 23:15:54 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-08-31 19:48:14 +0000 |
commit | b27b9084c5b55f6cf6732fb9bdc253658ea612ea (patch) | |
tree | a7e4cad084a1e948a7c9cf1595f040edc0179e1f /include/vcl/opengl | |
parent | 1ba1a21aa6b77ef8d3d59b3658dfd2aa87d0dee2 (diff) |
tdf#93772 - handle framebuffer unbinding on GL context switch.
Also start gl tests in vcldemo:
$ SAL_FORCEGL=1 vcldemo --gltests
Change-Id: I8f0022770d57cd60c830659e3f7fcc0721320a10
Reviewed-on: https://gerrit.libreoffice.org/18132
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'include/vcl/opengl')
-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 96abe498fa80..cb45973395b4 100644 --- a/include/vcl/opengl/OpenGLContext.hxx +++ b/include/vcl/opengl/OpenGLContext.hxx @@ -63,6 +63,7 @@ class OpenGLFramebuffer; class OpenGLProgram; class OpenGLTexture; class SalGraphicsImpl; +class OpenGLTests; /// Holds the information of our new child window struct GLWindow @@ -166,6 +167,7 @@ struct GLWindow class VCL_DLLPUBLIC OpenGLContext { + friend class OpenGLTests; public: OpenGLContext(); ~OpenGLContext(); |