summaryrefslogtreecommitdiff
path: root/vcl/inc/opengl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-05-20 09:41:18 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-05-21 10:04:15 +0100
commitb8d163f4334424e78290eae49713e6ba2405b30f (patch)
tree55e78506accb6fe4dbbc1ecb918e4ccc2f510254 /vcl/inc/opengl
parentda03b62bb4d44ad1410a4dff15f97bacd55fb99b (diff)
Split OpenGLContext up into SalInstance specific classes
which, at least theoretically, allows there to be vclplug specific ones. i.e. a gtk3 specific one which doesn't assume gtk3 is running under X Change-Id: I6c007a87abbd3049b6fffc70d349e3b7ac445eec
Diffstat (limited to 'vcl/inc/opengl')
-rw-r--r--vcl/inc/opengl/zone.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/inc/opengl/zone.hxx b/vcl/inc/opengl/zone.hxx
index c6ba0ccc7487..11f6ed00ec3c 100644
--- a/vcl/inc/opengl/zone.hxx
+++ b/vcl/inc/opengl/zone.hxx
@@ -21,7 +21,7 @@ class OpenGLWatchdogThread;
* We want to be able to detect if a given crash came
* from the OpenGL code, so use this helper to track that.
*/
-class OpenGLZone {
+class VCL_DLLPUBLIC OpenGLZone {
friend class OpenGLZoneTest;
friend class OpenGLWatchdogThread;
friend class OpenGLSalGraphicsImpl;
@@ -31,8 +31,8 @@ class OpenGLZone {
/// how many times have we left a new GL zone
static volatile sal_uInt64 gnLeaveCount;
- static VCL_DLLPUBLIC void enter();
- static VCL_DLLPUBLIC void leave();
+ static void enter();
+ static void leave();
public:
OpenGLZone() { gnEnterCount++; }
~OpenGLZone() { gnLeaveCount++; }