[webkit-reviews] review granted: [Bug 97859] [CSS Shaders] Implement all composite operators except destination and lighter. : [Attachment 167183] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 9 16:03:37 PDT 2012


Dean Jackson <dino at apple.com> has granted Huang Dongsung
<luxtella at company100.net>'s request for review:
Bug 97859: [CSS Shaders] Implement all composite operators except destination
and lighter.
https://bugs.webkit.org/show_bug.cgi?id=97859

Attachment 167183: Patch
https://bugs.webkit.org/attachment.cgi?id=167183&action=review

------- Additional Comments from Dean Jackson <dino at apple.com>
View in context: https://bugs.webkit.org/attachment.cgi?id=167183&action=review


> Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.cpp:294

>      case CompositePlusLighter:
>	   notImplemented();
>	   return String();
> +	   // FIXME: destination and lighter were not implemented yet.

I don't think we need this comment. It's clear that they are not implemented.

> LayoutTests/css3/filters/custom/custom-filter-composite-operators.html:4
> +    <title>Tests that custom filter composite operators compute color values
correctly.</title>

As Max originally suggested, it would be great if this could be a reftest, with
the expected value shown next to each subtest. I wonder if we can be accurate
enough by placing colored divs to replicate the blending. Anyway, this is ok
for now.


More information about the webkit-reviews mailing list