From ba5975dd3274a3cc760e79dabaf9c11b96673f4a Mon Sep 17 00:00:00 2001 From: Zack Rusin Date: Mon, 31 May 2010 20:41:18 -0400 Subject: gallium: add interface for DrawAuto and implement it in softpipe --- src/gallium/include/pipe/p_context.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gallium/include/pipe/p_context.h') diff --git a/src/gallium/include/pipe/p_context.h b/src/gallium/include/pipe/p_context.h index 0267ed8fa4..3a792b0fe0 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 ); /*@}*/ /** -- cgit v1.2.3