Lines Matching refs:ctx
47 _mesa_get_clamp_fragment_color(const struct gl_context *ctx,
51 _mesa_get_clamp_vertex_color(const struct gl_context *ctx,
55 _mesa_get_clamp_read_color(const struct gl_context *ctx,
59 _mesa_update_clamp_fragment_color(struct gl_context *ctx,
63 _mesa_update_clamp_vertex_color(struct gl_context *ctx,
67 _mesa_init_color( struct gl_context * ctx );
78 _mesa_advanded_blend_sh_constant_changed(struct gl_context *ctx,
83 _mesa_get_advanced_blend_sh_constant(ctx->Color.BlendEnabled,
84 ctx->Color._AdvancedBlendMode);
88 _mesa_flush_vertices_for_blend_state(struct gl_context *ctx)
90 FLUSH_VERTICES(ctx, 0, GL_COLOR_BUFFER_BIT);
91 ctx->NewDriverState |= ST_NEW_BLEND;
95 _mesa_flush_vertices_for_blend_adv(struct gl_context *ctx,
100 if (_mesa_has_KHR_blend_equation_advanced(ctx) &&
101 _mesa_advanded_blend_sh_constant_changed(ctx, new_blend_enabled,
103 FLUSH_VERTICES(ctx, _NEW_COLOR, GL_COLOR_BUFFER_BIT);
104 ctx->NewDriverState |= ST_NEW_BLEND;
107 _mesa_flush_vertices_for_blend_state(ctx);