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

Issue 2118553002: adding new GM to demostrate new shadows (Closed)

Created:
4 years, 5 months ago by vjiaoblack
Modified:
4 years, 4 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 #

Patch Set 2 : Updated! #

Patch Set 3 : fixed codez #

Total comments: 4

Patch Set 4 : Added the framework for having canvas / recorder / picture record depth sets. #

Patch Set 5 : Basic version works; rebased off master #

Patch Set 6 : Forgot to commit files. #

Total comments: 114

Patch Set 7 : Made requested changes #

Total comments: 73

Patch Set 8 : Made requested changes #

Patch Set 9 : Made requested changes #

Total comments: 26

Patch Set 10 : Made req changes, and fixed CPU lighting. #

Total comments: 10

Patch Set 11 : made req changes #

Total comments: 6

Patch Set 12 : made changes #

Patch Set 13 : Disabled shadow maps #

Total comments: 3

Patch Set 14 : Added variable size shadow maps and fixed soem bugs #

Patch Set 15 : Lines too long #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1163 lines, -0 lines) Patch
A gm/shadowmaps.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +410 lines, -0 lines 0 comments Download
M gyp/core.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -0 lines 0 comments Download
A src/core/SkShadowShader.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +32 lines, -0 lines 0 comments Download
A src/core/SkShadowShader.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +719 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 48 (16 generated)
vjiaoblack
pls help look at my code on dev machine!
4 years, 5 months ago (2016-06-30 20:03:32 UTC) #3
robertphillips
https://codereview.chromium.org/2118553002/diff/40001/gm/victor-shadows.cpp File gm/victor-shadows.cpp (right): https://codereview.chromium.org/2118553002/diff/40001/gm/victor-shadows.cpp#newcode52 gm/victor-shadows.cpp:52: // Maybe add the ID here along with the ...
4 years, 5 months ago (2016-07-01 15:17:55 UTC) #6
jvanverth1
lgtm https://codereview.chromium.org/2118553002/diff/40001/gm/victor-shadows.cpp File gm/victor-shadows.cpp (right): https://codereview.chromium.org/2118553002/diff/40001/gm/victor-shadows.cpp#newcode81 gm/victor-shadows.cpp:81: On 2016/07/01 15:17:54, robertphillips wrote: > Thinking about ...
4 years, 5 months ago (2016-07-01 15:31:04 UTC) #7
jvanverth1
notlgtm
4 years, 5 months ago (2016-07-01 15:31:35 UTC) #8
jvanverth1
On 2016/07/01 15:31:35, jvanverth1 wrote: > notlgtm not lgtm (argh)
4 years, 5 months ago (2016-07-01 15:31:48 UTC) #9
vjiaoblack
updated!!!!!!! u can see the depth values in the top left quadrant on top of ...
4 years, 5 months ago (2016-07-07 17:24:03 UTC) #10
vjiaoblack
On 2016/07/07 17:24:03, vjiaoblack wrote: > updated!!!!!!! u can see the depth values in the ...
4 years, 5 months ago (2016-07-07 17:46:06 UTC) #11
vjiaoblack
On 2016/07/07 17:46:06, vjiaoblack wrote: > On 2016/07/07 17:24:03, vjiaoblack wrote: > > updated!!!!!!! u ...
4 years, 5 months ago (2016-07-07 17:50:13 UTC) #12
jvanverth1
On 2016/07/07 17:50:13, vjiaoblack wrote: > On 2016/07/07 17:46:06, vjiaoblack wrote: > > On 2016/07/07 ...
4 years, 5 months ago (2016-07-07 18:08:06 UTC) #13
vjiaoblack
4 years, 5 months ago (2016-07-21 21:34:51 UTC) #14
vjiaoblack
4 years, 5 months ago (2016-07-22 13:38:52 UTC) #16
vjiaoblack
4 years, 5 months ago (2016-07-22 13:51:51 UTC) #18
jvanverth1
My only general comment is that I think using the shadow mapping algorithm to generate ...
4 years, 4 months ago (2016-07-26 15:01:25 UTC) #20
robertphillips
https://codereview.chromium.org/2118553002/diff/100001/gm/victor-shadows.cpp File gm/victor-shadows.cpp (right): https://codereview.chromium.org/2118553002/diff/100001/gm/victor-shadows.cpp#newcode8 gm/victor-shadows.cpp:8: #include "gm.h" Do you still need SkDrawFilter.h ? https://codereview.chromium.org/2118553002/diff/100001/gm/victor-shadows.cpp#newcode18 ...
4 years, 4 months ago (2016-07-26 16:15:06 UTC) #21
vjiaoblack
https://codereview.chromium.org/2118553002/diff/100001/gm/victor-shadows.cpp File gm/victor-shadows.cpp (right): https://codereview.chromium.org/2118553002/diff/100001/gm/victor-shadows.cpp#newcode1 gm/victor-shadows.cpp:1: /* On 2016/07/26 15:01:24, jvanverth1 wrote: > I'd rename ...
4 years, 4 months ago (2016-07-27 15:26:28 UTC) #22
jvanverth1
https://codereview.chromium.org/2118553002/diff/120001/src/core/SkShadowShader.cpp File src/core/SkShadowShader.cpp (right): https://codereview.chromium.org/2118553002/diff/120001/src/core/SkShadowShader.cpp#newcode116 src/core/SkShadowShader.cpp:116: fGrContext = context; Do you use this anywhere else? ...
4 years, 4 months ago (2016-07-27 17:46:04 UTC) #23
robertphillips
https://codereview.chromium.org/2118553002/diff/120001/gm/shadowmaps.cpp File gm/shadowmaps.cpp (right): https://codereview.chromium.org/2118553002/diff/120001/gm/shadowmaps.cpp#newcode8 gm/shadowmaps.cpp:8: #include "gm.h" Alphabetize the Sk* headers https://codereview.chromium.org/2118553002/diff/120001/gm/shadowmaps.cpp#newcode14 gm/shadowmaps.cpp:14: #include ...
4 years, 4 months ago (2016-07-27 18:53:00 UTC) #24
vjiaoblack
https://codereview.chromium.org/2118553002/diff/120001/gm/shadowmaps.cpp File gm/shadowmaps.cpp (right): https://codereview.chromium.org/2118553002/diff/120001/gm/shadowmaps.cpp#newcode8 gm/shadowmaps.cpp:8: #include "gm.h" On 2016/07/27 18:52:58, robertphillips wrote: > Alphabetize ...
4 years, 4 months ago (2016-07-28 17:17:52 UTC) #25
robertphillips
https://codereview.chromium.org/2118553002/diff/120001/gm/shadowmaps.cpp File gm/shadowmaps.cpp (right): https://codereview.chromium.org/2118553002/diff/120001/gm/shadowmaps.cpp#newcode94 gm/shadowmaps.cpp:94: void onDrawPicture(const SkPicture* picture, const SkMatrix* matrix, const SkPaint* ...
4 years, 4 months ago (2016-07-28 19:47:26 UTC) #26
vjiaoblack
https://codereview.chromium.org/2118553002/diff/160001/gm/shadowmaps.cpp File gm/shadowmaps.cpp (right): https://codereview.chromium.org/2118553002/diff/160001/gm/shadowmaps.cpp#newcode79 gm/shadowmaps.cpp:79: bool onFilter(SkTCopyOnFirstWrite<SkPaint>* paint, Type type) const override { On ...
4 years, 4 months ago (2016-07-29 16:07:30 UTC) #27
robertphillips
https://codereview.chromium.org/2118553002/diff/180001/gm/shadowmaps.cpp File gm/shadowmaps.cpp (right): https://codereview.chromium.org/2118553002/diff/180001/gm/shadowmaps.cpp#newcode12 gm/shadowmaps.cpp:12: #include "SkSurface.h" This is out of order https://codereview.chromium.org/2118553002/diff/180001/gm/shadowmaps.cpp#newcode86 gm/shadowmaps.cpp:86: ...
4 years, 4 months ago (2016-07-29 16:30:52 UTC) #28
vjiaoblack
https://codereview.chromium.org/2118553002/diff/180001/gm/shadowmaps.cpp File gm/shadowmaps.cpp (right): https://codereview.chromium.org/2118553002/diff/180001/gm/shadowmaps.cpp#newcode12 gm/shadowmaps.cpp:12: #include "SkSurface.h" On 2016/07/29 16:30:52, robertphillips wrote: > This ...
4 years, 4 months ago (2016-07-29 17:39:31 UTC) #29
robertphillips
lgtm + nits https://codereview.chromium.org/2118553002/diff/200001/gm/shadowmaps.cpp File gm/shadowmaps.cpp (right): https://codereview.chromium.org/2118553002/diff/200001/gm/shadowmaps.cpp#newcode101 gm/shadowmaps.cpp:101: if (this->onFilter(&filteredPaint, kPicture_Type)) { the base ...
4 years, 4 months ago (2016-07-29 17:58:12 UTC) #30
vjiaoblack
https://codereview.chromium.org/2118553002/diff/200001/gm/shadowmaps.cpp File gm/shadowmaps.cpp (right): https://codereview.chromium.org/2118553002/diff/200001/gm/shadowmaps.cpp#newcode101 gm/shadowmaps.cpp:101: if (this->onFilter(&filteredPaint, kPicture_Type)) { On 2016/07/29 17:58:12, robertphillips wrote: ...
4 years, 4 months ago (2016-07-29 18:09:13 UTC) #31
vjiaoblack
4 years, 4 months ago (2016-07-29 18:21:42 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/2118553002/240001
4 years, 4 months ago (2016-07-29 18:22:09 UTC) #38
commit-bot: I haz the power
A disapproval has been posted by following reviewers: jvanverth@google.com. Please make sure to get positive ...
4 years, 4 months ago (2016-07-29 18:22:13 UTC) #40
jvanverth1
lgtm
4 years, 4 months ago (2016-08-01 14:38:44 UTC) #41
vjiaoblack
https://codereview.chromium.org/2118553002/diff/240001/src/core/SkShadowShader.cpp File src/core/SkShadowShader.cpp (right): https://codereview.chromium.org/2118553002/diff/240001/src/core/SkShadowShader.cpp#newcode30 src/core/SkShadowShader.cpp:30: : povDepthShader(std::move(povDepthShader)) fPovDepthShader https://codereview.chromium.org/2118553002/diff/240001/src/core/SkShadowShader.cpp#newcode303 src/core/SkShadowShader.cpp:303: fLightColor[i] == shadowFP.fLightColor[i]) { ...
4 years, 4 months ago (2016-08-01 16:33:28 UTC) #42
vjiaoblack
4 years, 4 months ago (2016-08-01 16:37:51 UTC) #43
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/2118553002/280001
4 years, 4 months ago (2016-08-01 16:39:34 UTC) #46
commit-bot: I haz the power
4 years, 4 months ago (2016-08-01 17:02:35 UTC) #48
Message was sent while issue was closed.
Committed patchset #15 (id:280001) as
https://skia.googlesource.com/skia/+/53da5ba619553aa47dfe27c315f7deae389e6b07

Powered by Google App Engine
This is Rietveld 408576698