Closed Bug 1274528 Opened 9 years ago Closed 9 years ago

Don't enforce layers.max-active when layerizing items with different AGRs

Categories

(Core :: Graphics: Layers, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla49
Tracking Status
firefox49 --- fixed

People

(Reporter: jnicol, Assigned: jnicol)

References

Details

Attachments

(2 files)

In bug 1231818 it was made so that when the max layer limit is reached we attempt to use an existing layer with the item's ancestor AGR instead of creating a layer for the item's correct AGR. This breaks async scrolling on pages with many active layers. (See bug 1252711) The reason for making that change was to try and control memory usage. I don't think it made a difference. In fact, this change has made things worse in some cases, as in order to have fewer layers we end up with bigger layers which change size more often. The specific website which prompted that change will now layerize much better anyway, due to bug 1243589 and bug 1247554. I propose we revert this change.
Comment on attachment 8754812 [details] MozReview Request: Bug 1274528 - Don't enforce layers.max-active when layerizing items with different AGRs; r?mstange https://reviewboard.mozilla.org/r/54252/#review50942
Attachment #8754812 - Flags: review?(mstange) → review+
seems has problems to apply, could you take a look ? thanks! applying 0f820cd1b448 patching file layout/base/FrameLayerBuilder.cpp Hunk #5 FAILED at 4190 1 out of 5 hunks FAILED -- saving rejects to file layout/base/FrameLayerBuilder.cpp.rej
Flags: needinfo?(jnicol)
Keywords: checkin-needed
Attached patch rebased patchSplinter Review
That was a wee bit old, I rebased before the try push but didn't upload the new patch. This one should work.
Flags: needinfo?(jnicol)
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
Depends on: 1502334
No longer depends on: 1502334
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: