• Home
  • Raw
  • Download

Lines Matching defs:BLEND_MODE

1085 #define BLEND_MODE(name)                       \  macro
1099 BLEND_MODE(clear) { return 0; } in BLEND_MODE() function
1100 BLEND_MODE(srcatop) { return s*da + d*inv(sa); } in BLEND_MODE() function
1101 BLEND_MODE(dstatop) { return d*sa + s*inv(da); } in BLEND_MODE() function
1102 BLEND_MODE(srcin) { return s * da; } in BLEND_MODE() function
1103 BLEND_MODE(dstin) { return d * sa; } in BLEND_MODE() function
1104 BLEND_MODE(srcout) { return s * inv(da); } in BLEND_MODE() function
1105 BLEND_MODE(dstout) { return d * inv(sa); } in BLEND_MODE() function
1106 BLEND_MODE(srcover) { return mad(d, inv(sa), s); } in BLEND_MODE() function
1107 BLEND_MODE(dstover) { return mad(s, inv(da), d); } in BLEND_MODE() function
1109 BLEND_MODE(modulate) { return s*d; } in BLEND_MODE() function
1110 BLEND_MODE(multiply) { return s*inv(da) + d*inv(sa) + s*d; } in BLEND_MODE() function
1111 BLEND_MODE(plus_) { return min(s + d, 1.0f); } // We can clamp to either 1 or sa. in BLEND_MODE() function
1112 BLEND_MODE(screen) { return s + d - s*d; } in BLEND_MODE() function
1113 BLEND_MODE(xor_) { return s*inv(da) + d*inv(sa); } in BLEND_MODE() function
1117 #define BLEND_MODE(name) \ macro
1127 BLEND_MODE(darken) { return s + d - max(s*da, d*sa) ; } in BLEND_MODE() function
1128 BLEND_MODE(lighten) { return s + d - min(s*da, d*sa) ; } in BLEND_MODE() function
1129 BLEND_MODE(difference) { return s + d - two(min(s*da, d*sa)); } in BLEND_MODE() function
1130 BLEND_MODE(exclusion) { return s + d - two(s*d); } in BLEND_MODE() function
1132 BLEND_MODE(colorburn) { in BLEND_MODE() function
1137 BLEND_MODE(colordodge) { in BLEND_MODE() function
1142 BLEND_MODE(hardlight) { in BLEND_MODE() function
1146 BLEND_MODE(overlay) { in BLEND_MODE() function
1151 BLEND_MODE(softlight) { in BLEND_MODE() function