[PATCH xextproto 0/4] XSync Fence Objects (rev. 2)
James Jones
jajones at nvidia.com
Thu Aug 12 16:39:59 PDT 2010
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 | 219 +++++++++++++++++++++++++++++++++++++++++++++++++++++--
syncconst.h | 6 +-
syncproto.h | 96 ++++++++++++++++++++++++
3 files changed, 311 insertions(+), 10 deletions(-)
More information about the xorg-devel
mailing list