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

Issue 2287553002: Moved ambient lights out of SkLight's light array (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

Patch Set 1 #

Total comments: 9

Patch Set 2 : rebased off master #

Patch Set 3 : made req changes #

Total comments: 11

Patch Set 4 : made req changes #

Total comments: 7

Patch Set 5 : made req changes #

Total comments: 4

Patch Set 6 : made req changes #

Patch Set 7 : removed a MakeAmbient call #

Patch Set 8 : added ambient light calculations to Raster renderer of LightingShader #

Patch Set 9 : added ambient light calculations to Raster renderer of LightingShader #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -87 lines) Patch
M gm/lightingshader.cpp View 1 chunk +1 line, -1 line 0 comments Download
M gm/lightingshader2.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M gm/lightingshaderbevel.cpp View 1 chunk +1 line, -1 line 0 comments Download
M gm/shadowmaps.cpp View 1 chunk +1 line, -1 line 0 comments Download
M include/core/SkLights.h View 1 2 3 4 5 5 chunks +17 lines, -9 lines 0 comments Download
M samplecode/SampleBevel.cpp View 1 chunk +1 line, -1 line 0 comments Download
M samplecode/SampleLighting.cpp View 1 chunk +1 line, -1 line 0 comments Download
M samplecode/SampleLitAtlas.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkCanvas.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M src/core/SkLightingShader.cpp View 1 2 3 4 5 6 7 2 chunks +8 lines, -4 lines 0 comments Download
M src/core/SkLights.cpp View 1 3 chunks +38 lines, -42 lines 0 comments Download
M src/core/SkShadowShader.cpp View 1 2 3 4 5 2 chunks +19 lines, -19 lines 0 comments Download
M src/utils/SkShadowPaintFilterCanvas.cpp View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M tests/SerializationTest.cpp View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 40 (20 generated)
vjiaoblack
Things might get a bit tricky after the point lights lands. We'll see...
4 years, 3 months ago (2016-08-26 15:41:56 UTC) #3
robertphillips
https://codereview.chromium.org/2287553002/diff/1/include/core/SkLights.h File include/core/SkLights.h (right): https://codereview.chromium.org/2287553002/diff/1/include/core/SkLights.h#newcode57 include/core/SkLights.h:57: const SkVector3& dir() const { keep as yoda-speak. The ...
4 years, 3 months ago (2016-08-26 16:08:05 UTC) #4
vjiaoblack
https://codereview.chromium.org/2287553002/diff/1/include/core/SkLights.h File include/core/SkLights.h (right): https://codereview.chromium.org/2287553002/diff/1/include/core/SkLights.h#newcode119 include/core/SkLights.h:119: void add(const Light& light) { On 2016/08/26 16:08:05, robertphillips ...
4 years, 3 months ago (2016-08-26 17:24:26 UTC) #5
robertphillips
https://codereview.chromium.org/2287553002/diff/40001/samplecode/SampleShadowing.cpp File samplecode/SampleShadowing.cpp (right): https://codereview.chromium.org/2287553002/diff/40001/samplecode/SampleShadowing.cpp#newcode27 samplecode/SampleShadowing.cpp:27: ?? https://codereview.chromium.org/2287553002/diff/40001/samplecode/SampleShadowing.cpp#newcode214 samplecode/SampleShadowing.cpp:214: if (dx != 0 || dy ...
4 years, 3 months ago (2016-08-26 17:31:29 UTC) #6
vjiaoblack
https://codereview.chromium.org/2287553002/diff/40001/src/core/SkShadowShader.cpp File src/core/SkShadowShader.cpp (right): https://codereview.chromium.org/2287553002/diff/40001/src/core/SkShadowShader.cpp#newcode115 src/core/SkShadowShader.cpp:115: On 2016/08/26 17:31:28, robertphillips wrote: > the old name ...
4 years, 3 months ago (2016-08-26 18:10:38 UTC) #7
robertphillips
https://codereview.chromium.org/2287553002/diff/60001/samplecode/SampleShadowing.cpp File samplecode/SampleShadowing.cpp (right): https://codereview.chromium.org/2287553002/diff/60001/samplecode/SampleShadowing.cpp#newcode27 samplecode/SampleShadowing.cpp:27: In the prior CL you were calling updateLights. Why ...
4 years, 3 months ago (2016-08-26 19:16:03 UTC) #8
vjiaoblack
https://codereview.chromium.org/2287553002/diff/60001/samplecode/SampleShadowing.cpp File samplecode/SampleShadowing.cpp (right): https://codereview.chromium.org/2287553002/diff/60001/samplecode/SampleShadowing.cpp#newcode27 samplecode/SampleShadowing.cpp:27: On 2016/08/26 19:16:02, robertphillips wrote: > In the prior ...
4 years, 3 months ago (2016-08-26 19:25:17 UTC) #9
robertphillips
https://codereview.chromium.org/2287553002/diff/80001/samplecode/SampleShadowing.cpp File samplecode/SampleShadowing.cpp (right): https://codereview.chromium.org/2287553002/diff/80001/samplecode/SampleShadowing.cpp#newcode162 samplecode/SampleShadowing.cpp:162: void updateLights(int x, int y) { I'm okay with ...
4 years, 3 months ago (2016-08-26 19:45:00 UTC) #10
vjiaoblack
https://codereview.chromium.org/2287553002/diff/80001/samplecode/SampleShadowing.cpp File samplecode/SampleShadowing.cpp (right): https://codereview.chromium.org/2287553002/diff/80001/samplecode/SampleShadowing.cpp#newcode162 samplecode/SampleShadowing.cpp:162: void updateLights(int x, int y) { On 2016/08/26 19:45:00, ...
4 years, 3 months ago (2016-08-28 20:11:57 UTC) #11
robertphillips
lgtm
4 years, 3 months ago (2016-08-29 12:42:32 UTC) #12
vjiaoblack
4 years, 3 months ago (2016-08-29 13:44:06 UTC) #19
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/2287553002/120001
4 years, 3 months ago (2016-08-29 14:00:04 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: skia_presubmit-Trybot on master.client.skia.fyi (JOB_FAILED, http://build.chromium.org/p/client.skia.fyi/builders/skia_presubmit-Trybot/builds/13232)
4 years, 3 months ago (2016-08-29 14:01:47 UTC) #26
djsollen
api lgtm
4 years, 3 months ago (2016-08-29 14:06:40 UTC) #28
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/2287553002/120001
4 years, 3 months ago (2016-08-29 14:07:57 UTC) #30
commit-bot: I haz the power
Committed patchset #7 (id:120001) as https://skia.googlesource.com/skia/+/8f98f0aa2d3f7571a890b916c7c4b5ee831e9686
4 years, 3 months ago (2016-08-29 14:08:57 UTC) #32
vjiaoblack
A revert of this CL (patchset #7 id:120001) has been created in https://codereview.chromium.org/2291663002/ by vjiaoblack@google.com. ...
4 years, 3 months ago (2016-08-29 15:37:54 UTC) #33
vjiaoblack
4 years, 3 months ago (2016-08-29 16:43:04 UTC) #35
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/2287553002/160001
4 years, 3 months ago (2016-08-29 16:43:45 UTC) #38
commit-bot: I haz the power
4 years, 3 months ago (2016-08-29 17:22:14 UTC) #40
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://skia.googlesource.com/skia/+/a8eabc4a2a5559a1410fdbb348f967cd1554b325

Powered by Google App Engine
This is Rietveld 408576698