summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Versace <chad.versace@linux.intel.com>2012-06-04 12:11:48 -0700
committerJulien Danjou <julien@danjou.info>2012-06-05 10:31:19 +0200
commit5a4e42f37ac431df76f509b26329fd184790a36e (patch)
tree47c53bdfee4881f7c6a12be273c2d311862f84f4
parentb02b7f8dcf92f2b0e7c1edc91f48d2e388d4b8c3 (diff)
dri2: Update to DRI2 1.4
In DRI2 1.4, the DRI2GetParam request was added. Signed-off-by: Chad Versace <chad.versace@linux.intel.com> Signed-off-by: Julien Danjou <julien@danjou.info>
-rw-r--r--src/dri2.xml14
1 files changed, 13 insertions, 1 deletions
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">