diff options
author | Zhigang Gong <zhigang.gong@linux.intel.com> | 2011-12-27 17:09:16 +0800 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-01-03 21:35:03 +0000 |
commit | e8aa9cedbfca09e22d46ec8882b9bebb3eb83022 (patch) | |
tree | e4366a14d41830f55322a1ef2d6ccaec8640f984 /src/intel_glamor.c | |
parent | 4ca94ed91fab7a9de5eed1053b891e8420cdf43d (diff) |
uxa/glamor: Remove extraneous flush
When glamor is enabled, a pixmap will not be accessed by UXA's
accelerated functions. Only unaccelerated functions may access those
pixmaps, and before each unaccelerated rendering, it calls
uxa_prepare_access which will do a glFlush. Combined with a flush before
sending to DRI clients, we no longer need to flush after every
operation.
Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/intel_glamor.c')
-rw-r--r-- | 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 2b56ae54..669b1b8e 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); |