[PATCH 0/2] Fix unnecessary triple buffering with EGL

Ander Conselvan de Oliveira ander.conselvan.de.oliveira at intel.com
Thu Nov 22 05:34:47 PST 2012


Hi,

EGL clients have been triple buffering unnecessarily after the event
queue changes. The problem is that at the moment the frame callback
causes the client to redraw, a wl_buffer.release event is queued in
the EGL side event queue, but it has not yet been processed. A call
to dri2_get_buffers_with_format() at that point decides to allocate a
third buffer.

This fix adds a new public entry point to the client API, so that we
can dispatch the EGL queue in get_buffers() without blocking and
process any pending release event.
-- 
1.7.10.4



More information about the wayland-devel mailing list