[Mesa-dev] [PATCH 5/5] dri3: Use SwapBuffer flips for back- and fake front
Thomas Hellstrom
thellstrom at vmware.com
Wed Jun 28 17:00:41 UTC 2017
On 06/22/2017 12:42 PM, Thomas Hellstrom wrote:
> Use flips for back- and fake front buffers.
> This might lead to fake front and real front being shared if the hardware
> is page-flip capable.
>
> In any case it will save a full-drawable copy and also the subsequent wait for
> the X server to submit that copy to hardware if front-buffer reading or
> rendering is enabled.
>
> Signed-off-by: Thomas Hellstrom <thellstrom at vmware.com>
This will actually break even more the already broken eglSwapBuffers()
with EGL_BUFFER_PRESERVED on the x11-dri3 platform. I'm working on a
follow-up patch, though that should fix it.
/Thomas
More information about the mesa-dev
mailing list