Kaydet (Commit) 998c64ea authored tarafından Michael Meeks's avatar Michael Meeks

Add SAL_DISABLE_GL_WATCHDOG env. var for obvious reasons.

Change-Id: Iec7cb6504a389972d8187954d5ed7aff94f2e01c
üst 54962518
...@@ -22,3 +22,4 @@ OpenGL ...@@ -22,3 +22,4 @@ OpenGL
SAL_FORCEGL - force enable OpenGL SAL_FORCEGL - force enable OpenGL
SAL_WITHOUT_WIDGET_CACHE - disable LRU caching of native widget texutres SAL_WITHOUT_WIDGET_CACHE - disable LRU caching of native widget texutres
SAL_DISABLE_GLYPH_CACHING - don't render glyphs through OpenGL textures SAL_DISABLE_GLYPH_CACHING - don't render glyphs through OpenGL textures
SAL_DISABLE_GL_WATCHDOG - don't start the thread that watches for broken GL drivers
\ No newline at end of file
...@@ -668,6 +668,7 @@ bool OpenGLHelper::isVCLOpenGLEnabled() ...@@ -668,6 +668,7 @@ bool OpenGLHelper::isVCLOpenGLEnabled()
} }
if (bRet) if (bRet)
{ {
if (!getenv("SAL_DISABLE_GL_WATCHDOG"))
OpenGLWatchdogThread::start(); OpenGLWatchdogThread::start();
ImplGetSVData()->maWinData.mbNoSaveBackground = true; ImplGetSVData()->maWinData.mbNoSaveBackground = true;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment