diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-12-09 20:40:20 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-12-09 20:43:44 +0000 |
commit | 08ee9a75df16ee276835df5fc613648db2566154 (patch) | |
tree | 1795f17b34dfe4f0bf96b65c5ceab64ee6d8244d /src/uxa/intel_dri.c | |
parent | fc984e8953d61901b255422c8f56eb79a2dd2a28 (diff) |
uxa/dri: Fix triple buffer swapping
Fixes regression from
commit 0aa2edbd29c8dd26a5f3748e3875c445ea358a6d
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date: Wed Nov 5 11:56:20 2014 +0000
Remove defunct glamor support
where the wrong branch of pixmap exchange upon SwapBuffers was kept when
removing the glamor paths.
Reported-by: Rui Matos
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/uxa/intel_dri.c')
-rw-r--r-- | src/uxa/intel_dri.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/uxa/intel_dri.c b/src/uxa/intel_dri.c index 5b5e3fc4..f61c6210 100644 --- a/src/uxa/intel_dri.c +++ b/src/uxa/intel_dri.c @@ -821,8 +821,8 @@ I830DRI2ScheduleFlip(struct intel_screen_private *intel, intel->back_buffer = intel->front_buffer; drm_intel_bo_reference(intel->back_buffer); - intel_exchange_pixmap_buffers(intel, priv->pixmap, - intel->back_pixmap); + intel_set_pixmap_bo(priv->pixmap, new_back); + drm_intel_bo_unreference(new_back); tmp_name = info->front->name; info->front->name = intel->back_name; |