Closed Bug 1006883 Opened 10 years ago Closed 9 years ago

Send an event to reftests when high quality downscaled version of an image is available

Categories

(Core :: Graphics: ImageLib, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: dholbert, Unassigned)

Details

Right now, we can't reliably reftest high quality downscaling, because the high quality downscaled version is only available after some delay (during which time we paint a "low quality downscaled" version), and we can't predict when it will be available.

We should fire an event when the HQ downscaled version is available, so that reftests can postpone their reftest snapshot until that version is painted.  Similar to MozReftestInvalidate, this should probably *only* happen in the reftest harness; it shouldn't be web-exposed.

(Perhaps we could fire an "MozReftestHQBeginDownscaling" event when we start the downscale operation, so that the reftest would know that it should wait, and then "MozReftestHQEndDownscaling" when it's done. Probably with better names than those.)
OS: Linux → All
Hardware: x86_64 → All
Another option would be to send a imgINotificationObserver notification.
I'm going to WONTFIX this because downscale-during-decode will make it irrelevant. Since downscale-during-decode doesn't involve a separate async scaling task, there's no need for this notification.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.