svga: Ensure pending drawing commands other surface operations are emitted before...
authorJosé Fonseca <jfonseca@vmware.com>
Fri, 18 Feb 2011 14:33:55 +0000 (14:33 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 18 Feb 2011 16:43:59 +0000 (16:43 +0000)
commit0ced789a0b56256891a2a26342befe645f4fa46d
tree74633fa9f75bf81288d6a9b4cd2699d57c2958e4
parentf9b48678463e926571ab5e547bb5ced5f4a6896a
svga: Ensure pending drawing commands other surface operations are emitted before DMAs.

This behavior was last when moving the transfers to the contexts.

This fixes several piglit failures, which were reading the color renderbuffer
before the draw operations were emitted.
src/gallium/drivers/svga/svga_context.c
src/gallium/drivers/svga/svga_context.h
src/gallium/drivers/svga/svga_pipe_blit.c
src/gallium/drivers/svga/svga_pipe_flush.c
src/gallium/drivers/svga/svga_pipe_misc.c
src/gallium/drivers/svga/svga_resource_texture.c
src/gallium/drivers/svga/svga_surface.c
src/gallium/drivers/svga/svga_surface.h