flashing during animation
Categories
(Core :: Graphics: Color Management, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox88 | --- | unaffected |
firefox89 | --- | fixed |
firefox90 | --- | fixed |
firefox91 | --- | fixed |
People
(Reporter: tnikkel, Unassigned)
References
(Blocks 1 open bug, Regression, )
Details
(Keywords: regression)
Load https://weather.gc.ca/satellite/satellite_anim_e.html?sat=goes&area=wcan&type=1070 and click play.
Reporter | ||
Comment 1•3 years ago
|
||
We sync decode so macOS is doing some async when it color converts the surface to the screen or something?
Comment 2•3 years ago
|
||
Set release status flags based on info from the regressing bug 1701760
Updated•3 years ago
|
Updated•3 years ago
|
Comment 3•3 years ago
|
||
Jeff, is that something that needs fixing in the 89 timeframe?
Comment 4•3 years ago
|
||
We should probably just back out bug 1701760 from 89 to buy us more time.
Comment 5•3 years ago
|
||
89 fixed by backout of bug 1701760
Comment 6•3 years ago
|
||
Now also backed out from trunk (91) and beta (90).
Updated•3 years ago
|
Comment 7•1 year ago
|
||
This page appears to be drawing each image to a canvas while also having visible it in the DOM.
Comment 8•1 year ago
|
||
Setting image.decode-sync.enabled=true
makes the problem go away.
Comment 9•1 year ago
|
||
Timothy/Andrew, can either of you hypothesize what's happening here from imagelib's point of view? Is having decode requests with FLAG_DECODE_TO_SRGB_COLORSPACE set and unset messing with something that would otherwise prevent the flicker?
Reporter | ||
Comment 10•1 year ago
|
||
I think the page is using drawing to a canvas to force a sync decode of the image so that when they switch to it in the DOM it is decoded and there is no flash. After bug 1701760 we request SRGB and that means we store the decoded image for the canvas with the srgb flag, separately from the decoded image without the srgb flag in the surface cache. So when we draw to the screen we don't ask for the srgb image and we have to decode it anew.
Bug 1701760 is effectively removing the ability to use canvas.drawImage to sync decode an image that the author wants to draw to the screen using the normal dom drawing path.
Updated•1 year ago
|
Description
•