summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoridr <idr>2004-06-02 17:27:40 +0000
committeridr <idr>2004-06-02 17:27:40 +0000
commit115c18ca7870a8900c916bf9402b70aea99b865a (patch)
treed72ed2f4351edd9e3a8a3def7caee75e0c4c6441
parent74f30a1f2042551ef6701ca7e76d760da1ce1e0f (diff)
Remove the last remnants of drmClipRect.
-rw-r--r--xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_common.h2
-rw-r--r--xc/programs/Xserver/hw/xfree86/os-support/xf86drm.h8
2 files changed, 1 insertions, 9 deletions
diff --git a/xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_common.h b/xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_common.h
index 3200eb214..bf118639f 100644
--- a/xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_common.h
+++ b/xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_common.h
@@ -277,7 +277,7 @@ typedef struct {
int bufsz;
char *buf;
int nbox;
- drmClipRect *boxes;
+ drm_clip_rect_t *boxes;
} drmRadeonCmdBuffer;
/* New style per-packet identifiers for use in cmd_buffer ioctl with
diff --git a/xc/programs/Xserver/hw/xfree86/os-support/xf86drm.h b/xc/programs/Xserver/hw/xfree86/os-support/xf86drm.h
index 0559d1749..0b6e93fd3 100644
--- a/xc/programs/Xserver/hw/xfree86/os-support/xf86drm.h
+++ b/xc/programs/Xserver/hw/xfree86/os-support/xf86drm.h
@@ -247,14 +247,6 @@ typedef struct _drmTextureRegion {
} drmTextureRegion, *drmTextureRegionPtr;
-typedef struct _drmClipRect {
- unsigned short x1; /* Upper left: inclusive */
- unsigned short y1;
- unsigned short x2; /* Lower right: exclusive */
- unsigned short y2;
-} drmClipRect, *drmClipRectPtr;
-
-
typedef enum {
DRM_VBLANK_ABSOLUTE = 0x0, /**< Wait for specific vblank sequence number */
DRM_VBLANK_RELATIVE = 0x1, /**< Wait for given number of vblanks */