Lines Matching refs:FragmentProgram

82    ctx->FragmentProgram._Enabled = ctx->FragmentProgram.Enabled  in update_program_enables()
83 && ctx->FragmentProgram.Current->Base.Instructions; in update_program_enables()
110 const struct gl_fragment_program *prevFP = ctx->FragmentProgram._Current; in update_program()
136 _mesa_reference_fragprog(ctx, &ctx->FragmentProgram._Current, in update_program()
138 _mesa_reference_fragprog(ctx, &ctx->FragmentProgram._TexEnvProgram, in update_program()
141 else if (ctx->FragmentProgram._Enabled) { in update_program()
146 _mesa_reference_fragprog(ctx, &ctx->FragmentProgram._Current, in update_program()
147 ctx->FragmentProgram.Current); in update_program()
148 _mesa_reference_fragprog(ctx, &ctx->FragmentProgram._TexEnvProgram, in update_program()
151 else if (ctx->FragmentProgram._MaintainTexEnvProgram) { in update_program()
158 _mesa_reference_fragprog(ctx, &ctx->FragmentProgram._Current, in update_program()
160 _mesa_reference_fragprog(ctx, &ctx->FragmentProgram._TexEnvProgram, in update_program()
165 _mesa_reference_fragprog(ctx, &ctx->FragmentProgram._Current, NULL); in update_program()
166 _mesa_reference_fragprog(ctx, &ctx->FragmentProgram._TexEnvProgram, in update_program()
209 if (ctx->FragmentProgram._Current != prevFP) { in update_program()
213 (struct gl_program *) ctx->FragmentProgram._Current); in update_program()
245 if (ctx->FragmentProgram._Current) { in update_program_constants()
247 ctx->FragmentProgram._Current->Base.Parameters; in update_program_constants()
469 if (ctx->FragmentProgram._MaintainTexEnvProgram) { in _mesa_update_state_locked()
631 ctx->FragmentProgram._TexEnvProgram) { in _mesa_set_varying_vp_inputs()