<HTML>
<HEAD>
<TITLE>Re: [PATCH v2] Add support for fence sync objects</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Thanks for the review Julien. What’s the process for getting reviewed patches committed in XCB? I don’t seem to have commit access myself, and didn’t see anything mentioned on the developers guide.<BR>
<BR>
-James<BR>
<BR>
nvpublic<BR>
<BR>
On 5/10/11 3:55 PM, "James Jones" <<a href="jajones@nvidia.com">jajones@nvidia.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>-Add XML to define the fence sync objects and operations<BR>
added in XSync version 3.1.<BR>
<BR>
-Bump sync module version to 3.1<BR>
<BR>
Signed-off-by: James Jones <<a href="jajones@nvidia.com">jajones@nvidia.com</a>><BR>
Reviewed-by: Julien Cristau <<a href="jcristau@debian.org">jcristau@debian.org</a>><BR>
---<BR>
src/sync.xml | 35 ++++++++++++++++++++++++++++++++++-<BR>
1 files changed, 34 insertions(+), 1 deletions(-)<BR>
<BR>
diff --git a/src/sync.xml b/src/sync.xml<BR>
index e309233..516d149 100644<BR>
--- a/src/sync.xml<BR>
+++ b/src/sync.xml<BR>
@@ -5,7 +5,7 @@ All Rights Reserved. See the file COPYING in this directory<BR>
for licensing information.<BR>
--><BR>
<xcb header="sync" extension-xname="SYNC" extension-name="Sync"<BR>
- major-version="3" minor-version="0"><BR>
+ major-version="3" minor-version="1"><BR>
<import>xproto</import><BR>
<BR>
<xidtype name="ALARM" /><BR>
@@ -18,6 +18,8 @@ for licensing information.<BR>
<BR>
<xidtype name="COUNTER" /><BR>
<BR>
+ <xidtype name="FENCE" /><BR>
+<BR>
<enum name="TESTTYPE"><BR>
<item name="PositiveTransition" /><BR>
<item name="NegativeTransition" /><BR>
@@ -173,6 +175,37 @@ for licensing information.<BR>
</reply><BR>
</request><BR>
<BR>
+ <request name="CreateFence" opcode="14"><BR>
+ <field type="DRAWABLE" name="drawable" /><BR>
+ <field type="FENCE" name="fence" /><BR>
+ <field type="BOOL" name="initially_triggered" /><BR>
+ </request><BR>
+<BR>
+ <request name="TriggerFence" opcode="15"><BR>
+ <field type="FENCE" name="fence" /><BR>
+ </request><BR>
+<BR>
+ <request name="ResetFence" opcode="16"><BR>
+ <field type="FENCE" name="fence" /><BR>
+ </request><BR>
+<BR>
+ <request name="DestroyFence" opcode="17"><BR>
+ <field type="FENCE" name="fence" /><BR>
+ </request><BR>
+<BR>
+ <request name="QueryFence" opcode="18"><BR>
+ <field type="FENCE" name="fence" /><BR>
+ <reply><BR>
+ <pad bytes="1" /><BR>
+ <field type="BOOL" name="triggered" /><BR>
+ <pad bytes="23" /><BR>
+ </reply><BR>
+ </request><BR>
+<BR>
+ <request name="AwaitFence" opcode="19"><BR>
+ <list type="FENCE" name="fence_list" /><BR>
+ </request><BR>
+<BR>
<event name="CounterNotify" number="0"><BR>
<field type="CARD8" name="kind" /><BR>
<field type="COUNTER" name="counter" /><BR>
--<BR>
1.7.1<BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE>
</BODY>
</HTML>