Closed
Bug 1391996
Opened 7 years ago
Closed 7 years ago
webrendest: regression: text is partially invisible on about:preferences, about:crashes etc.
Categories
(Core :: Graphics: WebRender, defect, P3)
Tracking
()
VERIFIED
FIXED
mozilla57
Tracking | Status | |
---|---|---|
firefox-esr52 | --- | unaffected |
firefox55 | --- | unaffected |
firefox56 | --- | disabled |
firefox57 | --- | fixed |
People
(Reporter: jan, Assigned: ethlin)
References
Details
(Keywords: nightly-community, regression, Whiteboard: [gfx-noted])
Attachments
(2 files)
Nightly 57 x64 20170819100442 @ Debian Testing > mozregression --good 2017-08-18 --bad 2017-08-19 --profile-persistence clone-first > [...] > 9:11.06 INFO: Last good revision: 834821ca057915b9458ad7c76a130da4c2b59782 > 9:11.06 INFO: First bad revision: 564959d26e8db243ded3d57380842620e60e89e7 > 9:11.06 INFO: Pushlog: > https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=834821ca057915b9458ad7c76a130da4c2b59782&tochange=564959d26e8db243ded3d57380842620e60e89e7 https://mozillagfx.wordpress.com/2017/08/16/webrender-newsletter-1/ > layers.async-pan-zoom.enabled;false > gfx.webrender.enabled;true > gfx.webrendest.enabled;true > gfx.webrender.layers-free;true > gfx.webrender.blob-images;true > layers.acceleration.force-enabled;true I think enabling webrender+webrendest are sufficient for showing this regression.
Reporter | ||
Comment 2•7 years ago
|
||
Confirmed in Nightly 57 x64 20170819100442 @ Windows 10. Same settings, except gfx.webrender.blob-images: It has to be false, otherwise the window is white inside.
OS: Linux → All
Comment 3•7 years ago
|
||
Alexis, can you look into this? The regression window points to your change.
Severity: major → normal
Flags: needinfo?(a.beingessner)
Priority: -- → P3
Whiteboard: [gfx-noted]
Comment 4•7 years ago
|
||
The culprit is this check at the start of nsDisplayText::CreateWebRenderCommands if (aManager->IsLayersFreeTransaction()) { ContainerLayerParameters parameter; if (GetLayerState(aDisplayListBuilder, aManager, parameter) != LAYER_ACTIVE) { return false; } } Commenting it out makes all the text properly render. We seem to always do this check in all the CreateWebRenderCommands methods, so I'm not really sure what it's doing or why it might fail. Not sure how to proceed.
Flags: needinfo?(a.beingessner)
Updated•7 years ago
|
Flags: needinfo?(ethlin)
Assignee | ||
Comment 5•7 years ago
|
||
(In reply to Alexis Beingessner [:Gankro] from comment #4) > The culprit is this check at the start of > nsDisplayText::CreateWebRenderCommands > > if (aManager->IsLayersFreeTransaction()) { > ContainerLayerParameters parameter; > if (GetLayerState(aDisplayListBuilder, aManager, parameter) != > LAYER_ACTIVE) { > return false; > } > } > > Commenting it out makes all the text properly render. > > We seem to always do this check in all the CreateWebRenderCommands methods, > so I'm not really sure what it's doing or why it might fail. Not sure how to > proceed. I think the problem is because we suppose having 'mTextDrawer' means we could create WR commands / having text layer, so we check 'mTextDrawer' in some places, e.g.: 'nsDisplayText::TryMerge'[1]. But it doesn't match the rules in nsDisplayText::GetLayerState. We should unify the checks. [1] https://dxr.mozilla.org/mozilla-central/rev/7dddbd85047c6dc73ddbe1e423cd643a217845b3/layout/generic/nsTextFrame.cpp#5046
Assignee: nobody → ethlin
Flags: needinfo?(ethlin)
Comment hidden (mozreview-request) |
Assignee | ||
Comment 7•7 years ago
|
||
I also remove the check of XRE_IsParentProcess() in the patch since it looks like unnecessary.
Comment 8•7 years ago
|
||
mozreview-review |
Comment on attachment 8899345 [details] Bug 1391996 - Move some checks from nsDisplayText::GetLayerState to constructor to prevent ambiguous status. https://reviewboard.mozilla.org/r/170562/#review175922
Attachment #8899345 -
Flags: review?(jmuizelaar) → review+
Pushed by ethlin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/06cab6f76000 Move some checks from nsDisplayText::GetLayerState to constructor to prevent ambiguous status. r=jrmuizel
Comment 10•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/06cab6f76000
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
Reporter | ||
Comment 11•7 years ago
|
||
Verified fixed in Nightly 57 x64 20170823100553 @ Debian Testing.
Status: RESOLVED → VERIFIED
Updated•7 years ago
|
status-firefox55:
--- → unaffected
status-firefox56:
--- → disabled
status-firefox-esr52:
--- → unaffected
You need to log in
before you can comment on or make changes to this bug.
Description
•