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

Issue 2198933002: Making a sample for shadow maps for more intensive development (Closed)

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

Description

Making a sample for shadow maps for more intensive development Merge branch 'shadow-gm' into shadow-sample Added variable size shadow maps. Also fixed some bugs BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2198933002 Committed: https://skia.googlesource.com/skia/+/955e879c6dc9c74224d5a25a67e9eecdee4d4ae8

Patch Set 1 #

Patch Set 2 : Moved rendering code to canvas:onDrawShadowedPic #

Patch Set 3 : fixed lights #

Patch Set 4 : fixed lights #

Patch Set 5 : undo change #

Total comments: 36

Patch Set 6 : made req changes, updating fLights in the sample is buggy #

Patch Set 7 : Removed setDir() and re-added resizing shadow maps #

Total comments: 48

Patch Set 8 : Made requested changes #

Total comments: 30

Patch Set 9 : Made req chang #

Total comments: 12

Patch Set 10 : Made req changes #

Total comments: 7

Patch Set 11 : Made change to onCLick() as req., +quarantined code #

Patch Set 12 : merge #

Patch Set 13 : argh fixed utils include error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+687 lines, -231 lines) Patch
M gm/shadowmaps.cpp View 1 2 3 4 5 6 7 8 9 3 chunks +6 lines, -206 lines 0 comments Download
M gyp/SampleApp.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M gyp/samples.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M gyp/utils.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -0 lines 0 comments Download
A samplecode/SampleShadowing.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +307 lines, -0 lines 0 comments Download
M src/core/SkShadowShader.h View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M src/core/SkShadowShader.cpp View 1 2 3 4 5 6 7 8 7 chunks +32 lines, -25 lines 0 comments Download
A src/utils/SkShadowPaintFilterCanvas.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +113 lines, -0 lines 0 comments Download
A src/utils/SkShadowPaintFilterCanvas.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +221 lines, -0 lines 0 comments Download

Messages

