-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=93870 Patch by Max Vujovic <mvujovic@adobe.com> on 2012-09-04 Reviewed by Dirk Schulze. Source/WebCore: Add expressions for the aforementioned blend modes. The expressions are lifted directly from the CSS Compositing and Blending spec [1]. WebKit adds these blending expressions to the author's shader. [1]: https://dvcs.w3.org/hg/FXTF/rawfile/tip/compositing/index.html#blendingnormal Test: css3/filters/custom/custom-filter-blend-modes.html * platform/graphics/filters/CustomFilterValidatedProgram.cpp: (WebCore::CustomFilterValidatedProgram::blendFunctionString): LayoutTests: Add test to check that the DOM element texture blends correctly with the css_MixColor variable from the author's shader for each blend mode. * css3/filters/custom/custom-filter-blend-modes-expected.html: Added. * css3/filters/custom/custom-filter-blend-modes.html: Added. * css3/filters/resources/mix-color.fs: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127517 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2e26ec8b