Closed
Bug 1728709
Opened 3 years ago
Closed 3 years ago
Add GetPaintRect alternative that uses current context
Categories
(Core :: Web Painting, task)
Core
Web Painting
Tracking
()
RESOLVED
FIXED
93 Branch
Tracking | Status | |
---|---|---|
firefox93 | --- | fixed |
People
(Reporter: mattwoodrow, Assigned: mattwoodrow)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
For cases where we have the display list builder, and a gfxContext (basically all Paint implementations), we can use GetClippedBounds of the item, plus GetClipExtents on the context to estimate what the building rect would have been.
Adding a helper for this, and moving all the obvious callers over to it will get us closer to being able to remove the building rect entirely.
Assignee | ||
Comment 1•3 years ago
|
||
Pushed by jmuizelaar@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/93f8701fc36d Add nsDisplayItem::GetPaintRect that computes a value using the current clip extents. r=jrmuizel
Comment 3•3 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 3 years ago
status-firefox93:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 93 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•