OSDN Git Service

mesa: protect driver.flush() with FLUSH_CURRENT
authorKeith Whitwell <keithw@vmware.com>
Tue, 21 Apr 2009 15:55:57 +0000 (16:55 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 22 Apr 2009 08:03:17 +0000 (09:03 +0100)
commit009749b4a8c3ec54f47f3f85552e5ae275ab6ae6
treed41cb5a617bc77b10917cb8a444b59e0053d862b
parentc1a3b852807fb160f0cd246c1364b7336b4b947e
mesa: protect driver.flush() with FLUSH_CURRENT

Need to do this to ensure vbo code unmaps its buffers before calling
the driver, which may be sitting on top of a memory manager which
objects to firing commands from a mapped buffer.
src/mesa/main/context.c
src/mesa/main/fbobject.c