Lines Matching defs:ctx
33 draw_texture(struct gl_context *ctx, GLfloat x, GLfloat y, GLfloat z,
36 if (!ctx->Extensions.OES_draw_texture) {
37 _mesa_error(ctx, GL_INVALID_OPERATION,
42 _mesa_error(ctx, GL_INVALID_VALUE, "glDrawTex(width or height <= 0)");
46 _mesa_set_vp_override(ctx, GL_TRUE);
48 if (ctx->NewState)
49 _mesa_update_state(ctx);
51 st_DrawTex(ctx, x, y, z, width, height);
53 _mesa_set_vp_override(ctx, GL_FALSE);
60 GET_CURRENT_CONTEXT(ctx);
61 draw_texture(ctx, x, y, z, width, height);
68 GET_CURRENT_CONTEXT(ctx);
69 draw_texture(ctx, coords[0], coords[1], coords[2], coords[3], coords[4]);
76 GET_CURRENT_CONTEXT(ctx);
77 draw_texture(ctx, (GLfloat) x, (GLfloat) y, (GLfloat) z,
85 GET_CURRENT_CONTEXT(ctx);
86 draw_texture(ctx, (GLfloat) coords[0], (GLfloat) coords[1],
94 GET_CURRENT_CONTEXT(ctx);
95 draw_texture(ctx, (GLfloat) x, (GLfloat) y, (GLfloat) z,
103 GET_CURRENT_CONTEXT(ctx);
104 draw_texture(ctx, (GLfloat) coords[0], (GLfloat) coords[1],