[PATCH xextproto 0/4] XSync Fence Objects (rev. 3)

James Jones jajones at nvidia.com
Tue Sep 21 16:30:26 PDT 2010


Updated again to include some clarifications in the
documentation suggested by Adam Jackson.

Adds support for binary sync objects.  Objects are set to
"triggered" using X commands that are executed relative to
X rendering commands.  Clients can wait for fence sync
objcts to reach the triggered state using XSync APIs or
using interop functionality in other APIs.  This allows
for efficient cross-API synchronization with X rendering
operations.

Now includes modifications suggested by Alan Coopersmith and
protocol spec updates.

Alan, I've looked into the heroics needed to provide backwards
compatibility with older servers/newer libXexts, and it looks
like it will all be in the lib code, which I'll be sending out
once I implement said heroics.  Thanks for pointing this out.
The lib change to enable backwards compatibility should go in
before these proto changes because the lib code is currently
written such that it will refuse to work with any server
advertising an XSync version below whatever the lib code picks
up from compile-time constants in xextproto.

James Jones (4):
  Document changes in XSync version 3.1
  Initial Fence Sync support
  Add XSyncQueryFence()
  Add protocol for XSyncAwaitFence()

 specs/sync.xml |  229 +++++++++++++++++++++++++++++++++++++++++++++++++++++--
 syncconst.h    |    6 +-
 syncproto.h    |   96 +++++++++++++++++++++++
 3 files changed, 320 insertions(+), 11 deletions(-)



More information about the xorg-devel mailing list