Lines Matching refs:ctx
94 static inline struct vbo_context *vbo_context(struct gl_context *ctx)
96 return (struct vbo_context *)(ctx->swtnl_im);
105 get_program_mode( struct gl_context *ctx )
107 if (!ctx->VertexProgram._Current)
109 else if (ctx->VertexProgram._Current == ctx->VertexProgram._TnlProgram)
111 else if (ctx->VertexProgram._Current->IsNVProgram)
133 struct gl_context *ctx = vbo->exec.ctx;
137 ctx->Array._DrawArrays = vbo->exec.array.inputs;
140 ctx->Array._DrawArrays = vbo->exec.vtx.inputs;
143 ctx->Array._DrawArrays = vbo->save.inputs;
149 ctx->NewDriverState |= ctx->DriverFlags.NewArray;