xf86-video-intel: src/intel.h
Chris Wilson
ickle at kemper.freedesktop.org
Tue Mar 29 23:26:24 PDT 2011
src/intel.h | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit 630d77bf10ba6234bb9c04538636f7d8aa319aea
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Wed Mar 30 07:24:42 2011 +0100
Add a DRI2SwapEventPtr typedef for retro xservers
Because people are still trying to build upon our solid historical
foundations.
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
diff --git a/src/intel.h b/src/intel.h
index 4179989..5d7198b 100644
--- a/src/intel.h
+++ b/src/intel.h
@@ -470,6 +470,11 @@ enum DRI2FrameEventType {
DRI2_WAITMSC,
};
+#if XORG_VERSION_CURRENT <= XORG_VERSION_NUMERIC(1,7,99,3,0)
+typedef void (*DRI2SwapEventPtr)(ClientPtr client, void *data, int type,
+ CARD64 ust, CARD64 msc, CARD64 sbc);
+#endif
+
typedef struct _DRI2FrameEvent {
XID drawable_id;
XID client_id; /* fake client ID to track client destruction */
More information about the xorg-commit
mailing list