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

Issue 2220633002: moved code into onDrawShadowedPic, only renders into shadow maps if needed (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@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

moved code into onDrawShadowedPic, only renders into shadow maps if needed BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2220633002 Committed: https://skia.googlesource.com/skia/+/904527d165ce98c9fbaa9c05d3890070e3132170

Patch Set 1 #

Total comments: 1

Patch Set 2 : Added 'd' interrupt to force depth map redraw on switch to gpu" #

Patch Set 3 : fixed small crumbs #

Total comments: 36

Patch Set 4 : made req changes #

Total comments: 8

Patch Set 5 : Made req changes #

Patch Set 6 : Fixed incorrect handling of paint and matrix in onDrawShadowedPic #

Total comments: 2

Patch Set 7 : updated light pos #

Unified diffs Side-by-side diffs Delta from patch set Stats (+149 lines, -218 lines) Patch
M gm/shadowmaps.cpp View 1 2 3 2 chunks +2 lines, -101 lines 0 comments Download
M samplecode/SampleShadowing.cpp View 1 2 3 4 5 6 8 chunks +26 lines, -116 lines 0 comments Download
M src/core/SkCanvas.cpp View 1 2 3 4 5 2 chunks +121 lines, -1 line 0 comments Download

Messages

Total messages: 22 (9 generated)
vjiaoblack
4 years, 4 months ago (2016-08-05 18:44:53 UTC) #3
vjiaoblack
4 years, 4 months ago (2016-08-05 19:52:05 UTC) #4
vjiaoblack
4 years, 4 months ago (2016-08-05 20:11:44 UTC) #5
jvanverth1
https://codereview.chromium.org/2220633002/diff/40001/samplecode/SampleShadowing.cpp File samplecode/SampleShadowing.cpp (left): https://codereview.chromium.org/2220633002/diff/40001/samplecode/SampleShadowing.cpp#oldcode200 samplecode/SampleShadowing.cpp:200: this->updateDepthMaps(canvas); Any thoughts on how you'd manage this caching ...
4 years, 4 months ago (2016-08-08 14:15:47 UTC) #6
robertphillips
https://codereview.chromium.org/2220633002/diff/1/src/core/SkCanvas.cpp File src/core/SkCanvas.cpp (right): https://codereview.chromium.org/2220633002/diff/1/src/core/SkCanvas.cpp#newcode39 src/core/SkCanvas.cpp:39: #include <new> "" style - not <> style https://codereview.chromium.org/2220633002/diff/40001/gm/shadowmaps.cpp ...
4 years, 4 months ago (2016-08-08 14:18:32 UTC) #7
vjiaoblack
https://codereview.chromium.org/2220633002/diff/40001/gm/shadowmaps.cpp File gm/shadowmaps.cpp (right): https://codereview.chromium.org/2220633002/diff/40001/gm/shadowmaps.cpp#newcode98 gm/shadowmaps.cpp:98: SkPaint paint; On 2016/08/08 14:18:31, robertphillips wrote: > pass ...
4 years, 4 months ago (2016-08-08 15:48:32 UTC) #8
robertphillips
https://codereview.chromium.org/2220633002/diff/60001/samplecode/SampleShadowing.cpp File samplecode/SampleShadowing.cpp (right): https://codereview.chromium.org/2220633002/diff/60001/samplecode/SampleShadowing.cpp#newcode63 samplecode/SampleShadowing.cpp:63: case 'd': // Raster generated shadow maps have their ...
4 years, 4 months ago (2016-08-08 16:28:25 UTC) #9
vjiaoblack
https://codereview.chromium.org/2220633002/diff/60001/samplecode/SampleShadowing.cpp File samplecode/SampleShadowing.cpp (right): https://codereview.chromium.org/2220633002/diff/60001/samplecode/SampleShadowing.cpp#newcode63 samplecode/SampleShadowing.cpp:63: case 'd': On 2016/08/08 16:28:25, robertphillips wrote: > // ...
4 years, 4 months ago (2016-08-09 13:28:03 UTC) #10
vjiaoblack
4 years, 4 months ago (2016-08-09 14:35:58 UTC) #11
robertphillips
lgtm https://codereview.chromium.org/2220633002/diff/100001/samplecode/SampleShadowing.cpp File samplecode/SampleShadowing.cpp (right): https://codereview.chromium.org/2220633002/diff/100001/samplecode/SampleShadowing.cpp#newcode63 samplecode/SampleShadowing.cpp:63: case 'd': have their origin ?
4 years, 4 months ago (2016-08-09 14:50:37 UTC) #12
vjiaoblack
https://codereview.chromium.org/2220633002/diff/100001/samplecode/SampleShadowing.cpp File samplecode/SampleShadowing.cpp (right): https://codereview.chromium.org/2220633002/diff/100001/samplecode/SampleShadowing.cpp#newcode63 samplecode/SampleShadowing.cpp:63: case 'd': On 2016/08/09 14:50:37, robertphillips wrote: > have ...
4 years, 4 months ago (2016-08-09 15:59:40 UTC) #13
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/2220633002/120001
4 years, 4 months ago (2016-08-09 16:31:09 UTC) #20
commit-bot: I haz the power
4 years, 4 months ago (2016-08-09 16:32:13 UTC) #22
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://skia.googlesource.com/skia/+/904527d165ce98c9fbaa9c05d3890070e3132170

Powered by Google App Engine
This is Rietveld 408576698