From: Zhigang Gong <zhigang.g...@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.g...@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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to