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

Issue 2332213007: Bundle common arguments to GrGradientEffect creation (Closed)

Created:
4 years, 3 months ago by Brian Osman
Modified:
4 years, 3 months ago
CC:
reviews_skia.org
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Bundle common arguments to GrGradientEffect creation I'm going to be adding more (to deal with color spaces), so trying to fix this before it gets out of control. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2332213007 Committed: https://skia.googlesource.com/skia/+/f605c16a030d791a37f589e6bddd7158ba5d62cd Committed: https://skia.googlesource.com/skia/+/9557c273d8b10ad057b7932875828de204a5d00e

Patch Set 1 #

Total comments: 1

Patch Set 2 : Remove unncessary scoping #

Patch Set 3 : Fix non-GPU compile errors #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -128 lines) Patch
M src/effects/gradients/SkGradientShader.cpp View 1 5 chunks +11 lines, -12 lines 0 comments Download
M src/effects/gradients/SkGradientShaderPriv.h View 1 chunk +17 lines, -4 lines 0 comments Download
M src/effects/gradients/SkLinearGradient.cpp View 3 chunks +6 lines, -12 lines 0 comments Download
M src/effects/gradients/SkRadialGradient.cpp View 3 chunks +6 lines, -12 lines 0 comments Download
M src/effects/gradients/SkSweepGradient.cpp View 2 chunks +6 lines, -8 lines 0 comments Download
M src/effects/gradients/SkTwoPointConicalGradient.cpp View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M src/effects/gradients/SkTwoPointConicalGradient_gpu.h View 1 chunk +1 line, -2 lines 0 comments Download
M src/effects/gradients/SkTwoPointConicalGradient_gpu.cpp View 1 2 14 chunks +45 lines, -75 lines 0 comments Download

Messages

Total messages: 22 (14 generated)
Brian Osman
4 years, 3 months ago (2016-09-14 15:56:57 UTC) #5
bsalomon
lgtm https://codereview.chromium.org/2332213007/diff/1/src/effects/gradients/SkGradientShader.cpp File src/effects/gradients/SkGradientShader.cpp (right): https://codereview.chromium.org/2332213007/diff/1/src/effects/gradients/SkGradientShader.cpp#newcode1335 src/effects/gradients/SkGradientShader.cpp:1335: GrGradientEffect::GrGradientEffect(const GrGradientEffect::CreateArgs& args) { Can just say CreateArgs ...
4 years, 3 months ago (2016-09-14 16:15:13 UTC) #6
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/2332213007/20001
4 years, 3 months ago (2016-09-14 16:40:11 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://skia.googlesource.com/skia/+/f605c16a030d791a37f589e6bddd7158ba5d62cd
4 years, 3 months ago (2016-09-14 17:03:49 UTC) #13
djsollen
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/2343703003/ by djsollen@google.com. ...
4 years, 3 months ago (2016-09-15 02:57:47 UTC) #14
Brian Osman
Fixed. (Verified locally with a non-GPU build). Checked with Eric, turns out that our non-GPU ...
4 years, 3 months ago (2016-09-15 13:28:57 UTC) #17
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/2332213007/40001
4 years, 3 months ago (2016-09-15 13:29:22 UTC) #20
commit-bot: I haz the power
4 years, 3 months ago (2016-09-15 13:59:18 UTC) #22
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/9557c273d8b10ad057b7932875828de204a5d00e

Powered by Google App Engine
This is Rietveld 408576698