Closed
Bug 1500575
Opened 7 years ago
Closed 7 years ago
Can we do better than blob images for some clip-paths?
Categories
(Core :: Graphics: WebRender, enhancement)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
mozilla65
Tracking | Status | |
---|---|---|
firefox65 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(2 files)
Bug 1500300 triggers a giant blob image as an image mask because the container has a fixed-position child underneath.
However it looks to me like we ough to be able to push a clip rect instead of a blob image, since the page is only using the inset() function.
I'm not familiar with all the clip-path setup in order to know whether the current behavior is just suboptimal or needed for correctness in some cases.
Markus, does the above sound reasonable?
Assignee | ||
Comment 2•7 years ago
|
||
Also, https://christopher-tierney.com/apotheke-la/ is a real-world page that would trigger this... I guess we should first measure once I get the tiled mask images landed.
Comment 3•7 years ago
|
||
It would be very valuable to optimize inset() clip paths into rectangle clips. There should be no difference from a correctness perspective. (It's possible that we currently don't pixel-snap inset() clips, so they might have blurry edges, but that's not a desirable result anyway.)
Flags: needinfo?(mstange)
Assignee | ||
Comment 5•7 years ago
|
||
Assignee | ||
Comment 6•7 years ago
|
||
Assignee: nobody → emilio
Status: NEW → ASSIGNED
Flags: needinfo?(emilio)
Assignee | ||
Updated•7 years ago
|
Flags: needinfo?(emilio)
Updated•7 years ago
|
Attachment #9019069 -
Attachment description: Bug 1500575 - [WIP] Map inset clip paths to WR complex clip regions. → Bug 1500575 - Map inset clip paths to WR complex clip regions.
Pushed by emilio@crisal.io:
https://hg.mozilla.org/integration/autoland/rev/9140cba9a8f8
Map inset clip paths to WR complex clip regions. r=kats
Assignee | ||
Updated•7 years ago
|
Flags: needinfo?(emilio)
Pushed by emilio@crisal.io:
https://hg.mozilla.org/integration/autoland/rev/bebe2e4eab25
De-fuzz another webrender test. r=me
Comment 9•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/9140cba9a8f8
https://hg.mozilla.org/mozilla-central/rev/bebe2e4eab25
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in
before you can comment on or make changes to this bug.
Description
•