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

Issue 2064153002: Changed SkLightingShader API to take in a shader as color source (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-diffuse-factor-out
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Changed SkLightingShader API to take in a shader as color source This CL's base is the CL for the same modification, but in the implementation side: https://codereview.chromium.org/2062703003/ BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2064153002 Committed: https://skia.googlesource.com/skia/+/6af677ff8f549751352847ceefda4538236c8a20

Patch Set 1 #

Patch Set 2 : Rebased #

Patch Set 3 : rebase #

Patch Set 4 : rebase #

Total comments: 3

Patch Set 5 : Fixed redundant include #

Patch Set 6 : rebase #

Total comments: 2

Patch Set 7 : Addressed patch 6 comment #

Patch Set 8 : Null-backed SkBitmap now fail gracefully #

Patch Set 9 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -35 lines) Patch
M gm/lightingshader.cpp View 1 2 3 4 5 6 7 1 chunk +4 lines, -2 lines 0 comments Download
M samplecode/SampleLighting.cpp View 1 2 3 4 5 6 7 1 chunk +4 lines, -2 lines 0 comments Download
M samplecode/SampleLitAtlas.cpp View 1 2 3 4 5 1 chunk +4 lines, -2 lines 0 comments Download
M src/core/SkLightingShader.h View 1 2 3 4 5 6 7 1 chunk +7 lines, -14 lines 0 comments Download
M src/core/SkLightingShader.cpp View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -13 lines 0 comments Download
M tests/SerializationTest.cpp View 1 2 3 4 5 1 chunk +5 lines, -2 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 18 (8 generated)
dvonbeck
4 years, 6 months ago (2016-06-14 17:39:49 UTC) #4
egdaniel
lgtm with one include nit. https://codereview.chromium.org/2064153002/diff/60001/tests/SerializationTest.cpp File tests/SerializationTest.cpp (right): https://codereview.chromium.org/2064153002/diff/60001/tests/SerializationTest.cpp#newcode8 tests/SerializationTest.cpp:8: #include <SkBitmapProcShader.h> why this ...
4 years, 6 months ago (2016-06-21 14:37:30 UTC) #5
reed1
https://codereview.chromium.org/2064153002/diff/60001/tests/SerializationTest.cpp File tests/SerializationTest.cpp (right): https://codereview.chromium.org/2064153002/diff/60001/tests/SerializationTest.cpp#newcode8 tests/SerializationTest.cpp:8: #include <SkBitmapProcShader.h> On 2016/06/21 14:37:30, egdaniel wrote: > why ...
4 years, 6 months ago (2016-06-21 14:38:42 UTC) #7
dvonbeck
Fixed redundant include
4 years, 6 months ago (2016-06-21 14:47:39 UTC) #8
dvonbeck
https://codereview.chromium.org/2064153002/diff/60001/tests/SerializationTest.cpp File tests/SerializationTest.cpp (right): https://codereview.chromium.org/2064153002/diff/60001/tests/SerializationTest.cpp#newcode8 tests/SerializationTest.cpp:8: #include <SkBitmapProcShader.h> On 2016/06/21 14:38:42, reed1 wrote: > On ...
4 years, 6 months ago (2016-06-21 14:47:55 UTC) #9
robertphillips
Why not land this ?
4 years, 5 months ago (2016-07-06 15:33:13 UTC) #11
robertphillips
lgtm https://codereview.chromium.org/2064153002/diff/100001/src/core/SkLightingShader.h File src/core/SkLightingShader.h (right): https://codereview.chromium.org/2064153002/diff/100001/src/core/SkLightingShader.h#newcode19 src/core/SkLightingShader.h:19: public: "textured by" -> "lit using" ?
4 years, 5 months ago (2016-07-06 15:38:16 UTC) #12
dvonbeck
Changed comment. Will land as soon as https://codereview.chromium.org/2062703003/ lands and rolls. https://codereview.chromium.org/2064153002/diff/100001/src/core/SkLightingShader.h File src/core/SkLightingShader.h (right): ...
4 years, 5 months ago (2016-07-06 15:53:05 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/2064153002/160001
4 years, 5 months ago (2016-07-11 01:16:52 UTC) #16
commit-bot: I haz the power
4 years, 5 months ago (2016-07-11 01:38:38 UTC) #18
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://skia.googlesource.com/skia/+/6af677ff8f549751352847ceefda4538236c8a20

Powered by Google App Engine
This is Rietveld 408576698