From 005096937e1da6f65f8ece77662a8db6102d933d Mon Sep 17 00:00:00 2001 From: Jesse Barnes Date: Thu, 5 May 2011 13:11:22 -0700 Subject: dri2proto: add a new DRI2BufferSwapComplete struct that matches the spec Just add a new struct to remain compatible with existing code. Reviewed-by: Eric Anholt Reviewed-by: Ian Romanick Reviewed-by: Jeremy Huddleston Signed-off-by: Jesse Barnes --- configure.ac | 2 +- dri2proto.h | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 9505f56..297be0e 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ AC_PREREQ([2.60]) -AC_INIT([DRI2Proto], [2.4], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg]) +AC_INIT([DRI2Proto], [2.5], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg]) AM_INIT_AUTOMAKE([foreign dist-bzip2]) AM_MAINTAINER_MODE diff --git a/dri2proto.h b/dri2proto.h index 9708a4a..cd82afb 100644 --- a/dri2proto.h +++ b/dri2proto.h @@ -290,6 +290,7 @@ typedef struct { CARD8 pad; CARD16 sequenceNumber B16; CARD16 event_type B16; + CARD16 pad2; CARD32 drawable B32; CARD32 ust_hi B32; CARD32 ust_lo B32; @@ -300,6 +301,21 @@ typedef struct { } xDRI2BufferSwapComplete; #define sz_xDRI2BufferSwapComplete 32 +typedef struct { + CARD8 type; + CARD8 pad; + CARD16 sequenceNumber B16; + CARD16 event_type B16; + CARD16 pad2; + CARD32 drawable B32; + CARD32 ust_hi B32; + CARD32 ust_lo B32; + CARD32 msc_hi B32; + CARD32 msc_lo B32; + CARD32 sbc B32; +} xDRI2BufferSwapComplete2; +#define sz_xDRI2BufferSwapComplete2 32 + typedef struct { CARD8 type; CARD8 pad; -- cgit v1.2.1