[Mesa-dev] [PATCH 0/2] First attempt at asynchronous SwapBuffers

Marek Olšák maraeo at gmail.com
Thu Nov 15 10:04:51 PST 2012


On Thu, Nov 15, 2012 at 6:47 PM, Mathias Fröhlich
<Mathias.Froehlich at gmx.net> wrote:
>
> Marek,
>
> Regarding swap handling, there was a lengthy discussion about this topic at
> XDC in Nürnberg.
> May be Keith can comment on that as he also presented these ideas.
> But short, the overall aim of this discusstion was to make the dri2 buffer swap
> more asynchronous.
> This does not exactly solve the problem with the tripple flush, but as far as I
> can see this interferes with your attempts to move the buffer swap round trip
> into an own thread. Or at least provides a similar fire and forget semantics
> for the buffer swap that you aim for with a different buffer swap thread.

Yes, that's what I am looking for, though I'd like to have a solution
that works with current DRI2 as well.

The triple flush is unrelated to DRI2, it's actually an internal issue
with libGL and can be fixed easily.

Marek


More information about the mesa-dev mailing list