diff options
author | marha <marha@users.sourceforge.net> | 2012-06-21 08:09:37 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-06-21 08:09:37 +0200 |
commit | da6ea6d64418710cbf7e0639dfefd2d856d53f1a (patch) | |
tree | 23900712d7923a4e77aa095f68e7a955321ba538 /xorg-server/hw/xfree86/dri2/dri2.h | |
parent | 36237c651fab7aa9e65da9c33eb89a619827edff (diff) | |
download | vcxsrv-da6ea6d64418710cbf7e0639dfefd2d856d53f1a.tar.gz vcxsrv-da6ea6d64418710cbf7e0639dfefd2d856d53f1a.tar.bz2 vcxsrv-da6ea6d64418710cbf7e0639dfefd2d856d53f1a.zip |
mesa pixman xkeyboard-config xserver git update 21 Jun 2012
Diffstat (limited to 'xorg-server/hw/xfree86/dri2/dri2.h')
-rw-r--r-- | xorg-server/hw/xfree86/dri2/dri2.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/xorg-server/hw/xfree86/dri2/dri2.h b/xorg-server/hw/xfree86/dri2/dri2.h index f849be67a..4fd0fbc52 100644 --- a/xorg-server/hw/xfree86/dri2/dri2.h +++ b/xorg-server/hw/xfree86/dri2/dri2.h @@ -64,6 +64,7 @@ typedef void (*DRI2CopyRegionProcPtr) (DrawablePtr pDraw, DRI2BufferPtr pSrcBuffer); typedef void (*DRI2WaitProcPtr) (WindowPtr pWin, unsigned int sequence); typedef int (*DRI2AuthMagicProcPtr) (int fd, uint32_t magic); +typedef int (*DRI2AuthMagic2ProcPtr) (ScreenPtr pScreen, uint32_t magic); /** * Schedule a buffer swap @@ -192,7 +193,7 @@ typedef int (*DRI2GetParamProcPtr) (ClientPtr client, /** * Version of the DRI2InfoRec structure defined in this header */ -#define DRI2INFOREC_VERSION 7 +#define DRI2INFOREC_VERSION 8 typedef struct { unsigned int version; /**< Version of this struct */ @@ -229,6 +230,12 @@ typedef struct { /* added in version 7 */ DRI2GetParamProcPtr GetParam; + + /* added in version 8 */ + /* AuthMagic callback which passes extra context */ + /* If this is NULL the AuthMagic callback is used */ + /* If this is non-NULL the AuthMagic callback is ignored */ + DRI2AuthMagic2ProcPtr AuthMagic2; } DRI2InfoRec, *DRI2InfoPtr; extern _X_EXPORT int DRI2EventBase; |