This will move applying the CSSFilters and the CSSFilterImageValue to GPUProcess. For now if the CSSFilter includes a referenced SVGFilter the whole CSSFilter will be applied in WebProcess.
Created attachment 446317 [details] Patch
I will make this bug enables CSSFilter and SVGFilter in GPUProcess.
*** Bug 234027 has been marked as a duplicate of this bug. ***
Created attachment 446597 [details] Patch
Does bug 234099 (blocking this one) need to be done before this one?
Comment on attachment 446597 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=446597&action=review > Source/WebCore/rendering/svg/RenderSVGResourceFilter.cpp:157 > + auto hostWindow = renderer.view().frameView().root() ? renderer.view().frameView().root()->hostWindow() : nullptr; (I see this fragment so often that I wonder if createImageBuffer functions should take the renderer as an argument instead of the host window.)
Comment on attachment 446597 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=446597&action=review >> Source/WebCore/rendering/svg/RenderSVGResourceFilter.cpp:157 >> + auto hostWindow = renderer.view().frameView().root() ? renderer.view().frameView().root()->hostWindow() : nullptr; > > (I see this fragment so often that I wonder if createImageBuffer functions should take the renderer as an argument instead of the host window.) Or just a hostWindow helper function so there’s not a separate line of code every time.
Created attachment 446656 [details] Patch
Committed r286835 (245068@main): <https://commits.webkit.org/245068@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 446656 [details].
<rdar://problem/86310865>