Closed
Bug 1439960
Opened 6 years ago
Closed 6 years ago
Remove DisplayItemLayer
Categories
(Core :: Graphics: Layers, enhancement, P3)
Core
Graphics: Layers
Tracking
()
RESOLVED
FIXED
mozilla61
Tracking | Status | |
---|---|---|
firefox61 | --- | fixed |
People
(Reporter: rhunt, Assigned: rhunt)
References
Details
(Whiteboard: [gfx-noted])
Attachments
(2 files)
Now that layers-full webrender has been removed, DisplayItemLayer should be unused.
Comment hidden (mozreview-request) |
Comment 2•6 years ago
|
||
mozreview-review |
Comment on attachment 8952744 [details] Remove DisplayItemLayer and corresponding layers.advanced prefs. (bug 1439960, ) https://reviewboard.mozilla.org/r/221978/#review228470 ::: layout/painting/nsDisplayList.cpp:4935 (Diff revision 1) > const StackingContextHelper& aSc, > mozilla::layers::WebRenderLayerManager* aManager, > nsDisplayListBuilder* aDisplayListBuilder) > { > ContainerLayerParameters parameter; > if (GetLayerState(aDisplayListBuilder, aManager, parameter) != LAYER_ACTIVE) { You're changing behavior here. There might be more implementations of CreateWebRenderCommands that call GetLayerState; you'll probably need to move the relevant checks from GetLayerState to CreateWebRenderCommands for all of them.
Attachment #8952744 -
Flags: review?(mstange)
Comment hidden (mozreview-request) |
Assignee | ||
Comment 4•6 years ago
|
||
Comment on attachment 8952744 [details] Remove DisplayItemLayer and corresponding layers.advanced prefs. (bug 1439960, ) https://treeherder.mozilla.org/#/jobs?repo=try&revision=eb91b80515941e1e940a8ec937e86735ee6ba69e There's still some reftest failures here on the retrigger, I'm not able to reproduce it locally so I'll continue investigating.
Attachment #8952744 -
Flags: review?(mstange)
Assignee | ||
Comment 5•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=81786dcf770b59b8ed146e74032b776739bc0937 Green. The problem was in the removal of a call to GetLayerState from nsDisplayBackgroundImage, causing us to not request the image container with SYNC_DECODE when we need to.
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 8•6 years ago
|
||
mozreview-review |
Comment on attachment 8960755 [details] Respect SYNC_DECODE when deciding to use Webrender for nsDisplayBackgroundImage. (bug 1439960, ) https://reviewboard.mozilla.org/r/229496/#review235222 ::: layout/painting/nsCSSRendering.cpp:2057 (Diff revision 1) > nsCSSRendering::CanBuildWebRenderDisplayItemsForStyleImageLayer(LayerManager* aManager, > nsPresContext& aPresCtx, > nsIFrame *aFrame, > const nsStyleBackground* aBackgroundStyle, > - int32_t aLayer) > + int32_t aLayer, > + uint32_t mPaintFlags) rename to aPaintFlags
Attachment #8960755 -
Flags: review?(mstange) → review+
Comment 9•6 years ago
|
||
mozreview-review |
Comment on attachment 8952744 [details] Remove DisplayItemLayer and corresponding layers.advanced prefs. (bug 1439960, ) https://reviewboard.mozilla.org/r/221978/#review235226 Nice!
Attachment #8952744 -
Flags: review?(mstange) → review+
Comment 10•6 years ago
|
||
Pushed by rhunt@eqrion.net: https://hg.mozilla.org/integration/mozilla-inbound/rev/e6bd6ebc8597 Remove DisplayItemLayer and corresponding layers.advanced prefs. (bug 1439960, r=mstange) https://hg.mozilla.org/integration/mozilla-inbound/rev/c8d6b0fa1447 Respect SYNC_DECODE when deciding to use Webrender for nsDisplayBackgroundImage. (bug 1439960, r=mstange)
Comment 11•6 years ago
|
||
Pushed by rhunt@eqrion.net: https://hg.mozilla.org/integration/mozilla-inbound/rev/b8057c06fc4c Fix unified build bustage for missing include. (bug 1439960, r=me) on a CLOSED TREE
Comment 12•6 years ago
|
||
Backed out for build bustages on APZInputBridgeChild.cpp and FrameBuilder.cpp Push with failures: https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&filter-resultStatus=testfailed&filter-resultStatus=busted&filter-resultStatus=exception&fromchange=c8d6b0fa14478a42379e2314eb7ce3783a09d9f6&tochange=b8057c06fc4c3e0943dc77fd897318c1000bfae2&selectedJob=169287275 Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=169287275&repo=mozilla-inbound&lineNumber=18264 https://treeherder.mozilla.org/logviewer.html#?job_id=169293310&repo=mozilla-inbound Backout link: https://hg.mozilla.org/integration/mozilla-inbound/rev/d732294871dc34b0481c40200691e29f7c8c0292
Flags: needinfo?(rhunt)
Assignee | ||
Comment 13•6 years ago
|
||
Try run with the fix for the unified bustage. https://treeherder.mozilla.org/#/jobs?repo=try&revision=67f088dd915d12dfc48a826e79c24518f5108f14
Flags: needinfo?(rhunt)
Comment 14•6 years ago
|
||
Pushed by rhunt@eqrion.net: https://hg.mozilla.org/integration/mozilla-inbound/rev/62432cc896ee Remove DisplayItemLayer and corresponding layers.advanced prefs. (bug 1439960, r=mstange) https://hg.mozilla.org/integration/mozilla-inbound/rev/19ad67bba591 Respect SYNC_DECODE when deciding to use Webrender for nsDisplayBackgroundImage. (bug 1439960, r=mstange)
Comment 15•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/62432cc896ee https://hg.mozilla.org/mozilla-central/rev/19ad67bba591
Status: NEW → 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
•