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

Issue 845103005: GrBatchPrototype (Closed)

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

Description

Patch Set 1 #

Patch Set 2 : GrBatch initial prototype #

Patch Set 3 : more cleanup #

Patch Set 4 : cleanup #

Patch Set 5 : cleanup #

Total comments: 16

Patch Set 6 : feedback inc #

Patch Set 7 : working? #

Patch Set 8 : more cleanup #

Patch Set 9 : feedback inc #

Patch Set 10 : update devrect #

Total comments: 1

Patch Set 11 : working but slow #

Patch Set 12 : more picking #

Patch Set 13 : small optimization #

Patch Set 14 : a bit more tweaking #

Total comments: 25

Patch Set 15 : feedback inc #

Patch Set 16 : tidying #

Total comments: 1

Patch Set 17 : more feedback inc #

Patch Set 18 : whoops missed the comment #

Total comments: 1

Patch Set 19 : rename #

Patch Set 20 : line wrap fixes #

Patch Set 21 : cleanup #

Total comments: 1

Patch Set 22 : broken build #

Patch Set 23 : cleanup #

Patch Set 24 : file move #

Total comments: 3

Patch Set 25 : fix gm #

Patch Set 26 : cleanup #

Patch Set 27 : clang warning #

Patch Set 28 : gyp update #

Patch Set 29 : warnings #

Patch Set 30 : windows warnings #

Patch Set 31 : hopefully fix perf #

Patch Set 32 : test #

Patch Set 33 : testing #

Patch Set 34 : cleanup #

