diff options
author | Christian König <[email protected]> | 2010-12-08 02:12:24 +0100 |
---|---|---|
committer | Christian König <[email protected]> | 2010-12-08 02:12:24 +0100 |
commit | 0b749d6dcb537472771d6fe6e454aafc916ab3fe (patch) | |
tree | 5c581343dc3484443cbbc8740e96709bfed1bccd /src/gallium/auxiliary/vl/vl_vertex_buffers.h | |
parent | 22b4acb2069a368e986805d3b43395172ebf9146 (diff) |
[g3dvl] split idct code into state and buffers
Diffstat (limited to 'src/gallium/auxiliary/vl/vl_vertex_buffers.h')
-rw-r--r-- | src/gallium/auxiliary/vl/vl_vertex_buffers.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/gallium/auxiliary/vl/vl_vertex_buffers.h b/src/gallium/auxiliary/vl/vl_vertex_buffers.h index cf71f029a79..dae80fa767b 100644 --- a/src/gallium/auxiliary/vl/vl_vertex_buffers.h +++ b/src/gallium/auxiliary/vl/vl_vertex_buffers.h @@ -38,12 +38,14 @@ struct vl_vertex_buffer float *buffer; }; -struct pipe_vertex_buffer vl_vb_upload_quads(struct pipe_context *pipe, unsigned max_blocks, - struct pipe_vertex_element* element); +struct pipe_vertex_buffer vl_vb_upload_quads(struct pipe_context *pipe, unsigned max_blocks); -struct pipe_vertex_buffer vl_vb_create_buffer(struct pipe_context *pipe, unsigned max_blocks, - struct pipe_vertex_element* elements, unsigned num_elements, - unsigned vertex_buffer_index); +struct pipe_vertex_element vl_vb_get_quad_vertex_element(); + +struct pipe_vertex_buffer vl_vb_create_buffer(struct pipe_context *pipe, unsigned max_blocks, unsigned stride); + +unsigned vl_vb_element_helper(struct pipe_vertex_element* elements, unsigned num_elements, + unsigned vertex_buffer_index); bool vl_vb_init(struct vl_vertex_buffer *buffer, unsigned max_blocks, unsigned num_elements); |