RESOLVED FIXED 233989
[GPU Process] [Filters] Enable Filter rendering in GPU Process
https://bugs.webkit.org/show_bug.cgi?id=233989
Summary [GPU Process] [Filters] Enable Filter rendering in GPU Process
Said Abou-Hallawa
Reported 2021-12-08 00:00:43 PST
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.
Attachments
Patch (4.92 KB, patch)
2021-12-08 00:02 PST, Said Abou-Hallawa
no flags
Patch (10.63 KB, patch)
2021-12-09 13:16 PST, Said Abou-Hallawa
heycam: review+
Patch (13.48 KB, patch)
2021-12-09 20:14 PST, Said Abou-Hallawa
no flags
Said Abou-Hallawa
Comment 1 2021-12-08 00:02:03 PST
Said Abou-Hallawa
Comment 2 2021-12-08 12:46:34 PST
I will make this bug enables CSSFilter and SVGFilter in GPUProcess.
Said Abou-Hallawa
Comment 3 2021-12-08 12:48:19 PST
*** Bug 234027 has been marked as a duplicate of this bug. ***
Said Abou-Hallawa
Comment 4 2021-12-09 13:16:39 PST
Cameron McCormack (:heycam)
Comment 5 2021-12-09 13:26:09 PST
Does bug 234099 (blocking this one) need to be done before this one?
Cameron McCormack (:heycam)
Comment 6 2021-12-09 14:26:10 PST
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.)
Darin Adler
Comment 7 2021-12-09 14:54:27 PST
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.
Said Abou-Hallawa
Comment 8 2021-12-09 20:14:28 PST
EWS
Comment 9 2021-12-10 00:12:37 PST
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].
Radar WebKit Bug Importer
Comment 10 2021-12-10 00:13:21 PST
Note You need to log in before you can comment on or make changes to this bug.