/** * Install per-vertex functions into the API dispatch table for execution. */ void _mesa_install_exec_vtxfmt(struct gl_context *ctx, const GLvertexformat *vfmt) { install_vtxfmt( ctx, ctx->Exec, vfmt ); if (ctx->BeginEnd) install_vtxfmt( ctx, ctx->BeginEnd, vfmt ); }
/** * Install per-vertex functions into the API dispatch table for display * list compilation. */ void _mesa_install_save_vtxfmt(struct gl_context *ctx, const GLvertexformat *vfmt) { if (_mesa_is_desktop_gl(ctx)) install_vtxfmt( ctx, ctx->Save, vfmt ); }
/** * Install per-vertex functions into the API dispatch table for display * list compilation. */ void _mesa_install_save_vtxfmt(struct gl_context *ctx, const GLvertexformat *vfmt) { install_vtxfmt( ctx->Save, vfmt ); }
/** * Install per-vertex functions into the API dispatch table for execution. */ void _mesa_install_exec_vtxfmt(struct gl_context *ctx, const GLvertexformat *vfmt) { if (ctx->API == API_OPENGL) install_vtxfmt( ctx->Exec, vfmt ); }