Closed
Bug 1921981
Opened 1 year ago
Closed 1 year ago
Correctly handle the position and size of the snapshots
Categories
(Core :: Graphics: WebRender, task, P3)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
134 Branch
| Tracking | Status | |
|---|---|---|
| firefox134 | --- | fixed |
People
(Reporter: nical, Assigned: nical)
References
Details
(Whiteboard: [viewtransitions:m1:gfx])
Attachments
(1 file)
The size of a stacking context is loosely defined in the WebRender display list. To render the snapshot as an image the next display list needs to know the exact bounds of the snapshots in local/layout space to to size and position the image display item that shows it.
To handle this, we could specify the local bounds of the snapshot in the stacking context display item or in a separate API, store it in the picture and use it as the reference for how the rasterized content is sized and positioned, probably in a way similar to the blob image visible area.
Updated•1 year ago
|
Whiteboard: [viewtransitions:m1:gfx]
| Assignee | ||
Updated•1 year ago
|
Assignee: nobody → nical.bugzilla
Updated•1 year ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 1•1 year ago
|
||
Pushed by nsilva@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cbd6a4e86db4
Adjust the image primitive to compensate for the difference in the picture's rasterized area. r=gw
Comment 3•1 year ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox134:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 134 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•