diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2015-04-01 12:40:16 +0900 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2015-04-03 11:42:00 +0900 |
commit | 9be7dd382e86d2b804de81d4e2af7431b2e16843 (patch) | |
tree | d6c8aa68364f9816c055f3a4848be5189d0bd139 /src/drmmode_display.h | |
parent | c32b0530302739f6512755bccf281c2300617376 (diff) |
Split out struct drmmode_scanout for rotation shadow buffer information
Will be used for other kinds of dedicated scanout buffers as well.
Diffstat (limited to 'src/drmmode_display.h')
-rw-r--r-- | src/drmmode_display.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/drmmode_display.h b/src/drmmode_display.h index 245588cc..66078962 100644 --- a/src/drmmode_display.h +++ b/src/drmmode_display.h @@ -72,13 +72,18 @@ typedef struct { Bool dispatch_me; } drmmode_flipevtcarrier_rec, *drmmode_flipevtcarrier_ptr; +struct drmmode_scanout { + struct radeon_bo *bo; + PixmapPtr pixmap; + unsigned fb_id; +}; + typedef struct { drmmode_ptr drmmode; drmModeCrtcPtr mode_crtc; int hw_id; struct radeon_bo *cursor_bo; - struct radeon_bo *rotate_bo; - unsigned rotate_fb_id; + struct drmmode_scanout rotate; int dpms_mode; CARD64 dpms_last_ust; uint32_t dpms_last_seq; |