Closed Bug 1457154 Opened 8 years ago Closed 8 years ago

WR: emoji (color glyph) transparency is broken again

Categories

(Core :: Graphics: WebRender, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox-esr52 --- unaffected
firefox-esr60 --- unaffected
firefox60 --- unaffected
firefox61 --- fixed

People

(Reporter: Gankra, Assigned: lsalzman)

References

Details

(Keywords: regression)

Attachments

(1 file)

See my canary on https://gankro.github.io/blah/webtests/text.html The "Fade - Shadow - Blur" canary is supposed to have a series of increasingly transparent emoji, but it doesn't.
I've verified it's broken on linux and windows, haven't tried mac yet.
mozregression --good 2017-08-15 --bad 2018-04-26 --pref layers.acceleration.force-enabled:true gfx.webrender.enabled:true gfx.webrendest.enabled:true gfx.webrender.layers-free:true gfx.webrender.blob-images:true image.mem.shared:true layout.display-list.retain:false startup.homepage_welcome_url:'https://gankro.github.io/blah/webtests/text.html' > 11:52.86 INFO: Last good revision: 834821ca057915b9458ad7c76a130da4c2b59782 > 11:52.86 INFO: First bad revision: 564959d26e8db243ded3d57380842620e60e89e7 > 11:52.86 INFO: Pushlog: > https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=834821ca057915b9458ad7c76a130da4c2b59782&tochange=564959d26e8db243ded3d57380842620e60e89e7 > 564959d26e8d Alexis Beingessner — Bug 1357545 - handle text-shadows/decorations with webrender (layers-free) r=jrmuizel
I think you picked a too wide range, we break this all the time, and it was definitely working a week or two ago.
bad: 2018-03-01, 2018-03-05, 2018-03-10, 2018-03-15, 2018-03-20, 2018-03-25, 2018-03-30, 2018-03-31 > for i in {1..25}; do mozregression --launch 2018-04-${i} --pref gfx.webrender.all:true startup.homepage_welcome_url:'https://gankro.github.io/blah/webtests/text.html'; done All are bad. And bug 1358240 introduced a new emoji font.
Ah this is still working on mac, so I guess I didn't notice it broke a long time ago. hrm.
Color glyphs (used by some emoji fonts) are rendered as many overlapping single color glyphs. With transparency, the result needs to be buffered before it can be blended with the final opacity. We currently can't handle this in WR. For now, mark such text runs as unsupported so that they are handled by blob images instead.
Assignee: nobody → lsalzman
Status: NEW → ASSIGNED
Attachment #8973047 - Flags: review?(a.beingessner)
Attachment #8973047 - Flags: review?(a.beingessner) → review+
Pushed by lsalzman@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/693b1b3389fb use fallback for color glyphs with transparency in WR. r=gankro
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: