diff options
author | Adam Jackson <ajax@redhat.com> | 2015-07-22 12:14:07 -0400 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2016-07-02 09:28:04 +0200 |
commit | 75e660e379d921a53eb7c3bc9c2e412fa58aec02 (patch) | |
tree | 47a2e184006f2f3aee143df6b543ca4fae767a1f | |
parent | 21217d02168d1883b2d1f64399aec494f96a8b9d (diff) |
modesetting: Drop some non-functional triple-buffering variables
Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
-rw-r--r-- | hw/xfree86/drivers/modesetting/drmmode_display.c | 5 | ||||
-rw-r--r-- | hw/xfree86/drivers/modesetting/drmmode_display.h | 13 |
2 files changed, 0 insertions, 18 deletions
diff --git a/hw/xfree86/drivers/modesetting/drmmode_display.c b/hw/xfree86/drivers/modesetting/drmmode_display.c index 9801d32ad..4f407bb42 100644 --- a/hw/xfree86/drivers/modesetting/drmmode_display.c +++ b/hw/xfree86/drivers/modesetting/drmmode_display.c @@ -1995,11 +1995,6 @@ drmmode_xf86crtc_resize(ScrnInfoPtr scrn, int width, int height) xf86DrvMsg(scrn->scrnIndex, X_INFO, "Allocate new frame buffer %dx%d stride\n", width, height); - if (drmmode->triple_buffer_pixmap) { - screen->DestroyPixmap(drmmode->triple_buffer_pixmap); - drmmode->triple_buffer_pixmap = NULL; - } - old_width = scrn->virtualX; old_height = scrn->virtualY; old_pitch = drmmode_bo_get_pitch(&drmmode->front_bo); diff --git a/hw/xfree86/drivers/modesetting/drmmode_display.h b/hw/xfree86/drivers/modesetting/drmmode_display.h index b954fa001..f9a456700 100644 --- a/hw/xfree86/drivers/modesetting/drmmode_display.h +++ b/hw/xfree86/drivers/modesetting/drmmode_display.h @@ -71,19 +71,6 @@ typedef struct { Bool force_24_32; void *shadow_fb; - /** - * A screen-sized pixmap when we're doing triple-buffered DRI2 - * pageflipping. - * - * One is shared between all drawables that flip to the front - * buffer, and it only gets reallocated when root pixmap size - * changes. - */ - PixmapPtr triple_buffer_pixmap; - - /** The GEM name for triple_buffer_pixmap */ - uint32_t triple_buffer_name; - DevPrivateKeyRec pixmapPrivateKeyRec; Bool reverse_prime_offload_mode; |