Bugzilla comment with lots of emojis checkerboards quite bad while scrolling (and is fixed with COLR disabled)
Categories
(Core :: Graphics: Text, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox124 | --- | fixed |
People
(Reporter: mayankleoboy1, Assigned: jfkthame)
References
(Regressed 1 open bug, )
Details
Attachments
(3 files)
Go to https://bugzilla.mozilla.org/show_bug.cgi?id=1492605
Scroll down.
AR: as you scroll down, the first comment ha lots of emojis. The page will checkerboard.
ER: Not so
COLR enabled: https://share.firefox.dev/48GJRH0
COLR disabled: https://share.firefox.dev/3SrrHDm
Chrome does not checkerboard.
Reporter | ||
Comment 1•1 year ago
|
||
This is probably a known "rendering lots of COLR stuff is currently slower in Firefox" issue. Feel free to dupe to existing bugs.
Assignee | ||
Comment 2•1 year ago
|
||
This does not change behavior for users; it is preparation for the
following patch, which will want the ability to hold an additional
strong reference to a resolved palette. So we can no longer just own it
via a UniquePtr; we make it a RefPtr instead.
Updated•1 year ago
|
Assignee | ||
Comment 3•1 year ago
|
||
This substantially improves performance when lots of repeated Segoe UI
Emoji (Win11) glyphs are present, because they're quite expensive to
render "from scratch" every time. (Other COLRv1 fonts will tend to
benefit somewhat as well, though not all are as complex/expensive to
paint as the Segoe UI Emoji glyphs.)
Here's a profile of scrolling up and down a couple of times on the page
https://bugzilla.mozilla.org/show_bug.cgi?id=1492605 without this patch:
https://share.firefox.dev/3Slvrox
With this patch added, the profile looks vastly better:
https://share.firefox.dev/3OjzEb5
Comment 5•1 year ago
|
||
Backed out for causing build bustage at include/mozilla/gfx/FontPaletteCache.h
Backout link: https://hg.mozilla.org/integration/autoland/rev/c3f86949a2750d2a3c0d5fd27c923ffeb08ad7b0
Comment 7•1 year ago
•
|
||
Backed out for causing build bustages.
- Backout link
- Push with failures
- Failure Log
- Failure line: gmake[4]: *** [/builds/worker/checkouts/gecko/config/makefiles/rust.mk:537: force-cargo-test-run] Error 101
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 9•1 year ago
|
||
Comment 10•1 year ago
|
||
Comment 11•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/649109bd35ad
https://hg.mozilla.org/mozilla-central/rev/bfaba1a0d7ab
https://hg.mozilla.org/mozilla-central/rev/8f45af2a9170
Reporter | ||
Comment 12•1 year ago
|
||
The improvement is dramatic in the latest Nightly: https://share.firefox.dev/3SNdEbC
Description
•