Closed Bug 1394711 Opened 2 years ago Closed 2 years ago

nsDisplayBackgroundImage should check layer state to create webrender commands

Categories

(Core :: Graphics: WebRender, enhancement)

enhancement
Not set

Tracking

()

RESOLVED FIXED
mozilla57
Tracking Status
firefox57 --- fixed

People

(Reporter: ethlin, Assigned: ethlin)

References

Details

Attachments

(1 file)

We should check layer state at [1]. Currently background image is default on in layers-free mode. This makes the two different kinds of try failures mixed.

[1] https://dxr.mozilla.org/mozilla-central/rev/d10c97627b51a226e19d0fa801201897fe1932f6/layout/painting/nsDisplayList.cpp#3599
Comment on attachment 8902127 [details]
Bug 1394711 - nsDisplayBackgroundImage should check layer state to create webrender commands.

https://reviewboard.mozilla.org/r/173574/#review179014
Attachment #8902127 - Flags: review?(bugmail) → review+
Pushed by ethlin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/47914cdf92a5
nsDisplayBackgroundImage should check layer state to create webrender commands. r=kats
https://hg.mozilla.org/mozilla-central/rev/47914cdf92a5
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in before you can comment on or make changes to this bug.