WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
232831
[GPU Process] [Filters 13/23] Implement FilterEffect CoreImage appliers
https://bugs.webkit.org/show_bug.cgi?id=232831
Summary
[GPU Process] [Filters 13/23] Implement FilterEffect CoreImage appliers
Said Abou-Hallawa
Reported
2021-11-08 12:22:38 PST
This will eliminate the branching we do in CSSFilter::apply(). This will also remove the classes FilterEffectRenderer and FilterEffectRendererCoreImage.
Attachments
Patch
(85.51 KB, patch)
2021-11-26 21:53 PST
,
Said Abou-Hallawa
heycam
: review+
Details
Formatted Diff
Diff
Patch
(85.62 KB, patch)
2021-11-27 19:26 PST
,
Said Abou-Hallawa
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2021-11-15 12:23:23 PST
<
rdar://problem/85424049
>
Said Abou-Hallawa
Comment 2
2021-11-26 21:53:34 PST
Created
attachment 445211
[details]
Patch
Cameron McCormack (:heycam)
Comment 3
2021-11-27 14:03:57 PST
Comment on
attachment 445211
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=445211&action=review
> Source/WebCore/platform/graphics/coreimage/FEColorMatrixCoreImageApplier.mm:3 > +/* > +* Copyright (C) 2020-2021 Apple Inc. All rights reserved. > +*
This (and in the other added files in this patch) is copied from another file, but the asterisks are misaligned.
> Source/WebCore/svg/graphics/filters/SVGFilter.cpp:91 > +bool SVGFilter::supportsCoreImageRendering() const > +{
I notice that this and CSSFIlter::supportsCoreImageRendering() are very similar, and that CSSFilter::m_functions and SVGFilter::m_expression are almost the same type. Should we have a common implementation of supportsCoreImageRendering() on Filter (or maybe you will move some CSSFilter and SVGFilter commonality up to Filter in a later patch in your queue)?
Said Abou-Hallawa
Comment 4
2021-11-27 19:26:54 PST
Created
attachment 445229
[details]
Patch
Said Abou-Hallawa
Comment 5
2021-11-27 19:28:39 PST
Comment on
attachment 445211
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=445211&action=review
>> Source/WebCore/platform/graphics/coreimage/FEColorMatrixCoreImageApplier.mm:3 >> +* > > This (and in the other added files in this patch) is copied from another file, but the asterisks are misaligned.
Fixed.
>> Source/WebCore/svg/graphics/filters/SVGFilter.cpp:91 >> +{ > > I notice that this and CSSFIlter::supportsCoreImageRendering() are very similar, and that CSSFilter::m_functions and SVGFilter::m_expression are almost the same type. Should we have a common implementation of supportsCoreImageRendering() on Filter (or maybe you will move some CSSFilter and SVGFilter commonality up to Filter in a later patch in your queue)?
Yes this similarities in CSSFilter and SVGFilter should be removed once the result FilterImage is removed from FilterEffect.
EWS
Comment 6
2021-11-27 20:28:19 PST
Committed
r286193
(
244575@main
): <
https://commits.webkit.org/244575@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 445229
[details]
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug