Re: [PATCH wayland] client: Add an entry point for dispatching a queue without blocking

2012-11-23 Thread Kristian Høgsberg
On Thu, Nov 22, 2012 at 03:34:48PM +0200, Ander Conselvan de Oliveira wrote: > On the client side EGL, all the wl_buffer.release events need to be > processed before buffer allocation, otherwise a third buffer might > be allocated unnecessarily. However, the buffer allocation should > not block in

[PATCH wayland] client: Add an entry point for dispatching a queue without blocking

2012-11-22 Thread Ander Conselvan de Oliveira
On the client side EGL, all the wl_buffer.release events need to be processed before buffer allocation, otherwise a third buffer might be allocated unnecessarily. However, the buffer allocation should not block in the case no event was received. In order to do that, a non-blocking queue dispatch fu