Module: Mesa Branch: kasanen-post-process Commit: 8ecfdf3e0d3cdfbdfba6769eb70f53617e047dde URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8ecfdf3e0d3cdfbdfba6769eb70f53617e047dde
Author: Brian Paul <[email protected]> Date: Fri Aug 19 16:39:43 2011 -0600 Revert "st/dri: Bind the post-processing queue to dri" This reverts commit 0f8dcbe1a91ac626e1c8a7611a82ecaa90e8321e. --- src/gallium/state_trackers/dri/drm/dri2.c | 8 ++------ 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/gallium/state_trackers/dri/drm/dri2.c b/src/gallium/state_trackers/dri/drm/dri2.c index 0a9219a..cf47605 100644 --- a/src/gallium/state_trackers/dri/drm/dri2.c +++ b/src/gallium/state_trackers/dri/drm/dri2.c @@ -44,14 +44,10 @@ * DRI2 flush extension. */ static void -dri2_flush_drawable(__DRIdrawable *dPriv) +dri2_flush_drawable(__DRIdrawable *draw) { - struct dri_context *ctx = dri_get_current(dPriv->driScreenPriv); - struct dri_drawable *drawable = dri_drawable(dPriv); + struct dri_context *ctx = dri_get_current(draw->driScreenPriv); - struct pipe_resource *ptex = drawable->textures[ST_ATTACHMENT_BACK_LEFT]; - if (ptex && ctx && ctx->pp && drawable->textures[ST_ATTACHMENT_DEPTH_STENCIL]) - pp_run(ctx->pp, ptex, ptex, drawable->textures[ST_ATTACHMENT_DEPTH_STENCIL]); if (ctx) ctx->st->flush(ctx->st, 0, NULL); } _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
