DescriptionImplement mix-blend-mode in GL renderer using shaders.
This implementation brings in several improvements for blending:
- it's done faster, due to reducing the number of readbacks.
- the backdrop doesn't suffer any transformation, so the result is more
correct.
- the results are similar to the ones obtained using the software paths.
- blending is always applied after filters, even when the filters
can be expressed using a color matrix.
The initial experiment: https://codereview.chromium.org/555133002/.
BUG=243223
Committed: https://crrev.com/7b73f83a1d6c212c3f4bc915f495baf1b4671dbf
Cr-Commit-Position: refs/heads/master@{#300657}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Fixing antialiasing issues #
Total comments: 11
Patch Set 3 : adding pixel tests and addressing comments #Patch Set 4 : removing some unneeded code #
Total comments: 3
Patch Set 5 : clang-format on shaders + nits #Patch Set 6 : generate baseline for pixel tests on linux #
Total comments: 2
Patch Set 7 : new shader specific enum for blend modes #
Total comments: 4
Patch Set 8 : nits #Patch Set 9 : adjusting the pixel comparator for linux and mac #
Total comments: 2
Messages
Total messages: 34 (10 generated)
|