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

Issue 2294323003: made point light 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 #

Total comments: 9

Patch Set 2 : made req changes -- WIP #

Patch Set 3 : made req changes; added support for CTM #

Patch Set 4 : discovered bounding rectangles was useless, removed it) #

Total comments: 2

Patch Set 5 : made requested changes #

Total comments: 6

Patch Set 6 : made req changes (comments) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+142 lines, -72 lines) Patch
M samplecode/SampleShadowing.cpp View 4 chunks +4 lines, -5 lines 0 comments Download
M src/core/SkShadowShader.cpp View 1 2 3 4 5 2 chunks +77 lines, -62 lines 0 comments Download
M src/utils/SkShadowPaintFilterCanvas.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M src/utils/SkShadowPaintFilterCanvas.cpp View 1 2 3 4 5 20 chunks +59 lines, -3 lines 0 comments Download

Messages

Total messages: 20 (8 generated)
vjiaoblack
4 years, 3 months ago (2016-08-31 20:44:19 UTC) #2
vjiaoblack
4 years, 3 months ago (2016-08-31 20:53:58 UTC) #4
robertphillips
https://codereview.chromium.org/2294323003/diff/1/src/utils/SkShadowPaintFilterCanvas.cpp File src/utils/SkShadowPaintFilterCanvas.cpp (right): https://codereview.chromium.org/2294323003/diff/1/src/utils/SkShadowPaintFilterCanvas.cpp#newcode75 src/utils/SkShadowPaintFilterCanvas.cpp:75: const SkRect& https://codereview.chromium.org/2294323003/diff/1/src/utils/SkShadowPaintFilterCanvas.cpp#newcode87 src/utils/SkShadowPaintFilterCanvas.cpp:87: } else if (this->fLights->light(0).type() == ...
4 years, 3 months ago (2016-08-31 22:18:20 UTC) #5
vjiaoblack
https://codereview.chromium.org/2294323003/diff/1/src/utils/SkShadowPaintFilterCanvas.cpp File src/utils/SkShadowPaintFilterCanvas.cpp (right): https://codereview.chromium.org/2294323003/diff/1/src/utils/SkShadowPaintFilterCanvas.cpp#newcode75 src/utils/SkShadowPaintFilterCanvas.cpp:75: On 2016/08/31 22:18:19, robertphillips wrote: > const SkRect& Done. ...
4 years, 3 months ago (2016-09-01 19:22:48 UTC) #6
vjiaoblack
4 years, 3 months ago (2016-09-01 20:06:38 UTC) #7
robertphillips
https://codereview.chromium.org/2294323003/diff/60001/src/utils/SkShadowPaintFilterCanvas.cpp File src/utils/SkShadowPaintFilterCanvas.cpp (right): https://codereview.chromium.org/2294323003/diff/60001/src/utils/SkShadowPaintFilterCanvas.cpp#newcode53 src/utils/SkShadowPaintFilterCanvas.cpp:53: if (light.type() != SkLights::Light::kDirectional_LightType) { Just 4 - you ...
4 years, 3 months ago (2016-09-02 16:23:46 UTC) #8
vjiaoblack
I've changed the * 4.0f (in SPFCanvas::ComputeDepthMapSize for point lights) to * 4, since it's ...
4 years, 3 months ago (2016-09-02 17:22:00 UTC) #9
robertphillips
https://codereview.chromium.org/2294323003/diff/80001/src/core/SkShadowShader.cpp File src/core/SkShadowShader.cpp (right): https://codereview.chromium.org/2294323003/diff/80001/src/core/SkShadowShader.cpp#newcode307 src/core/SkShadowShader.cpp:307: Where are the 0.375fs coming from ? https://codereview.chromium.org/2294323003/diff/80001/src/utils/SkShadowPaintFilterCanvas.cpp File ...
4 years, 3 months ago (2016-09-06 17:51:11 UTC) #10
vjiaoblack
Made requested comments! > explaining the 0.375 transform, and the 4x depthMap size for point ...
4 years, 3 months ago (2016-09-06 19:30:33 UTC) #11
jvanverth1
lgtm
4 years, 3 months ago (2016-09-07 13:43:05 UTC) #12
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/2294323003/100001
4 years, 3 months ago (2016-09-07 14:47:14 UTC) #18
commit-bot: I haz the power
4 years, 3 months ago (2016-09-07 14:48:14 UTC) #20
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://skia.googlesource.com/skia/+/1e5abf15d11861247084e97215ec45a98912adb1

Powered by Google App Engine
This is Rietveld 408576698