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:
parent
08ee9a75df
commit
04a09d353f
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue