-
Committer:
Tarmac
-
Author(s):
Daniel van Vugt
-
Date:
2014-12-19 21:52:32 UTC
-
mfrom:
(2163.2.14 swap-then-flip)
-
Revision ID:
tarmac-20141219215232-y553qmkaq99z2uf0
Split post_update() into separate gl_swap_buffers() and flip().
On some platforms this provides a significant performance boost, as
GL resources and client buffers can be released after the gl_swap_buffers
without having to wait for the flip.
This solves most of LP: #1264934, and unblocks work on LP: #1350716 and
possibly unblocks LP: #1350725 too. Fixes: https://bugs.launchpad.net/bugs/1264934, https://bugs.launchpad.net/bugs/1350716.
Approved by Alberto Aguirre, Cemil Azizoglu, Alan Griffiths, PS Jenkins bot, Robert Carr.