Total messages: 44 (17 generated)
vjiaoblack
4 years, 4 months ago (2016-08-01 18:25:52 UTC) #3
vjiaoblack
4 years, 4 months ago (2016-08-01 20:00:04 UTC) #4
vjiaoblack
4 years, 4 months ago (2016-08-02 13:17:27 UTC) #5
robertphillips
https://codereview.chromium.org/2198933002/diff/80001/gm/shadowmaps.cpp File gm/shadowmaps.cpp (right): https://codereview.chromium.org/2198933002/diff/80001/gm/shadowmaps.cpp#newcode10 gm/shadowmaps.cpp:10: #include "SkPaintFilterCanvas.h" alphabetize Also, I expect an addition to ...
4 years, 4 months ago (2016-08-02 16:05:07 UTC) #6
jvanverth1
https://codereview.chromium.org/2198933002/diff/80001/gyp/common_variables.gypi File gyp/common_variables.gypi (right): https://codereview.chromium.org/2198933002/diff/80001/gyp/common_variables.gypi#newcode257 gyp/common_variables.gypi:257: 'skia_experimental_shadowing': 1, # for experimental shadow-drawing Don't forget to ...
4 years, 4 months ago (2016-08-02 17:43:33 UTC) #7
vjiaoblack
https://codereview.chromium.org/2198933002/diff/80001/gm/shadowmaps.cpp File gm/shadowmaps.cpp (right): https://codereview.chromium.org/2198933002/diff/80001/gm/shadowmaps.cpp#newcode10 gm/shadowmaps.cpp:10: #include "SkPaintFilterCanvas.h" On 2016/08/02 16:05:06, robertphillips wrote: > alphabetize ...
4 years, 4 months ago (2016-08-03 14:04:22 UTC) #8
vjiaoblack
4 years, 4 months ago (2016-08-03 18:13:53 UTC) #10
robertphillips
https://codereview.chromium.org/2198933002/diff/120001/include/core/SkLights.h File include/core/SkLights.h (right): https://codereview.chromium.org/2198933002/diff/120001/include/core/SkLights.h#newcode65 include/core/SkLights.h:65: For better or for worse, Skia doesn't usually return ...
4 years, 4 months ago (2016-08-03 18:47:49 UTC) #11
vjiaoblack
https://codereview.chromium.org/2198933002/diff/120001/include/core/SkLights.h File include/core/SkLights.h (right): https://codereview.chromium.org/2198933002/diff/120001/include/core/SkLights.h#newcode65 include/core/SkLights.h:65: On 2016/08/03 18:47:47, robertphillips wrote: > For better or ...
4 years, 4 months ago (2016-08-04 13:36:23 UTC) #12
robertphillips
https://codereview.chromium.org/2198933002/diff/140001/include/utils/SkShadowPaintFilterCanvas.h File include/utils/SkShadowPaintFilterCanvas.h (right): https://codereview.chromium.org/2198933002/diff/140001/include/utils/SkShadowPaintFilterCanvas.h#newcode14 include/utils/SkShadowPaintFilterCanvas.h:14: class is now named differently https://codereview.chromium.org/2198933002/diff/140001/include/utils/SkShadowPaintFilterCanvas.h#newcode16 include/utils/SkShadowPaintFilterCanvas.h:16: It's not ...
4 years, 4 months ago (2016-08-04 15:17:35 UTC) #13
vjiaoblack
https://codereview.chromium.org/2198933002/diff/120001/src/utils/SkShadowPaintFilterCanvas.cpp File src/utils/SkShadowPaintFilterCanvas.cpp (right): https://codereview.chromium.org/2198933002/diff/120001/src/utils/SkShadowPaintFilterCanvas.cpp#newcode49 src/utils/SkShadowPaintFilterCanvas.cpp:49: if (this->fLights->light(0).type() != SkLights::Light::kAmbient_LightType) { On 2016/08/03 18:47:48, robertphillips ...
4 years, 4 months ago (2016-08-04 18:03:59 UTC) #14
robertphillips
https://codereview.chromium.org/2198933002/diff/160001/gm/shadowmaps.cpp File gm/shadowmaps.cpp (right): https://codereview.chromium.org/2198933002/diff/160001/gm/shadowmaps.cpp#newcode120 gm/shadowmaps.cpp:120: Use our new helper here ? https://codereview.chromium.org/2198933002/diff/160001/include/utils/SkShadowPaintFilterCanvas.h File include/utils/SkShadowPaintFilterCanvas.h ...
4 years, 4 months ago (2016-08-04 18:16:06 UTC) #15
vjiaoblack
https://codereview.chromium.org/2198933002/diff/160001/gm/shadowmaps.cpp File gm/shadowmaps.cpp (right): https://codereview.chromium.org/2198933002/diff/160001/gm/shadowmaps.cpp#newcode120 gm/shadowmaps.cpp:120: On 2016/08/04 18:16:06, robertphillips wrote: > Use our new ...
4 years, 4 months ago (2016-08-04 18:55:50 UTC) #16
robertphillips
lgtm. Other onClick handlers seem to invalue the screen when the scene changes. https://codereview.chromium.org/2198933002/diff/180001/samplecode/SampleShadowing.cpp File ...
4 years, 4 months ago (2016-08-04 19:16:17 UTC) #17
vjiaoblack
https://codereview.chromium.org/2198933002/diff/180001/samplecode/SampleShadowing.cpp File samplecode/SampleShadowing.cpp (right): https://codereview.chromium.org/2198933002/diff/180001/samplecode/SampleShadowing.cpp#newcode244 samplecode/SampleShadowing.cpp:244: On 2016/08/04 19:16:17, robertphillips wrote: > this->inval(nullptr); ? Done. ...
4 years, 4 months ago (2016-08-05 13:40:32 UTC) #18
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/2198933002/200001
4 years, 4 months ago (2016-08-05 13:40:45 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-GN-Trybot on master.client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-GN-Trybot/builds/33) Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot on master.client.skia (JOB_FAILED, ...
4 years, 4 months ago (2016-08-05 13:42:15 UTC) #23
vjiaoblack
rebased with master
4 years, 4 months ago (2016-08-05 13:45:22 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/2198933002/220001
4 years, 4 months ago (2016-08-05 13:45:35 UTC) #27
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/12213)
4 years, 4 months ago (2016-08-05 13:47:26 UTC) #29
vjiaoblack
hallo! Making change to public API, so I need a lgtm from a swagmaster
4 years, 4 months ago (2016-08-05 13:50:31 UTC) #31
jvanverth1
On 2016/08/05 13:50:31, vjiaoblack wrote: > hallo! > Making change to public API, so I ...
4 years, 4 months ago (2016-08-05 13:59:06 UTC) #32
djsollen
I'll defer to Mike on this public API change, but is there a reason for ...
4 years, 4 months ago (2016-08-05 14:01:13 UTC) #33
vjiaoblack
On 2016/08/05 14:01:13, djsollen wrote: > I'll defer to Mike on this public API change, ...
4 years, 4 months ago (2016-08-05 14:02:21 UTC) #34
vjiaoblack
4 years, 4 months ago (2016-08-05 14:46:27 UTC) #37
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/2198933002/240001
4 years, 4 months ago (2016-08-05 14:54:06 UTC) #42
commit-bot: I haz the power
4 years, 4 months ago (2016-08-05 14:55:04 UTC) #44
Message was sent while issue was closed.
Committed patchset #13 (id:240001) as
https://skia.googlesource.com/skia/+/955e879c6dc9c74224d5a25a67e9eecdee4d4ae8

Powered by Google App Engine
This is Rietveld 408576698