[PATCH v2] Post buffer release events instead of queue when no frame callback

Tomeu Vizoso tomeu at tomeuvizoso.net
Wed Sep 25 09:16:36 PDT 2013


On 16 September 2013 17:28, Neil Roberts <neil at linux.intel.com> wrote:

>
> Here is a second version of the patch to do the posting. It makes the
> patch for doing the queue disabling redundant.
>

Have done some testing on the RPi and this patch allows me not having to
sync in a loop while waiting for buffer releases in SwapBuffers.

I'm a bit concerned though about applications that install frame callbacks
for reasons other than knowing when to start to draw, such as gathering
timing statistics. I'm also concerned about making things more complicated
and thus harder to debug.

I have seen a flag proposed to enable or disable the queueing of release
events, but I'm not sure what would make most sense to be the default value
of it.

Regards,

Tomeu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20130925/fef8dd98/attachment.html>


More information about the wayland-devel mailing list