Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Issue 636183005: Fix color emoji. (Closed)

Created:
6 years, 2 months ago by jvanverth1
Modified:
6 years, 2 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Fix color emoji. Removes the GrMaskFormat and single atlas in GrTextStrike. Replaces it by storing the GrMaskFormat in each GrGlyph, and doing a lookup for the correct atlas based on that. Disables color glyph rendering in GrDistanceFieldTextContext for now. BUG=skia:2887 Committed: https://skia.googlesource.com/skia/+/bc92163ddfe957ad6ffbb02ac40e0ba75ff82216 Committed: https://skia.googlesource.com/skia/+/294c32612d712eb56361ac5439271a91ae96862e

Patch Set 1 #

Patch Set 2 : Fix atlas creation in the middle of a text run #

Patch Set 3 : Fix alpha. #

Patch Set 4 : Clean up and disable color glyphs with DF text #

Patch Set 5 : Restore class order in GrTextStrike.h #

Patch Set 6 : More GrTextStrike.h shuffling #

Patch Set 7 : Remove whitespace #

Patch Set 8 : Fix dumb bug #

Patch Set 9 : Fix even dumber bug introduced by previous fix #

Total comments: 6

Patch Set 10 : Update based on comments (and add to ignored-tests) #

Patch Set 11 : Rebase to ToT #

Total comments: 2

Patch Set 12 : Check for atlas ownership when searching ClientPlotUsage. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -63 lines) Patch
M expectations/gm/ignored-tests.txt View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -0 lines 0 comments Download
M include/gpu/GrFontScaler.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -1 line 0 comments Download
M include/gpu/GrGlyph.h View 2 chunks +11 lines, -7 lines 0 comments Download
M src/gpu/GrAtlas.cpp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -1 line 0 comments Download
M src/gpu/GrBitmapTextContext.h View 1 chunk +4 lines, -3 lines 0 comments Download
M src/gpu/GrBitmapTextContext.cpp View 1 2 3 4 5 6 7 8 9 6 chunks +8 lines, -6 lines 0 comments Download
M src/gpu/GrDistanceFieldTextContext.cpp View 1 2 3 3 chunks +7 lines, -2 lines 0 comments Download
M src/gpu/GrFontScaler.cpp View 1 2 3 4 5 6 7 8 9 2 chunks +23 lines, -1 line 0 comments Download
M src/gpu/GrTextStrike.h View 1 2 3 4 5 6 3 chunks +9 lines, -8 lines 0 comments Download
M src/gpu/GrTextStrike.cpp View 1 2 3 4 5 6 7 8 9 7 chunks +31 lines, -34 lines 0 comments Download

Messages

Total messages: 24 (7 generated)
jvanverth1
6 years, 2 months ago (2014-10-09 15:13:23 UTC) #2
jvanverth1
Distance Field text should be able to support color emoji, but that'll be in a ...
6 years, 2 months ago (2014-10-09 15:17:28 UTC) #3
jvanverth1
On 2014/10/09 15:17:28, jvanverth1 wrote: > Distance Field text should be able to support color ...
6 years, 2 months ago (2014-10-09 15:34:27 UTC) #4
robertphillips
lgtm + questions https://codereview.chromium.org/636183005/diff/160001/include/gpu/GrFontScaler.h File include/gpu/GrFontScaler.h (right): https://codereview.chromium.org/636183005/diff/160001/include/gpu/GrFontScaler.h#newcode69 include/gpu/GrFontScaler.h:69: GrMaskFormat getMaskFormat(); Can this be const ...
6 years, 2 months ago (2014-10-09 16:14:53 UTC) #5
jvanverth1
https://codereview.chromium.org/636183005/diff/160001/include/gpu/GrFontScaler.h File include/gpu/GrFontScaler.h (right): https://codereview.chromium.org/636183005/diff/160001/include/gpu/GrFontScaler.h#newcode69 include/gpu/GrFontScaler.h:69: GrMaskFormat getMaskFormat(); On 2014/10/09 16:14:53, robertphillips wrote: > Can ...
6 years, 2 months ago (2014-10-09 17:34:35 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/636183005/180001
6 years, 2 months ago (2014-10-09 17:34:49 UTC) #8
commit-bot: I haz the power
Presubmit check for 636183005-180001 failed and returned exit status 1. Running presubmit commit checks ...
6 years, 2 months ago (2014-10-09 17:34:54 UTC) #10
jvanverth1
Adding reed@.
6 years, 2 months ago (2014-10-09 17:37:46 UTC) #12
jvanverth1
Adding bsalomon@. This is for a P1 issue in Chrome.
6 years, 2 months ago (2014-10-10 12:36:22 UTC) #14
reed1
lgtm wdoik (what-do-I-know) https://codereview.chromium.org/636183005/diff/320001/include/gpu/GrGlyph.h File include/gpu/GrGlyph.h (right): https://codereview.chromium.org/636183005/diff/320001/include/gpu/GrGlyph.h#newcode31 include/gpu/GrGlyph.h:31: GrMaskFormat fMaskFormat; note for the future ...
6 years, 2 months ago (2014-10-10 14:24:25 UTC) #15
bsalomon
lgtm
6 years, 2 months ago (2014-10-10 14:46:26 UTC) #16
jvanverth1
https://codereview.chromium.org/636183005/diff/320001/include/gpu/GrGlyph.h File include/gpu/GrGlyph.h (right): https://codereview.chromium.org/636183005/diff/320001/include/gpu/GrGlyph.h#newcode31 include/gpu/GrGlyph.h:31: GrMaskFormat fMaskFormat; On 2014/10/10 14:24:25, reed1 wrote: > note ...
6 years, 2 months ago (2014-10-10 15:10:15 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/636183005/320001
6 years, 2 months ago (2014-10-10 15:12:45 UTC) #19
commit-bot: I haz the power
Committed patchset #11 (id:320001) as bc92163ddfe957ad6ffbb02ac40e0ba75ff82216
6 years, 2 months ago (2014-10-10 15:21:36 UTC) #20
jvanverth1
A revert of this CL (patchset #11 id:320001) has been created in https://codereview.chromium.org/640413004/ by jvanverth@google.com. ...
6 years, 2 months ago (2014-10-10 15:51:10 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/636183005/480001
6 years, 2 months ago (2014-10-10 18:28:11 UTC) #23
commit-bot: I haz the power
6 years, 2 months ago (2014-10-10 18:36:37 UTC) #24
Message was sent while issue was closed.
Committed patchset #12 (id:480001) as 294c32612d712eb56361ac5439271a91ae96862e

Powered by Google App Engine
This is Rietveld 408576698