[Libreoffice-commits] core.git: Branch 'feature/fixes38' - 3 commits - vcl/opengl vcl/source vcl/win

László Németh laszlo.nemeth at collabora.com
Wed Mar 1 23:04:40 UTC 2017


 vcl/opengl/win/gdiimpl.cxx         |    2 +-
 vcl/source/opengl/OpenGLHelper.cxx |    4 ++--
 vcl/win/gdi/winlayout.cxx          |    4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

New commits:
commit c3cc9ec53e75ff41d81727e39e81272209e9fa0c
Author: László Németh <laszlo.nemeth at collabora.com>
Date:   Wed Mar 1 23:58:41 2017 +0100

    disable GL

diff --git a/vcl/source/opengl/OpenGLHelper.cxx b/vcl/source/opengl/OpenGLHelper.cxx
index 12f6151..0ea127e 100644
--- a/vcl/source/opengl/OpenGLHelper.cxx
+++ b/vcl/source/opengl/OpenGLHelper.cxx
@@ -798,7 +798,7 @@ bool OpenGLHelper::isDeviceBlacklisted()
 
 bool OpenGLHelper::supportsVCLOpenGL()
 {
-    static bool bDisableGL = !!getenv("SAL_DISABLEGL");
+    static bool bDisableGL = true;
     bool bBlacklisted = isDeviceBlacklisted();
 
     if (bDisableGL || bBlacklisted)
@@ -990,7 +990,7 @@ bool OpenGLHelper::isVCLOpenGLEnabled()
      */
 
     bSet = true;
-    bForceOpenGL = !!getenv("SAL_FORCEGL") || officecfg::Office::Common::VCL::ForceOpenGL::get();
+    bForceOpenGL = false;
 
     bool bRet = false;
     if (bForceOpenGL)
commit 7e849e8d72dc02f27a0fb7f59f659daaaf751976
Author: László Németh <laszlo.nemeth at collabora.com>
Date:   Wed Mar 1 23:56:59 2017 +0100

    disable widget cache

diff --git a/vcl/opengl/win/gdiimpl.cxx b/vcl/opengl/win/gdiimpl.cxx
index 310eb14..3015353 100644
--- a/vcl/opengl/win/gdiimpl.cxx
+++ b/vcl/opengl/win/gdiimpl.cxx
@@ -692,7 +692,7 @@ ControlCacheType gTextureCache(200);
 
 bool WinOpenGLSalGraphicsImpl::TryRenderCachedNativeControl(ControlCacheKey& rControlCacheKey, int nX, int nY)
 {
-    static bool gbCacheEnabled = !getenv("SAL_WITHOUT_WIDGET_CACHE");
+    static bool gbCacheEnabled = false;
 
     if (!gbCacheEnabled)
         return false;
commit 95f5db5a7a3573f1ab40403e70e8dea17b66c45d
Author: László Németh <laszlo.nemeth at collabora.com>
Date:   Wed Mar 1 23:54:14 2017 +0100

    disable glyph catching

diff --git a/vcl/win/gdi/winlayout.cxx b/vcl/win/gdi/winlayout.cxx
index 41b01c3..467441b 100644
--- a/vcl/win/gdi/winlayout.cxx
+++ b/vcl/win/gdi/winlayout.cxx
@@ -1458,7 +1458,7 @@ void WinLayout::DrawText(SalGraphics& rGraphics) const
 
 bool SimpleWinLayout::CacheGlyphs(SalGraphics& rGraphics) const
 {
-    static bool bDoGlyphCaching = (std::getenv("SAL_DISABLE_GLYPH_CACHING") == NULL);
+    static bool bDoGlyphCaching = false;
 
     if (!bDoGlyphCaching)
         return false;
@@ -2726,7 +2726,7 @@ bool UniscribeLayout::DrawTextImpl(HDC hDC,
 
 bool UniscribeLayout::CacheGlyphs(SalGraphics& rGraphics) const
 {
-    static bool bDoGlyphCaching = (std::getenv("SAL_DISABLE_GLYPH_CACHING") == NULL);
+    static bool bDoGlyphCaching = false;
 
     if (!bDoGlyphCaching)
         return false;


More information about the Libreoffice-commits mailing list