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-10 12:01:31 +0000 |
commit | b89920a6594c2d3271f4ab6877ec903d36594d2d (patch) | |
tree | 1f91edc5df4a2f7fe295891cb29992a4509b5571 /jurt | |
parent | 2f3358046e57588086785e6cfd2cbd6f6133e277 (diff) |
tdf#93529 - move to a Mac-like double-buffered OpenGL model.
private/mmeeks/opengl-backbuffer2
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 for debug.
Change-Id: I6be08595b6c8deb7e6db0dbd81308b2c97d2b4ff
Diffstat (limited to 'jurt')
0 files changed, 0 insertions, 0 deletions