RESOLVED FIXED Bug 64146
Refactoring luminance code in RenderSVGResourceMasker
https://bugs.webkit.org/show_bug.cgi?id=64146
Summary Refactoring luminance code in RenderSVGResourceMasker
Dirk Schulze
Reported 2011-07-07 22:09:35 PDT
Refactoring luminance code in RenderSVGResourceMasker.
Attachments
Patch (9.74 KB, patch)
2011-07-07 22:19 PDT, Dirk Schulze
no flags
Patch (9.80 KB, patch)
2011-07-08 09:54 PDT, Dirk Schulze
no flags
Patch (8.30 KB, patch)
2011-07-08 13:28 PDT, Dirk Schulze
simon.fraser: review+
webkit.review.bot: commit-queue-
Dirk Schulze
Comment 1 2011-07-07 22:19:39 PDT
Nikolas Zimmermann
Comment 2 2011-07-08 08:18:05 PDT
Comment on attachment 100070 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=100070&action=review Hm, do you actually plan to implement a non-generic code path at some point? Did anyone ask for that? I'm confused why this is needed, though I see the intention. > Source/WebCore/platform/graphics/ImageBuffer.cpp:91 > +void ImageBuffer::toLuminanceMask() You have to inline this as well - otherwhise there's no benefit in inlining genericToLumiMask() - correct me if I'm wrong. > Source/WebCore/rendering/svg/RenderSVGResourceMasker.cpp:162 > + maskerData->maskImage->toLuminanceMask(); That sounds fairly generic, how about convertToLuminanceMask() ?
Dirk Schulze
Comment 3 2011-07-08 09:54:36 PDT
Dirk Schulze
Comment 4 2011-07-08 13:28:32 PDT
WebKit Review Bot
Comment 5 2011-07-08 13:48:57 PDT
Dirk Schulze
Comment 6 2011-07-08 23:05:45 PDT
Note You need to log in before you can comment on or make changes to this bug.