mesa: inline _vbo_install_exec_vtxfmt
also remove unused vbo_initialize_exec_dispatch Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14000>
This commit is contained in:
parent
43a9f6a938
commit
0f4891d77d
|
@ -1073,7 +1073,7 @@ _mesa_initialize_dispatch_tables(struct gl_context *ctx)
|
||||||
if (ctx->Save)
|
if (ctx->Save)
|
||||||
_mesa_initialize_save_table(ctx);
|
_mesa_initialize_save_table(ctx);
|
||||||
|
|
||||||
_vbo_install_exec_vtxfmt(ctx);
|
_mesa_install_exec_vtxfmt(ctx, &ctx->vbo_context.exec.vtxfmt);
|
||||||
if (ctx->API == API_OPENGL_COMPAT)
|
if (ctx->API == API_OPENGL_COMPAT)
|
||||||
_mesa_install_save_vtxfmt(ctx, &ctx->ListState.ListVtxfmt);
|
_mesa_install_save_vtxfmt(ctx, &ctx->ListState.ListVtxfmt);
|
||||||
}
|
}
|
||||||
|
|
|
@ -192,13 +192,6 @@ _vbo_DestroyContext(struct gl_context *ctx);
|
||||||
void
|
void
|
||||||
vbo_exec_update_eval_maps(struct gl_context *ctx);
|
vbo_exec_update_eval_maps(struct gl_context *ctx);
|
||||||
|
|
||||||
void
|
|
||||||
_vbo_install_exec_vtxfmt(struct gl_context *ctx);
|
|
||||||
|
|
||||||
void
|
|
||||||
vbo_initialize_exec_dispatch(const struct gl_context *ctx,
|
|
||||||
struct _glapi_table *exec);
|
|
||||||
|
|
||||||
void
|
void
|
||||||
vbo_exec_FlushVertices(struct gl_context *ctx, GLuint flags);
|
vbo_exec_FlushVertices(struct gl_context *ctx, GLuint flags);
|
||||||
|
|
||||||
|
|
|
@ -140,15 +140,6 @@ init_mat_currval(struct gl_context *ctx)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
|
||||||
_vbo_install_exec_vtxfmt(struct gl_context *ctx)
|
|
||||||
{
|
|
||||||
struct vbo_context *vbo = vbo_context(ctx);
|
|
||||||
|
|
||||||
_mesa_install_exec_vtxfmt(ctx, &vbo->exec.vtxfmt);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
vbo_exec_update_eval_maps(struct gl_context *ctx)
|
vbo_exec_update_eval_maps(struct gl_context *ctx)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue