Closed
Bug 734089
Opened 13 years ago
Closed 13 years ago
Don't set content.image.allow_locking to false on Fennec
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 691169
People
(Reporter: justin.lebar+bug, Assigned: justin.lebar+bug)
References
Details
Attachments
(2 files)
2.86 KB,
patch
|
Details | Diff | Splinter Review | |
3.85 KB,
patch
|
Details | Diff | Splinter Review |
When content.image.allow_locking is false, documents never lock their images. As a result, imagelib has no idea which images are visible and which aren't, and when it goes to discard decoded image data, it may decode data from a visible image.
I have no idea if this even works, but if it does, it means that we end up re-decoding that image when it's drawn, which will be slow.
We're working on being able to discard images on the active tab (bug 689623), but I am skeptical that content.image.allow_locking = false is a good approximation.
Assignee | ||
Comment 1•13 years ago
|
||
> and when it goes to discard decoded image data, it may decode data from a visible image.
"...it may *discard* data from a visible image"
Assignee | ||
Comment 2•13 years ago
|
||
Attachment #604073 -
Flags: review?(joe)
Assignee | ||
Comment 3•13 years ago
|
||
Attachment #604074 -
Flags: review?(joe)
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → justin.lebar+bug
Comment 4•13 years ago
|
||
This is covered by bug 691169. They did this on purpose to save memory at the expense of flickering.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Comment 5•13 years ago
|
||
Comment on attachment 604073 [details] [diff] [review]
Part 1: Don't set content.image.allow_locking = false on mobile.
I take the dupe to be an r- here.
Attachment #604073 -
Flags: review?(joe)
Assignee | ||
Updated•13 years ago
|
Attachment #604074 -
Flags: review?(joe)
You need to log in
before you can comment on or make changes to this bug.
Description
•