mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 03:50:13 +01:00
move some protos from draw_vertex.h to draw_private.h
This commit is contained in:
parent
2e21058e3d
commit
9a11a4a8b4
2 changed files with 16 additions and 17 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue