Home | History | Annotate | Download | only in swrast

Lines Matching refs:Blend

31  * Only a few blend modes have been optimized (min, max, transparency, add)
78 ASSERT(ctx->Color.Blend[0].EquationRGB == GL_FUNC_ADD);
79 ASSERT(ctx->Color.Blend[0].EquationA == GL_FUNC_ADD);
80 ASSERT(ctx->Color.Blend[0].SrcRGB == GL_ZERO);
81 ASSERT(ctx->Color.Blend[0].DstRGB == GL_ONE);
104 ASSERT(ctx->Color.Blend[0].EquationRGB == GL_FUNC_ADD);
105 ASSERT(ctx->Color.Blend[0].EquationA == GL_FUNC_ADD);
106 ASSERT(ctx->Color.Blend[0].SrcRGB == GL_ONE);
107 ASSERT(ctx->Color.Blend[0].DstRGB == GL_ZERO);
128 ASSERT(ctx->Color.Blend[0].EquationRGB == GL_FUNC_ADD);
129 ASSERT(ctx->Color.Blend[0].EquationA == GL_FUNC_ADD);
130 ASSERT(ctx->Color.Blend[0].SrcRGB == GL_SRC_ALPHA);
131 ASSERT(ctx->Color.Blend[0].SrcA == GL_SRC_ALPHA);
132 ASSERT(ctx->Color.Blend[0].DstRGB == GL_ONE_MINUS_SRC_ALPHA);
133 ASSERT(ctx->Color.Blend[0].DstA == GL_ONE_MINUS_SRC_ALPHA);
173 ASSERT(ctx->Color.Blend[0].EquationRGB == GL_FUNC_ADD);
174 ASSERT(ctx->Color.Blend[0].EquationA == GL_FUNC_ADD);
175 ASSERT(ctx->Color.Blend[0].SrcRGB == GL_SRC_ALPHA);
176 ASSERT(ctx->Color.Blend[0].SrcA == GL_SRC_ALPHA);
177 ASSERT(ctx->Color.Blend[0].DstRGB == GL_ONE_MINUS_SRC_ALPHA);
178 ASSERT(ctx->Color.Blend[0].DstA == GL_ONE_MINUS_SRC_ALPHA);
211 ASSERT(ctx->Color.Blend[0].EquationRGB == GL_FUNC_ADD);
212 ASSERT(ctx->Color.Blend[0].EquationA == GL_FUNC_ADD);
213 ASSERT(ctx->Color.Blend[0].SrcRGB == GL_SRC_ALPHA);
214 ASSERT(ctx->Color.Blend[0].SrcA == GL_SRC_ALPHA);
215 ASSERT(ctx->Color.Blend[0].DstRGB == GL_ONE_MINUS_SRC_ALPHA);
216 ASSERT(ctx->Color.Blend[0].DstA == GL_ONE_MINUS_SRC_ALPHA);
251 ASSERT(ctx->Color.Blend[0].EquationRGB == GL_FUNC_ADD);
252 ASSERT(ctx->Color.Blend[0].EquationA == GL_FUNC_ADD);
253 ASSERT(ctx->Color.Blend[0].SrcRGB == GL_ONE);
254 ASSERT(ctx->Color.Blend[0].DstRGB == GL_ONE);
308 * Blend min function.
316 ASSERT(ctx->Color.Blend[0].EquationRGB == GL_MIN);
317 ASSERT(ctx->Color.Blend[0].EquationA == GL_MIN);
361 * Blend max function.
369 ASSERT(ctx->Color.Blend[0].EquationRGB == GL_MAX);
370 ASSERT(ctx->Color.Blend[0].EquationA == GL_MAX);
498 /* XXX for the case of constant blend terms we could init
503 switch (ctx->Color.Blend[0].SrcRGB) {
568 _mesa_problem(ctx, "Bad blend source RGB factor in blend_general_float");
573 switch (ctx->Color.Blend[0].SrcA) {
622 _mesa_problem(ctx, "Bad blend source A factor in blend_general_float");
627 switch (ctx->Color.Blend[0].DstRGB) {
685 _mesa_problem(ctx, "Bad blend dest RGB factor in blend_general_float");
690 switch (ctx->Color.Blend[0].DstA) {
736 _mesa_problem(ctx, "Bad blend dest A factor in blend_general_float");
741 switch (ctx->Color.Blend[0].EquationRGB) {
778 switch (ctx->Color.Blend[0].EquationA) {
850 /* do blend */
875 /* do blend */
906 const GLenum eq = ctx->Color.Blend[0].EquationRGB;
907 const GLenum srcRGB = ctx->Color.Blend[0].SrcRGB;
908 const GLenum dstRGB = ctx->Color.Blend[0].DstRGB;
909 const GLenum srcA = ctx->Color.Blend[0].SrcA;
910 const GLenum dstA = ctx->Color.Blend[0].DstA;
912 if (ctx->Color.Blend[0].EquationRGB != ctx->Color.Blend[0].EquationA) {