Lines Matching refs:_Current
90 * Update the ctx->Vertex/Geometry/FragmentProgram._Current pointers to point
109 const struct gl_vertex_program *prevVP = ctx->VertexProgram._Current;
110 const struct gl_fragment_program *prevFP = ctx->FragmentProgram._Current;
111 const struct gl_geometry_program *prevGP = ctx->GeometryProgram._Current;
115 * Set the ctx->VertexProgram._Current and ctx->FragmentProgram._Current
136 _mesa_reference_fragprog(ctx, &ctx->FragmentProgram._Current,
146 _mesa_reference_fragprog(ctx, &ctx->FragmentProgram._Current,
158 _mesa_reference_fragprog(ctx, &ctx->FragmentProgram._Current,
165 _mesa_reference_fragprog(ctx, &ctx->FragmentProgram._Current, NULL);
173 _mesa_reference_geomprog(ctx, &ctx->GeometryProgram._Current,
177 _mesa_reference_geomprog(ctx, &ctx->GeometryProgram._Current, NULL);
187 _mesa_reference_vertprog(ctx, &ctx->VertexProgram._Current,
192 _mesa_reference_vertprog(ctx, &ctx->VertexProgram._Current,
197 _mesa_reference_vertprog(ctx, &ctx->VertexProgram._Current,
200 ctx->VertexProgram._Current);
204 _mesa_reference_vertprog(ctx, &ctx->VertexProgram._Current, NULL);
209 if (ctx->FragmentProgram._Current != prevFP) {
213 (struct gl_program *) ctx->FragmentProgram._Current);
217 if (ctx->GeometryProgram._Current != prevGP) {
221 (struct gl_program *) ctx->GeometryProgram._Current);
225 if (ctx->VertexProgram._Current != prevVP) {
229 (struct gl_program *) ctx->VertexProgram._Current);
245 if (ctx->FragmentProgram._Current) {
247 ctx->FragmentProgram._Current->Base.Parameters;
253 if (ctx->GeometryProgram._Current) {
255 ctx->GeometryProgram._Current->Base.Parameters;
263 if (ctx->VertexProgram._Current) {
265 ctx->VertexProgram._Current->Base.Parameters;