diff options
author | Mathias Fröhlich <[email protected]> | 2018-03-25 19:16:54 +0200 |
---|---|---|
committer | Mathias Fröhlich <[email protected]> | 2018-03-31 06:32:13 +0200 |
commit | 784fdef4e7d6055eafe8a3e8e149a64d3ca5e5f6 (patch) | |
tree | 57b649dd517aa7e69a270c09e93cf80fa8a7ee04 /src/mesa/tnl/tnl.h | |
parent | 7f8db5ca471c1940b0be42f49d37c24af381979a (diff) |
tnl: Push down the gl_vertex_array inputs into tnl drivers.
Reviewed-by: Brian Paul <[email protected]>
Signed-off-by: Mathias Fröhlich <[email protected]>
Diffstat (limited to 'src/mesa/tnl/tnl.h')
-rw-r--r-- | src/mesa/tnl/tnl.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/mesa/tnl/tnl.h b/src/mesa/tnl/tnl.h index 7f425a58d28..14e590501ef 100644 --- a/src/mesa/tnl/tnl.h +++ b/src/mesa/tnl/tnl.h @@ -48,6 +48,9 @@ _tnl_DestroyContext( struct gl_context *ctx ); extern void _tnl_InvalidateState( struct gl_context *ctx, GLuint new_state ); +extern void +_tnl_init_driver_draw_function(struct dd_function_table *functions); + /* Functions to revive the tnl module after being unhooked from * dispatch and/or driver callbacks. */ @@ -60,6 +63,9 @@ _tnl_wakeup( struct gl_context *ctx ); extern void _tnl_need_projected_coords( struct gl_context *ctx, GLboolean flag ); +extern void +_tnl_bind_inputs( struct gl_context *ctx ); + /* Control whether T&L does per-vertex fog */ @@ -87,6 +93,14 @@ _tnl_draw_prims(struct gl_context *ctx, unsigned stream, struct gl_buffer_object *indirect ); +void +_tnl_draw(struct gl_context *ctx, + const struct _mesa_prim *prim, 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 stream, + struct gl_buffer_object *indirect); + extern void _tnl_RasterPos(struct gl_context *ctx, const GLfloat vObj[4]); |