Closed
Bug 1820709
Opened 2 years ago
Closed 2 years ago
fix image draw flags in nsImageFrame in a few places
Categories
(Core :: Layout: Images, Video, and HTML Frames, defect)
Core
Layout: Images, Video, and HTML Frames
Tracking
()
RESOLVED
FIXED
112 Branch
Tracking | Status | |
---|---|---|
firefox112 | --- | fixed |
People
(Reporter: tnikkel, Assigned: tnikkel)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
No description provided.
Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Assignee: nobody → tnikkel
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•2 years ago
|
||
This will mean we always pass FLAG_SYNC_DECODE_IF_FAST (unless we are already passing the sync decode flag). The fact that we weren't doing this already is an oversight, we want to do this for all images we paint on the normal painting path. However what makes this more important is that we folded nsImageBoxFrame into nsImageFrame recently (bug 1815229), and nsImageBoxFrame eagerly decodes all its images and keeps them decoded, and also uses FLAG_SYNC_DECODE_IF_FAST (because with multiple sized decodes eager decodes don't cover everything). So this should help us avoid regressing visually with xul images.
Assignee | ||
Updated•2 years ago
|
Severity: -- → S3
Pushed by tnikkel@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f0f5af685009
Make nsDisplayAltFeedback::CreateWebRenderCommands sync decode just like nsDisplayAltFeedback::Paint. r=emilio
Pushed by tnikkel@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8bfd8d7a043e
Make nsImageFrame use nsDisplayListBuilder::GetImageDecodeFlags. r=emilio
Comment 5•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f0f5af685009
https://hg.mozilla.org/mozilla-central/rev/8bfd8d7a043e
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox112:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 112 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•