Thomas Hellstrom <thellst...@vmware.com> writes:

> This implements a wait for glXWaitGL, glXCopySubBuffer, dri flush_front and
> creation of fake front until all pending SwapBuffers have been committed to
> hardware. Among other things this fixes piglit glx-copy-sub-buffers on dri3.

The GLX spec loves to talk about the GL command stream and the X command
stream and what goes where, but the Present swap queue is effectively a
separate command stream from either of those.

I don't think we want to make the Present queue sync against other
command streams on the server side, so we have to manually sync against
it to pretend that Presents happen in the GL command stream.  Thus:

Reviewed-by: Eric Anholt <e...@anholt.net>

Attachment: signature.asc
Description: PGP signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to