Closed
Bug 1921981
Opened 2 months ago
Closed 8 days 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
(Blocks 1 open bug)
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 month ago
|
Whiteboard: [viewtransitions:m1:gfx]
Assignee | ||
Updated•15 days ago
|
Assignee: nobody → nical.bugzilla
Updated•15 days ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•8 days 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•8 days ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 days 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
•