-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Port FilterEffect to the new IPC serialization format #21480
Port FilterEffect to the new IPC serialization format #21480
Conversation
EWS run on previous version of this PR (hash 7369945) |
{ | ||
return adoptRef(*new FEBlend(mode)); | ||
Ref effect = adoptRef(*new FEBlend(mode)); | ||
effect->setOperatingColorSpace(colorSpace); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should pass all the parameters into the constructor. I think we should make a FilterEffect constructor that requires a DestinationColorSpace and sets it in the constructor instead of requiring all the objects to modify after construction.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is a little annoying because setOperatingColorSpace() is a virtual function but I'll look into it.
7369945
to
74bb3eb
Compare
EWS run on previous version of this PR (hash 74bb3eb) |
74bb3eb
to
03bf0fb
Compare
EWS run on previous version of this PR (hash 03bf0fb) |
@cdumez Nice! Thanks for cleaning this part of the filters. |
03bf0fb
to
f7e80c7
Compare
EWS run on previous version of this PR (hash f7e80c7) |
Weird, I have some iOS-only failures it seems. I don't think I had those in my previous iteration. Not quite sure what I messed up. |
f7e80c7
to
1e82bfd
Compare
EWS run on current version of this PR (hash 1e82bfd) |
EWS run on previous version of this PR (hash 1e82bfd) |
1e82bfd
to
0c25c69
Compare
I believe I figured it out. |
0c25c69
to
e8a5f47
Compare
e8a5f47
to
db33cfa
Compare
EWS run on previous version of this PR (hash db33cfa) |
db33cfa
to
a4da401
Compare
EWS run on current version of this PR (hash a4da401)
|
https://bugs.webkit.org/show_bug.cgi?id=266037 Reviewed by Brady Eidson. * Source/WebCore/platform/graphics/filters/FEBlend.cpp: (WebCore::FEBlend::create): * Source/WebCore/platform/graphics/filters/FEBlend.h: * Source/WebCore/platform/graphics/filters/FEColorMatrix.cpp: (WebCore::FEColorMatrix::create): * Source/WebCore/platform/graphics/filters/FEColorMatrix.h: * Source/WebCore/platform/graphics/filters/FEComponentTransfer.cpp: (WebCore::FEComponentTransfer::create): * Source/WebCore/platform/graphics/filters/FEComponentTransfer.h: * Source/WebCore/platform/graphics/filters/FEComposite.cpp: (WebCore::FEComposite::create): * Source/WebCore/platform/graphics/filters/FEComposite.h: * Source/WebCore/platform/graphics/filters/FEConvolveMatrix.cpp: (WebCore::FEConvolveMatrix::create): * Source/WebCore/platform/graphics/filters/FEConvolveMatrix.h: * Source/WebCore/platform/graphics/filters/FEDiffuseLighting.cpp: (WebCore::FEDiffuseLighting::create): * Source/WebCore/platform/graphics/filters/FEDiffuseLighting.h: * Source/WebCore/platform/graphics/filters/FEDisplacementMap.cpp: (WebCore::FEDisplacementMap::create): * Source/WebCore/platform/graphics/filters/FEDisplacementMap.h: * Source/WebCore/platform/graphics/filters/FEDropShadow.cpp: (WebCore::FEDropShadow::create): * Source/WebCore/platform/graphics/filters/FEDropShadow.h: * Source/WebCore/platform/graphics/filters/FEFlood.cpp: (WebCore::FEFlood::create): * Source/WebCore/platform/graphics/filters/FEFlood.h: * Source/WebCore/platform/graphics/filters/FEGaussianBlur.cpp: (WebCore::FEGaussianBlur::create): * Source/WebCore/platform/graphics/filters/FEGaussianBlur.h: * Source/WebCore/platform/graphics/filters/FEImage.cpp: (WebCore::FEImage::create): * Source/WebCore/platform/graphics/filters/FEImage.h: * Source/WebCore/platform/graphics/filters/FEMerge.cpp: (WebCore::FEMerge::create): * Source/WebCore/platform/graphics/filters/FEMerge.h: * Source/WebCore/platform/graphics/filters/FEMorphology.cpp: (WebCore::FEMorphology::create): * Source/WebCore/platform/graphics/filters/FEMorphology.h: * Source/WebCore/platform/graphics/filters/FEOffset.cpp: (WebCore::FEOffset::create): * Source/WebCore/platform/graphics/filters/FEOffset.h: * Source/WebCore/platform/graphics/filters/FESpecularLighting.cpp: (WebCore::FESpecularLighting::create): * Source/WebCore/platform/graphics/filters/FESpecularLighting.h: * Source/WebCore/platform/graphics/filters/FETile.cpp: (WebCore::FETile::create): * Source/WebCore/platform/graphics/filters/FETile.h: * Source/WebCore/platform/graphics/filters/FETurbulence.cpp: (WebCore::FETurbulence::create): * Source/WebCore/platform/graphics/filters/FETurbulence.h: * Source/WebCore/platform/graphics/filters/SourceAlpha.cpp: (WebCore::SourceAlpha::create): (WebCore::SourceAlpha::SourceAlpha): * Source/WebCore/platform/graphics/filters/SourceAlpha.h: * Source/WebCore/platform/graphics/filters/SourceGraphic.cpp: (WebCore::SourceGraphic::create): * Source/WebCore/platform/graphics/filters/SourceGraphic.h: * Source/WebKit/Shared/WebCoreArgumentCoders.cpp: (IPC::ArgumentCoder<FilterEffect>::encode): Deleted. (IPC::ArgumentCoder<FilterEffect>::decode): Deleted. * Source/WebKit/Shared/WebCoreArgumentCoders.h: * Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in: Canonical link: https://commits.webkit.org/271793@main
a4da401
to
edea595
Compare
Committed 271793@main (edea595): https://commits.webkit.org/271793@main Reviewed commits have been landed. Closing PR #21480 and removing active labels. |
edea595
a4da401
π§ͺ wpe-wk2π§ͺ ios-wk2-wptπ§ͺ api-gtkπ π§ͺ merge