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

Issue 975303005: Creation of GrBatchAtlas and Distancefieldpathrenderer batch (Closed)

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

Description

Creation of GrBatchAtlas and Distancefieldpathrenderer batch BUG=skia: Committed: https://skia.googlesource.com/skia/+/5bf99f1ca8f30287803b594d06c60a7b6796ad45

Patch Set 1 #

Patch Set 2 : time to debug perf #

Patch Set 3 : rebase on tot #

Patch Set 4 : cleanup #

Patch Set 5 : more tidying #

Total comments: 47

Patch Set 6 : some feedback incorporated #

Patch Set 7 : more #

Patch Set 8 : feedback incorporated #

Patch Set 9 : comments tweaked #

Patch Set 10 : one last nit #

Total comments: 7

Patch Set 11 : feedback inc #

Patch Set 12 : more cleanup #

Patch Set 13 : feedback inc #

Patch Set 14 : safety check on vertex allocation #

Total comments: 1

Patch Set 15 : nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1076 lines, -332 lines) Patch
M gyp/gpu.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M src/gpu/GrAADistanceFieldPathRenderer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +12 lines, -20 lines 0 comments Download
M src/gpu/GrAADistanceFieldPathRenderer.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 6 chunks +489 lines, -256 lines 0 comments Download
M src/gpu/GrBatch.h View 2 chunks +2 lines, -1 line 0 comments Download
A src/gpu/GrBatchAtlas.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +88 lines, -0 lines 0 comments Download
A src/gpu/GrBatchAtlas.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +369 lines, -0 lines 0 comments Download
M src/gpu/GrBatchTarget.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +75 lines, -28 lines 0 comments Download
M src/gpu/GrBatchTarget.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +32 lines, -25 lines 0 comments Download
M src/gpu/GrBitmapTextContext.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/gpu/GrDrawTarget.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/GrPipelineBuilder.h View 2 chunks +1 line, -1 line 0 comments Download
M src/gpu/GrPipelineBuilder.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/GrTargetCommands.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/gl/builders/GrGLVertexShaderBuilder.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 24 (7 generated)
joshualitt
Go tough on me guys, lets get this stuff right so it works well for ...
5 years, 9 months ago (2015-03-05 21:01:46 UTC) #3
bsalomon
need to read this in a lot more depth, but some early comments. https://codereview.chromium.org/975303005/diff/80001/src/gpu/GrAADistanceFieldPathRenderer.cpp File ...
5 years, 9 months ago (2015-03-05 22:11:09 UTC) #4
bsalomon
https://codereview.chromium.org/975303005/diff/80001/src/gpu/GrBatchAtlas.h File src/gpu/GrBatchAtlas.h (right): https://codereview.chromium.org/975303005/diff/80001/src/gpu/GrBatchAtlas.h#newcode22 src/gpu/GrBatchAtlas.h:22: // The backing GrTexture for a set of GrAtlases ...
5 years, 9 months ago (2015-03-05 22:20:49 UTC) #5
Jvsquare
A few quick comments: https://codereview.chromium.org/975303005/diff/80001/src/gpu/GrBatchAtlas.cpp File src/gpu/GrBatchAtlas.cpp (right): https://codereview.chromium.org/975303005/diff/80001/src/gpu/GrBatchAtlas.cpp#newcode241 src/gpu/GrBatchAtlas.cpp:241: // get LRU, queue up ...
5 years, 9 months ago (2015-03-06 15:45:36 UTC) #7
bsalomon
https://codereview.chromium.org/975303005/diff/80001/src/gpu/GrAADistanceFieldPathRenderer.cpp File src/gpu/GrAADistanceFieldPathRenderer.cpp (right): https://codereview.chromium.org/975303005/diff/80001/src/gpu/GrAADistanceFieldPathRenderer.cpp#newcode529 src/gpu/GrAADistanceFieldPathRenderer.cpp:529: fGeoData.push_back_n(that->geoData()->count(), that->geoData()->begin()); On 2015/03/05 22:11:08, bsalomon wrote: > seems ...
5 years, 9 months ago (2015-03-06 16:34:59 UTC) #8
joshualitt
Okay, I think I got most of the feedback. Please take a look. The only ...
5 years, 9 months ago (2015-03-09 19:35:14 UTC) #11
bsalomon
On 2015/03/09 19:35:14, joshualitt wrote: > Okay, I think I got most of the feedback. ...
5 years, 9 months ago (2015-03-09 19:40:10 UTC) #12
joshualitt
https://codereview.chromium.org/975303005/diff/80001/src/gpu/GrAADistanceFieldPathRenderer.cpp File src/gpu/GrAADistanceFieldPathRenderer.cpp (right): https://codereview.chromium.org/975303005/diff/80001/src/gpu/GrAADistanceFieldPathRenderer.cpp#newcode58 src/gpu/GrAADistanceFieldPathRenderer.cpp:58: if (fAtlas) { On 2015/03/05 22:11:08, bsalomon wrote: > ...
5 years, 9 months ago (2015-03-09 19:45:15 UTC) #13
joshualitt
Updated to include some offline feedback from Brian
5 years, 9 months ago (2015-03-10 17:39:17 UTC) #14
bsalomon
Some comments I typed two days ago but I forgot to publish, may be stale. ...
5 years, 9 months ago (2015-03-11 13:34:13 UTC) #15
joshualitt
https://codereview.chromium.org/975303005/diff/200001/src/gpu/GrBatchAtlas.cpp File src/gpu/GrBatchAtlas.cpp (right): https://codereview.chromium.org/975303005/diff/200001/src/gpu/GrBatchAtlas.cpp#newcode32 src/gpu/GrBatchAtlas.cpp:32: class GrBatchPlot : public SkRefCnt { On 2015/03/11 13:34:12, ...
5 years, 9 months ago (2015-03-11 16:03:27 UTC) #16
joshualitt
On 2015/03/11 16:03:27, joshualitt wrote: > https://codereview.chromium.org/975303005/diff/200001/src/gpu/GrBatchAtlas.cpp > File src/gpu/GrBatchAtlas.cpp (right): > > https://codereview.chromium.org/975303005/diff/200001/src/gpu/GrBatchAtlas.cpp#newcode32 > ...
5 years, 9 months ago (2015-03-12 15:01:09 UTC) #17
bsalomon
lgtm, one nit https://codereview.chromium.org/975303005/diff/280001/src/gpu/GrAADistanceFieldPathRenderer.h File src/gpu/GrAADistanceFieldPathRenderer.h (right): https://codereview.chromium.org/975303005/diff/280001/src/gpu/GrAADistanceFieldPathRenderer.h#newcode73 src/gpu/GrAADistanceFieldPathRenderer.h:73: static inline void HandleEviction(GrBatchAtlas::AtlasID, void*); seems ...
5 years, 9 months ago (2015-03-12 15:20:25 UTC) #18
joshualitt
Robert, or Jim, any other feedback? I'd really like to land this ASAP so it ...
5 years, 9 months ago (2015-03-13 13:48:38 UTC) #19
jvanverth1
lgtm
5 years, 9 months ago (2015-03-13 18:31:09 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/975303005/300001
5 years, 9 months ago (2015-03-13 18:41:27 UTC) #23
commit-bot: I haz the power
5 years, 9 months ago (2015-03-13 18:47:48 UTC) #24
Message was sent while issue was closed.
Committed patchset #15 (id:300001) as
https://skia.googlesource.com/skia/+/5bf99f1ca8f30287803b594d06c60a7b6796ad45

Powered by Google App Engine
This is Rietveld 408576698