vcl/README.vars | 2 +- vcl/win/source/gdi/winlayout.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit 9a68eb9c1f54d4c4e14a46c11ba9eafca35a2b82 Author: Tor Lillqvist <t...@collabora.com> Date: Tue Aug 25 11:52:20 2015 +0300 Turn on glyph caching by default when using OpenGL Can now be turned off with a SAL_DISABLE_GLYPH_CACHING environment variable. Change-Id: I7ac14d72dc0f85c0682d92492eb96bec1d207609 diff --git a/vcl/README.vars b/vcl/README.vars index b76b051..0cc8576 100644 --- a/vcl/README.vars +++ b/vcl/README.vars @@ -21,4 +21,4 @@ OpenGL ------ SAL_FORCEGL - force enable OpenGL SAL_WITHOUT_WIDGET_CACHE - disable LRU caching of native widget texutres -SAL_ENABLE_GLYPH_CACHING - render glyphs to textures and use those, Windows only, WIP, broken +SAL_DISABLE_GLYPH_CACHING - don't render glyphs through OpenGL textures diff --git a/vcl/win/source/gdi/winlayout.cxx b/vcl/win/source/gdi/winlayout.cxx index f26d3eb..d341806 100644 --- a/vcl/win/source/gdi/winlayout.cxx +++ b/vcl/win/source/gdi/winlayout.cxx @@ -1658,7 +1658,7 @@ void UniscribeLayout::DrawTextImpl(HDC hDC) const bool UniscribeLayout::CacheGlyphs(SalGraphics& rGraphics) const { - static bool bDoGlyphCaching = (std::getenv("SAL_ENABLE_GLYPH_CACHING") != NULL); + static bool bDoGlyphCaching = (std::getenv("SAL_DISABLE_GLYPH_CACHING") == NULL); if (!bDoGlyphCaching) return false; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits