[Libreoffice-commits] core.git: drawinglayer/source
Tomaž Vajngerl
tomaz.vajngerl at collabora.com
Wed Sep 16 07:38:54 PDT 2015
drawinglayer/source/processor2d/vclhelperbufferdevice.cxx | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
New commits:
commit 04b059ce0573ff56bbbb0aa7a007b635336e1829
Author: Tomaž Vajngerl <tomaz.vajngerl at collabora.com>
Date: Wed Sep 16 16:36:36 2015 +0200
Revert "disable caching of virtual devices when OpenGL is enabled"
Not needed anymore as the bug in OpenGL is fixed..
This reverts commit 6eff03b7d8b77b797f57f2344163ff67a99631f9.
diff --git a/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx b/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx
index 0994646..93919c0 100644
--- a/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx
+++ b/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx
@@ -27,7 +27,6 @@
#include <vcl/lazydelete.hxx>
#include <vcl/dibtools.hxx>
-#include <vcl/opengl/OpenGLWrapper.hxx>
// buffered VDev usage
@@ -189,12 +188,7 @@ namespace
maFreeBuffers.push_back(&rDevice);
SAL_WARN_IF(maFreeBuffers.size() > 1000, "drawinglayer", "excessive cached buffers, "
<< maFreeBuffers.size() << " entries!");
-
- if (OpenGLWrapper::isVCLOpenGLEnabled())
- Invoke();
- else
- Start();
-
+ Start();
}
void VDevBuffer::Invoke()
More information about the Libreoffice-commits
mailing list