WR SVG filters: Lay the groundwork for natively rendering SVG filters, part 1
Categories
(Core :: Graphics: WebRender, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox127 | --- | fixed |
People
(Reporter: ahale, Assigned: ahale)
References
(Blocks 2 open bugs)
Details
Attachments
(5 files, 2 obsolete files)
Start building a new infrastructure for WR native rendering of SVG filter effects so that we can do completely native support with named inputs and outposts, this will also mean starting to implement CSS filters with similar capabilities in case they are mixed.
Assignee | ||
Comment 1•2 years ago
|
||
filters implementation r?gwx
Updated•1 year ago
|
Updated•1 year ago
|
Assignee | ||
Comment 2•1 year ago
|
||
Updated•1 year ago
|
Updated•1 year ago
|
Assignee | ||
Comment 3•1 year ago
|
||
I've been iterating on test cases for filter regions larger than the primitives they derive from, which seems to result in scaling down the image and should not.
Assignee | ||
Comment 4•1 year ago
|
||
Assignee | ||
Comment 5•1 year ago
|
||
Assignee | ||
Comment 6•11 months ago
|
||
Enabling the newly implemented gaussian blur in my diff causes this persistent corruption of the whole page when I refresh the page with web developer tools open, it stays corrupted if I close the web developer tools and refresh the page, but duplicating the tab gives me a clean render again, until I refresh. Weird bug.
Assignee | ||
Comment 7•10 months ago
•
|
||
Status: With significant refactoring (again, and again, and again) in D174208 I have resolved the positioning issues with subregions by consistently transforming to SVG's concept of User Space on the Gecko side, and am working on the last few test failures. When this lands it will resolve some dozen or so bugs (including 2 WPT tests and a couple reftests).
Assignee | ||
Comment 8•6 months ago
|
||
Comment 10•6 months ago
|
||
Backed out for causing wrench failures
Backout link: https://hg.mozilla.org/integration/autoland/rev/d7939f8694c6b6a04bfadbc1bcccb4af1cb1739f
Granting important runtime permissions to org.mozilla.wrench
[task 2024-05-08T05:17:55.870Z] Unable to grant runtime permission android.permission.READ_EXTERNAL_STORAGE to org.mozilla.wrench due to args: adb wait-for-device shell pm grant org.mozilla.wrench android.permission.READ_EXTERNAL_STORAGE, exitcode: 255, stdout:
[task 2024-05-08T05:17:55.870Z] Exception occurred while executing 'grant':
[task 2024-05-08T05:17:55.870Z] java.lang.SecurityException: Package org.mozilla.wrench has not requested permission android.permission.READ_EXTERNAL_STORAGE
[task 2024-05-08T05:17:55.870Z] at com.android.server.pm.permission.PermissionManagerServiceImpl.grantRuntimePermissionInternal(PermissionManagerServiceImpl.java:1404)
[task 2024-05-08T05:17:55.870Z] at com.android.server.pm.permission.PermissionManagerServiceImpl.grantRuntimePermission(PermissionManagerServiceImpl.java:1319)
[task 2024-05-08T05:17:55.870Z] at com.android.server.pm.permission.PermissionManagerService.grantRuntimePermission(PermissionManagerService.java:547)
[task 2024-05-08T05:17:55.870Z] at android.permission.PermissionManager.grantRuntimePermission(PermissionManager.java:597)
[task 2024-05-08T05:17:55.870Z] at com.android.server.pm.PackageManagerShellCommand.runGrantRevokePermission(PackageManagerShellCommand.java:2546)
[task 2024-05-08T05:17:55.870Z] at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:292)
[task 2024-05-08T05:17:55.870Z] at com.android.modules.utils.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:97)
[task 2024-05-08T05:17:55.870Z] at android.os.ShellCommand.exec(ShellCommand.java:38)
[task 2024-05-08T05:17:55.870Z] at com.android.server.pm.PackageManagerService$IPackageManagerImpl.onShellCommand(PackageManagerService.java:5954)
[task 2024-05-08T05:17:55.870Z] at android.os.Binder.shellCommand(Binder.java:1049)
[task 2024-05-08T05:17:55.870Z] at android.os.Binder.onTransact(Binder.java:877)
[task 2024-05-08T05:17:55.870Z] at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:4313)
[task 2024-05-08T05:17:55.870Z] at com.android.server.pm.PackageManagerService$IPackageManagerImpl.onTransact(PackageManagerService.java:5938)
[task 2024-05-08T05:17:55.870Z] at android.os.Binder.execTransactInternal(Binder.java:1285)
[task 2024-05-08T05:17:55.870Z] at android.os.Binder.execTransact(Binder.java:1244)
[task 2024-05-08T05:17:55.870Z] Unable to grant runtime permission android.permission.ACCESS_COARSE_LOCATION to org.mozilla.wrench due to args: adb wait-for-device shell pm grant org.mozilla.wrench android.permission.ACCESS_COARSE_LOCATION, exitcode: 255, stdout:
[task 2024-05-08T05:17:55.870Z] Exception occurred while executing 'grant':
[task 2024-05-08T05:17:55.870Z] java.lang.SecurityException: Package org.mozilla.wrench has not requested permission android.permission.ACCESS_COARSE_LOCATION
[task 2024-05-08T05:17:55.870Z] at com.android.server.pm.permission.PermissionManagerServiceImpl.grantRuntimePermissionInternal(PermissionManagerServiceImpl.java:1404)
Assignee | ||
Comment 11•6 months ago
|
||
I've tweaked the fuzzy values on the two new tests I added that seem to run into antialiased edge issues on android, antialiasing isn't the subject of the functionality being tested (the tests are for large-scale positioning of elements on the page being done correctly), and I have added the android test jobs to my current try run for the patch, but it's been going for over an hour without results so far, so I do not know yet if my changes fixed the tests.
Comment 12•6 months ago
|
||
Assignee | ||
Comment 13•6 months ago
•
|
||
Tests are green on those android devices, so I am attempting to land D209646 again. This doesn't bring any new user-visible features, but may cause a slight performance regression due to the WebRender FilterOp struct becoming larger, talos tests that I ran previously showed it wasn't very notable.
The bigger patch is D174208 which is still a work in progress as I address test failures (which only appeared after rebasing recently), it will be the user-visible part of this, but initially only enabled in Nightly channel, for that I'll need to add release notes.
Updated•6 months ago
|
Comment 14•6 months ago
|
||
bugherder |
Updated•6 months ago
|
Updated•6 months ago
|
Comment 15•6 months ago
|
||
Please file a follow-up bug for further work. leave-open bugs make it hard to track uplifts and regressions.
You can move phabricator patches to different bugs just by changing the bug number in the commit message and re-submitting; all comments and review states will be kept.
Updated•6 months ago
|
Comment 16•6 months ago
|
||
Comment on attachment 9326171 [details]
Bug 1896503 - Implement FilterInstance code to send SVG filter graph to WebRender
Revision D174208 was moved to bug 1896503. Setting attachment 9326171 [details] to obsolete.
Updated•6 months ago
|
Updated•1 month ago
|
Description
•