Patch Set 35 : removing dstread #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1046 lines, -316 lines) Patch
M gyp/gpu.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 2 chunks +4 lines, -1 line 0 comments Download
M src/gpu/GrAAConvexPathRenderer.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/GrAARectRenderer.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 6 chunks +341 lines, -159 lines 0 comments Download
A src/gpu/GrBatch.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +132 lines, -0 lines 0 comments Download
A src/gpu/GrBatch.cpp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +35 lines, -0 lines 0 comments Download
A src/gpu/GrBatchTarget.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 1 chunk +86 lines, -0 lines 0 comments Download
A src/gpu/GrBatchTarget.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 chunk +48 lines, -0 lines 0 comments Download
M src/gpu/GrDefaultGeoProcFactory.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/GrDrawTarget.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 7 chunks +22 lines, -4 lines 0 comments Download
M src/gpu/GrDrawTarget.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +25 lines, -2 lines 0 comments Download
M src/gpu/GrFlushToGpuDrawTarget.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 2 chunks +6 lines, -1 line 0 comments Download
M src/gpu/GrFlushToGpuDrawTarget.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 chunk +0 lines, -2 lines 0 comments Download
M src/gpu/GrGeometryData.h View 1 1 chunk +0 lines, -42 lines 0 comments Download
M src/gpu/GrGeometryProcessor.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 6 chunks +19 lines, -15 lines 0 comments Download
M src/gpu/GrGeometryProcessor.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/GrInOrderDrawBuffer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 9 chunks +51 lines, -7 lines 0 comments Download
M src/gpu/GrInOrderDrawBuffer.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 15 chunks +139 lines, -10 lines 0 comments Download
M src/gpu/GrOvalRenderer.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 3 chunks +3 lines, -3 lines 0 comments Download
M src/gpu/GrPipeline.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 4 chunks +16 lines, -4 lines 0 comments Download
M src/gpu/GrPipeline.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +29 lines, -4 lines 0 comments Download
M src/gpu/GrPipelineBuilder.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 4 chunks +26 lines, -8 lines 0 comments Download
M src/gpu/GrPipelineBuilder.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 4 chunks +19 lines, -19 lines 0 comments Download
M src/gpu/GrProcOptInfo.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 2 chunks +5 lines, -0 lines 0 comments Download
M src/gpu/GrProcOptInfo.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +19 lines, -0 lines 0 comments Download
M src/gpu/GrProcessor.cpp View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +0 lines, -14 lines 0 comments Download
M src/gpu/effects/GrBezierEffect.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 3 chunks +3 lines, -3 lines 0 comments Download
M src/gpu/effects/GrBezierEffect.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 3 chunks +3 lines, -3 lines 0 comments Download
M src/gpu/effects/GrBitmapTextGeoProc.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/effects/GrBitmapTextGeoProc.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/effects/GrDashingEffect.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 4 chunks +4 lines, -4 lines 0 comments Download
M src/gpu/effects/GrDistanceFieldTextureEffect.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 3 chunks +3 lines, -3 lines 0 comments Download
M src/gpu/effects/GrDistanceFieldTextureEffect.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 37 (8 generated)
joshualitt
So, I think this is mostly ready(gms match). I didn't yet take the step to ...
5 years, 11 months ago (2015-01-15 20:56:29 UTC) #2
joshualitt
On 2015/01/15 20:56:29, joshualitt wrote: > So, I think this is mostly ready(gms match). I ...
5 years, 11 months ago (2015-01-20 15:59:04 UTC) #3
bsalomon
these are comments are from an older patchset, I guess I forgot to hit publish. ...
5 years, 11 months ago (2015-01-20 16:14:03 UTC) #4
joshualitt
Some comment responses / questions, most feedback incorporated https://codereview.chromium.org/845103005/diff/80001/src/gpu/GrDrawState.cpp File src/gpu/GrDrawState.cpp (right): https://codereview.chromium.org/845103005/diff/80001/src/gpu/GrDrawState.cpp#newcode239 src/gpu/GrDrawState.cpp:239: if ...
5 years, 11 months ago (2015-01-20 17:03:08 UTC) #5
bsalomon
https://codereview.chromium.org/845103005/diff/80001/src/gpu/GrDrawState.cpp File src/gpu/GrDrawState.cpp (right): https://codereview.chromium.org/845103005/diff/80001/src/gpu/GrDrawState.cpp#newcode239 src/gpu/GrDrawState.cpp:239: if (!fColorProcInfoValid || fColorBatch != batch) { On 2015/01/20 ...
5 years, 11 months ago (2015-01-20 20:49:58 UTC) #6
joshualitt
On 2015/01/20 20:49:58, bsalomon wrote: > https://codereview.chromium.org/845103005/diff/80001/src/gpu/GrDrawState.cpp > File src/gpu/GrDrawState.cpp (right): > > https://codereview.chromium.org/845103005/diff/80001/src/gpu/GrDrawState.cpp#newcode239 > ...
5 years, 11 months ago (2015-01-21 19:32:44 UTC) #7
joshualitt
On 2015/01/20 20:49:58, bsalomon wrote: > https://codereview.chromium.org/845103005/diff/80001/src/gpu/GrDrawState.cpp > File src/gpu/GrDrawState.cpp (right): > > https://codereview.chromium.org/845103005/diff/80001/src/gpu/GrDrawState.cpp#newcode239 > ...
5 years, 11 months ago (2015-01-21 19:32:46 UTC) #8
joshualitt
On 2015/01/21 19:32:46, joshualitt wrote: > On 2015/01/20 20:49:58, bsalomon wrote: > > https://codereview.chromium.org/845103005/diff/80001/src/gpu/GrDrawState.cpp > ...
5 years, 11 months ago (2015-01-21 19:55:12 UTC) #9
bsalomon
https://codereview.chromium.org/845103005/diff/260001/src/gpu/GrBatch.h File src/gpu/GrBatch.h (right): https://codereview.chromium.org/845103005/diff/260001/src/gpu/GrBatch.h#newcode31 src/gpu/GrBatch.h:31: * Batches are created generally in renderers, but they ...
5 years, 11 months ago (2015-01-21 21:39:29 UTC) #10
bsalomon
https://codereview.chromium.org/845103005/diff/260001/src/gpu/GrAARectRenderer.cpp File src/gpu/GrAARectRenderer.cpp (right): https://codereview.chromium.org/845103005/diff/260001/src/gpu/GrAARectRenderer.cpp#newcode69 src/gpu/GrAARectRenderer.cpp:69: const char* name() const SK_OVERRIDE { return "AAFillRectBatch"; } ...
5 years, 11 months ago (2015-01-22 14:05:02 UTC) #11
joshualitt
some comments inline, most feedback incorporated. ptal https://codereview.chromium.org/845103005/diff/260001/src/gpu/GrAARectRenderer.cpp File src/gpu/GrAARectRenderer.cpp (right): https://codereview.chromium.org/845103005/diff/260001/src/gpu/GrAARectRenderer.cpp#newcode69 src/gpu/GrAARectRenderer.cpp:69: const char* ...
5 years, 11 months ago (2015-01-22 15:47:46 UTC) #12
bsalomon
https://codereview.chromium.org/845103005/diff/260001/src/gpu/GrAARectRenderer.cpp File src/gpu/GrAARectRenderer.cpp (right): https://codereview.chromium.org/845103005/diff/260001/src/gpu/GrAARectRenderer.cpp#newcode80 src/gpu/GrAARectRenderer.cpp:80: void getInvariantOutputCoverage(GrInitInvariantOutput* out, On 2015/01/22 15:47:46, joshualitt wrote: > ...
5 years, 11 months ago (2015-01-22 16:00:59 UTC) #13
joshualitt
On 2015/01/22 16:00:59, bsalomon wrote: > https://codereview.chromium.org/845103005/diff/260001/src/gpu/GrAARectRenderer.cpp > File src/gpu/GrAARectRenderer.cpp (right): > > https://codereview.chromium.org/845103005/diff/260001/src/gpu/GrAARectRenderer.cpp#newcode80 > ...
5 years, 11 months ago (2015-01-22 16:18:57 UTC) #14
bsalomon
https://codereview.chromium.org/845103005/diff/340001/src/gpu/GrBatch.h File src/gpu/GrBatch.h (right): https://codereview.chromium.org/845103005/diff/340001/src/gpu/GrBatch.h#newcode59 src/gpu/GrBatch.h:59: * is a hook for the some additional overrides ...
5 years, 11 months ago (2015-01-22 21:17:17 UTC) #15
joshualitt
On 2015/01/22 21:17:17, bsalomon wrote: > https://codereview.chromium.org/845103005/diff/340001/src/gpu/GrBatch.h > File src/gpu/GrBatch.h (right): > > https://codereview.chromium.org/845103005/diff/340001/src/gpu/GrBatch.h#newcode59 > ...
5 years, 11 months ago (2015-01-23 15:25:56 UTC) #16
bsalomon
lgtm
5 years, 11 months ago (2015-01-23 15:58:33 UTC) #17
joshualitt
Brian, please take another quick look. I added a new gm to catch the bug, ...
5 years, 11 months ago (2015-01-26 15:22:20 UTC) #18
bsalomon
We should be passing in the devrect to make smaller dst copies. https://codereview.chromium.org/845103005/diff/450001/gm/dstreadshuffle.cpp File gm/dstreadshuffle.cpp ...
5 years, 11 months ago (2015-01-26 18:46: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/845103005/570001
5 years, 11 months ago (2015-01-26 21:24:12 UTC) #21
commit-bot: I haz the power
Committed patchset #30 (id:570001) as https://skia.googlesource.com/skia/+/d15e4e45374275c045572b304c229237c4a82be4
5 years, 11 months ago (2015-01-26 21:30:14 UTC) #22
joshualitt
A revert of this CL (patchset #30 id:570001) has been created in https://codereview.chromium.org/862823004/ by joshualitt@google.com. ...
5 years, 11 months ago (2015-01-27 14:40:28 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/845103005/630001
5 years, 11 months ago (2015-01-27 23:33:13 UTC) #26
commit-bot: I haz the power
Committed patchset #32 (id:630001) as https://skia.googlesource.com/skia/+/d5a7db4a867c7e6ccf8451a053d987b470099198
5 years, 11 months ago (2015-01-27 23:39:13 UTC) #27
Kimmo Kinnunen
Just for reference to whom it may concern: I'm seeing small non-determinism with the pixels ...
5 years, 10 months ago (2015-01-28 13:08:51 UTC) #29
joshualitt
A revert of this CL (patchset #32 id:630001) has been created in https://codereview.chromium.org/877393002/ by joshualitt@google.com. ...
5 years, 10 months ago (2015-01-28 14:53:12 UTC) #30
joshualitt
On 2015/01/28 14:53:12, joshualitt wrote: > A revert of this CL (patchset #32 id:630001) has ...
5 years, 10 months ago (2015-01-28 18:35:20 UTC) #31
bsalomon
lgtm
5 years, 10 months ago (2015-01-28 18:45:25 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/845103005/690001
5 years, 10 months ago (2015-01-28 20:44:25 UTC) #36
commit-bot: I haz the power
5 years, 10 months ago (2015-01-28 20:53:58 UTC) #37
Message was sent while issue was closed.
Committed patchset #35 (id:690001) as
https://skia.googlesource.com/skia/+/4d8da81562852e0ff7e18b66ee1cebd50ad81ee8

Powered by Google App Engine
This is Rietveld 408576698