[Mesa-dev] [PATCH 1/3] glx/dri3: Fix glXWaitForSbcOML() to handle targetSBC==0 correctly.
Keith Packard
keithp at keithp.com
Sun Dec 14 21:29:22 PST 2014
Mario Kleiner <mario.kleiner.de at gmail.com> writes:
> targetSBC == 0 is a special case, which asks the function
> to block until all pending OpenGL bufferswap requests have
> completed.
Well, it blocks until all pending glXSwapBuffersMscOML requests for the
target window have completed. It seems that it's supposed to *not* count
regular glXSwapBuffers calls. We have no way to tell at this level which
function the application called, so I suspect treating them all the same
is about the best we can do...
> This patch fixes the problem.
Yup, looks great to me.
Reviewed-by: Keith Packard <keithp at keithp.com>
--
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20141214/219d691a/attachment.sig>
More information about the mesa-dev
mailing list