[PATCH] Do not release buffer when it is going to be used again.

Axel Davy davy at clipper.ens.fr
Fri Nov 8 02:40:36 PST 2013


On Thu, 7 Nov 2013, Ander Conselvan de Oliveira wrote:

>
> We shouldn't have current equals to next in the first place. This can happen 
> when the repaint loop starts, but that's what the 'if 
> (output->page_flip_pending)' is for. In any other case, that implies we are 
> rendering to the front buffer.
>
> Ander
>

Thanks for having pointing that out.

I've done additional testings and debug, and I found out the patch 
doesn't solve the bug I was hitting (which is strange given it worked
before I posted it).

The root of the bug seems to be the application I tested used
WL_SHELL_SURFACE_FULLSCREEN_METHOD_DRIVER, and it seems to be buggy.

Axel Davy


More information about the wayland-devel mailing list