[Xcb-commit] src

Julien Danjou jdanjou at kemper.freedesktop.org
Tue Jun 5 01:31:34 PDT 2012


 src/dri2.xml |   14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

New commits:
commit 5a4e42f37ac431df76f509b26329fd184790a36e
Author: Chad Versace <chad.versace at linux.intel.com>
Date:   Mon Jun 4 12:11:48 2012 -0700

    dri2: Update to DRI2 1.4
    
    In DRI2 1.4, the DRI2GetParam request was added.
    
    Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
    Signed-off-by: Julien Danjou <julien at danjou.info>

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">


More information about the xcb-commit mailing list