Closed Bug 980037 Opened 10 years ago Closed 10 years ago

Store scaled images in volatile buffers

Categories

(Core :: Graphics: ImageLib, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla30
blocking-b2g 1.3T+
Tracking Status
b2g-v1.3T --- fixed

People

(Reporter: mwu, Assigned: mwu)

References

Details

Attachments

(2 files)

      No description provided.
Attachment #8386316 - Flags: review?(seth)
blocking-b2g: --- → 1.3T?
Hi Michael, do you have any idea how much RAM/perf will be improved by this? thanks.
Flags: needinfo?(mwu)
Assignee: nobody → mwu
blocking-b2g: 1.3T? → 1.3+
Why was this marked 1.3+? Was that by accident or intentional?
Flags: needinfo?(fabrice)
Comment on attachment 8386316 [details] [diff] [review]
Store scaled images in volatile buffers

Review of attachment 8386316 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good.
Attachment #8386316 - Flags: review?(seth) → review+
My bad, wrong flag.
blocking-b2g: 1.3+ → 1.3T+
Flags: needinfo?(fabrice)
(In reply to Steven Yang [:styang] from comment #1)
> Hi Michael, do you have any idea how much RAM/perf will be improved by this?
> thanks.

This one primarily affects websites where we scale larger images down to fit the screen. It allows the scaled down version to also be thrown away under memory pressure. It's basically an improvement on bug 962670. I don't expect it to help as much as bug 962670, but it should have similar effects when we do generate scaled down images.
Flags: needinfo?(mwu)
https://hg.mozilla.org/mozilla-central/rev/e09f4b94cf29
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
Here's a v1.3t version of the patch.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: