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

Issue 1502253003: Allow LCD text to batch across colorchanges. This will always use (Closed)

Created:
5 years ago by joshua.litt
Modified:
5 years ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Allow LCD text to batch across colorchanges. This will always use color vertices, even when we can't batch across color changes BUG=skia: Committed: https://skia.googlesource.com/skia/+/d9d30f7b577711a200395f7b62acc0d82a19f9c3

Patch Set 1 #

Patch Set 2 : tweaks #

Patch Set 3 : a bit more cleanup #

Total comments: 6

Patch Set 4 : tweaks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -42 lines) Patch
M src/gpu/GrAtlasTextContext.cpp View 1 2 3 2 chunks +4 lines, -5 lines 0 comments Download
M src/gpu/batches/GrAtlasTextBatch.h View 1 2 2 chunks +1 line, -10 lines 0 comments Download
M src/gpu/batches/GrAtlasTextBatch.cpp View 1 2 3 6 chunks +6 lines, -20 lines 0 comments Download
M src/gpu/effects/GrBitmapTextGeoProc.cpp View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download
M src/gpu/effects/GrDistanceFieldGeoProc.h View 3 chunks +5 lines, -1 line 0 comments Download
M src/gpu/effects/GrDistanceFieldGeoProc.cpp View 4 chunks +11 lines, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 14 (6 generated)
joshualitt
ptal
5 years ago (2015-12-08 16:11:57 UTC) #2
bsalomon
https://codereview.chromium.org/1502253003/diff/40001/src/gpu/GrAtlasTextContext.cpp File src/gpu/GrAtlasTextContext.cpp (right): https://codereview.chromium.org/1502253003/diff/40001/src/gpu/GrAtlasTextContext.cpp#newcode1076 src/gpu/GrAtlasTextContext.cpp:1076: bool useColorVerts = true; ? https://codereview.chromium.org/1502253003/diff/40001/src/gpu/effects/GrBitmapTextGeoProc.cpp File src/gpu/effects/GrBitmapTextGeoProc.cpp (right): ...
5 years ago (2015-12-08 16:27:14 UTC) #3
jvanverth1
It looks like this also batches distance field text across colors as well. Or am ...
5 years ago (2015-12-08 16:35:52 UTC) #4
joshualitt
feedback inc https://codereview.chromium.org/1502253003/diff/40001/src/gpu/GrAtlasTextContext.cpp File src/gpu/GrAtlasTextContext.cpp (right): https://codereview.chromium.org/1502253003/diff/40001/src/gpu/GrAtlasTextContext.cpp#newcode1076 src/gpu/GrAtlasTextContext.cpp:1076: bool useColorVerts = true; On 2015/12/08 16:27:13, ...
5 years ago (2015-12-08 17:04:37 UTC) #5
bsalomon
lgtm
5 years ago (2015-12-08 17:07:50 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1502253003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1502253003/60001
5 years ago (2015-12-08 18:15:47 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://skia.googlesource.com/skia/+/d9d30f7b577711a200395f7b62acc0d82a19f9c3
5 years ago (2015-12-08 18:47:58 UTC) #12
joshualitt
5 years ago (2015-12-09 15:27:45 UTC) #14
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.chromium.org/1514563002/ by joshualitt@google.com.

The reason for reverting is: Seems to break textblobrandomfont on some
platforms.

Powered by Google App Engine
This is Rietveld 408576698