[Intel-gfx] [PATCH 2/4] uxa/glamor: Remove extraneous flush.
zhigang.gong at linux.intel.com
zhigang.gong at linux.intel.com
Tue Dec 27 10:09:16 CET 2011
From: Zhigang Gong <zhigang.gong at linux.intel.com>
When glamor is enabled, a pixmap will not be accessed by the UXA's
accelerated function. Only un-accelerated funtion may access those
pixmap, and before each un-accelerated rendering, it calls
uxa_prepare_access which will do glFlush there.
Signed-off-by: Zhigang Gong <zhigang.gong at linux.intel.com>
---
src/intel_glamor.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/src/intel_glamor.c b/src/intel_glamor.c
index 2b56ae5..669b1b8 100644
--- a/src/intel_glamor.c
+++ b/src/intel_glamor.c
@@ -135,7 +135,6 @@ intel_glamor_finish_access(PixmapPtr pixmap, uxa_access_t access)
break;
case UXA_GLAMOR_ACCESS_RW:
intel_glamor_need_flush(&pixmap->drawable);
- glamor_block_handler(pixmap->drawable.pScreen);
break;
default:
ErrorF("Invalid access mode %d\n", access);
--
1.7.4.4
More information about the Intel-gfx
mailing list