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

Issue 1291803006: Simplify parameters passed to path renderers (Closed)

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

Description

Simplify parameters passed to path renderers It appears that CanDrawPathArgs::fTarget was only ever used to access the shaderCaps and no instances of onGetStencilSupport ever used the drawTarget and pipelineBuilder parameters. Committed: https://skia.googlesource.com/skia/+/e7d4b2f5dc3c35f351ba120018c214f739447fb2

Patch Set 1 #

Patch Set 2 : white space changes #

Total comments: 2

Patch Set 3 : Address code review comments (rm ref/unref) #

Patch Set 4 : Add more validate methods #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -107 lines) Patch
M src/gpu/GrAAConvexPathRenderer.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/GrAADistanceFieldPathRenderer.h View 1 chunk +3 lines, -4 lines 0 comments Download
M src/gpu/GrAADistanceFieldPathRenderer.cpp View 2 chunks +1 line, -9 lines 0 comments Download
M src/gpu/GrAAHairLinePathRenderer.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/GrDashLinePathRenderer.h View 1 chunk +2 lines, -5 lines 0 comments Download
M src/gpu/GrDefaultPathRenderer.h View 1 chunk +1 line, -4 lines 0 comments Download
M src/gpu/GrDefaultPathRenderer.cpp View 1 chunk +1 line, -4 lines 0 comments Download
M src/gpu/GrPathRenderer.h View 1 2 3 10 chunks +44 lines, -41 lines 0 comments Download
M src/gpu/GrPathRendererChain.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M src/gpu/GrSoftwarePathRenderer.h View 1 chunk +3 lines, -4 lines 0 comments Download
M src/gpu/GrSoftwarePathRenderer.cpp View 1 chunk +0 lines, -8 lines 0 comments Download
M src/gpu/GrStencilAndCoverPathRenderer.h View 1 chunk +3 lines, -4 lines 0 comments Download
M src/gpu/GrStencilAndCoverPathRenderer.cpp View 1 chunk +0 lines, -8 lines 0 comments Download
M src/gpu/GrTessellatingPathRenderer.h View 1 chunk +3 lines, -4 lines 0 comments Download
M src/gpu/GrTessellatingPathRenderer.cpp View 1 chunk +0 lines, -8 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
robertphillips
5 years, 4 months ago (2015-08-12 22:42:36 UTC) #2
bsalomon
otherwise lgtm https://codereview.chromium.org/1291803006/diff/2/src/gpu/GrPathRenderer.h File src/gpu/GrPathRenderer.h (right): https://codereview.chromium.org/1291803006/diff/2/src/gpu/GrPathRenderer.h#newcode98 src/gpu/GrPathRenderer.h:98: SkAutoTUnref<const GrShaderCaps> fShaderCaps; I don't think we ...
5 years, 4 months ago (2015-08-13 13:49:36 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1291803006/50001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1291803006/50001
5 years, 4 months ago (2015-08-13 14:38:26 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-08-13 14:45:31 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1291803006/50001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1291803006/50001
5 years, 4 months ago (2015-08-13 14:56:45 UTC) #10
robertphillips
https://codereview.chromium.org/1291803006/diff/2/src/gpu/GrPathRenderer.h File src/gpu/GrPathRenderer.h (right): https://codereview.chromium.org/1291803006/diff/2/src/gpu/GrPathRenderer.h#newcode98 src/gpu/GrPathRenderer.h:98: SkAutoTUnref<const GrShaderCaps> fShaderCaps; On 2015/08/13 13:49:35, bsalomon wrote: > ...
5 years, 4 months ago (2015-08-13 14:57:00 UTC) #11
commit-bot: I haz the power
5 years, 4 months ago (2015-08-13 14:57:13 UTC) #12
Message was sent while issue was closed.
Committed patchset #4 (id:50001) as
https://skia.googlesource.com/skia/+/e7d4b2f5dc3c35f351ba120018c214f739447fb2

Powered by Google App Engine
This is Rietveld 408576698