Lines Matching defs:toCtx
1796 CRContext *fromCtx, CRContext *toCtx)
1799 CRProgramState *to = &(toCtx->program);
1854 for (i = 0; i < toCtx->limits.maxVertexProgramEnvParams / 4; i++) {
1899 for (i = 0; i < toCtx->limits.maxVertexProgramEnvParams; i++) {
1919 for (i = 0; i < toCtx->limits.maxVertexProgramLocalParams; i++) {
1958 for (i = 0; i < toCtx->limits.maxFragmentProgramEnvParams; i++) {
2030 for (i = 0; i < toCtx->limits.maxFragmentProgramEnvParams; i++) {
2067 CRContext *fromCtx, CRContext *toCtx)
2070 CRProgramState *to = &(toCtx->program);
2073 GLenum whichVert = fromCtx->extensions.ARB_vertex_program && toCtx->extensions.ARB_vertex_program ? GL_VERTEX_PROGRAM_ARB : GL_VERTEX_PROGRAM_NV;
2112 for (i = 0; i < toCtx->limits.maxVertexProgramEnvParams / 4; i++) {
2151 for (i = 0; i < toCtx->limits.maxVertexProgramEnvParams; i++) {
2166 for (i = 0; i < toCtx->limits.maxVertexProgramLocalParams; i++) {
2204 for (i = 0; i < toCtx->limits.maxFragmentProgramEnvParams; i++) {
2263 for (i = 0; i < toCtx->limits.maxFragmentProgramEnvParams; i++) {
2288 if (toCtx->program.bResyncNeeded)
2290 toCtx->program.bResyncNeeded = GL_FALSE;
2292 crStateDiffAllPrograms(toCtx, bitID, GL_TRUE);