Re: [PATCH mesa 1/2] wayland: Block for the frame callback in get_back_bo not dri2_swap_buffers

2013-12-07 Thread Kristian Høgsberg
On Fri, Nov 15, 2013 at 01:50:49PM +, Neil Roberts wrote: > As per Kristian's suggestion we can avoid the problem of effectively > disabling the event queuing mechanism by only doing the sync request > when the swap interval is zero. To fix the bug of using three buffers > we can just block for

[PATCH mesa 1/2] wayland: Block for the frame callback in get_back_bo not dri2_swap_buffers

2013-11-15 Thread Neil Roberts
As per Kristian's suggestion we can avoid the problem of effectively disabling the event queuing mechanism by only doing the sync request when the swap interval is zero. To fix the bug of using three buffers we can just block for the frame callback in get_back_bo instead of swap_buffers. I was orig