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

Issue 2063793002: API change to allow for NormalSource selection at the user level. (Closed)

Created:
4 years, 6 months ago by dvonbeck
Modified:
4 years, 5 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia@dvonbeck-normal-factor-out
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

API change to allow for NormalSource selection at the user level. This CL's base is the CL for CPU handling: https://codereview.chromium.org/2050773002/ BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2063793002 Committed: https://skia.googlesource.com/skia/+/5b794fad18344e8dbb840be49d1bc66ebe754b31

Patch Set 1 #

Patch Set 2 : Small rebase and comment fix #

Total comments: 8

Patch Set 3 : Rebase, addressed patch 2 review #

Patch Set 4 : rebase #

Patch Set 5 : rebase #

Patch Set 6 : rebase #

Patch Set 7 : Now taking canvas total matrix for normal rotation #

Patch Set 8 : Fixed CPU behavior when normal.Z=-1 #

Total comments: 36

Patch Set 9 : Addressed some patch 8 comments #

Patch Set 10 : Addressed some patch 8 comments #

Patch Set 11 : Addressed remaining patch 8 comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+139 lines, -163 lines) Patch
M gm/lightingshader.cpp View 1 2 3 4 5 6 7 8 9 10 3 chunks +11 lines, -6 lines 0 comments Download
M samplecode/SampleLighting.cpp View 1 2 3 4 5 6 7 8 2 chunks +8 lines, -3 lines 0 comments Download
M samplecode/SampleLitAtlas.cpp View 1 2 3 4 5 6 2 chunks +9 lines, -7 lines 0 comments Download
M src/core/SkLightingShader.h View 1 2 3 4 5 6 7 8 1 chunk +8 lines, -20 lines 0 comments Download
M src/core/SkLightingShader.cpp View 1 2 3 4 5 6 7 8 9 10 7 chunks +16 lines, -72 lines 0 comments Download
M src/core/SkNormalSource.h View 1 2 3 4 5 6 3 chunks +4 lines, -8 lines 0 comments Download
M src/core/SkNormalSource.cpp View 1 2 3 4 5 6 7 8 9 10 10 chunks +73 lines, -44 lines 0 comments Download
M tests/SerializationTest.cpp View 1 2 3 4 5 6 3 chunks +10 lines, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 27 (11 generated)
dvonbeck
4 years, 6 months ago (2016-06-14 17:34:48 UTC) #4
egdaniel
https://codereview.chromium.org/2063793002/diff/20001/gm/lightingshader.cpp File gm/lightingshader.cpp (right): https://codereview.chromium.org/2063793002/diff/20001/gm/lightingshader.cpp#newcode104 gm/lightingshader.cpp:104: paint.setShader(SkLightingShader::Make(fDiffuse, fLights, &matrix, normalSource)); should this be a move ...
4 years, 6 months ago (2016-06-16 13:15:08 UTC) #5
dvonbeck
https://codereview.chromium.org/2063793002/diff/20001/gm/lightingshader.cpp File gm/lightingshader.cpp (right): https://codereview.chromium.org/2063793002/diff/20001/gm/lightingshader.cpp#newcode104 gm/lightingshader.cpp:104: paint.setShader(SkLightingShader::Make(fDiffuse, fLights, &matrix, normalSource)); On 2016/06/16 13:15:08, egdaniel wrote: ...
4 years, 6 months ago (2016-06-16 23:21:57 UTC) #6
egdaniel
lgtm once we get cpu change CL in
4 years, 6 months ago (2016-06-21 14:28:07 UTC) #7
dvonbeck
rebase
4 years, 6 months ago (2016-06-24 17:10:19 UTC) #8
dvonbeck
API now takes in CTM for normal rotation. Probably needs re-review.
4 years, 5 months ago (2016-06-27 19:07:46 UTC) #9
robertphillips
ping
4 years, 5 months ago (2016-07-06 15:30:45 UTC) #13
robertphillips
https://codereview.chromium.org/2063793002/diff/140001/gm/lightingshader.cpp File gm/lightingshader.cpp (right): https://codereview.chromium.org/2063793002/diff/140001/gm/lightingshader.cpp#newcode53 gm/lightingshader.cpp:53: builder.add(SkLights::Light(SkColor3f::Make(1.0f, 1.0f, 1.0f), I think you want this to ...
4 years, 5 months ago (2016-07-06 16:36:34 UTC) #14
dvonbeck
https://codereview.chromium.org/2063793002/diff/140001/gm/lightingshader.cpp File gm/lightingshader.cpp (right): https://codereview.chromium.org/2063793002/diff/140001/gm/lightingshader.cpp#newcode53 gm/lightingshader.cpp:53: builder.add(SkLights::Light(SkColor3f::Make(1.0f, 1.0f, 1.0f), On 2016/07/06 16:36:33, robertphillips wrote: > ...
4 years, 5 months ago (2016-07-06 18:07:49 UTC) #15
robertphillips
https://codereview.chromium.org/2063793002/diff/140001/gm/lightingshader.cpp File gm/lightingshader.cpp (right): https://codereview.chromium.org/2063793002/diff/140001/gm/lightingshader.cpp#newcode53 gm/lightingshader.cpp:53: builder.add(SkLights::Light(SkColor3f::Make(1.0f, 1.0f, 1.0f), On 2016/07/06 18:07:48, dvonbeck wrote: > ...
4 years, 5 months ago (2016-07-06 19:11:14 UTC) #16
dvonbeck
https://codereview.chromium.org/2063793002/diff/140001/gm/lightingshader.cpp File gm/lightingshader.cpp (right): https://codereview.chromium.org/2063793002/diff/140001/gm/lightingshader.cpp#newcode53 gm/lightingshader.cpp:53: builder.add(SkLights::Light(SkColor3f::Make(1.0f, 1.0f, 1.0f), On 2016/07/06 19:11:13, robertphillips wrote: > ...
4 years, 5 months ago (2016-07-06 19:34:36 UTC) #17
robertphillips
lgtm
4 years, 5 months ago (2016-07-06 20:28:47 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2063793002/200001
4 years, 5 months ago (2016-07-06 20:28:59 UTC) #20
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-07-06 20:53:43 UTC) #22
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/2063793002/200001
4 years, 5 months ago (2016-07-06 20:57:31 UTC) #25
commit-bot: I haz the power
4 years, 5 months ago (2016-07-06 20:58:40 UTC) #27
Message was sent while issue was closed.
Committed patchset #11 (id:200001) as
https://skia.googlesource.com/skia/+/5b794fad18344e8dbb840be49d1bc66ebe754b31

Powered by Google App Engine
This is Rietveld 408576698