Lines Matching full:blend
31 #include "blend.h"
73 GLboolean Blend;
266 attr->Blend = ctx->Color.BlendEnabled;
500 if (ctx->Color.BlendEnabled != enable->Blend) {
504 _mesa_set_enablei(ctx, GL_BLEND, i, (enable->Blend >> i) & 1);
508 _mesa_set_enable(ctx, GL_BLEND, (enable->Blend & 1));
947 /* set blend per buffer */
950 _mesa_BlendFuncSeparatei(buf, color->Blend[buf].SrcRGB,
951 color->Blend[buf].DstRGB,
952 color->Blend[buf].SrcA,
953 color->Blend[buf].DstA);
955 color->Blend[buf].EquationRGB,
956 color->Blend[buf].EquationA);
960 /* set same blend modes for all buffers */
961 _mesa_BlendFuncSeparateEXT(color->Blend[0].SrcRGB,
962 color->Blend[0].DstRGB,
963 color->Blend[0].SrcA,
964 color->Blend[0].DstA);
968 if (color->Blend[0].EquationRGB ==
969 color->Blend[0].EquationA) {
970 _mesa_BlendEquation(color->Blend[0].EquationRGB);
974 color->Blend[0].EquationRGB,
975 color->Blend[0].EquationA);