• Home
  • Raw
  • Download

Lines Matching refs:Blend

176       (blend_factor_is_dual_src(ctx->Color.Blend[buf].SrcRGB) ||  in update_uses_dual_src()
177 blend_factor_is_dual_src(ctx->Color.Blend[buf].DstRGB) || in update_uses_dual_src()
178 blend_factor_is_dual_src(ctx->Color.Blend[buf].SrcA) || in update_uses_dual_src()
179 blend_factor_is_dual_src(ctx->Color.Blend[buf].DstA)); in update_uses_dual_src()
216 if (ctx->Color.Blend[buf].SrcRGB != sfactorRGB || in skip_blend_state_update()
217 ctx->Color.Blend[buf].DstRGB != dfactorRGB || in skip_blend_state_update()
218 ctx->Color.Blend[buf].SrcA != sfactorA || in skip_blend_state_update()
219 ctx->Color.Blend[buf].DstA != dfactorA) { in skip_blend_state_update()
226 if (ctx->Color.Blend[0].SrcRGB != sfactorRGB || in skip_blend_state_update()
227 ctx->Color.Blend[0].DstRGB != dfactorRGB || in skip_blend_state_update()
228 ctx->Color.Blend[0].SrcA != sfactorA || in skip_blend_state_update()
229 ctx->Color.Blend[0].DstA != dfactorA) { in skip_blend_state_update()
248 ctx->Color.Blend[buf].SrcRGB = sfactorRGB; in blend_func_separate()
249 ctx->Color.Blend[buf].DstRGB = dfactorRGB; in blend_func_separate()
250 ctx->Color.Blend[buf].SrcA = sfactorA; in blend_func_separate()
251 ctx->Color.Blend[buf].DstA = dfactorA; in blend_func_separate()
392 if (ctx->Color.Blend[buf].SrcRGB == sfactorRGB && in blend_func_separatei()
393 ctx->Color.Blend[buf].DstRGB == dfactorRGB && in blend_func_separatei()
394 ctx->Color.Blend[buf].SrcA == sfactorA && in blend_func_separatei()
395 ctx->Color.Blend[buf].DstA == dfactorA) in blend_func_separatei()
407 ctx->Color.Blend[buf].SrcRGB = sfactorRGB; in blend_func_separatei()
408 ctx->Color.Blend[buf].DstRGB = dfactorRGB; in blend_func_separatei()
409 ctx->Color.Blend[buf].SrcA = sfactorA; in blend_func_separatei()
410 ctx->Color.Blend[buf].DstA = dfactorA; in blend_func_separatei()
537 if (ctx->Color.Blend[buf].EquationRGB != mode || in _mesa_BlendEquation()
538 ctx->Color.Blend[buf].EquationA != mode) { in _mesa_BlendEquation()
546 if (ctx->Color.Blend[0].EquationRGB != mode || in _mesa_BlendEquation()
547 ctx->Color.Blend[0].EquationA != mode) { in _mesa_BlendEquation()
565 ctx->Color.Blend[buf].EquationRGB = mode; in _mesa_BlendEquation()
566 ctx->Color.Blend[buf].EquationA = mode; in _mesa_BlendEquation()
580 if (ctx->Color.Blend[buf].EquationRGB == mode && in blend_equationi()
581 ctx->Color.Blend[buf].EquationA == mode) in blend_equationi()
586 ctx->Color.Blend[buf].EquationRGB = mode; in blend_equationi()
587 ctx->Color.Blend[buf].EquationA = mode; in blend_equationi()
641 if (ctx->Color.Blend[buf].EquationRGB != modeRGB || in blend_equation_separate()
642 ctx->Color.Blend[buf].EquationA != modeA) { in blend_equation_separate()
649 if (ctx->Color.Blend[0].EquationRGB != modeRGB || in blend_equation_separate()
650 ctx->Color.Blend[0].EquationA != modeA) { in blend_equation_separate()
686 ctx->Color.Blend[buf].EquationRGB = modeRGB; in blend_equation_separate()
687 ctx->Color.Blend[buf].EquationA = modeA; in blend_equation_separate()
720 if (ctx->Color.Blend[buf].EquationRGB == modeRGB && in blend_equation_separatei()
721 ctx->Color.Blend[buf].EquationA == modeA) in blend_equation_separatei()
743 ctx->Color.Blend[buf].EquationRGB = modeRGB; in blend_equation_separatei()
744 ctx->Color.Blend[buf].EquationA = modeA; in blend_equation_separatei()
1188 for (i = 0; i < ARRAY_SIZE(ctx->Color.Blend); i++) { in _mesa_init_color()
1189 ctx->Color.Blend[i].SrcRGB = GL_ONE; in _mesa_init_color()
1190 ctx->Color.Blend[i].DstRGB = GL_ZERO; in _mesa_init_color()
1191 ctx->Color.Blend[i].SrcA = GL_ONE; in _mesa_init_color()
1192 ctx->Color.Blend[i].DstA = GL_ZERO; in _mesa_init_color()
1193 ctx->Color.Blend[i].EquationRGB = GL_FUNC_ADD; in _mesa_init_color()
1194 ctx->Color.Blend[i].EquationA = GL_FUNC_ADD; in _mesa_init_color()