summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-12-09 20:43:52 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2014-12-09 20:43:52 +0000
commit04a09d353fc5ad8a55eb2457dc8bb43638ba879e (patch)
treee0ef5bb150435ef82b9251749fa75ed86da215e1 /src
parent08ee9a75df16ee276835df5fc613648db2566154 (diff)
uxa/dri: Remove defunct intel->back_pixmap
This was only required for glamor support. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r--src/uxa/intel.h1
-rw-r--r--src/uxa/intel_display.c5
-rw-r--r--src/uxa/intel_driver.c5
3 files changed, 0 insertions, 11 deletions
diff --git a/src/uxa/intel.h b/src/uxa/intel.h
index a3982298..1b7e5339 100644
--- a/src/uxa/intel.h
+++ b/src/uxa/intel.h
@@ -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;
diff --git a/src/uxa/intel_display.c b/src/uxa/intel_display.c
index 395774ad..7b4d4e0c 100644
--- a/src/uxa/intel_display.c
+++ b/src/uxa/intel_display.c
@@ -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;
diff --git a/src/uxa/intel_driver.c b/src/uxa/intel_driver.c
index ca8c6131..2793da5d 100644
--- a/src/uxa/intel_driver.c
+++ b/src/uxa/intel_driver.c
@@ -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;