summaryrefslogtreecommitdiff
path: root/src/gallium/include
diff options
context:
space:
mode:
authorZack Rusin <zack@kde.org>2010-05-31 20:41:18 -0400
committerZack Rusin <zackr@vmware.com>2010-06-08 06:28:11 -0400
commitba5975dd3274a3cc760e79dabaf9c11b96673f4a (patch)
tree0fc15ba8416e0c9f55feef086143fecb9908e529 /src/gallium/include
parentc9db97c8229689060fab0edee7df717f804b99ce (diff)
downloadmesa-ba5975dd3274a3cc760e79dabaf9c11b96673f4a.tar.gz
gallium: add interface for DrawAuto and implement it in softpipe
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/pipe/p_context.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_context.h b/src/gallium/include/pipe/p_context.h
index 0267ed8fa4a..3a792b0fe0f 100644
--- a/src/gallium/include/pipe/p_context.h
+++ b/src/gallium/include/pipe/p_context.h
@@ -101,6 +101,11 @@ struct pipe_context {
unsigned mode,
unsigned start,
unsigned count);
+
+ /**
+ * Draw the stream output buffer at index 0
+ */
+ void (*draw_auto)( struct pipe_context *pipe, unsigned mode );
/*@}*/
/**