From 9a11a4a8b4b66201aeeb9a7057aeb08ef47536e1 Mon Sep 17 00:00:00 2001 From: Brian Date: Fri, 31 Aug 2007 11:28:31 -0600 Subject: [PATCH] move some protos from draw_vertex.h to draw_private.h --- src/mesa/pipe/draw/draw_private.h | 16 ++++++++++++++++ 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 80c97ad..9f90dc3 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 391058a..4e3e86d 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 */ -- 2.7.4