Closed
Bug 1413526
Opened 7 years ago
Closed 7 years ago
retained display lists don't check process types consistently
Categories
(Core :: Web Painting, enhancement)
Core
Web Painting
Tracking
()
RESOLVED
FIXED
mozilla58
Tracking | Status | |
---|---|---|
firefox58 | --- | fixed |
People
(Reporter: bkelly, Assigned: mikokm)
References
Details
Attachments
(1 file)
It seems currently some retained display list work is skipped here based on process type:
https://searchfox.org/mozilla-central/source/layout/generic/nsFrame.cpp#974
This is to avoid running the display list logic in the parent process in e10s mode. It also, though, disables the logic for all frames in non-e10s mode.
Meanwhile other retained display list logic runs regardless of process type in other places:
https://searchfox.org/mozilla-central/source/layout/base/nsLayoutUtils.cpp#3659
The feature should probably be uniformly disabled in the same processes throughout.
Also, it would be very nice if we could use this feature in fennec which runs in non-e10s mode. To do that and still avoid the parent process in e10s mode you can do something like this:
if (BrowserTabsRemoteAutostart() && !XRE_IsContentProcess()) {
return
}
Basically, only check the process type if e10s is enabled.
Assignee | ||
Comment 1•7 years ago
|
||
Thank you for the report. I think we can avoid doing some unnecessary display port related bookkeeping with this.
Assignee: nobody → mikokm
Status: NEW → ASSIGNED
Assignee | ||
Updated•7 years ago
|
See Also: → android-rdl
Comment hidden (mozreview-request) |
Comment 3•7 years ago
|
||
mozreview-review |
Comment on attachment 8924366 [details]
Bug 1413526 - Only create retained display list builder for content processes
https://reviewboard.mozilla.org/r/195620/#review200770
Attachment #8924366 -
Flags: review?(matt.woodrow) → review+
Pushed by mikokm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/c40a09c9790e
Only create retained display list builder for content processes r=mattwoodrow
Comment 5•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox58:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
Updated•6 years ago
|
Blocks: android-rdl
Updated•6 years ago
|
See Also: android-rdl →
You need to log in
before you can comment on or make changes to this bug.
Description
•