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)
Core
Graphics: Layers
Tracking
()
RESOLVED
FIXED
mozilla49
Tracking | Status | |
---|---|---|
firefox49 | --- | fixed |
People
(Reporter: jnicol, Assigned: jnicol)
References
Details
Attachments
(2 files)
58 bytes,
text/x-review-board-request
|
mstange
:
review+
|
Details |
5.89 KB,
patch
|
Details | Diff | Splinter Review |
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.
Assignee | ||
Comment 1•9 years ago
|
||
This reverts bug 1231818, as it caused problems with async scrolling on
pages with too many active layers.
Review commit: https://reviewboard.mozilla.org/r/54252/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/54252/
Attachment #8754812 -
Flags: review?(mstange)
Comment 2•9 years ago
|
||
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+
Assignee | ||
Comment 3•9 years ago
|
||
Try run: https://treeherder.mozilla.org/#/jobs?repo=try&revision=ea8be6ebceca9031cef2e4519cd3916a0dcbe980
requesting checkin please
Keywords: checkin-needed
Comment 4•9 years ago
|
||
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
Assignee | ||
Comment 5•9 years ago
|
||
That was a wee bit old, I rebased before the try push but didn't upload the new patch. This one should work.
Assignee | ||
Updated•9 years ago
|
Flags: needinfo?(jnicol)
Keywords: checkin-needed
Keywords: checkin-needed
Comment 7•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox49:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
You need to log in
before you can comment on or make changes to this bug.
Description
•