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

Issue 2311223004: added in radial shadows (Closed)

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

Description

Patch Set 1 #

Patch Set 2 : removed extra new line, also fixed some overlength lines #

Total comments: 43

Patch Set 3 : made req changes #

Total comments: 26

Patch Set 4 : made this work. Also made req changes. #

Patch Set 5 : removed extraneous file created during merging #

Total comments: 7

Patch Set 6 : made req changse #

Patch Set 7 : made req comment change! #

Patch Set 8 : disabled shadows #

Patch Set 9 : moving lights #

Unified diffs Side-by-side diffs Delta from patch set Stats (+701 lines, -160 lines) Patch
M gm/shadowmaps.cpp View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M gyp/core.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M samplecode/SampleShadowing.cpp View 1 2 3 4 5 6 7 8 3 chunks +8 lines, -14 lines 0 comments Download
M src/core/SkCanvas.cpp View 1 2 3 4 5 3 chunks +104 lines, -62 lines 0 comments Download
A src/core/SkRadialShadowMapShader.h View 1 2 3 1 chunk +31 lines, -0 lines 0 comments Download
A src/core/SkRadialShadowMapShader.cpp View 1 2 3 4 5 6 7 8 1 chunk +429 lines, -0 lines 0 comments Download
M src/core/SkShadowShader.cpp View 1 2 3 4 5 6 7 8 6 chunks +125 lines, -82 lines 0 comments Download

Messages

Total messages: 28 (11 generated)
vjiaoblack
Here is the extra shader necessary for radial shadows. I'm not sure about the naming, ...
4 years, 3 months ago (2016-09-06 20:49:54 UTC) #3
vjiaoblack
This is now ready for review.
4 years, 3 months ago (2016-09-06 20:51:14 UTC) #4
jvanverth1
https://codereview.chromium.org/2311223004/diff/20001/src/core/Sk2DShadowMapShader.cpp File src/core/Sk2DShadowMapShader.cpp (right): https://codereview.chromium.org/2311223004/diff/20001/src/core/Sk2DShadowMapShader.cpp#newcode19 src/core/Sk2DShadowMapShader.cpp:19: This subclass of shader applies shadowing Needs a little ...
4 years, 3 months ago (2016-09-07 14:47:24 UTC) #5
vjiaoblack
Renamed a bunch of stuff and slightly reduced shader code's potential fluff https://codereview.chromium.org/2311223004/diff/20001/src/core/Sk2DShadowMapShader.cpp File src/core/Sk2DShadowMapShader.cpp ...
4 years, 3 months ago (2016-09-07 15:21:40 UTC) #6
robertphillips
https://codereview.chromium.org/2311223004/diff/40001/src/core/SkRadialShadowMapShader.cpp File src/core/SkRadialShadowMapShader.cpp (right): https://codereview.chromium.org/2311223004/diff/40001/src/core/SkRadialShadowMapShader.cpp#newcode102 src/core/SkRadialShadowMapShader.cpp:102: GrContext* context) { fLightPos https://codereview.chromium.org/2311223004/diff/40001/src/core/SkRadialShadowMapShader.cpp#newcode202 src/core/SkRadialShadowMapShader.cpp:202: private: fLightPos & ...
4 years, 3 months ago (2016-09-07 17:11:56 UTC) #7
vjiaoblack
https://codereview.chromium.org/2311223004/diff/40001/src/core/SkRadialShadowMapShader.cpp File src/core/SkRadialShadowMapShader.cpp (right): https://codereview.chromium.org/2311223004/diff/40001/src/core/SkRadialShadowMapShader.cpp#newcode202 src/core/SkRadialShadowMapShader.cpp:202: private: On 2016/09/07 17:11:55, robertphillips wrote: > fLightPos & ...
4 years, 3 months ago (2016-09-08 16:40:13 UTC) #8
jvanverth1
https://codereview.chromium.org/2311223004/diff/80001/src/core/SkCanvas.cpp File src/core/SkCanvas.cpp (right): https://codereview.chromium.org/2311223004/diff/80001/src/core/SkCanvas.cpp#newcode3317 src/core/SkCanvas.cpp:3317: povDepthShader, fLights, Shouldn't this be just the current light ...
4 years, 3 months ago (2016-09-08 19:57:27 UTC) #10
vjiaoblack
https://codereview.chromium.org/2311223004/diff/80001/src/core/SkCanvas.cpp File src/core/SkCanvas.cpp (right): https://codereview.chromium.org/2311223004/diff/80001/src/core/SkCanvas.cpp#newcode3317 src/core/SkCanvas.cpp:3317: povDepthShader, fLights, On 2016/09/08 19:57:27, jvanverth1 wrote: > Shouldn't ...
4 years, 3 months ago (2016-09-08 20:25:08 UTC) #11
jvanverth1
https://codereview.chromium.org/2311223004/diff/80001/src/core/SkRadialShadowMapShader.cpp File src/core/SkRadialShadowMapShader.cpp (right): https://codereview.chromium.org/2311223004/diff/80001/src/core/SkRadialShadowMapShader.cpp#newcode143 src/core/SkRadialShadowMapShader.cpp:143: // the above isn't good enough. so we need ...
4 years, 3 months ago (2016-09-08 20:30:56 UTC) #12
vjiaoblack
4 years, 3 months ago (2016-09-08 21:03:58 UTC) #13
jvanverth1
lgtm
4 years, 3 months ago (2016-09-09 14:00:49 UTC) #14
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/2311223004/120001
4 years, 3 months ago (2016-09-09 14:04:23 UTC) #16
vjiaoblack
disabled shadows in the gypfiles
4 years, 3 months ago (2016-09-09 14:09:04 UTC) #18
vjiaoblack
lights can move now
4 years, 3 months ago (2016-09-09 15:31:31 UTC) #23
jvanverth1
Update lgtm
4 years, 3 months ago (2016-09-09 15:52:24 UTC) #24
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/2311223004/160001
4 years, 3 months ago (2016-09-09 15:52:50 UTC) #26
commit-bot: I haz the power
4 years, 3 months ago (2016-09-09 16:22:43 UTC) #28
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://skia.googlesource.com/skia/+/b2796fdd9eab88836795d6a54cf6811af6ecdc81

Powered by Google App Engine
This is Rietveld 408576698