diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-08-31 11:28:31 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-08-31 11:28:31 -0600 |
commit | 9a11a4a8b4b66201aeeb9a7057aeb08ef47536e1 (patch) | |
tree | a7e9570d5f65c25a8d99b1f1d5ac34befaf4e333 /src/mesa/pipe/draw | |
parent | 2e21058e3d2c484b282cbc0bb5e7169b9a8d4fc7 (diff) |
move some protos from draw_vertex.h to draw_private.h
Diffstat (limited to 'src/mesa/pipe/draw')
-rw-r--r-- | src/mesa/pipe/draw/draw_private.h | 16 | ||||
-rw-r--r-- | src/mesa/pipe/draw/draw_vertex.h | 17 |
2 files changed, 16 insertions, 17 deletions
diff --git a/src/mesa/pipe/draw/draw_private.h b/src/mesa/pipe/draw/draw_private.h index 80c97ada32..9f90dc3e26 100644 --- a/src/mesa/pipe/draw/draw_private.h +++ b/src/mesa/pipe/draw/draw_private.h @@ -215,6 +215,22 @@ extern void draw_free_tmps( struct draw_stage *stage ); extern void draw_alloc_tmps( struct draw_stage *stage, unsigned nr ); +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 ); + /** * Get a writeable copy of a vertex. diff --git a/src/mesa/pipe/draw/draw_vertex.h b/src/mesa/pipe/draw/draw_vertex.h index 391058af26..4e3e86d86e 100644 --- a/src/mesa/pipe/draw/draw_vertex.h +++ b/src/mesa/pipe/draw/draw_vertex.h @@ -114,21 +114,4 @@ extern void draw_set_twoside_attributes(struct draw_context *draw, extern void draw_compute_vertex_size(struct vertex_info *vinfo); -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 */ |