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

Issue 890873003: update example (Closed)

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

Description

First cut at cleaning up Sergio's example code and moving some common code to SkWindow. Eventually, this will be moved to be a peer of SampleApp so it is compiled by the bots to avoid future bit rot. Also ignore XCode auto-generated flag in CommandLineFlags, and remove the unused multiple-example part. Committed: https://skia.googlesource.com/skia/+/c8fcafb3f0d152fb92465451bdb2e4bd3ef37222

Patch Set 1 #

Patch Set 2 : move common code from samples to SkWindow #

Patch Set 3 : fix mac, remove space #

Total comments: 6

Patch Set 4 : address comments #

Patch Set 5 : remove multiple example cruft #

Unified diffs Side-by-side diffs Delta from patch set Stats (+191 lines, -282 lines) Patch
M experimental/SkiaExamples/HelloSkiaExample.cpp View 1 2 3 4 1 chunk +0 lines, -106 lines 0 comments Download
M experimental/SkiaExamples/SkExample.h View 1 2 3 4 2 chunks +22 lines, -12 lines 0 comments Download
M experimental/SkiaExamples/SkExample.cpp View 1 2 3 4 3 chunks +112 lines, -113 lines 0 comments Download
M gyp/experimental.gyp View 1 2 3 4 2 chunks +7 lines, -8 lines 0 comments Download
M gyp/views.gyp View 1 1 chunk +5 lines, -0 lines 0 comments Download
M include/views/SkOSWindow_Android.h View 1 1 chunk +0 lines, -5 lines 0 comments Download
M include/views/SkOSWindow_Mac.h View 1 1 chunk +0 lines, -5 lines 0 comments Download
M include/views/SkOSWindow_NaCl.h View 1 1 chunk +0 lines, -5 lines 0 comments Download
M include/views/SkOSWindow_Unix.h View 1 1 chunk +0 lines, -5 lines 0 comments Download
M include/views/SkOSWindow_Win.h View 1 1 chunk +0 lines, -5 lines 0 comments Download
M include/views/SkOSWindow_iOS.h View 1 1 chunk +0 lines, -5 lines 0 comments Download
M include/views/SkWindow.h View 1 2 chunks +16 lines, -0 lines 0 comments Download
M samplecode/SampleApp.cpp View 1 1 chunk +1 line, -13 lines 0 comments Download
M src/views/SkWindow.cpp View 1 1 chunk +23 lines, -0 lines 0 comments Download
M tools/flags/SkCommandLineFlags.cpp View 1 2 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
caryclark
5 years, 10 months ago (2015-01-30 18:53:28 UTC) #2
bsalomon
https://codereview.chromium.org/890873003/diff/30001/experimental/SkiaExamples/SkExample.h File experimental/SkiaExamples/SkExample.h (right): https://codereview.chromium.org/890873003/diff/30001/experimental/SkiaExamples/SkExample.h#newcode48 experimental/SkiaExamples/SkExample.h:48: virtual ~SkExampleWindow(); ~SkExampleWindow() SK_OVERRIDE? https://codereview.chromium.org/890873003/diff/30001/experimental/SkiaExamples/SkExample.h#newcode56 experimental/SkiaExamples/SkExample.h:56: static void release_storage(void* ...
5 years, 10 months ago (2015-01-30 19:19:13 UTC) #3
caryclark
https://codereview.chromium.org/890873003/diff/30001/experimental/SkiaExamples/SkExample.h File experimental/SkiaExamples/SkExample.h (right): https://codereview.chromium.org/890873003/diff/30001/experimental/SkiaExamples/SkExample.h#newcode48 experimental/SkiaExamples/SkExample.h:48: virtual ~SkExampleWindow(); On 2015/01/30 19:19:12, bsalomon wrote: > ~SkExampleWindow() ...
5 years, 10 months ago (2015-01-30 19:55:28 UTC) #4
bsalomon
On 2015/01/30 19:55:28, caryclark wrote: > https://codereview.chromium.org/890873003/diff/30001/experimental/SkiaExamples/SkExample.h > File experimental/SkiaExamples/SkExample.h (right): > > https://codereview.chromium.org/890873003/diff/30001/experimental/SkiaExamples/SkExample.h#newcode48 > ...
5 years, 10 months ago (2015-01-30 19:58:36 UTC) #5
reed1
lgtm
5 years, 10 months ago (2015-01-30 20:21:01 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/890873003/70001
5 years, 10 months ago (2015-01-30 20:30:37 UTC) #8
commit-bot: I haz the power
5 years, 10 months ago (2015-01-30 20:37:06 UTC) #9
Message was sent while issue was closed.
Committed patchset #5 (id:70001) as
https://skia.googlesource.com/skia/+/c8fcafb3f0d152fb92465451bdb2e4bd3ef37222

Powered by Google App Engine
This is Rietveld 408576698