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

Issue 2175563003: Bundle SkShader::asFragmentProcessor arguments in a struct (Closed)

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

Description

Bundle SkShader::asFragmentProcessor arguments in a struct The signature of this thing keeps changing (and is about to change again). This just makes maintenance much easier. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2175563003 Committed: https://skia.googlesource.com/skia/+/839345d63466a4209a0985654ec033624821fd78

Patch Set 1 #

Total comments: 5

Patch Set 2 : Fix indentation to be less arbitrary #

Unified diffs Side-by-side diffs Delta from patch set Stats (+171 lines, -296 lines) Patch
M experimental/SkPerlinNoiseShader2/SkPerlinNoiseShader2.h View 1 chunk +1 line, -3 lines 0 comments Download
M experimental/SkPerlinNoiseShader2/SkPerlinNoiseShader2.cpp View 6 chunks +22 lines, -25 lines 0 comments Download
M gm/dcshader.cpp View 2 chunks +2 lines, -10 lines 0 comments Download
M include/core/SkShader.h View 2 chunks +20 lines, -5 lines 0 comments Download
M include/effects/SkPerlinNoiseShader.h View 1 chunk +1 line, -3 lines 0 comments Download
M src/core/SkBitmapProcShader.h View 1 chunk +1 line, -3 lines 0 comments Download
M src/core/SkBitmapProcShader.cpp View 3 chunks +7 lines, -10 lines 0 comments Download
M src/core/SkColorFilterShader.h View 1 chunk +1 line, -5 lines 0 comments Download
M src/core/SkColorFilterShader.cpp View 1 chunk +4 lines, -10 lines 0 comments Download
M src/core/SkColorShader.h View 2 chunks +2 lines, -6 lines 0 comments Download
M src/core/SkColorShader.cpp View 2 chunks +2 lines, -8 lines 0 comments Download
M src/core/SkComposeShader.h View 1 chunk +1 line, -5 lines 0 comments Download
M src/core/SkComposeShader.cpp View 2 chunks +5 lines, -12 lines 0 comments Download
M src/core/SkLightingShader.cpp View 2 chunks +4 lines, -16 lines 0 comments Download
M src/core/SkLocalMatrixShader.h View 1 chunk +1 line, -4 lines 0 comments Download
M src/core/SkLocalMatrixShader.cpp View 1 chunk +5 lines, -7 lines 0 comments Download
M src/core/SkNormalSource.h View 1 chunk +1 line, -6 lines 0 comments Download
M src/core/SkNormalSource.cpp View 1 4 chunks +5 lines, -22 lines 0 comments Download
M src/core/SkPictureShader.h View 1 chunk +1 line, -5 lines 0 comments Download
M src/core/SkPictureShader.cpp View 1 chunk +7 lines, -9 lines 0 comments Download
M src/core/SkShader.cpp View 1 chunk +1 line, -3 lines 0 comments Download
M src/effects/SkPerlinNoiseShader.cpp View 3 chunks +14 lines, -18 lines 0 comments Download
M src/effects/gradients/SkLinearGradient.h View 1 chunk +1 line, -5 lines 0 comments Download
M src/effects/gradients/SkLinearGradient.cpp View 2 chunks +9 lines, -13 lines 0 comments Download
M src/effects/gradients/SkRadialGradient.h View 1 chunk +1 line, -5 lines 0 comments Download
M src/effects/gradients/SkRadialGradient.cpp View 2 chunks +9 lines, -13 lines 0 comments Download
M src/effects/gradients/SkSweepGradient.h View 1 chunk +1 line, -5 lines 0 comments Download
M src/effects/gradients/SkSweepGradient.cpp View 2 chunks +7 lines, -13 lines 0 comments Download
M src/effects/gradients/SkTwoPointConicalGradient.h View 1 chunk +1 line, -5 lines 0 comments Download
M src/effects/gradients/SkTwoPointConicalGradient.cpp View 1 chunk +3 lines, -7 lines 0 comments Download
M src/effects/gradients/SkTwoPointConicalGradient_gpu.cpp View 5 chunks +15 lines, -15 lines 0 comments Download
M src/gpu/SkGr.cpp View 2 chunks +8 lines, -7 lines 0 comments Download
M src/image/SkImageShader.h View 1 chunk +1 line, -3 lines 0 comments Download
M src/image/SkImageShader.cpp View 3 chunks +7 lines, -10 lines 0 comments Download

Messages

Total messages: 14 (9 generated)
Brian Osman
https://codereview.chromium.org/2175563003/diff/1/include/core/SkShader.h File include/core/SkShader.h (right): https://codereview.chromium.org/2175563003/diff/1/include/core/SkShader.h#newcode327 include/core/SkShader.h:327: const SkMatrix* fViewMatrix; This is the only (slightly) interesting ...
4 years, 5 months ago (2016-07-22 17:19:26 UTC) #5
egdaniel
https://codereview.chromium.org/2175563003/diff/1/include/core/SkShader.h File include/core/SkShader.h (right): https://codereview.chromium.org/2175563003/diff/1/include/core/SkShader.h#newcode327 include/core/SkShader.h:327: const SkMatrix* fViewMatrix; On 2016/07/22 17:19:26, Brian Osman wrote: ...
4 years, 5 months ago (2016-07-22 17:27:59 UTC) #6
bsalomon
lgtm https://codereview.chromium.org/2175563003/diff/1/include/core/SkShader.h File include/core/SkShader.h (right): https://codereview.chromium.org/2175563003/diff/1/include/core/SkShader.h#newcode327 include/core/SkShader.h:327: const SkMatrix* fViewMatrix; On 2016/07/22 17:27:59, egdaniel wrote: ...
4 years, 5 months ago (2016-07-22 17:38:11 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2175563003/20001
4 years, 5 months ago (2016-07-22 17:44:23 UTC) #12
commit-bot: I haz the power
4 years, 5 months ago (2016-07-22 18:04:57 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/839345d63466a4209a0985654ec033624821fd78

Powered by Google App Engine
This is Rietveld 408576698