[Xcb] [PATCH proto 3/7] glx: Version bump 1.3..1.4

Daniel Martin consume.noise at gmail.com
Mon May 27 10:20:29 PDT 2013


Add the BufferSwapComplete (v2) event.

Signed-off-by: Daniel Martin <consume.noise at gmail.com>
---
 src/glx.xml | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/src/glx.xml b/src/glx.xml
index 53c9267..2a36daa 100644
--- a/src/glx.xml
+++ b/src/glx.xml
@@ -45,8 +45,7 @@
 -->
 
 <xcb header="glx" extension-xname="GLX" extension-name="Glx"
-    major-version="1" minor-version="3">
-	<!-- target support: 1.3 -->
+    major-version="1" minor-version="4">
 
 	<import>xproto</import>
 
@@ -107,6 +106,18 @@ <event name="PbufferClobber" number="0">
 		<pad bytes="4" />
 	</event>
 
+	<event name="BufferSwapComplete" number="1">
+		<pad bytes="1" />
+		<field type="CARD16" name="event_type" />
+		<pad bytes="2" />
+		<field type="glx:DRAWABLE" name="drawable" />
+		<field type="CARD32" name="ust_hi" />
+		<field type="CARD32" name="ust_lo" />
+		<field type="CARD32" name="msc_hi" />
+		<field type="CARD32" name="msc_lo" />
+		<field type="CARD32" name="sbc" />
+	</event>
+
 	<!-- enums for PbufferClobber event/draw type -->
 	<enum name="PBCET">
 		<item name="Damaged">
-- 
1.8.2.1



More information about the Xcb mailing list