summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/draw.h
diff options
context:
space:
mode:
authorMathias Fröhlich <[email protected]>2018-10-29 06:13:20 +0100
committerMathias Fröhlich <[email protected]>2018-11-01 06:08:49 +0100
commit3d64f3c79564f562cc56add8b8ba9659fd19a97d (patch)
treea11cb435f96be45cd84414666e32cf1c53227a8b /src/mesa/main/draw.h
parentf726c61cc1b2b845d19dc2b348219c73713adf93 (diff)
mesa/vbo: Move _vbo_draw_indirect -> _mesa_draw_indirect
Reviewed-by: Brian Paul <[email protected]> Signed-off-by: Mathias Fröhlich <[email protected]>
Diffstat (limited to 'src/mesa/main/draw.h')
-rw-r--r--src/mesa/main/draw.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mesa/main/draw.h b/src/mesa/main/draw.h
index 0200af6797f..57b3ec9e7db 100644
--- a/src/mesa/main/draw.h
+++ b/src/mesa/main/draw.h
@@ -76,6 +76,17 @@ void
_mesa_initialize_exec_dispatch(const struct gl_context *ctx,
struct _glapi_table *exec);
+
+void
+_mesa_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);
+
+
#ifdef __cplusplus
} // extern "C"
#endif