Lines Matching refs:modeRGB
641 blend_equation_separate(struct gl_context *ctx, GLenum modeRGB, GLenum modeA,
651 if (ctx->Color.Blend[buf].EquationRGB != modeRGB ||
659 if (ctx->Color.Blend[0].EquationRGB != modeRGB ||
669 if ((modeRGB != modeA) && !ctx->Extensions.EXT_blend_equation_separate) {
678 * "NOTE: These enums are not accepted by the <modeRGB> or <modeAlpha>
681 if (!legal_simple_blend_equation(ctx, modeRGB)) {
683 "glBlendEquationSeparateEXT(modeRGB)");
696 ctx->Color.Blend[buf].EquationRGB = modeRGB;
703 ctx->Driver.BlendEquationSeparate(ctx, modeRGB, modeA);
708 _mesa_BlendEquationSeparate_no_error(GLenum modeRGB, GLenum modeA)
711 blend_equation_separate(ctx, modeRGB, modeA, true);
716 _mesa_BlendEquationSeparate(GLenum modeRGB, GLenum modeA)
722 _mesa_enum_to_string(modeRGB),
725 blend_equation_separate(ctx, modeRGB, modeA, false);
730 blend_equation_separatei(struct gl_context *ctx, GLuint buf, GLenum modeRGB,
733 if (ctx->Color.Blend[buf].EquationRGB == modeRGB &&
741 * "NOTE: These enums are not accepted by the <modeRGB> or <modeAlpha>
744 if (!legal_simple_blend_equation(ctx, modeRGB)) {
745 _mesa_error(ctx, GL_INVALID_ENUM, "glBlendEquationSeparatei(modeRGB)");
756 ctx->Color.Blend[buf].EquationRGB = modeRGB;
764 _mesa_BlendEquationSeparateiARB_no_error(GLuint buf, GLenum modeRGB,
768 blend_equation_separatei(ctx, buf, modeRGB, modeA, true);
776 _mesa_BlendEquationSeparateiARB(GLuint buf, GLenum modeRGB, GLenum modeA)
782 _mesa_enum_to_string(modeRGB),
791 blend_equation_separatei(ctx, buf, modeRGB, modeA, false);