From 0ced789a0b56256891a2a26342befe645f4fa46d Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Fri, 18 Feb 2011 14:33:55 +0000 Subject: 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.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium/drivers/svga/svga_context.h') diff --git a/src/gallium/drivers/svga/svga_context.h b/src/gallium/drivers/svga/svga_context.h index 4d4f50366ea..7b36a3606e0 100644 --- a/src/gallium/drivers/svga/svga_context.h +++ b/src/gallium/drivers/svga/svga_context.h @@ -453,6 +453,8 @@ void svga_context_flush( struct svga_context *svga, void svga_hwtnl_flush_retry( struct svga_context *svga ); +void svga_surfaces_flush(struct svga_context *svga); + struct pipe_context * svga_context_create(struct pipe_screen *screen, void *priv); -- cgit v1.2.3