Open Bug 984759 Opened 10 years ago Updated 2 years ago

Apply high quality downscaling for dowsampled image when CPU is idling.

Categories

(Core :: Graphics: ImageLib, enhancement)

All
Gonk (Firefox OS)
enhancement

Tracking

()

People

(Reporter: kanru, Unassigned)

References

Details

(Keywords: perf)

+++ This bug was initially created as a clone of Bug #945161 +++

In order to get a high quality downscaled image, we have to

0. Wait until CPU is idling.
1. Decode again the image to larger size, preferably the original size if memory is available.
2. Use Skia to do high quality downscaling.
This is an enhancement, not a blocker. But nice to have.
(In reply to Andreas Gal :gal from comment #1)
> This is an enhancement, not a blocker. But nice to have.

Yes!
No longer blocks: 128RAM, 983050, 983051, 983056
Severity: normal → enhancement
Is the down-sampling running on the main thread?
(In reply to Thinker Li [:sinker] from comment #3)
> Is the down-sampling running on the main thread?

It's off the main thread. Actually it uses the decoder thread pool.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.