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

Issue 1011403004: BitmapTextBatch and BitmapTextBlob (Closed)

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

Description

Patch Set 1 #

Patch Set 2 : working? #

Patch Set 3 : added flag #

Patch Set 4 : ready for review #

Patch Set 5 : tweak #

Total comments: 40

Patch Set 6 : feedback incorporated #

Patch Set 7 : tidy #

Total comments: 4

Patch Set 8 : typo #

Patch Set 9 : feedback inc #

Total comments: 20

Patch Set 10 : feedback inc #

Patch Set 11 : small fix #

Patch Set 12 : tidying #

Total comments: 24

Patch Set 13 : feedback inc #

Total comments: 18

Patch Set 14 : feedback inc #

Patch Set 15 : feedback inc #

Patch Set 16 : rebase #

Patch Set 17 : compiler warning #

Patch Set 18 : windows warning #

Patch Set 19 : fix gcc issue #

Patch Set 20 : fix for segfault #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1609 lines, -37 lines) Patch
M dm/DMSrcSink.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +13 lines, -0 lines 0 comments Download
M gyp/gpu.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -0 lines 0 comments Download
M include/core/SkPaint.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M include/core/SkTextBlob.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -0 lines 0 comments Download
M include/gpu/GrContext.h View 1 2 3 3 chunks +3 lines, -0 lines 0 comments Download
M src/gpu/GrAADistanceFieldPathRenderer.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +2 lines, -6 lines 0 comments Download
M src/gpu/GrBatchAtlas.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +4 lines, -0 lines 0 comments Download
M src/gpu/GrBatchAtlas.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +5 lines, -2 lines 0 comments Download
A src/gpu/GrBatchFontCache.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +137 lines, -0 lines 0 comments Download
A src/gpu/GrBatchFontCache.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +314 lines, -0 lines 0 comments Download
M src/gpu/GrBitmapTextContext.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +121 lines, -0 lines 0 comments Download
M src/gpu/GrBitmapTextContext.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 7 chunks +940 lines, -19 lines 0 comments Download
M src/gpu/GrContext.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 7 chunks +14 lines, -0 lines 0 comments Download
M src/gpu/GrDistanceFieldTextContext.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +4 lines, -0 lines 0 comments Download
M src/gpu/GrFontAtlasSizes.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +25 lines, -1 line 0 comments Download
M src/gpu/GrGlyph.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +10 lines, -6 lines 0 comments Download
M src/gpu/GrStencilAndCoverTextContext.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +4 lines, -0 lines 0 comments Download
M src/gpu/GrTextContext.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +8 lines, -3 lines 0 comments Download
M src/gpu/SkGpuDevice.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 28 (8 generated)
joshualitt
ptal. Let me know what needs comments. The only real remaining TODOs are using SkCache ...
5 years, 9 months ago (2015-03-23 15:49:42 UTC) #2
reed1
api lgtm
5 years, 9 months ago (2015-03-23 17:30:10 UTC) #3
robertphillips
I see nothing incorrect but there is a lot of code here https://codereview.chromium.org/1011403004/diff/80001/dm/DMSrcSink.cpp File dm/DMSrcSink.cpp ...
5 years, 9 months ago (2015-03-23 19:03:12 UTC) #4
joshualitt
feedback incorporated https://codereview.chromium.org/1011403004/diff/80001/dm/DMSrcSink.cpp File dm/DMSrcSink.cpp (right): https://codereview.chromium.org/1011403004/diff/80001/dm/DMSrcSink.cpp#newcode205 dm/DMSrcSink.cpp:205: canvas->clipRect(kSKPViewport); On 2015/03/23 19:03:11, robertphillips wrote: > ...
5 years, 9 months ago (2015-03-23 19:56:09 UTC) #5
jvanverth1
Still need some more time to look at this -- looks good so far. A ...
5 years, 9 months ago (2015-03-23 20:37:39 UTC) #6
joshualitt
feedback inc https://codereview.chromium.org/1011403004/diff/120001/src/gpu/GrBatchAtlas.cpp File src/gpu/GrBatchAtlas.cpp (right): https://codereview.chromium.org/1011403004/diff/120001/src/gpu/GrBatchAtlas.cpp#newcode249 src/gpu/GrBatchAtlas.cpp:249: (*currPlot)->init(this, texture, id, 1, x, y, fPlotWidth, ...
5 years, 9 months ago (2015-03-24 14:33:56 UTC) #7
bsalomon
some initial comments/qs https://codereview.chromium.org/1011403004/diff/160001/dm/DMSrcSink.cpp File dm/DMSrcSink.cpp (right): https://codereview.chromium.org/1011403004/diff/160001/dm/DMSrcSink.cpp#newcode207 dm/DMSrcSink.cpp:207: //#define DOUBLE_LOOP Let's make this real... ...
5 years, 9 months ago (2015-03-24 16:27:54 UTC) #9
joshualitt
Feedback incorporated. There is definitely one bug with this CL, namely we aren't refing plots ...
5 years, 9 months ago (2015-03-25 14:13:37 UTC) #10
bsalomon
Seems ok if we land w/ that bug but behind the macro and fix before ...
5 years, 9 months ago (2015-03-25 14:19:15 UTC) #11
bsalomon
Some more comments, mostly about the cache. I haven't read in detail GrBitmapTextContext.cpp. Leaving that ...
5 years, 9 months ago (2015-03-26 17:06:56 UTC) #13
joshualitt
feedback incorporated. https://codereview.chromium.org/1011403004/diff/160001/src/gpu/GrBitmapTextContext.cpp File src/gpu/GrBitmapTextContext.cpp (right): https://codereview.chromium.org/1011403004/diff/160001/src/gpu/GrBitmapTextContext.cpp#newcode657 src/gpu/GrBitmapTextContext.cpp:657: // TODO actually only invert if we ...
5 years, 9 months ago (2015-03-26 18:21:43 UTC) #14
Jvsquare
A few more comments: https://codereview.chromium.org/1011403004/diff/260001/src/gpu/GrAtlas.cpp File src/gpu/GrAtlas.cpp (right): https://codereview.chromium.org/1011403004/diff/260001/src/gpu/GrAtlas.cpp#newcode228 src/gpu/GrAtlas.cpp:228: fTexture = fGpu->createTexture(desc, true, NULL, ...
5 years, 9 months ago (2015-03-27 15:07:30 UTC) #16
joshualitt
https://codereview.chromium.org/1011403004/diff/260001/src/gpu/GrAtlas.cpp File src/gpu/GrAtlas.cpp (right): https://codereview.chromium.org/1011403004/diff/260001/src/gpu/GrAtlas.cpp#newcode228 src/gpu/GrAtlas.cpp:228: fTexture = fGpu->createTexture(desc, true, NULL, 0); On 2015/03/27 15:07:29, ...
5 years, 8 months ago (2015-03-30 14:56:44 UTC) #17
bsalomon
lgtm
5 years, 8 months ago (2015-03-31 15:23:34 UTC) #18
jvanverth1
On 2015/03/31 15:23:34, bsalomon wrote: > lgtm lgtm2
5 years, 8 months ago (2015-03-31 17:36:18 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1011403004/360001
5 years, 8 months ago (2015-03-31 17:58:40 UTC) #22
commit-bot: I haz the power
Committed patchset #18 (id:360001) as https://skia.googlesource.com/skia/+/eed1dae04932483579b02c10f0706127d3f5d984
5 years, 8 months ago (2015-03-31 18:04:59 UTC) #23
joshualitt
A revert of this CL (patchset #18 id:360001) has been created in https://codereview.chromium.org/1050633002/ by joshualitt@google.com. ...
5 years, 8 months ago (2015-03-31 18:32:28 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1011403004/400001
5 years, 8 months ago (2015-03-31 20:26:30 UTC) #27
commit-bot: I haz the power
5 years, 8 months ago (2015-03-31 20:32:09 UTC) #28
Message was sent while issue was closed.
Committed patchset #20 (id:400001) as
https://skia.googlesource.com/skia/+/7c3a2f834e0ba3f11a3129d5348b393efcc9b0e1

Powered by Google App Engine
This is Rietveld 408576698