. However,
it is also desireable to associate a screen with
fence sync objects at creation time so that the
associated screen's driver can allocate any HW-
specific resources needed by the fence object up
front.
Signed-off-by: James Jones jajo...@nvidia.com
Reviewed-by: Aaron Plattner aplatt
Allows callers to query whether or not a given
fence sync object is currently triggered.
Signed-off-by: James Jones jajo...@nvidia.com
Reviewed-by: Aaron Plattner aplatt...@nvidia.com
Reviewed-by: Robert Morell rmor...@nvidia.com
---
Xext/sync.c | 49
SyncObject is now the base type for SyncCounter
and SyncFence. Data to be used by both types is
stored in the base object. Both SyncCounter and
SyncFence can be safely cast to SyncObject, and
a SyncObject can be cast to the correct type
based on SyncObject::type.
Signed-off-by: James Jones jajo
Update all the functions dealing with Await
sync triggers handle generic sync objects
instead of just counters. This will
facilitate code sharing between the counter
sync waits and the fence sync waits.
Signed-off-by: James Jones jajo...@nvidia.com
Reviewed-by: Aaron Plattner aplatt
The comment referred only to counter sync objects
and did not include the new fence sync CheckTriggered
function. Generalize the language so it applies
to all the CheckTriggered functions.
Signed-off-by: James Jones jajo...@nvidia.com
Reviewed-by: Aaron Plattner aplatt...@nvidia.com
Reviewed
in the previous refactoring changes.
Signed-off-by: James Jones jajo...@nvidia.com
Reviewed-by: Aaron Plattner aplatt...@nvidia.com
Reviewed-by: Robert Morell rmor...@nvidia.com
---
Xext/sync.c | 304 +++
1 files changed, 223 insertions(+), 81
XDamageSubtractAndTrigger behaves exactly like
XDamageSubtract except it receives an optional
fence sync object. If the value of this object
is not None, it is triggered by X once all the
rendering associated with the damage regions
being subtracted has completed.
Signed-off-by: James Jones jajo
to
notify driver when adding/removing triggers to/
from the sync object.
Signed-off-by: James Jones jajo...@nvidia.com
Reviewed-by: Aaron Plattner aplatt...@nvidia.com
Reviewed-by: Robert Morell rmor...@nvidia.com
---
Xext/sync.c | 38 +++
dix/privates.c |1
Add syncsdk.h, a new xorg SDK header. It
contains SyncVerifyFence() and the helper
functions that use it to look up fence sync
objects. Exporting this functionality in an
SDK header allows 3rd party extensions to
look up fence objects in their interop APIs.
Signed-off-by: James Jones jajo
On Tuesday 17 August 2010 15:01:53 Aaron Plattner wrote:
On Tue, Aug 17, 2010 at 02:49:41PM -0700, Adam Jackson wrote:
Apologies for the slow review here...
No worries. Thanks for taking the time.
On Thu, 2010-08-12 at 16:40 -0700, James Jones wrote:
para
-The extension adds
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
Signed-off-by: James Jones jajo...@nvidia.com
Reviewed-by: Pierre-Loup Griffais pgriff...@nvidia.com
Reviewed-by: Aaron Plattner aplatt...@nvidia.com
Reviewed-by: Robert Morell rmor...@nvidia.com
---
specs/sync.xml | 219 +--
1 files changed
Defines the protocol for creation and basic
management of binary state sync objects.
The following operations are defined:
-Creation
-Destruction
-Trigger
-Reset
Signed-off-by: James Jones jajo...@nvidia.com
Reviewed-by: Aaron Plattner aplatt...@nvidia.com
---
syncconst.h |6
Allows callers to query whether a given fence sync
object is currently triggered or not.
Signed-off-by: James Jones jajo...@nvidia.com
Reviewed-by: Aaron Plattner aplatt...@nvidia.com
---
syncproto.h | 28
1 files changed, 28 insertions(+), 0 deletions(-)
diff
Add the fence sync object equivalent of
XSyncAwait()
Signed-off-by: James Jones jajo...@nvidia.com
Reviewed-by: Aaron Plattner aplatt...@nvidia.com
---
syncproto.h | 12
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/syncproto.h b/syncproto.h
index 7e0a568
Adds the XDamageSubtractAndTrigger() request and bumps the damage
protocol to version 1.2. Now with protocol spec updates including
overview, justification, and intended usage of the new reqeust.
James Jones (2):
Document changes in damage proto version 1.2
Add XDamageSubtractAndTrigger
Signed-off-by: James Jones jajo...@nvidia.com
Reviewed-by: Pierre-Loup Griffais pgriff...@nvidia.com
Reviewed-by: Aaron Plattner aplatt...@nvidia.com
Reviewed-by: Robert Morell rmor...@nvidia.com
---
damageproto.txt | 57 +-
1 files changed
XDamageSubtractAndTrigger behaves exactly like
XDamageSubtract except it receives an optional
fence sync object. If the value of this object
is not None, it is triggered by X once all the
rendering associated with the damage regions
being subtracted has completed.
Signed-off-by: James Jones jajo
cross-API synchronization with X rendering
operations.
James Jones (4):
Initial Fence Sync support
Add XSyncQueryFence()
Add protocol for XSyncAwaitFence()
Add a Drawable argument to XSyncCreateFence()
syncconst.h |6 ++-
syncproto.h | 96
Defines the protocol for creation and basic
management of binary state sync objects.
The following operations are defined:
-Creation
-Destruction
-Trigger
-Reset
Signed-off-by: James Jones jajo...@nvidia.com
Reviewed-by: Aaron Plattner aplatt...@nvidia.com
---
syncconst.h |6
-by: James Jones jajo...@nvidia.com
Reviewed-by: Aaron Plattner aplatt...@nvidia.com
---
syncproto.h |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/syncproto.h b/syncproto.h
index 6e851e4..1453e44 100644
--- a/syncproto.h
+++ b/syncproto.h
@@ -81,6 +81,7 @@ PERFORMANCE
On Monday 09 August 2010 12:52:30 pm Alan Coopersmith wrote:
James Jones wrote:
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
On Monday 09 August 2010 1:56:34 pm Keith Packard wrote:
* PGP Signed by an unknown key
On Mon, 9 Aug 2010 13:41:54 -0700, James Jones jajo...@nvidia.com wrote:
If anyone thinks docs would make reviewing the code changes easier, I can
write them up now rather than waiting for more feedback
to get the
basic changes reviewed first.
Thanks,
-James Jones
---
This email message is for the sole use of the intended recipient(s) and may
contain
confidential information. Any unauthorized review, use, disclosure
When this privates.h is included in C++ builds, the compiler
complains about implicitly casting void* to void**. This small
patch fixes that up.
Signed-off-by: James Jones jajo...@nvidia.com
---
include/privates.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include
101 - 125 of 125 matches
Mail list logo