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

Issue 1212813009: Add normal map sample (Closed)

Created:
5 years, 5 months ago by jvanverth1
Modified:
5 years, 5 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Add normal map sample This adds an example of an SkShader that does normal mapping. It has a single directional light and an ambient light. Committed: https://skia.googlesource.com/skia/+/8e0da72ba890de395c9946ec6639c9e1e7b16027 Committed: https://skia.googlesource.com/skia/+/d17a32966afb2f7fdebfb58d37fa1b2d3e2d474b

Patch Set 1 #

Patch Set 2 : Simple lighting working #

Patch Set 3 : Add uniform support for lighting values #

Total comments: 20

Patch Set 4 : Address comments #

Total comments: 12

Patch Set 5 : Address nits #

Patch Set 6 : Fix merge issues #

Patch Set 7 : Fix SkGr.h #

Patch Set 8 : Fix GrTypes.h #

Patch Set 9 : Update SampleApp.gyp to address CrOS compiles #

Patch Set 10 : CrOS is annoying #

Patch Set 11 : Rebase to ToT #

Patch Set 12 : CrOS still annoying #

Patch Set 13 : CrOS continues to baffle #

Patch Set 14 : Don't compile SampleLighting.cpp on CrOS #

Unified diffs Side-by-side diffs Delta from patch set Stats (+435 lines, -0 lines) Patch
M gyp/SampleApp.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +6 lines, -0 lines 0 comments Download
A resources/brickwork-texture.jpg View 1 2 Binary file 0 comments Download
A resources/brickwork_normal-map.jpg View 1 2 Binary file 0 comments Download
A samplecode/SampleLighting.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +429 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (8 generated)
jvanverth1
5 years, 5 months ago (2015-07-08 15:53:09 UTC) #2
robertphillips
https://codereview.chromium.org/1212813009/diff/40001/samplecode/SampleLighting.cpp File samplecode/SampleLighting.cpp (right): https://codereview.chromium.org/1212813009/diff/40001/samplecode/SampleLighting.cpp#newcode98 samplecode/SampleLighting.cpp:98: one line ? Is this right ? https://codereview.chromium.org/1212813009/diff/40001/samplecode/SampleLighting.cpp#newcode110 samplecode/SampleLighting.cpp:110: ...
5 years, 5 months ago (2015-07-08 16:15:15 UTC) #3
jvanverth1
https://codereview.chromium.org/1212813009/diff/40001/samplecode/SampleLighting.cpp File samplecode/SampleLighting.cpp (right): https://codereview.chromium.org/1212813009/diff/40001/samplecode/SampleLighting.cpp#newcode98 samplecode/SampleLighting.cpp:98: On 2015/07/08 16:15:14, robertphillips wrote: > one line ? ...
5 years, 5 months ago (2015-07-08 19:58:07 UTC) #4
robertphillips
lgtm + nits https://codereview.chromium.org/1212813009/diff/60001/samplecode/SampleLighting.cpp File samplecode/SampleLighting.cpp (right): https://codereview.chromium.org/1212813009/diff/60001/samplecode/SampleLighting.cpp#newcode25 samplecode/SampleLighting.cpp:25: struct SkVector3 { fX, fY, fZ ...
5 years, 5 months ago (2015-07-08 20:39:25 UTC) #5
jvanverth1
https://codereview.chromium.org/1212813009/diff/60001/samplecode/SampleLighting.cpp File samplecode/SampleLighting.cpp (right): https://codereview.chromium.org/1212813009/diff/60001/samplecode/SampleLighting.cpp#newcode25 samplecode/SampleLighting.cpp:25: struct SkVector3 { On 2015/07/08 20:39:24, robertphillips wrote: > ...
5 years, 5 months ago (2015-07-08 20:54:12 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1212813009/80001
5 years, 5 months ago (2015-07-08 20:54:36 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: Build-Ubuntu-Clang-x86_64-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-Clang-x86_64-Debug-Trybot/builds/1952) Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot on client.skia.compile (JOB_FAILED, ...
5 years, 5 months ago (2015-07-08 20:55:26 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1212813009/100001
5 years, 5 months ago (2015-07-08 21:11:03 UTC) #14
commit-bot: I haz the power
Committed patchset #6 (id:100001) as https://skia.googlesource.com/skia/+/8e0da72ba890de395c9946ec6639c9e1e7b16027
5 years, 5 months ago (2015-07-08 21:21:51 UTC) #15
robertphillips
A revert of this CL (patchset #6 id:100001) has been created in https://codereview.chromium.org/1230603002/ by robertphillips@google.com. ...
5 years, 5 months ago (2015-07-08 21:45:51 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1212813009/250001
5 years, 5 months ago (2015-07-09 15:37:23 UTC) #19
commit-bot: I haz the power
5 years, 5 months ago (2015-07-09 16:04:21 UTC) #20
Message was sent while issue was closed.
Committed patchset #14 (id:250001) as
https://skia.googlesource.com/skia/+/d17a32966afb2f7fdebfb58d37fa1b2d3e2d474b

Powered by Google App Engine
This is Rietveld 408576698