Ensure that shadows are correctly baked into VT snapshots
Categories
(Core :: Graphics: WebRender, task, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox136 | --- | fixed |
People
(Reporter: nical, Assigned: nical)
References
Details
(Whiteboard: [viewtransitions:m1:gfx])
Attachments
(1 file)
Normally, if the stacking context has drop shadows we would render the stacking context into an off-screen surface and render the blur under it in the parent picture.
To do this properly with view-transitions we need to either
- bake the shadows into the snapshot.
- add some info about effects such as shadows to the snapshot and draw the shadows whenever the snapshot's image is drawn.
I suspect that the former would be simpler.
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
I am concerned that getting this right will require the content side to be able to know the exact inflated bounds of the stacking context to account for the shadow and correctly position and size the image display item of the snapshot.
It may be simpler to implement on the display-list building side instead of WebRender, by snapshotting without the shadows and wrapping the snapshotted images with the shadows.
Updated•1 year ago
|
Updated•1 year ago
|
| Assignee | ||
Comment 2•1 year ago
|
||
Depends on D231939
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Comment 4•1 year ago
|
||
Backed out for causing WR bustages.
Backout link: https://hg.mozilla.org/integration/autoland/rev/89c1825a29bcfe5157d543b6425849a8627a6873
Push with failures: https://treeherder.mozilla.org/jobs?repo=autoland&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel&revision=03b773761f5d40ee501204a1d596c5dde90cb6f7
Failure log:
https://treeherder.mozilla.org/logviewer?job_id=490199534&repo=autoland&lineNumber=48237
Comment 6•1 year ago
|
||
| bugherder | ||
Description
•