[PATCH xextproto] Document another error for XSyncAwaitFence (Resend)

James Jones jajones at nvidia.com
Wed Dec 15 14:26:05 PST 2010


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 <jajones at nvidia.com>
---
 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
+++ b/specs/sync.xml
@@ -885,14 +885,15 @@ fence does not name a valid fence.
     <listitem>
 <literallayout class="monospaced">
 fence-list: LISTofFENCE
-Errors: <function>Fence</function>,<function>Alloc</function>
+Errors: <function>Fence</function>,<function>Alloc</function>,<function>Value</function>
 </literallayout>
       <para>
 When this request is executed, the processing of further requests for the
 client is blocked until one or more of the fences in fence-list reaches the
 triggered state.  If any of the fences are already in the triggered state,
 request processing resumes immediately. A <function>Fence</function> error
-is generated if any member of fence-list does not name a valid fence.
+is generated if any member of fence-list does not name a valid fence. A
+<function>Value</function> error is generated if fence-list is empty.
       </para>
     </listitem>
   </varlistentry>
-- 
1.7.1



More information about the xorg-devel mailing list