diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-03-30 07:24:42 +0100 |
---|---|---|
committer | Owain G. Ainsworth <oga@openbsd.org> | 2011-05-29 23:34:28 +0100 |
commit | c8e6b5af2994b5ba2f745634a2a90f1c6303b6d1 (patch) | |
tree | d7539526fc4391ef5a8fc80974e1d41e0762d460 /src/intel_dri.c | |
parent | e8739a9cc5be501d75f5218ade44793e2f71f314 (diff) |
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@chris-wilson.co.uk>
(cherry picked from commit 630d77bf10ba6234bb9c04538636f7d8aa319aea)
Conflicts:
src/intel.h
Diffstat (limited to 'src/intel_dri.c')
-rw-r--r-- | src/intel_dri.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/intel_dri.c b/src/intel_dri.c index 32d4f3b1..0a654924 100644 --- a/src/intel_dri.c +++ b/src/intel_dri.c @@ -568,25 +568,6 @@ I830DRI2CopyRegion(DrawablePtr drawable, RegionPtr pRegion, #if DRI2INFOREC_VERSION >= 4 -enum DRI2FrameEventType { - DRI2_SWAP, - DRI2_FLIP, - DRI2_WAITMSC, -}; - -typedef struct _DRI2FrameEvent { - XID drawable_id; - ClientPtr client; - enum DRI2FrameEventType type; - int frame; - - /* for swaps & flips only */ - DRI2SwapEventPtr event_complete; - void *event_data; - DRI2BufferPtr front; - DRI2BufferPtr back; -} DRI2FrameEventRec, *DRI2FrameEventPtr; - static int I830DRI2DrawablePipe(DrawablePtr pDraw) { |