Closed Bug 1395098 Opened 7 years ago Closed 7 years ago

Folded-down text opacity not respected with webrender (both layers + layers-free affected)

Categories

(Core :: Graphics: WebRender, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla57
Tracking Status
firefox57 --- fixed

People

(Reporter: mstange, Assigned: Gankra)

References

Details

Attachments

(2 files)

Attached file testcase
The text in this testcase should be almost invisible. With WebRender it's painted with the full black color. I think this happens because the call to nsDisplayText::ApplyOpacity is effectively ignored when WebRender is used, because RenderToContext() (which records the text drawing commands) runs during the nsDisplayText constructor, at which point the folded-down opacity is not yet known.
Assignee: nobody → a.beingessner
Blocks: 1392723
Comment on attachment 8902780 [details] Bug 1395098 - Apply folded alpha to text when using advanced layers https://reviewboard.mozilla.org/r/174446/#review179608
Attachment #8902780 - Flags: review?(jmuizelaar) → review+
Keywords: checkin-needed
Pushed by ryanvm@gmail.com: https://hg.mozilla.org/integration/autoland/rev/7663f58bcf96 Apply folded alpha to text when using advanced layers r=jrmuizel
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: