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

Issue 791743003: Remove GP from drawstate, revision of invariant output for GP (Closed)

Created:
6 years ago by joshua.litt
Modified:
6 years ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@color-to-gp
Project:
skia
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 10

Patch Set 2 : cleanup #

Total comments: 16

Patch Set 3 : feedback inc #

Total comments: 3

Patch Set 4 : rebase #

Patch Set 5 : feedback incorporated #

Patch Set 6 : feedback inc #

Patch Set 7 : rebase #

Patch Set 8 : rebase #

Patch Set 9 : clang fix #

Patch Set 10 : mac fix #

Patch Set 11 : cleanup #

Patch Set 12 : don't commit this just a test #

Patch Set 13 : rebase #

Patch Set 14 : rebase #

Patch Set 15 : rebase #

Patch Set 16 : windows build fix #

Patch Set 17 : more windows fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+651 lines, -549 lines) Patch
M expectations/gm/ignored-tests.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +7 lines, -0 lines 0 comments Download
M gm/beziereffects.cpp View 1 2 3 chunks +3 lines, -6 lines 0 comments Download
M gm/convexpolyeffect.cpp View 4 chunks +6 lines, -6 lines 0 comments Download
M include/gpu/GrFragmentProcessor.h View 2 chunks +15 lines, -0 lines 0 comments Download
M include/gpu/GrInvariantOutput.h View 1 2 3 4 6 chunks +65 lines, -5 lines 0 comments Download
M include/gpu/GrProcessor.h View 2 chunks +0 lines, -15 lines 0 comments Download
M include/gpu/GrXferProcessor.h View 1 2 3 13 1 chunk +5 lines, -0 lines 0 comments Download
M src/effects/SkAlphaThresholdFilter.cpp View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M src/effects/SkBlurMaskFilter.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M src/effects/SkLightingImageFilter.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/effects/gradients/SkGradientShader.cpp View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M src/gpu/GrAAConvexPathRenderer.cpp View 1 2 3 4 3 chunks +4 lines, -4 lines 0 comments Download
M src/gpu/GrAADistanceFieldPathRenderer.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +5 lines, -4 lines 0 comments Download
M src/gpu/GrAAHairLinePathRenderer.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/GrAAHairLinePathRenderer.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +16 lines, -12 lines 0 comments Download
M src/gpu/GrAARectRenderer.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 11 chunks +49 lines, -50 lines 0 comments Download
M src/gpu/GrBitmapTextContext.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +8 lines, -9 lines 0 comments Download
M src/gpu/GrContext.cpp View 8 chunks +16 lines, -18 lines 0 comments Download
M src/gpu/GrDefaultGeoProcFactory.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +3 lines, -1 line 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 4 chunks +15 lines, -10 lines 0 comments Download
M src/gpu/GrDefaultPathRenderer.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +5 lines, -3 lines 0 comments Download
M src/gpu/GrDistanceFieldTextContext.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +8 lines, -10 lines 0 comments Download
M src/gpu/GrDrawState.h View 1 2 3 4 5 6 7 8 9 10 11 12 9 chunks +19 lines, -68 lines 0 comments Download
M src/gpu/GrDrawState.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 chunks +38 lines, -75 lines 0 comments Download
M src/gpu/GrDrawTarget.h View 1 9 chunks +12 lines, -7 lines 0 comments Download
M src/gpu/GrDrawTarget.cpp View 1 2 3 14 chunks +25 lines, -27 lines 0 comments Download
M src/gpu/GrGeometryProcessor.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 8 chunks +61 lines, -7 lines 0 comments Download
M src/gpu/GrInOrderDrawBuffer.h View 1 4 chunks +11 lines, -8 lines 0 comments Download
M src/gpu/GrInOrderDrawBuffer.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 10 chunks +20 lines, -20 lines 0 comments Download
M src/gpu/GrOptDrawState.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +7 lines, -3 lines 0 comments Download
M src/gpu/GrOptDrawState.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +25 lines, -20 lines 0 comments Download
M src/gpu/GrOvalRenderer.cpp View 1 2 3 4 13 chunks +18 lines, -25 lines 0 comments Download
M src/gpu/GrProcOptInfo.h View 1 2 3 4 5 12 3 chunks +8 lines, -3 lines 0 comments Download
M src/gpu/GrProcOptInfo.cpp View 1 2 3 4 5 6 7 8 9 12 2 chunks +35 lines, -15 lines 0 comments Download
M src/gpu/GrProcessor.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +28 lines, -6 lines 0 comments Download
M src/gpu/GrStencilAndCoverPathRenderer.cpp View 1 3 chunks +6 lines, -3 lines 0 comments Download
M src/gpu/GrStencilAndCoverTextContext.cpp View 1 1 chunk +2 lines, -1 line 0 comments Download
M src/gpu/effects/GrBezierEffect.h View 1 2 3 4 3 chunks +6 lines, -6 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 2 chunks +2 lines, -2 lines 0 comments Download
M src/gpu/effects/GrBicubicEffect.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/effects/GrBitmapTextGeoProc.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +5 lines, -4 lines 0 comments Download
M src/gpu/effects/GrBitmapTextGeoProc.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +10 lines, -9 lines 0 comments Download
M src/gpu/effects/GrConvexPolyEffect.cpp View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M src/gpu/effects/GrConvolutionEffect.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/effects/GrDashingEffect.cpp View 1 2 3 4 7 chunks +10 lines, -12 lines 0 comments Download
M src/gpu/effects/GrDistanceFieldTextureEffect.h View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +13 lines, -11 lines 0 comments Download
M src/gpu/effects/GrDistanceFieldTextureEffect.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 7 chunks +15 lines, -13 lines 0 comments Download
M src/gpu/effects/GrMatrixConvolutionEffect.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/effects/GrOvalEffect.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M src/gpu/effects/GrRRectEffect.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M src/gpu/effects/GrSingleTextureEffect.h View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M src/gpu/effects/GrTextureDomain.cpp View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M tests/GLProgramsTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +21 lines, -28 lines 0 comments Download

