Home | History | Annotate | Download | only in main

Lines Matching defs:Blend

31 #include "blend.h"
71 GLboolean Blend;
336 attr->Blend = ctx->Color.BlendEnabled;
610 if (ctx->Color.BlendEnabled != enable->Blend) {
614 _mesa_set_enablei(ctx, GL_BLEND, i, (enable->Blend >> i) & 1);
618 _mesa_set_enable(ctx, GL_BLEND, (enable->Blend & 1));
1082 /* set blend per buffer */
1085 _mesa_BlendFuncSeparateiARB(buf, color->Blend[buf].SrcRGB,
1086 color->Blend[buf].DstRGB,
1087 color->Blend[buf].SrcA,
1088 color->Blend[buf].DstA);
1090 color->Blend[buf].EquationRGB,
1091 color->Blend[buf].EquationA);
1095 /* set same blend modes for all buffers */
1096 _mesa_BlendFuncSeparate(color->Blend[0].SrcRGB,
1097 color->Blend[0].DstRGB,
1098 color->Blend[0].SrcA,
1099 color->Blend[0].DstA);
1103 if (color->Blend[0].EquationRGB ==
1104 color->Blend[0].EquationA) {
1105 _mesa_BlendEquation(color->Blend[0].EquationRGB);
1109 color->Blend[0].EquationRGB,
1110 color->Blend[0].EquationA);