On 10/16/2017 05:49 PM, Keith Packard wrote:
Andy Ritger writes:
If the NVIDIA X driver finds an HMD display, it:
(a) Marks it as disconnected.
(b) Does not make its EDID available to RandR clients.
So, unless I'm mistaken, RandR clients will see the HMD as an RandR
On 10/16/2017 01:33 PM, Dave Airlie wrote:
On 17 October 2017 at 06:01, James Jones <jajo...@nvidia.com> wrote:
On 10/16/2017 12:28 PM, Keith Packard wrote:
James Jones <jajo...@nvidia.com> writes:
I think at a lower level, we have different
On 10/16/2017 12:28 PM, Keith Packard wrote:
James Jones <jajo...@nvidia.com> writes:
I think at a lower level, we have different views of how
vkGetPhysicalDeviceDisplayPropertiesKHR/VK_KHR_display works.
vkGetPhysicalDeviceDisplayPropertiesKHR() is suppose to enumerate all
the di
On 10/14/2017 02:00 AM, "Keith Packard" wrote:
I've implemented this extension in DRM and have run into a conflict
between the spec and the Linux architecture.
The VkDisplayKHR parameter for VK_EXT_acquire_xlib_display can be
found in two different ways:
1) Enumerate displays using
For the series,
Reviewed-by: James Jones jajo...@nvidia.com
Thanks,
-James
On 06/02/2015 10:41 AM, Adam Jackson wrote:
This series stubs in the server side of support for some newer GLX extensions.
They won't do much without corresponding Mesa updates, but are necessary for
such updates
On 11/25/2014 11:37 PM, Robert Morell wrote:
On Tue, Nov 25, 2014 at 11:20:58PM -0800, Alan Coopersmith wrote:
On 11/25/14 10:36 PM, Robert Morell wrote:
On Tue, Nov 25, 2014 at 07:26:14PM -0800, Alan Coopersmith wrote:
Covers the current state after commits 99f0365b1fbdfd9238b9f,
.
+.TP 8
.B \-maxbigreqsize \fIsize\fP
sets the maximum big request to
.I size
Reviewed-by: James Jones jajo...@nvidia.com
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman
Hi Keith,
Thanks for incorporating all the suggested fencing in the present
protocol. I think the latest version looks good, and just had some
minor feedback:
-I just noticed the email you listed for me in the Acknowledgements was
incorrect. It should be jajones 'at' nvidia.com.
-Should
On 08/13/2013 02:25 PM, Bryce W. Harrington wrote:
On Tue, Aug 13, 2013 at 02:02:59PM -0700, Alan Coopersmith wrote:
On 08/13/13 01:09 PM, Keith Packard wrote:
Present is a noun and a verb (with different pronunciations, no
less). As such, it makes a pretty miserable extension name.
Can you
On 06/08/2013 11:18 AM, Daniel Stone wrote:
Hi,
On 7 June 2013 13:30, James Jones jajo...@nvidia.com wrote:
We do need more than the 'make it pretty' requirement above though. What you
describe is what interactive rendering apps want, when you're translating
some sort of input into graphics
On 06/07/2013 10:10 AM, Keith Packard wrote:
* PGP Signed by an unknown key
James Jones jajo...@nvidia.com writes:
Yeah, I think the semantics are compatible. We allocate these buffers
on the server-side, but I don't think that affects the interaction with
Present.
DRI2 allocates them
On 06/05/2013 06:20 PM, Keith Packard wrote:
* PGP Signed by an unknown key
James Jones jajo...@nvidia.com writes:
I read through this and the extension specification below. The DRI3
stuff doesn't directly affect our driver at the moment of course, but I
like the direction it's going
Airlie airl...@redhat.com
Kristian Høgsberg k...@bitplanet.net
James Jones jano...@nvidia.com
❄ ❄ ❄ ❄ ❄ ❄ ❄
2. Data Types
DRI3EVENTID { XID }
Defines a unique event delivery target for DRI3
events. Multiple event IDs can be allocated to provide
On 03/21/2013 03:41 PM, Keith Packard wrote:
* PGP Signed by an unknown key
James Jones jajo...@nvidia.com writes:
If you associate an X Fence Sync with your swap operation, the driver
has the option to trigger it directly from the client command stream and
wake up only the applications
On 03/07/2013 05:17 PM, Keith Packard wrote:
* PGP Signed by an unknown key
James Jones jajo...@nvidia.com writes:
There didn't seem to be much interest outside of NVIDIA, so
besides fence sync, the ideas are tabled internally ATM.
This shouldn't surprise you though -- no-one else needs
On 03/07/2013 12:49 PM, Keith Packard wrote:
* PGP Signed by an unknown key
Aaron Plattner aplatt...@nvidia.com writes:
If I'm understanding this correctly, this requires the X server to
receive a notification from the GPU that the swap is complete so it can
send the SwapComplete event. Is
On 03/07/2013 01:19 PM, Owen Taylor wrote:
On Thu, 2013-02-28 at 16:55 -0800, Keith Packard wrote:
* It would be great if we could figure out a plan to get to the
point where the exact same application code is going to work for
proprietary and open source drivers. When you get down to
On 3/20/12 12:04 AM, Peter Hutterer wrote:
On Fri, Mar 16, 2012 at 06:15:30PM -0700, James Jones wrote:
Below:
+SyncCounter*
+SyncInitDeviceIdleTime(DeviceIntPtr dev)
+{
+char timer_name[64];
+sprintf(timer_name, DEVICEIDLETIME %d, dev-id);
+
+return init_system_idle_counter
Below:
On 3/14/12 9:10 PM, Peter Hutterer wrote:
Previously, we only had one idle alarm that was triggered for all devices,
whenever the user used any device, came back from suspend, etc.
Add system SyncCounters for each device (named DEVICEIDLETIME x, with x
being the device id) that
On 3/14/12 5:20 PM, Peter Hutterer wrote:
On Wed, Mar 14, 2012 at 05:11:04PM -0700, James Jones wrote:
I like the cleanups here. I prefer the SysCounterGetPrivate() helper over
the macro, but don't particularly think the need to allow
SyncNumSystemCounters to go negative by decrementing
I like the cleanups here. I prefer the SysCounterGetPrivate() helper over the
macro, but don't particularly think the need to allow SyncNumSystemCounters to
go negative by decrementing in ResetProc() is a win for clarity.
Thanks,
-James
On 3/14/12 4:30 PM, Peter Hutterer wrote:
On Wed, Mar
to send it to xorg-devel ... I have not tested it and am
just forwarding it along for comment since it reportedly addresses this
crasher.
From 59616dde4a04d407db76d55b06bcc82d646f42cd Mon Sep 17 00:00:00 2001
From: James Jones jajo...@nvidia.com
Date: Thu, 9 Dec 2010 16:14:05 -0800
Subject: [PATCH
everything finished up for
integrating the client side of Sync 3.1 to our packages to go along with
the Xorg 1.10 integration.)
-Alan Coopersmith-alan.coopersm...@oracle.com
Oracle Solaris Platform Engineering: X Window System
On 05/ 5/11 08:09 PM, James Jones wrote:
I'm
I'm not aware of any fence sync issues that would hold up a release.
Everything should be ready to go.
Thanks,
-James
nvpublic
On 5/5/11 7:09 PM, Alan Coopersmith alan.coopersm...@oracle.com wrote:
It looks like we've still not done a release of libXext with the
new XSyncAwaitFence() API
On Friday 04 March 2011 11:43:05 pm Keith Packard wrote:
* PGP Signed by an unknown key
On Fri, 4 Mar 2011 16:47:45 -0800, James Jones jajo...@nvidia.com wrote:
On 3/1/11 6:56 PM, James Jones jajo...@nvidia.com wrote:
On Tuesday 01 March 2011 08:02:24 Keith Packard wrote:
*snip
On Thursday 03 March 2011 4:14:04 pm Soeren Sandmann wrote:
James Jones jajo...@nvidia.com writes:
With a scheme like this, the Composite extension itself would become
simply a way to support legacy applications since window redirection
doesn't really mean anything for InputOnly windows
On 3/1/11 6:56 PM, James Jones jajo...@nvidia.com wrote:
On Tuesday 01 March 2011 08:02:24 Keith Packard wrote:
*snip*
Scanout pixmaps get resized automatically when the associated crtc gets
a new mode. This lets a compositing manager deal with the scanout pixmap
creation while separate
On Tuesday 01 March 2011 14:48:44 Soeren Sandmann wrote:
Keith Packard kei...@keithp.com writes:
On Tue, 01 Mar 2011 20:12:14 +0100, Soeren Sandmann sandm...@cs.au.dk
wrote:
Presumably the main use case for this is fullscreen video.
When using a compositing manager, any full-screen
On Tuesday 01 March 2011 11:12:14 Soeren Sandmann wrote:
Ville Syrjälä ville.syrj...@nokia.com writes:
On Mon, Feb 28, 2011 at 05:29:56PM -0800, ext Keith Packard wrote:
Ok, let's try to get a bit of protocol review, then look at the library
API, then the server internal APIs and finally
On Tuesday 01 March 2011 18:35:14 Keith Packard wrote:
* PGP Signed by an unknown key
On Tue, 1 Mar 2011 18:11:24 -0800, James Jones jajo...@nvidia.com wrote:
Also, getting the unredirect/redirect to work without causing a bunch of
expose events and related flickering is hard. It's
On Tuesday 01 March 2011 08:02:24 Keith Packard wrote:
*snip*
Scanout pixmaps get resized automatically when the associated crtc gets
a new mode. This lets a compositing manager deal with the scanout pixmap
creation while separate screen configuration applications deal with mode
setting. Of
.
-Return BadFence, not BadCounter from XSyncAwaitFence()
Signed-off-by: James Jones jajo...@nvidia.com
Reviewed-by: Keith Packard kei...@keithp.com
---
Xext/sync.c | 138 ++
1 files changed, 81 insertions(+), 57 deletions(-)
diff --git
.
-Return BadFence, not BadCounter from XSyncAwaitFence()
Signed-off-by: James Jones jajo...@nvidia.com
Reviewed-by: Keith Packard kei...@keithp.com
---
Xext/sync.c | 142 +++---
1 files changed, 86 insertions(+), 56 deletions(-)
diff --git
)
SyncScreenPrivPtr pScreenPriv = SYNC_SCREEN_PRIV(pScreen);
pScreen-CloseScreen = pScreenPriv-CloseScreen;
-free(pScreenPriv);
return (*pScreen-CloseScreen) (i, pScreen);
}
--
1.7.2.3
Reviewed-by: James Jones jajo...@nvidia.com
Thanks,
-James
XSyncAwaitFence can generate BadValue if the
fence list argument is empty. Document this
in the spec.
---
specs/sync.xml |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/specs/sync.xml b/specs/sync.xml
index 44a6b2c..aaad323 100644
--- a/specs/sync.xml
+++
()
to kill an incompatible pointer type warning.
-Remove comments claiming protocol updates are needed. One
wasn't true and the other was addressed with a xextproto
change.
-Return BadFence, not BadCounter from XSyncAwaitFence()
Signed-off-by: James Jones jajo...@nvidia.com
---
Xext/sync.c
Resend includes sign-off.
XSyncAwaitFence can generate BadValue if the
fence list argument is empty. Document this
in the spec.
Signed-off-by: James Jones jajo...@nvidia.com
---
specs/sync.xml |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/specs/sync.xml b/specs
As a precursor to the fence sync object video driver
and extension API, move some code from Xext to
miext/sync. Most of this is just code to set up the
build system to include the new directory. No
functional code is added in this change.
Signed-off-by: James Jones jajo...@nvidia.com
SyncObject is now the base type for SyncCounter.
Data to be used by all sync types is stored in
the base object. SyncCounter 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...@nvidia.com
---
Xext
In preparation for adding more sync object types
that will need Await requests of their own, factor
out some setup and finalization code from
ProcSyncAwait() into SyncAwaitPrologue() and
SyncAwaitEpilogue()
Signed-off-by: James Jones jajo...@nvidia.com
---
Xext/sync.c | 110
Subsequent changes rely on fence sync protocol
in the sync extension. This protocol is only
complete in xextproto version 7.1.99 and
above.
Signed-off-by: James Jones jajo...@nvidia.com
---
configure.ac |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure.ac b
Add the new protocol handlers for XSync 3.1 to the
dispatch tables and report support for Sync protocol
version 3.1.
Signed-off-by: James Jones jajo...@nvidia.com
---
Xext/sync.c | 24
include/protocol-versions.h |2 +-
2 files changed, 25
functions to
notify driver when adding/removing triggers to/
from the sync object.
Signed-off-by: James Jones jajo...@nvidia.com
---
Xext/sync.c |6 +-
dix/privates.c |1 +
hw/xfree86/loader/sdksyms.sh |3 +
include/privates.h |1 +
miext/sync
-Add the actual ProcSyncAwaitFence() dispatch func
-Add support for fence sync triggers.
Signed-off-by: James Jones jajo...@nvidia.com
---
Xext/sync.c| 183 ++--
Xext/syncsrv.h |1 -
2 files changed, 152 insertions(+), 32 deletions
operation. 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
---
Xext/Makefile.am
the damage 1.2 support for DamageSubtractAndTrigger. Re-
uses X Sync Counter code wherever possible. A driver
interface has also been added so DDX drivers can redirect
fence sync operations to HW rendering backend operations.
James Jones (10):
Add and use SERVER_SYNC_*_VERSION
Create SyncObject base
the server was built against.
Signed-off-by: James Jones jajo...@nvidia.com
---
Xext/sync.c |5 +++--
include/protocol-versions.h |4
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/Xext/sync.c b/Xext/sync.c
index f23df6c..4da06ac 100644
--- a/Xext/sync.c
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
. 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
Subsequent changes rely on fence sync protocol
in the sync extension. This protocol is only
complete in xextproto version 7.1.99 and
above.
Signed-off-by: James Jones jajo...@nvidia.com
---
configure.ac |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure.ac b
backend operations.
James Jones (10):
Require xextproto 7.1.99
Create/Destroy/Trigger/Reset Fence Sync objects
Add XSyncQueryFence()
Create SyncObject base type.
Make Await SyncTrigger functions generic
Generalize comment above Sync CheckTriggered funcs
Add XSyncAwaitFence() handler
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
Reviewed-by: Adam Jackson a...@redhat.com
---
Xext/sync.c | 49
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
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
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
Reviewed-by: Adam Jackson a...@redhat.com
---
Xext/sync.c | 38
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
Reviewed-by: Adam Jackson a...@redhat.com
---
Xext/sync.c | 300
As a precursor to exposing fence sync objects
to video drivers and other extensions, move
some operations from Xext to miext/sync.
Expose macros for looking up sync objects out-
side of Xext/sync.c as well.
Signed-off-by: James Jones jajo...@nvidia.com
---
COPYING|2 +-
Xext
Commit 606e079cc4d9a9db3197652ca51683c36f74efb8 moved the visual
field in WindowOptRec, breaking the extension module ABI.
Signed-off-by: James Jones jajo...@nvidia.com
---
hw/xfree86/common/xf86Module.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/xfree86/common
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.
James Jones (5):
Document changes in XSync version 3.1
Initial Fence Sync support
Add
Use version 7.1.99.0 to mark the inclusion of
Fence Sync protocol support.
Signed-off-by: James Jones jajo...@nvidia.com
Reviewed-by: Aaron Plattner aplatt...@nvidia.com
---
configure.ac |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index
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 | 229 +--
1 files changed
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
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
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
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
Use version 1.2.99.0 to mark the inclusion of
Fence Sync protocol support. Really this should
be 1.2.0, but that version was already incorrectly
used.
Signed-off-by: James Jones jajo...@nvidia.com
Reviewed-by: Aaron Plattner aplatt...@nvidia.com
---
configure.ac |2 +-
1 files changed, 1
.
James Jones (3):
Document changes in damage proto version 1.2
Add XDamageSubtractAndTrigger operation
Bump version to 1.2.99.0
configure.ac|2 +-
damageproto.h | 15 ++
damageproto.txt | 57 +-
damagewire.h
extension.
Signed-off-by: James Jones jajo...@nvidia.com
Reviewed-by: Aaron Plattner aplatt...@nvidia.com
---
src/XSync.c | 125 +-
1 files changed, 97 insertions(+), 28 deletions(-)
diff --git a/src/XSync.c b/src/XSync.c
index c21749a
Changes since last version:
-Rebased at d35e95fdf433a249d0293744d3e1ef6196422700
-Added xextproto version check.
Adds client library support for binary sync objects added
in the X Synchronization protocol version 3.1. libXext
remains compatible with servers that only implement version 3.0
James
Subsequent changes require fence sync
protocol support in the XSync extension,
which is only compete in version xextproto
7.1.99 and above.
Signed-off-by: James Jones jajo...@nvidia.com
Reviewed-by: Aaron Plattner aplatt...@nvidia.com
---
configure.ac |4 ++--
1 files changed, 2 insertions
Add the XSynceFence version of XSyncAwait(). Waits
for fence objects to reach the triggered state.
Signed-off-by: James Jones jajo...@nvidia.com
Reviewed-by: Aaron Plattner aplatt...@nvidia.com
---
include/X11/extensions/sync.h |6 ++
src/XSync.c | 21
XSyncCreateFence() takes a drawable
to identify which screen to create the fence on.
Signed-off-by: James Jones jajo...@nvidia.com
Reviewed-by: Aaron Plattner aplatt...@nvidia.com
---
include/X11/extensions/sync.h | 21 ++
src/XSync.c | 85
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
---
include/X11/extensions/sync.h |6 ++
src/XSync.c | 29
with the damage regions
being subtracted has completed.
Bump version number to match protocol version,
and require damageproto 1.2.99
Signed-off-by: James Jones jajo...@nvidia.com
Reviewed-by: Aaron Plattner aplatt...@nvidia.com
---
configure.ac |4 ++--
include/X11
Changes since the last version:
-Changed new version from 1.2.99 - 1.3.0
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 (3
Use version 1.3.0 to mark the inclusion of Fence
Sync protocol support. Really this should be
1.2.0, but that version was already incorrectly
used.
Signed-off-by: James Jones jajo...@nvidia.com
Reviewed-by: Aaron Plattner aplatt...@nvidia.com
---
configure.ac |2 +-
1 files changed, 1
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
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
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
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
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
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
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 | 300 +++
1 files changed, 219 insertions(+), 81
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
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
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
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
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 | 229 +--
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
extension.
Signed-off-by: James Jones jajo...@nvidia.com
Reviewed-by: Aaron Plattner aplatt...@nvidia.com
---
src/XSync.c | 125 +-
1 files changed, 97 insertions(+), 28 deletions(-)
diff --git a/src/XSync.c b/src/XSync.c
index 648c718
Adds client library support for binary sync objects added
in the X Synchronization protocol version 3.1. libXext
remains compatible with servers that only implement version 3.0
James Jones (3):
Initial Fence Sync Object support
Add XSyncQueryFence()
Add XSyncAwaitFence()
include/X11
XSyncCreateFence() takes a drawable
to identify which screen to create the fence on.
Signed-off-by: James Jones jajo...@nvidia.com
Reviewed-by: Aaron Plattner aplatt...@nvidia.com
---
include/X11/extensions/sync.h | 21 ++
src/XSync.c | 85
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
---
include/X11/extensions/sync.h |6 ++
src/XSync.c | 29
Add the XSynceFence version of XSyncAwait(). Waits
for fence objects to reach the triggered state.
Signed-off-by: James Jones jajo...@nvidia.com
Reviewed-by: Aaron Plattner aplatt...@nvidia.com
---
include/X11/extensions/sync.h |6 ++
src/XSync.c | 21
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
Implements X Sync Fence Objects in the server, including
the damage 1.2 support for DamageSubtractAndTrigger. Re-
uses X Sync Counter code wherever possible. A driver
interface has also been added so DDX drivers can redirect
fence sync operations to HW rendering backend operations.
James Jones
1 - 100 of 125 matches
Mail list logo