summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/softpipe/sp_context.c
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2007-08-08 16:42:01 +0100
committerKeith Whitwell <keith@tungstengraphics.com>2007-08-09 11:23:18 +0100
commit93d5cfd8b7c641c5656aed38ad2f9559e09502f0 (patch)
tree5f105eea612826cd4b34f78bc5a8c3f910a3ab7f /src/mesa/pipe/softpipe/sp_context.c
parentd0521ebd516617f4471279e69af5dc0f4e4992af (diff)
Add flush/finish functionality to pipe.
Not sure if finish() is the right interface yet.
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_context.c')
-rw-r--r--src/mesa/pipe/softpipe/sp_context.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/pipe/softpipe/sp_context.c b/src/mesa/pipe/softpipe/sp_context.c
index ac5651f9a7..ebc994670a 100644
--- a/src/mesa/pipe/softpipe/sp_context.c
+++ b/src/mesa/pipe/softpipe/sp_context.c
@@ -36,6 +36,7 @@
#include "sp_buffer.h"
#include "sp_clear.h"
#include "sp_context.h"
+#include "sp_flush.h"
#include "sp_prim_setup.h"
#include "sp_region.h"
#include "sp_state.h"
@@ -214,6 +215,8 @@ struct pipe_context *softpipe_create( struct softpipe_winsys *sws )
softpipe->pipe.draw_vb = softpipe_draw_vb;
softpipe->pipe.draw_vertices = softpipe_draw_vertices;
softpipe->pipe.clear = softpipe_clear;
+ softpipe->pipe.flush = softpipe_flush;
+ softpipe->pipe.finish = softpipe_finish;
softpipe->pipe.reset_occlusion_counter = softpipe_reset_occlusion_counter;
softpipe->pipe.get_occlusion_counter = softpipe_get_occlusion_counter;