Searched refs:darkSrc (Results 1 – 2 of 2) sorted by relevance
1468 F darkSrc = d*(sa + (s2 - sa)*(1.0f - m)), // Used in case 1. in BLEND_MODE() local1476 return s*inv(da) + d*inv(sa) + if_then_else(s2 <= sa, darkSrc, liteSrc); // 1 or (2 or 3)? in BLEND_MODE()
1734 auto darkSrc = d * ((s2-src.a) * (1-m) + src.a), in blend() local1743 return s * (1-dst.a) + d * (1-src.a) + select(s2 <= src.a, darkSrc in blend()