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>
This commit is contained in:
Adam Jackson 2015-07-22 12:14:07 -04:00 committed by Hans de Goede
parent 21217d0216
commit 75e660e379
2 changed files with 0 additions and 18 deletions

View File

@ -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);

View File

@ -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;