mesa/st: don't reuse vertex buffers for bitmap, clear quads
authorKeith Whitwell <keithw@vmware.com>
Fri, 2 Oct 2009 14:36:47 +0000 (15:36 +0100)
committerKeith Whitwell <keithw@vmware.com>
Fri, 2 Oct 2009 18:03:15 +0000 (19:03 +0100)
commit918199fb0f5d84121e0ac5821168cd0e886b22e9
treefe23b153b93f547b037cd832527ba4ae41262324
parent316b4ddcf770e453b888ff7fbf96cb0aec1ce106
mesa/st: don't reuse vertex buffers for bitmap, clear quads

Currently using max_slots > 1 will cause synchronous rendering
if the driver flushes its command buffers between one bitmap and the
next.

Need to improve buffer_write to allow NO_WAIT (as well as no_flush)
updates to buffers where we know there is no conflict with previous
data.
src/mesa/state_tracker/st_cb_bitmap.c
src/mesa/state_tracker/st_cb_clear.c