summaryrefslogtreecommitdiff
path: root/src/radeon.h
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2017-08-17 16:20:52 +0900
committerMichel Dänzer <michel@daenzer.net>2017-08-17 16:20:52 +0900
commitd822a0f47070374ad0c1a97b559bae27724dc52a (patch)
tree7bfadbc8a6f012a6cc55ed4bec246c009835e0e7 /src/radeon.h
parent3e24770b1b472fc15df56d06f5f04778c9db63dd (diff)
Make radeon_scanout_do_update take a PixmapPtr instead of a DrawablePtr
All callers were already passing in a pixmap. This allows simplifying the rotated scanout case slightly. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/radeon.h')
-rw-r--r--src/radeon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon.h b/src/radeon.h
index bba34434..71123c7c 100644
--- a/src/radeon.h
+++ b/src/radeon.h
@@ -665,7 +665,7 @@ Bool radeon_dri3_screen_init(ScreenPtr screen);
/* radeon_kms.c */
Bool radeon_scanout_do_update(xf86CrtcPtr xf86_crtc, int scanout_id,
- DrawablePtr src_draw, BoxPtr extents);
+ PixmapPtr src_pix, BoxPtr extents);
void RADEONWindowExposures_oneshot(WindowPtr pWin, RegionPtr pRegion
#if XORG_VERSION_CURRENT < XORG_VERSION_NUMERIC(1,16,99,901,0)
, RegionPtr pBSRegion