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

Issue 2285133002: Optimizations and more documentation of SkShadowShader (Closed)

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

Description

Optimizations and more documentation of SkShadowShader BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2285133002 Committed: https://skia.googlesource.com/skia/+/bb106060fab32d048ef5052fcc7dc12a0f06b961

Patch Set 1 #

Patch Set 2 : Cleaned up 'offset' code #

Patch Set 3 : removed redundant vec2 ing #

Total comments: 16

Patch Set 4 : made req changes #

Total comments: 15

Patch Set 5 : made req changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -98 lines) Patch
M samplecode/SampleShadowing.cpp View 1 2 3 3 chunks +4 lines, -3 lines 0 comments Download
M src/core/SkShadowShader.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M src/core/SkShadowShader.cpp View 1 2 3 4 17 chunks +75 lines, -95 lines 0 comments Download

Messages

Total messages: 24 (16 generated)
vjiaoblack
4 years, 3 months ago (2016-08-29 14:34:38 UTC) #3
jvanverth1
https://codereview.chromium.org/2285133002/diff/40001/samplecode/SampleShadowing.cpp File samplecode/SampleShadowing.cpp (right): https://codereview.chromium.org/2285133002/diff/40001/samplecode/SampleShadowing.cpp#newcode56 samplecode/SampleShadowing.cpp:56: fShadowParams.fMinVariance = 0.015625; It's not clear to me why ...
4 years, 3 months ago (2016-08-29 18:30:14 UTC) #4
vjiaoblack
https://codereview.chromium.org/2285133002/diff/40001/samplecode/SampleShadowing.cpp File samplecode/SampleShadowing.cpp (right): https://codereview.chromium.org/2285133002/diff/40001/samplecode/SampleShadowing.cpp#newcode56 samplecode/SampleShadowing.cpp:56: fShadowParams.fMinVariance = 0.015625; On 2016/08/29 18:30:14, jvanverth1 wrote: > ...
4 years, 3 months ago (2016-08-29 19:45:22 UTC) #5
jvanverth1
https://codereview.chromium.org/2285133002/diff/60001/src/core/SkShadowShader.cpp File src/core/SkShadowShader.cpp (right): https://codereview.chromium.org/2285133002/diff/60001/src/core/SkShadowShader.cpp#newcode123 src/core/SkShadowShader.cpp:123: fLightIntensity[fNumNonAmbLights] = lights->light(i).intensity(); Suggestion: allow SkLight to have color ...
4 years, 3 months ago (2016-08-30 15:55:43 UTC) #6
vjiaoblack
https://codereview.chromium.org/2285133002/diff/60001/src/core/SkShadowShader.cpp File src/core/SkShadowShader.cpp (right): https://codereview.chromium.org/2285133002/diff/60001/src/core/SkShadowShader.cpp#newcode123 src/core/SkShadowShader.cpp:123: fLightIntensity[fNumNonAmbLights] = lights->light(i).intensity(); On 2016/08/30 15:55:42, jvanverth1 wrote: > ...
4 years, 3 months ago (2016-08-30 16:52:18 UTC) #7
jvanverth1
lgtm
4 years, 3 months ago (2016-08-31 17:03:35 UTC) #8
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/2285133002/80001
4 years, 3 months ago (2016-08-31 18:14:01 UTC) #22
commit-bot: I haz the power
4 years, 3 months ago (2016-08-31 18:15:24 UTC) #24
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://skia.googlesource.com/skia/+/bb106060fab32d048ef5052fcc7dc12a0f06b961

Powered by Google App Engine
This is Rietveld 408576698