Closed
Bug 863201
Opened 12 years ago
Closed 6 years ago
[B2G] [Settings] Images with alpha channel are slow to decode/paint
Categories
(Core :: Graphics, defect)
Core
Graphics
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: rik, Unassigned)
References
Details
In bug 840627, we discovered that using section logos with alpha channel was taking 180ms more on startup than using the same logos without an alpha channel. Because of that, we created two versions of those logos with the background hardcoded (inactive [1] and active state [2]). It's creating maintenance problems obviously but it also means decoding an extra sprite when the user taps a section.
Could we make those images with alpha channels faster?
[1] https://github.com/mozilla-b2g/gaia/blob/master/apps/settings/style/images/icons_sprite.gif
[2] https://github.com/mozilla-b2g/gaia/blob/master/apps/settings/style/images/icons_sprite_active.gif
Comment 1•12 years ago
|
||
(In reply to Anthony Ricaud (:rik) from comment #0)
>
> Could we make those images with alpha channels faster?
Can you profile the slow case?
Reporter | ||
Comment 2•12 years ago
|
||
I don't have a phone with the proper setup for profiling. But I've prepared a branch that has the alpha images. https://github.com/Rik/gaia/tree/settings-with-alpha-863201
Comment 4•6 years ago
|
||
Mass closing as we are no longer working on b2g/firefox os.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Comment 5•6 years ago
|
||
Mass closing as we are no longer working on b2g/firefox os.
You need to log in
before you can comment on or make changes to this bug.
Description
•