summaryrefslogtreecommitdiff
path: root/vcl/inc/openglgdiimpl.hxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-08-29 23:15:54 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-08-31 19:48:14 +0000
commitb27b9084c5b55f6cf6732fb9bdc253658ea612ea (patch)
treea7e4cad084a1e948a7c9cf1595f040edc0179e1f /vcl/inc/openglgdiimpl.hxx
parent1ba1a21aa6b77ef8d3d59b3658dfd2aa87d0dee2 (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 'vcl/inc/openglgdiimpl.hxx')
-rw-r--r--vcl/inc/openglgdiimpl.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/inc/openglgdiimpl.hxx b/vcl/inc/openglgdiimpl.hxx
index 912b91768176..c95453e75aef 100644
--- a/vcl/inc/openglgdiimpl.hxx
+++ b/vcl/inc/openglgdiimpl.hxx
@@ -34,6 +34,7 @@
class SalFrame;
class SalVirtualDevice;
+class OpenGLTests;
namespace basegfx
{
@@ -46,8 +47,9 @@ struct TextureCombo
std::unique_ptr<OpenGLTexture> mpMask;
};
-class VCL_PLUGIN_PUBLIC OpenGLSalGraphicsImpl : public SalGraphicsImpl
+class VCL_DLLPUBLIC OpenGLSalGraphicsImpl : public SalGraphicsImpl
{
+ friend class OpenGLTests;
protected:
OpenGLContext* mpContext;