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

Issue 1966903004: Remove clip from GrPipelineBuilder (Closed)

Created:
4 years, 7 months ago by Chris Dalton
Modified:
4 years, 7 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@fix2_nvpr
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Remove clip from GrPipelineBuilder This eliminates a copy and will allow us to make the GrClip class virutal. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1966903004 Committed: https://skia.googlesource.com/skia/+/862cff30eaa16206d76d7de7594c9167375ca87e

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 3

Patch Set 4 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+176 lines, -250 lines) Patch
M gm/constcolorprocessor.cpp View 1 1 chunk +1 line, -4 lines 0 comments Download
M include/gpu/GrDrawContext.h View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/GrClipMaskManager.h View 1 2 4 chunks +4 lines, -8 lines 0 comments Download
M src/gpu/GrClipMaskManager.cpp View 1 2 16 chunks +19 lines, -85 lines 0 comments Download
M src/gpu/GrDrawContext.cpp View 20 chunks +37 lines, -44 lines 0 comments Download
M src/gpu/GrDrawContextPriv.h View 3 chunks +4 lines, -3 lines 0 comments Download
M src/gpu/GrDrawTarget.h View 1 2 4 chunks +5 lines, -3 lines 0 comments Download
M src/gpu/GrDrawTarget.cpp View 1 2 10 chunks +28 lines, -33 lines 2 comments Download
M src/gpu/GrPathRenderer.h View 4 chunks +4 lines, -0 lines 0 comments Download
M src/gpu/GrPipelineBuilder.h View 4 chunks +1 line, -6 lines 0 comments Download
M src/gpu/GrPipelineBuilder.cpp View 2 chunks +1 line, -3 lines 0 comments Download
M src/gpu/GrSWMaskHelper.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/GrSWMaskHelper.cpp View 2 chunks +2 lines, -1 line 0 comments Download
M src/gpu/GrSoftwarePathRenderer.cpp View 6 chunks +15 lines, -11 lines 0 comments Download
M src/gpu/batches/GrAAConvexPathRenderer.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/batches/GrAADistanceFieldPathRenderer.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/batches/GrAAHairLinePathRenderer.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/gpu/batches/GrAALinearizingConvexPathRenderer.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/batches/GrDashLinePathRenderer.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/batches/GrDefaultPathRenderer.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/batches/GrDefaultPathRenderer.cpp View 5 chunks +6 lines, -4 lines 0 comments Download
M src/gpu/batches/GrMSAAPathRenderer.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/batches/GrMSAAPathRenderer.cpp View 5 chunks +6 lines, -4 lines 0 comments Download
M src/gpu/batches/GrPLSPathRenderer.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/batches/GrStencilAndCoverPathRenderer.cpp View 4 chunks +5 lines, -4 lines 0 comments Download
M src/gpu/batches/GrTessellatingPathRenderer.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M src/gpu/text/GrAtlasTextBlob.h View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/text/GrAtlasTextBlob.cpp View 5 chunks +7 lines, -7 lines 0 comments Download
M src/gpu/text/GrStencilAndCoverTextContext.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/gpu/text/GrStencilAndCoverTextContext.cpp View 1 2 3 6 chunks +10 lines, -10 lines 0 comments Download
M tests/GLProgramsTest.cpp View 1 2 3 chunks +0 lines, -5 lines 0 comments Download
M tests/TessellatingPathRendererTests.cpp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M tools/gpu/GrTest.cpp View 1 chunk +4 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 10 (4 generated)
Chris Dalton
https://codereview.chromium.org/1966903004/diff/40001/src/gpu/GrClipMaskManager.cpp File src/gpu/GrClipMaskManager.cpp (left): https://codereview.chromium.org/1966903004/diff/40001/src/gpu/GrClipMaskManager.cpp#oldcode375 src/gpu/GrClipMaskManager.cpp:375: add_rect_to_clip(pipelineBuilder.clip(), *devBounds, &devBoundsClip); This logic has been moved to ...
4 years, 7 months ago (2016-05-12 20:57:25 UTC) #3
Chris Dalton
Ugh, I added a few comments to patch #3 to aid in the review process, ...
4 years, 7 months ago (2016-05-12 20:58:25 UTC) #4
bsalomon
lgtm https://codereview.chromium.org/1966903004/diff/60001/src/gpu/GrDrawTarget.cpp File src/gpu/GrDrawTarget.cpp (right): https://codereview.chromium.org/1966903004/diff/60001/src/gpu/GrDrawTarget.cpp#newcode309 src/gpu/GrDrawTarget.cpp:309: void GrDrawTarget::stencilPath(const GrPipelineBuilder& pipelineBuilder, Curious why we have ...
4 years, 7 months ago (2016-05-12 21:25:35 UTC) #5
Chris Dalton
https://codereview.chromium.org/1966903004/diff/60001/src/gpu/GrDrawTarget.cpp File src/gpu/GrDrawTarget.cpp (right): https://codereview.chromium.org/1966903004/diff/60001/src/gpu/GrDrawTarget.cpp#newcode309 src/gpu/GrDrawTarget.cpp:309: void GrDrawTarget::stencilPath(const GrPipelineBuilder& pipelineBuilder, On 2016/05/12 21:25:35, bsalomon wrote: ...
4 years, 7 months ago (2016-05-12 21:29:19 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1966903004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1966903004/60001
4 years, 7 months ago (2016-05-12 21:48:04 UTC) #8
commit-bot: I haz the power
4 years, 7 months ago (2016-05-12 22:09:54 UTC) #10
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://skia.googlesource.com/skia/+/862cff30eaa16206d76d7de7594c9167375ca87e

Powered by Google App Engine
This is Rietveld 408576698