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

Issue 2056343004: Add samples to Viewer. (Closed)

Created:
4 years, 6 months ago by jvanverth1
Modified:
4 years, 6 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 samples to Viewer. This adds support with animation, assuming the sample has implemented onAnimate. Event handling has not been implemented. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2056343004 Committed: https://skia.googlesource.com/skia/+/76963e73704a42a18c29d6fbdcccb566e5c67658 Committed: https://skia.googlesource.com/skia/+/c7027ab03f2e8bab4c74bc1b047642622d3d682b

Patch Set 1 #

Patch Set 2 : Got animation working #

Patch Set 3 : Couple fixups #

Patch Set 4 : Fix Mac build #

Patch Set 5 : Fix android build #

Patch Set 6 : Fix Android build (again) #

Patch Set 7 : Fix Android build (again) #

Patch Set 8 : Separate SampleCode objects from SampleApp #

Patch Set 9 : Final Android fixes #

Total comments: 5

Patch Set 10 : Separate Samples into new gyp file #

Patch Set 11 : Add samples.gypi #

Unified diffs Side-by-side diffs Delta from patch set Stats (+461 lines, -295 lines) Patch
M gyp/SampleApp.gyp View 1 2 3 4 5 6 7 8 9 2 chunks +1 line, -122 lines 0 comments Download
A gyp/samples.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +140 lines, -0 lines 0 comments Download
M gyp/viewer.gyp View 1 2 3 4 5 6 7 8 9 3 chunks +27 lines, -5 lines 0 comments Download
M samplecode/ClockFaceView.cpp View 1 2 chunks +10 lines, -1 line 0 comments Download
M samplecode/SampleApp.cpp View 1 2 3 4 5 6 7 3 chunks +0 lines, -157 lines 0 comments Download
M samplecode/SampleAtlas.cpp View 1 1 chunk +3 lines, -1 line 0 comments Download
M samplecode/SampleClock.cpp View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M samplecode/SampleCode.h View 1 2 3 4 5 6 7 1 chunk +9 lines, -0 lines 0 comments Download
A samplecode/SampleCode.cpp View 1 2 3 4 5 6 7 1 chunk +170 lines, -0 lines 0 comments Download
M src/fonts/SkTestScalerContext.cpp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M tools/viewer/ImageSlide.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M tools/viewer/ImageSlide.cpp View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M tools/viewer/SKPSlide.h View 1 1 chunk +1 line, -1 line 0 comments Download
M tools/viewer/SKPSlide.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
A tools/viewer/SampleSlide.h View 1 1 chunk +34 lines, -0 lines 0 comments Download
A tools/viewer/SampleSlide.cpp View 1 2 3 4 5 6 7 8 1 chunk +45 lines, -0 lines 0 comments Download
M tools/viewer/Slide.h View 1 1 chunk +4 lines, -2 lines 0 comments Download
M tools/viewer/Viewer.cpp View 1 2 3 4 5 6 7 3 chunks +10 lines, -1 line 0 comments Download

Messages

Total messages: 27 (13 generated)
jvanverth1
4 years, 6 months ago (2016-06-13 15:36:43 UTC) #4
bsalomon
lgtm
4 years, 6 months ago (2016-06-13 15:39:08 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2056343004/40001
4 years, 6 months ago (2016-06-13 16:08:37 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: Build-Mac-Clang-x86_64-Release-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Mac-Clang-x86_64-Release-Trybot/builds/3157)
4 years, 6 months ago (2016-06-13 16:14:07 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2056343004/60001
4 years, 6 months ago (2016-06-13 16:16:37 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://skia.googlesource.com/skia/+/76963e73704a42a18c29d6fbdcccb566e5c67658
4 years, 6 months ago (2016-06-13 16:31:31 UTC) #14
egdaniel
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/2063883002/ by egdaniel@google.com. ...
4 years, 6 months ago (2016-06-13 18:28:51 UTC) #15
jvanverth1
Adding djsollen@ and liyuqian@. Updated to fix the Android build; please take a look.
4 years, 6 months ago (2016-06-15 17:09:37 UTC) #18
djsollen
lgtm, and feel free to ignore my nits since I'm late to the party. https://codereview.chromium.org/2056343004/diff/160001/gyp/viewer.gyp ...
4 years, 6 months ago (2016-06-15 17:17:58 UTC) #19
jvanverth1
https://codereview.chromium.org/2056343004/diff/160001/gyp/viewer.gyp File gyp/viewer.gyp (right): https://codereview.chromium.org/2056343004/diff/160001/gyp/viewer.gyp#newcode198 gyp/viewer.gyp:198: 'views.gyp:views', On 2016/06/15 17:17:58, djsollen wrote: > can you ...
4 years, 6 months ago (2016-06-15 17:41:27 UTC) #20
liyuqian
On 2016/06/15 17:41:27, jvanverth1 wrote: > https://codereview.chromium.org/2056343004/diff/160001/gyp/viewer.gyp > File gyp/viewer.gyp (right): > > https://codereview.chromium.org/2056343004/diff/160001/gyp/viewer.gyp#newcode198 > ...
4 years, 6 months ago (2016-06-15 19:01:29 UTC) #21
jvanverth1
https://codereview.chromium.org/2056343004/diff/160001/gyp/viewer.gyp File gyp/viewer.gyp (right): https://codereview.chromium.org/2056343004/diff/160001/gyp/viewer.gyp#newcode39 gyp/viewer.gyp:39: # Samples On 2016/06/15 17:17:58, djsollen wrote: > can ...
4 years, 6 months ago (2016-06-16 16:39:42 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2056343004/200001
4 years, 6 months ago (2016-06-16 16:39:59 UTC) #25
commit-bot: I haz the power
4 years, 6 months ago (2016-06-16 16:52:39 UTC) #27
Message was sent while issue was closed.
Committed patchset #11 (id:200001) as
https://skia.googlesource.com/skia/+/c7027ab03f2e8bab4c74bc1b047642622d3d682b

Powered by Google App Engine
This is Rietveld 408576698