Lines Matching refs:Blend
188 ctx->Color.Blend[buf]._UsesDualSrc = in update_uses_dual_src()
189 (blend_factor_is_dual_src(ctx->Color.Blend[buf].SrcRGB) || in update_uses_dual_src()
190 blend_factor_is_dual_src(ctx->Color.Blend[buf].DstRGB) || in update_uses_dual_src()
191 blend_factor_is_dual_src(ctx->Color.Blend[buf].SrcA) || in update_uses_dual_src()
192 blend_factor_is_dual_src(ctx->Color.Blend[buf].DstA)); in update_uses_dual_src()
230 if (ctx->Color.Blend[buf].SrcRGB != sfactorRGB || in _mesa_BlendFuncSeparateEXT()
231 ctx->Color.Blend[buf].DstRGB != dfactorRGB || in _mesa_BlendFuncSeparateEXT()
232 ctx->Color.Blend[buf].SrcA != sfactorA || in _mesa_BlendFuncSeparateEXT()
233 ctx->Color.Blend[buf].DstA != dfactorA) { in _mesa_BlendFuncSeparateEXT()
244 ctx->Color.Blend[buf].SrcRGB = sfactorRGB; in _mesa_BlendFuncSeparateEXT()
245 ctx->Color.Blend[buf].DstRGB = dfactorRGB; in _mesa_BlendFuncSeparateEXT()
246 ctx->Color.Blend[buf].SrcA = sfactorA; in _mesa_BlendFuncSeparateEXT()
247 ctx->Color.Blend[buf].DstA = dfactorA; in _mesa_BlendFuncSeparateEXT()
299 if (ctx->Color.Blend[buf].SrcRGB == sfactorRGB && in _mesa_BlendFuncSeparatei()
300 ctx->Color.Blend[buf].DstRGB == dfactorRGB && in _mesa_BlendFuncSeparatei()
301 ctx->Color.Blend[buf].SrcA == sfactorA && in _mesa_BlendFuncSeparatei()
302 ctx->Color.Blend[buf].DstA == dfactorA) in _mesa_BlendFuncSeparatei()
307 ctx->Color.Blend[buf].SrcRGB = sfactorRGB; in _mesa_BlendFuncSeparatei()
308 ctx->Color.Blend[buf].DstRGB = dfactorRGB; in _mesa_BlendFuncSeparatei()
309 ctx->Color.Blend[buf].SrcA = sfactorA; in _mesa_BlendFuncSeparatei()
310 ctx->Color.Blend[buf].DstA = dfactorA; in _mesa_BlendFuncSeparatei()
365 if (ctx->Color.Blend[buf].EquationRGB != mode || in _mesa_BlendEquation()
366 ctx->Color.Blend[buf].EquationA != mode) { in _mesa_BlendEquation()
376 ctx->Color.Blend[buf].EquationRGB = mode; in _mesa_BlendEquation()
377 ctx->Color.Blend[buf].EquationA = mode; in _mesa_BlendEquation()
410 if (ctx->Color.Blend[buf].EquationRGB == mode && in _mesa_BlendEquationi()
411 ctx->Color.Blend[buf].EquationA == mode) in _mesa_BlendEquationi()
415 ctx->Color.Blend[buf].EquationRGB = mode; in _mesa_BlendEquationi()
416 ctx->Color.Blend[buf].EquationA = mode; in _mesa_BlendEquationi()
458 if (ctx->Color.Blend[buf].EquationRGB != modeRGB || in _mesa_BlendEquationSeparateEXT()
459 ctx->Color.Blend[buf].EquationA != modeA) { in _mesa_BlendEquationSeparateEXT()
469 ctx->Color.Blend[buf].EquationRGB = modeRGB; in _mesa_BlendEquationSeparateEXT()
470 ctx->Color.Blend[buf].EquationA = modeA; in _mesa_BlendEquationSeparateEXT()
509 if (ctx->Color.Blend[buf].EquationRGB == modeRGB && in _mesa_BlendEquationSeparatei()
510 ctx->Color.Blend[buf].EquationA == modeA) in _mesa_BlendEquationSeparatei()
514 ctx->Color.Blend[buf].EquationRGB = modeRGB; in _mesa_BlendEquationSeparatei()
515 ctx->Color.Blend[buf].EquationA = modeA; in _mesa_BlendEquationSeparatei()
835 for (i = 0; i < Elements(ctx->Color.Blend); i++) { in _mesa_init_color()
836 ctx->Color.Blend[i].SrcRGB = GL_ONE; in _mesa_init_color()
837 ctx->Color.Blend[i].DstRGB = GL_ZERO; in _mesa_init_color()
838 ctx->Color.Blend[i].SrcA = GL_ONE; in _mesa_init_color()
839 ctx->Color.Blend[i].DstA = GL_ZERO; in _mesa_init_color()
840 ctx->Color.Blend[i].EquationRGB = GL_FUNC_ADD; in _mesa_init_color()
841 ctx->Color.Blend[i].EquationA = GL_FUNC_ADD; in _mesa_init_color()