llvmpipe: Unmapping vertex/index buffers does NOT flush draw module anymore.
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 28 Dec 2009 22:52:41 +0000 (22:52 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 28 Dec 2009 22:53:41 +0000 (22:53 +0000)
commit926562fe271a031774d1aae850e955c2180f2816
treec1819d15fb6113fbcc2a020308b229ce0e4e8401
parent64893eb5017274a955a4166c50b56601fb7673b8
llvmpipe: Unmapping vertex/index buffers does NOT flush draw module anymore.

Not since 6094e79f4e3350d123c7532b1c73faa60834a62d.

Drivers now need to flush draw module explicitely (which explains why
all those previous commits adding draw_flushes calls were necessary).

This is a good thing, but it's tricky to get this right in face of user buffers
(it's not even clear who has the responsibility to flush when a user buffer
is seen -- statetracker or pipe driver), so just force flush (temporarily)
since it's not a bottleneck now.
src/gallium/drivers/llvmpipe/lp_draw_arrays.c