diff options
author | Mathias Fröhlich <[email protected]> | 2018-03-16 06:34:35 +0100 |
---|---|---|
committer | Mathias Fröhlich <[email protected]> | 2018-03-22 04:58:52 +0100 |
commit | 6307d1be0a746bf30efe6d9c057ef5bad75ba183 (patch) | |
tree | 6c0b13a645878037dd814ffec9f988268f127300 /src/mesa/vbo/vbo.h | |
parent | 23100acc8f1a7bfbe57febf7e5f3e8ef4d053fec (diff) |
mesa: Move vbo draw functions into dd_function_table.
Move vbo draw functions into struct dd_function_table.
For now just wrap the underlying vbo functions.
Reviewed-by: Brian Paul <[email protected]>
Signed-off-by: Mathias Fröhlich <[email protected]>
Diffstat (limited to 'src/mesa/vbo/vbo.h')
-rw-r--r-- | src/mesa/vbo/vbo.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/mesa/vbo/vbo.h b/src/mesa/vbo/vbo.h index d6cf8e2afe5..42436e0fac9 100644 --- a/src/mesa/vbo/vbo.h +++ b/src/mesa/vbo/vbo.h @@ -215,6 +215,24 @@ struct split_limits void +_vbo_draw(struct gl_context *ctx, const struct _mesa_prim *prims, + GLuint nr_prims, const struct _mesa_index_buffer *ib, + GLboolean index_bounds_valid, GLuint min_index, GLuint max_index, + struct gl_transform_feedback_object *tfb_vertcount, + unsigned tfb_stream, struct gl_buffer_object *indirect); + + +void +_vbo_draw_indirect(struct gl_context *ctx, GLuint mode, + struct gl_buffer_object *indirect_data, + GLsizeiptr indirect_offset, unsigned draw_count, + unsigned stride, + struct gl_buffer_object *indirect_draw_count_buffer, + GLsizeiptr indirect_draw_count_offset, + const struct _mesa_index_buffer *ib); + + +void vbo_split_prims(struct gl_context *ctx, const struct gl_vertex_array *arrays, const struct _mesa_prim *prim, |