diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-11-13 12:00:59 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-12-11 11:39:55 +0000 |
commit | 7bc1f1285e82982b5d900f54f3c6f877517598b8 (patch) | |
tree | f055198ff7acfa3cf2fac695186452530d539f19 /vcl/README.vars | |
parent | 93185f720aab0e58564c050ea3518746d8597803 (diff) |
tdf#93529 - move to a Mac-like double-buffered OpenGL model.
This moves us to always rendering to an off-screen texture, and then
(at idle) blitting this to the screen & swapping buffers. Ideally we
should never see any rendering, or flicker again with this approach.
Several fixes are included:
+ avoid multiple OpenGL contexts being created for the same window,
created excessive flicker problems.
+ de-virtualize UseContext - which context we use is less critical.
+ kill 'mbOffscreen' distinction - all VCL rendering is offscreen.
+ implement 'doFlush' and high priority idle flushing.
+ bind stencil buffer for clipping vs. textures - fixing complex
clopping when rendering to virtual-devices, and off-screen.
+ document environment. variables.
+ use white as default background glClear color, but red or
random color for DBGUTIL.
Change-Id: I6be08595b6c8deb7e6db0dbd81308b2c97d2b4ff
Diffstat (limited to 'vcl/README.vars')
-rw-r--r-- | vcl/README.vars | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/README.vars b/vcl/README.vars index 4f62333eed00..bf85485c1388 100644 --- a/vcl/README.vars +++ b/vcl/README.vars @@ -21,6 +21,8 @@ EMF_PLUS_DISABLE - use EMF rendering and ignore EMF+ specifics OpenGL ------ SAL_FORCEGL - force enable OpenGL +SAL_GL_NO_SWAP - disable buffer swapping if set (should show nothing) +SAL_GL_SLEEP_ON_SWAP - sleep for half a second on each swap-buffers. SAL_WITHOUT_WIDGET_CACHE - disable LRU caching of native widget texutres 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 |