Closed Bug 1490938 Opened 2 years ago Closed 2 years ago

pass high quality scaling flag when we request decode of images

Categories

(Core :: ImageLib, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: tnikkel, Assigned: tnikkel)

Details

Attachments

(1 file)

If there is already a decoded copy of the image that is probably the size we wanted anyways.
Attachment #9008664 - Flags: review?(aosmond)
And the other reason is that if we dont pass the high quality scaling flag the resulting surface will get marked as cannot substitute, which is definitely not true.
Comment on attachment 9008664 [details] [diff] [review]
highqualeverything

Review of attachment 9008664 [details] [diff] [review]:
-----------------------------------------------------------------

Nice catch, LGTM.
Attachment #9008664 - Flags: review?(aosmond) → review+
Pushed by tnikkel@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/912ad8891041
Pass the high quality scaling flag when we request decode of images in most cases. r=aosmond
https://hg.mozilla.org/mozilla-central/rev/912ad8891041
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.