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>
This commit is contained in:
parent
4ca94ed91f
commit
e8aa9cedbf
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue