summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo.h
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2007-01-30 19:27:53 +0000
committerKeith Whitwell <[email protected]>2007-01-30 19:27:53 +0000
commit240641de0c8532009fd21be7d4b0b84e471e91e8 (patch)
tree826d28159b6408f022f365797b60429410308c16 /src/mesa/vbo/vbo.h
parent48c638b6712734a09b6d8632045b0e905195e345 (diff)
Helper for rebasing draw requests where min_index != 0.
Diffstat (limited to 'src/mesa/vbo/vbo.h')
-rw-r--r--src/mesa/vbo/vbo.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/mesa/vbo/vbo.h b/src/mesa/vbo/vbo.h
index c81d83f9b61..6a6fb28173e 100644
--- a/src/mesa/vbo/vbo.h
+++ b/src/mesa/vbo/vbo.h
@@ -101,4 +101,18 @@ void vbo_split_prims( GLcontext *ctx,
const struct split_limits *limits );
+/* Helpers for dealing translating away non-zero min_index.
+ */
+GLboolean vbo_all_varyings_in_vbos( const struct gl_client_array *arrays[] );
+
+void vbo_rebase_prims( GLcontext *ctx,
+ const struct gl_client_array *arrays[],
+ const struct _mesa_prim *prim,
+ GLuint nr_prims,
+ const struct _mesa_index_buffer *ib,
+ GLuint min_index,
+ GLuint max_index,
+ vbo_draw_func draw );
+
+
#endif