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

Issue 18552005: Animated the PathUtils Sample to show path contours (Closed)

Created:
7 years, 5 months ago by dierk
Modified:
7 years, 5 months ago
Reviewers:
scroggo, djsollen, reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Animated the PathUtils Sample to show path contours# Enter a description of the change. Animated the PathUtils Sample to path contours BUG= Committed: http://code.google.com/p/skia/source/detail?r=9934

Patch Set 1 #

Patch Set 2 : Fixed the gm:grandients file (that I messed up) #

Patch Set 3 : Added function pointers to sample to reduce code in OnDrawContent method. #

Total comments: 9

Patch Set 4 : Removed the unrelated gradient files from this branch. #

Patch Set 5 : Revised with Leon's comments. #

Total comments: 4

Patch Set 6 : Added Derek's comments as well. #

Total comments: 2

Patch Set 7 : Fixed Memory Leak. #

Total comments: 6

Patch Set 8 : Fixed header params and comment. #

Patch Set 9 : Fixed (lower)casing of local variables. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -53 lines) Patch
M include/utils/SkPathUtils.h View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M samplecode/SamplePathUtils.cpp View 1 2 3 4 5 6 7 8 3 chunks +68 lines, -48 lines 0 comments Download
M src/utils/SkPathUtils.cpp View 1 2 3 4 5 6 7 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
dierk
Here's the updated SampleApp with animations. Should I go ahead and patch this in?
7 years, 5 months ago (2013-07-02 20:13:08 UTC) #1
dierk
Mike had suggested that I add you as a reviewer of my code as you'll ...
7 years, 5 months ago (2013-07-08 15:20:59 UTC) #2
reed1
lets rename the new gm to something more content-specific
7 years, 5 months ago (2013-07-08 16:04:07 UTC) #3
scroggo
https://codereview.chromium.org/18552005/diff/5001/gm/nate_gradients.cpp File gm/nate_gradients.cpp (right): https://codereview.chromium.org/18552005/diff/5001/gm/nate_gradients.cpp#newcode3 gm/nate_gradients.cpp:3: * Copyright 2011 Google Inc. 2013 https://codereview.chromium.org/18552005/diff/5001/gm/nate_gradients.cpp#newcode93 gm/nate_gradients.cpp:93: class ...
7 years, 5 months ago (2013-07-08 19:11:31 UTC) #4
dierk
I've updated the Sample integrating Leon's comments. Leon, could you tear apart src/utils/SkPathUtils.cpp as well? ...
7 years, 5 months ago (2013-07-08 20:00:05 UTC) #5
djsollen
https://codereview.chromium.org/18552005/diff/15001/samplecode/SamplePathUtils.cpp File samplecode/SamplePathUtils.cpp (right): https://codereview.chromium.org/18552005/diff/15001/samplecode/SamplePathUtils.cpp#newcode37 samplecode/SamplePathUtils.cpp:37: class samplePathUtils : public SampleView { capitalize... SamplePathUtils https://codereview.chromium.org/18552005/diff/15001/samplecode/SamplePathUtils.cpp#newcode75 ...
7 years, 5 months ago (2013-07-09 12:22:36 UTC) #6
dierk
https://codereview.chromium.org/18552005/diff/15001/samplecode/SamplePathUtils.cpp File samplecode/SamplePathUtils.cpp (right): https://codereview.chromium.org/18552005/diff/15001/samplecode/SamplePathUtils.cpp#newcode37 samplecode/SamplePathUtils.cpp:37: class samplePathUtils : public SampleView { On 2013/07/09 12:22:36, ...
7 years, 5 months ago (2013-07-09 13:56:21 UTC) #7
djsollen
https://codereview.chromium.org/18552005/diff/22001/samplecode/SamplePathUtils.cpp File samplecode/SamplePathUtils.cpp (right): https://codereview.chromium.org/18552005/diff/22001/samplecode/SamplePathUtils.cpp#newcode75 samplecode/SamplePathUtils.cpp:75: new SkCornerPathEffect(.25f) I'm pretty sure this will leak the ...
7 years, 5 months ago (2013-07-09 14:12:36 UTC) #8
dierk
https://codereview.chromium.org/18552005/diff/22001/samplecode/SamplePathUtils.cpp File samplecode/SamplePathUtils.cpp (right): https://codereview.chromium.org/18552005/diff/22001/samplecode/SamplePathUtils.cpp#newcode75 samplecode/SamplePathUtils.cpp:75: new SkCornerPathEffect(.25f) On 2013/07/09 14:12:36, djsollen wrote: > I'm ...
7 years, 5 months ago (2013-07-09 15:11:27 UTC) #9
scroggo
https://codereview.chromium.org/18552005/diff/26001/samplecode/SamplePathUtils.cpp File samplecode/SamplePathUtils.cpp (right): https://codereview.chromium.org/18552005/diff/26001/samplecode/SamplePathUtils.cpp#newcode72 samplecode/SamplePathUtils.cpp:72: SkPaint OutlinePaint; Local variables should be lowercase (e.g. outlinePaint). ...
7 years, 5 months ago (2013-07-09 15:34:22 UTC) #10
dierk
https://codereview.chromium.org/18552005/diff/26001/samplecode/SamplePathUtils.cpp File samplecode/SamplePathUtils.cpp (right): https://codereview.chromium.org/18552005/diff/26001/samplecode/SamplePathUtils.cpp#newcode72 samplecode/SamplePathUtils.cpp:72: SkPaint OutlinePaint; On 2013/07/09 15:34:22, scroggo wrote: > Local ...
7 years, 5 months ago (2013-07-09 15:42:02 UTC) #11
scroggo
On 2013/07/08 20:00:05, dierk wrote: > I've updated the Sample integrating Leon's comments. Leon, could ...
7 years, 5 months ago (2013-07-09 15:57:29 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/dierk@google.com/18552005/35001
7 years, 5 months ago (2013-07-09 16:05:20 UTC) #13
commit-bot: I haz the power
7 years, 5 months ago (2013-07-09 16:30:40 UTC) #14
Message was sent while issue was closed.
Change committed as 9934

Powered by Google App Engine
This is Rietveld 408576698