[Xcb] [PATCH] dri2: Update to DRI2 1.4

Chad Versace chad.versace at linux.intel.com
Mon Jun 4 12:11:48 PDT 2012


In DRI2 1.4, the DRI2GetParam request was added.

Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
---
 src/dri2.xml |   14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/src/dri2.xml b/src/dri2.xml
index 3af1600..508e4c1 100644
--- a/src/dri2.xml
+++ b/src/dri2.xml
@@ -28,7 +28,7 @@ authorization from the authors.
 -->
 
 <xcb header="dri2" extension-xname="DRI2" extension-name="DRI2"
-  major-version="1" minor-version="3">
+  major-version="1" minor-version="4">
   <import>xproto</import>
 
   <enum name="Attachment">
@@ -241,6 +241,18 @@ authorization from the authors.
     <field type="CARD32" name="interval" />
   </request>
 
+  <!-- Version 1.4 -->
+
+  <request name="GetParam" opcode="13">
+    <field type="DRAWABLE" name="drawable" />
+    <field type="CARD32" name="param" />
+    <reply>
+      <field type="BOOL" name="is_param_recognized" />
+      <field type="CARD32" name="value_hi" />
+      <field type="CARD32" name="value_lo" />
+    </reply>
+  </request>
+
   <!-- Events -->
 
   <event name="BufferSwapComplete" number="0">
-- 
1.7.10.3



More information about the Xcb mailing list