summaryrefslogtreecommitdiff
path: root/src/drmmode_display.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/drmmode_display.h')
-rw-r--r--src/drmmode_display.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/drmmode_display.h b/src/drmmode_display.h
index 43a3a4a3..1908b46c 100644
--- a/src/drmmode_display.h
+++ b/src/drmmode_display.h
@@ -75,6 +75,7 @@ typedef struct {
struct drmmode_scanout {
struct radeon_bo *bo;
PixmapPtr pixmap;
+ DamagePtr damage;
unsigned fb_id;
int width, height;
};
@@ -85,8 +86,8 @@ typedef struct {
int hw_id;
struct radeon_bo *cursor_bo;
struct drmmode_scanout rotate;
- struct drmmode_scanout scanout;
- DamagePtr scanout_damage;
+ struct drmmode_scanout scanout[2];
+ unsigned scanout_id;
Bool scanout_update_pending;
int dpms_mode;
CARD64 dpms_last_ust;