示例#1
0
文件: vtxfmt.c 项目: NSinopoli/mesa
/**
 * 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 );
}
示例#2
0
文件: vtxfmt.c 项目: NSinopoli/mesa
/**
 * 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 );
}
示例#3
0
文件: vtxfmt.c 项目: GYGit/reactos
/**
 * 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 );
}
示例#4
0
文件: vtxfmt.c 项目: mslusarz/mesa
/**
 * 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 );
}