Chris Wilson <ch...@chris-wilson.co.uk> writes:

> Currently we call XSync() to run the event queue to catch the invalidate
> event before we wait for the reply from the DRI2SwapBuffers request.
> However, the XServer sends the DRI2InvalidateNotify event before sending
> the DRI2SwapBuffers reply and so the invalidate event is processed in
> the normal manner by xcb before it returns the DRI2SwapBuffers reply
> without having to add an extra round-trip.

You need Xlib to have processed the event, not just XCB.  I remember the
XSync being required to make rendering actually work correctly when I
wrote the code.

Attachment: pgpNh145ysLQE.pgp
Description: PGP signature

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

Reply via email to