diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-08-29 23:15:54 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2015-09-01 14:00:13 +0000 |
commit | 77d7cab8b90b967c6788546a77150f78d74549ea (patch) | |
tree | b8b6033f28507de9aee2bfd7d3a386967c5ffeb3 /include | |
parent | fba2fee26909ac14f6d1531655556dc33bc29df4 (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/18135
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'include')
-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 8c756b7d303e..7012c313044c 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(); |