diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-10-06 08:50:13 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-10-06 12:17:14 +0100 |
commit | 54f545e0631a287f421ef6a6f20831624b212cf2 (patch) | |
tree | 78f70de4c3a1376f5f9b0c6d9c833ed6c48a911b /src/intel_uxa.c | |
parent | d1925deedd70c6c4374e42de5aa44989fe328b58 (diff) |
Revert "Clear pixmap->devPrivate.ptr [regression in 7c7294e]"
This reverts commit 48b4e224297fa807be0e2bc7a67bf7e94579e8de.
The better fix is to manually mark the pixmap when acceleration is and
is not permitted. Whilst the devPrivate.ptr are invalid upon creation,
it is not worth carring code that serves no purpose.
Diffstat (limited to 'src/intel_uxa.c')
-rw-r--r-- | src/intel_uxa.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/intel_uxa.c b/src/intel_uxa.c index 34649b85..d964a951 100644 --- a/src/intel_uxa.c +++ b/src/intel_uxa.c @@ -796,7 +796,6 @@ static Bool intel_uxa_put_image(PixmapPtr pixmap, w, h, 0, 0, stride, NULL); - pixmap->devPrivate.ptr = NULL; intel_set_pixmap_bo(pixmap, bo); dri_bo_unreference(bo); @@ -1040,7 +1039,6 @@ intel_uxa_create_pixmap(ScreenPtr screen, int w, int h, int depth, list_del(&priv->in_flight); screen->ModifyPixmapHeader(pixmap, w, h, 0, 0, stride, NULL); - pixmap->devPrivate.ptr = NULL; intel_set_pixmap_private(pixmap, priv); return pixmap; } @@ -1074,7 +1072,6 @@ intel_uxa_create_pixmap(ScreenPtr screen, int w, int h, int depth, priv->tiling = tiling; screen->ModifyPixmapHeader(pixmap, w, h, 0, 0, stride, NULL); - pixmap->devPrivate.ptr = NULL; list_init(&priv->batch); list_init(&priv->flush); @@ -1111,7 +1108,6 @@ void intel_uxa_create_screen_resources(ScreenPtr screen) -1, -1, intel->front_pitch, NULL); - pixmap->devPrivate.ptr = NULL; } scrn->displayWidth = intel->front_pitch / intel->cpp; } |