Closed Bug 734089 Opened 12 years ago Closed 12 years ago

Don't set content.image.allow_locking to false on Fennec

Categories

(Firefox for Android Graveyard :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 691169

People

(Reporter: justin.lebar+bug, Assigned: justin.lebar+bug)

References

Details

Attachments

(2 files)

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.
> 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: nobody → justin.lebar+bug
Blocks: 732820
This is covered by bug 691169. They did this on purpose to save memory at the expense of flickering.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
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)
Attachment #604074 - Flags: review?(joe)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: