Lines Matching full:blend
31 * Only a few blend modes have been optimized (min, max, transparency, add)
75 assert(ctx->Color.Blend[0].EquationRGB == GL_FUNC_ADD);
76 assert(ctx->Color.Blend[0].EquationA == GL_FUNC_ADD);
77 assert(ctx->Color.Blend[0].SrcRGB == GL_ZERO);
78 assert(ctx->Color.Blend[0].DstRGB == GL_ONE);
101 assert(ctx->Color.Blend[0].EquationRGB == GL_FUNC_ADD);
102 assert(ctx->Color.Blend[0].EquationA == GL_FUNC_ADD);
103 assert(ctx->Color.Blend[0].SrcRGB == GL_ONE);
104 assert(ctx->Color.Blend[0].DstRGB == GL_ZERO);
125 assert(ctx->Color.Blend[0].EquationRGB == GL_FUNC_ADD);
126 assert(ctx->Color.Blend[0].EquationA == GL_FUNC_ADD);
127 assert(ctx->Color.Blend[0].SrcRGB == GL_SRC_ALPHA);
128 assert(ctx->Color.Blend[0].SrcA == GL_SRC_ALPHA);
129 assert(ctx->Color.Blend[0].DstRGB == GL_ONE_MINUS_SRC_ALPHA);
130 assert(ctx->Color.Blend[0].DstA == GL_ONE_MINUS_SRC_ALPHA);
170 assert(ctx->Color.Blend[0].EquationRGB == GL_FUNC_ADD);
171 assert(ctx->Color.Blend[0].EquationA == GL_FUNC_ADD);
172 assert(ctx->Color.Blend[0].SrcRGB == GL_SRC_ALPHA);
173 assert(ctx->Color.Blend[0].SrcA == GL_SRC_ALPHA);
174 assert(ctx->Color.Blend[0].DstRGB == GL_ONE_MINUS_SRC_ALPHA);
175 assert(ctx->Color.Blend[0].DstA == GL_ONE_MINUS_SRC_ALPHA);
208 assert(ctx->Color.Blend[0].EquationRGB == GL_FUNC_ADD);
209 assert(ctx->Color.Blend[0].EquationA == GL_FUNC_ADD);
210 assert(ctx->Color.Blend[0].SrcRGB == GL_SRC_ALPHA);
211 assert(ctx->Color.Blend[0].SrcA == GL_SRC_ALPHA);
212 assert(ctx->Color.Blend[0].DstRGB == GL_ONE_MINUS_SRC_ALPHA);
213 assert(ctx->Color.Blend[0].DstA == GL_ONE_MINUS_SRC_ALPHA);
248 assert(ctx->Color.Blend[0].EquationRGB == GL_FUNC_ADD);
249 assert(ctx->Color.Blend[0].EquationA == GL_FUNC_ADD);
250 assert(ctx->Color.Blend[0].SrcRGB == GL_ONE);
251 assert(ctx->Color.Blend[0].DstRGB == GL_ONE);
305 * Blend min function.
313 assert(ctx->Color.Blend[0].EquationRGB == GL_MIN);
314 assert(ctx->Color.Blend[0].EquationA == GL_MIN);
358 * Blend max function.
366 assert(ctx->Color.Blend[0].EquationRGB == GL_MAX);
367 assert(ctx->Color.Blend[0].EquationA == GL_MAX);
495 /* XXX for the case of constant blend terms we could init
500 switch (ctx->Color.Blend[0].SrcRGB) {
565 _mesa_problem(ctx, "Bad blend source RGB factor in blend_general_float");
570 switch (ctx->Color.Blend[0].SrcA) {
619 _mesa_problem(ctx, "Bad blend source A factor in blend_general_float");
624 switch (ctx->Color.Blend[0].DstRGB) {
682 _mesa_problem(ctx, "Bad blend dest RGB factor in blend_general_float");
687 switch (ctx->Color.Blend[0].DstA) {
733 _mesa_problem(ctx, "Bad blend dest A factor in blend_general_float");
738 switch (ctx->Color.Blend[0].EquationRGB) {
775 switch (ctx->Color.Blend[0].EquationA) {
847 /* do blend */
872 /* do blend */
903 const GLenum eq = ctx->Color.Blend[0].EquationRGB;
904 const GLenum srcRGB = ctx->Color.Blend[0].SrcRGB;
905 const GLenum dstRGB = ctx->Color.Blend[0].DstRGB;
906 const GLenum srcA = ctx->Color.Blend[0].SrcA;
907 const GLenum dstA = ctx->Color.Blend[0].DstA;
909 if (ctx->Color.Blend[0].EquationRGB != ctx->Color.Blend[0].EquationA) {