Closed
Bug 1440690
Opened 6 years ago
Closed 6 years ago
Don't build WebRender display list if the gecko display list hasn't changed
Categories
(Core :: Graphics: WebRender, enhancement, P1)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
mozilla61
Tracking | Status | |
---|---|---|
firefox61 | --- | fixed |
People
(Reporter: jrmuizel, Assigned: mikokm)
References
Details
Attachments
(1 file)
This is the webrender analog to bug 1429932.
Assignee | ||
Comment 2•6 years ago
|
||
It seems nsDisplayList::PaintRoot() needs to somehow handle nsDisplayList::PAINT_IDENTICAL_DISPLAY_LIST from aFlags, and skip the call/propagate the flag to wrManager->EndTransactionWithoutLayer(). I am not very familiar with this code, so I do not know what the graceful way of skipping this step is, but I can give it a look.
Flags: needinfo?(mikokm)
Updated•6 years ago
|
Blocks: stage-wr-nightly
Priority: -- → P1
Comment 3•6 years ago
|
||
It looks like the WR equivalent should be pretty much the same as the non-WR code. That is, you'll want to check for the flag just before [1] and then call WebRenderLayerManager::EndEmptyTransaction [2]. The code in the WR branch of PaintRoot was modeled after the existing code in the non-WR branch and should follow the pattern pretty closely. [1] https://searchfox.org/mozilla-central/rev/14d933246211b02f5be21d2e730a57cf087c6606/layout/painting/nsDisplayList.cpp#2670 [2] https://searchfox.org/mozilla-central/rev/14d933246211b02f5be21d2e730a57cf087c6606/gfx/layers/wr/WebRenderLayerManager.cpp#189
Reporter | ||
Updated•6 years ago
|
Assignee: nobody → mikokm
Assignee | ||
Updated•6 years ago
|
Status: NEW → ASSIGNED
Comment hidden (mozreview-request) |
Comment 5•6 years ago
|
||
mozreview-review |
Comment on attachment 8966264 [details] Bug 1440690 - Don't build WebRender display list if the gecko display list hasn't changed https://reviewboard.mozilla.org/r/235008/#review240638 ::: layout/painting/nsDisplayList.cpp:2627 (Diff revision 1) > return nullptr; > } > } > } > > + bool temp = Let's rename "temp" to something better since we're increasing the distance from definition to use.
Attachment #8966264 -
Flags: review?(bugmail) → review+
Comment hidden (mozreview-request) |
Pushed by mikokm@gmail.com: https://hg.mozilla.org/integration/autoland/rev/a4af53b3f62d Don't build WebRender display list if the gecko display list hasn't changed r=kats
Comment 8•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a4af53b3f62d
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox61:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in
before you can comment on or make changes to this bug.
Description
•