Messages

Total messages: 22 (5 generated)
joshualitt
In this CL I have removed GP from drawstate, and now pass it explicitly into ...
6 years ago (2014-12-09 20:22:17 UTC) #2
bsalomon
https://codereview.chromium.org/791743003/diff/1/include/gpu/GrInvariantOutput.h File include/gpu/GrInvariantOutput.h (right): https://codereview.chromium.org/791743003/diff/1/include/gpu/GrInvariantOutput.h#newcode21 include/gpu/GrInvariantOutput.h:21: fValidFlags = kRGBA_GrColorComponentFlags; fSingleComponent = (true if all the ...
6 years ago (2014-12-09 20:39:50 UTC) #3
joshualitt
On 2014/12/09 20:39:50, bsalomon wrote: > https://codereview.chromium.org/791743003/diff/1/include/gpu/GrInvariantOutput.h > File include/gpu/GrInvariantOutput.h (right): > > https://codereview.chromium.org/791743003/diff/1/include/gpu/GrInvariantOutput.h#newcode21 > ...
6 years ago (2014-12-10 15:00:28 UTC) #4
bsalomon
Should we make changes to the names of the helper functions on the inout thing ...
6 years ago (2014-12-10 15:27:00 UTC) #5
egdaniel
https://codereview.chromium.org/791743003/diff/20001/include/gpu/GrInvariantOutput.h File include/gpu/GrInvariantOutput.h (right): https://codereview.chromium.org/791743003/diff/20001/include/gpu/GrInvariantOutput.h#newcode38 include/gpu/GrInvariantOutput.h:38: fColor = alpha << GrColor_SHIFT_A; On 2014/12/10 15:26:59, bsalomon ...
6 years ago (2014-12-10 15:54:30 UTC) #6
bsalomon
https://codereview.chromium.org/791743003/diff/20001/tests/GLProgramsTest.cpp File tests/GLProgramsTest.cpp (right): https://codereview.chromium.org/791743003/diff/20001/tests/GLProgramsTest.cpp#newcode300 tests/GLProgramsTest.cpp:300: const GrPathProcessor* pp = NULL; On 2014/12/10 15:54:30, egdaniel ...
6 years ago (2014-12-10 15:56:05 UTC) #7
joshualitt
I think I got most of the feedback with this updated cl > Maybe we ...
6 years ago (2014-12-10 15:57:41 UTC) #8
joshualitt
more feedback incorporated. I think I got most of the 'PP' references, I'll clean up ...
6 years ago (2014-12-10 16:12:02 UTC) #9
bsalomon
https://codereview.chromium.org/791743003/diff/40001/include/gpu/GrInvariantOutput.h File include/gpu/GrInvariantOutput.h (right): https://codereview.chromium.org/791743003/diff/40001/include/gpu/GrInvariantOutput.h#newcode39 include/gpu/GrInvariantOutput.h:39: fValidFlags = kA_GrColorComponentFlag; kRGBA? https://codereview.chromium.org/791743003/diff/40001/src/gpu/GrAARectRenderer.cpp File src/gpu/GrAARectRenderer.cpp (right): https://codereview.chromium.org/791743003/diff/40001/src/gpu/GrAARectRenderer.cpp#newcode28 ...
6 years ago (2014-12-10 18:44:31 UTC) #10
joshualitt
Feedback incorporated. I also updated GrOptProcInfo to fix a possible future bug with readsfragposition and ...
6 years ago (2014-12-10 19:04:45 UTC) #11
bsalomon
lgtm
6 years ago (2014-12-10 19:10:54 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/791743003/160001
6 years ago (2014-12-10 21:39:49 UTC) #14
commit-bot: I haz the power
Committed patchset #9 (id:160001) as https://skia.googlesource.com/skia/+/c6bc58eded89b0c0a36b8e20e193c200f297a0da
6 years ago (2014-12-10 21:49:02 UTC) #15
joshualitt
A revert of this CL (patchset #9 id:160001) has been created in https://codereview.chromium.org/794843002/ by joshualitt@google.com. ...
6 years ago (2014-12-10 22:11:29 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: Build-Win-VS2013-x86-Debug-Trybot on client.skia.compile (http://build.chromium.org/p/client.skia.compile/builders/Build-Win-VS2013-x86-Debug-Trybot/builds/1479)
6 years ago (2014-12-11 23:08:50 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/791743003/300001
6 years ago (2014-12-11 23:35:28 UTC) #21
commit-bot: I haz the power
6 years ago (2014-12-11 23:44:07 UTC) #22
Message was sent while issue was closed.
Committed patchset #17 (id:300001) as
https://skia.googlesource.com/skia/+/56995b5cc00c9c83bd5fcf86bca9a67e939a96cb

Powered by Google App Engine
This is Rietveld 408576698