uxa/dri: Remove defunct intel->back_pixmap

This was only required for glamor support.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2014-12-09 20:43:52 +00:00
parent 08ee9a75df
commit 04a09d353f
3 changed files with 0 additions and 11 deletions

View File

@ -121,7 +121,6 @@ typedef struct intel_screen_private {
void *modes;
drm_intel_bo *front_buffer, *back_buffer;
PixmapPtr back_pixmap;
unsigned int back_name;
long front_pitch, front_tiling;

View File

@ -1581,11 +1581,6 @@ intel_xf86crtc_resize(ScrnInfoPtr scrn, int width, int height)
old_fb_id = mode->fb_id;
old_front = intel->front_buffer;
if (intel->back_pixmap) {
scrn->pScreen->DestroyPixmap(intel->back_pixmap);
intel->back_pixmap = NULL;
}
if (intel->back_buffer) {
drm_intel_bo_unreference(intel->back_buffer);
intel->back_buffer = NULL;

View File

@ -1125,11 +1125,6 @@ static Bool I830CloseScreen(CLOSE_SCREEN_ARGS_DECL)
intel->uxa_driver = NULL;
}
if (intel->back_pixmap) {
screen->DestroyPixmap(intel->back_pixmap);
intel->back_pixmap = NULL;
}
if (intel->back_buffer) {
drm_intel_bo_unreference(intel->back_buffer);
intel->back_buffer = NULL;