diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-09-17 14:05:27 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-09-17 15:37:48 +0200 |
commit | d52010013b9cacdd8f71e62fef18c1e679e807f2 (patch) | |
tree | 5d46bea23ed30dede27da79a4f1ea4d5ff350b87 /vcl/source/opengl/OpenGLHelper.cxx | |
parent | 5c386a41c3cf416ed878f5ea6ece8f15990bd613 (diff) |
Consolidate places that manipulate OpenGLZone::gnEnter/LeaveCount directly
(keeping the inline'd-ness of what the OpenGLZone ctor/dtor do, in case that
might actually be relevant for performance)
Change-Id: I411b83d1b99ed46b35857c7cca10f95dbc1c8e27
Reviewed-on: https://gerrit.libreoffice.org/79062
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/source/opengl/OpenGLHelper.cxx')
-rw-r--r-- | vcl/source/opengl/OpenGLHelper.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/vcl/source/opengl/OpenGLHelper.cxx b/vcl/source/opengl/OpenGLHelper.cxx index bc9b1c377d13..a179f3710d2c 100644 --- a/vcl/source/opengl/OpenGLHelper.cxx +++ b/vcl/source/opengl/OpenGLHelper.cxx @@ -794,9 +794,6 @@ bool OpenGLHelper::supportsVCLOpenGL() return !bDisableGL && !bBlacklisted; } -void OpenGLZone::enter() { gnEnterCount++; } -void OpenGLZone::leave() { gnLeaveCount++; } - namespace { static volatile bool gbWatchdogFiring = false; static osl::Condition* gpWatchdogExit = nullptr; |