summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/draw/draw_vertex.h
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2007-08-27 19:30:11 +0100
committerKeith Whitwell <[email protected]>2007-08-27 19:30:11 +0100
commit874b9265601fcc05b1e32e2be029f3ac6a966c97 (patch)
tree010b3eb86715ce946533ecdf982dd0708c7df28c /src/mesa/pipe/draw/draw_vertex.h
parentb0455958cc5fbb303cd5cd394c7945f357cc9663 (diff)
Split out vertex shader/cache/fetch functionality from draw_prim.c
Diffstat (limited to 'src/mesa/pipe/draw/draw_vertex.h')
-rw-r--r--src/mesa/pipe/draw/draw_vertex.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/mesa/pipe/draw/draw_vertex.h b/src/mesa/pipe/draw/draw_vertex.h
index c104aa11437..5d22e01d5cc 100644
--- a/src/mesa/pipe/draw/draw_vertex.h
+++ b/src/mesa/pipe/draw/draw_vertex.h
@@ -61,4 +61,23 @@ struct vertex_info
+struct draw_context;
+
+extern int draw_vertex_cache_check_space( struct draw_context *draw,
+ unsigned nr_verts );
+
+extern void draw_vertex_cache_validate( struct draw_context *draw );
+extern void draw_vertex_cache_invalidate( struct draw_context *draw );
+extern void draw_vertex_cache_unreference( struct draw_context *draw );
+
+extern void draw_vertex_shader_queue_flush( struct draw_context *draw );
+
+struct tgsi_exec_machine;
+
+extern void draw_vertex_fetch( struct draw_context *draw,
+ struct tgsi_exec_machine *machine,
+ const unsigned *elts,
+ unsigned count );
+
+
#endif /* DRAW_VERTEX_H */