Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2521)

Issue 6124048: Clean up DashPathEffect modulo math from r3761 (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 7 months ago by epoger
Modified:
12 years, 7 months ago
Reviewers:
reed1
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Clean up DashPathEffect modulo math from r3761 Committed: https://code.google.com/p/skia/source/detail?r=3773

Patch Set 1 #

Patch Set 2 : adjust a comment #

Patch Set 3 : restore the original faster modulo math #

Patch Set 4 : keep the 'just in case' check of phase>=len #

Total comments: 2

Patch Set 5 : add documentation changes to header file #

Total comments: 5

Patch Set 6 : fix Mike's Friday-morning comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -17 lines) Patch
M include/effects/SkDashPathEffect.h View 1 2 3 4 5 1 chunk +19 lines, -5 lines 0 comments Download
M src/effects/SkDashPathEffect.cpp View 1 2 3 4 5 1 chunk +11 lines, -12 lines 0 comments Download

Messages

Total messages: 8
epoger
I think this rearrangement is more robust... 1. It checks for infinite phase or len ...
12 years, 7 months ago (2012-04-25 21:06:11 UTC) #1
epoger
On 2012/04/25 21:06:11, epoger wrote: > I think this rearrangement is more robust... > > ...
12 years, 7 months ago (2012-04-25 21:36:40 UTC) #2
epoger
Mike, please look again as of patchset 4 (no rush, though.) Only non-documentation change is ...
12 years, 7 months ago (2012-04-25 21:53:57 UTC) #3
reed1
https://codereview.appspot.com/6124048/diff/3003/src/effects/SkDashPathEffect.cpp File src/effects/SkDashPathEffect.cpp (right): https://codereview.appspot.com/6124048/diff/3003/src/effects/SkDashPathEffect.cpp#newcode49 src/effects/SkDashPathEffect.cpp:49: // Adjust phase to be between 0 and len, ...
12 years, 7 months ago (2012-04-26 00:54:28 UTC) #4
epoger
https://codereview.appspot.com/6124048/diff/3003/src/effects/SkDashPathEffect.cpp File src/effects/SkDashPathEffect.cpp (right): https://codereview.appspot.com/6124048/diff/3003/src/effects/SkDashPathEffect.cpp#newcode49 src/effects/SkDashPathEffect.cpp:49: // Adjust phase to be between 0 and len, ...
12 years, 7 months ago (2012-04-26 14:22:20 UTC) #5
reed1
https://codereview.appspot.com/6124048/diff/10001/include/effects/SkDashPathEffect.h File include/effects/SkDashPathEffect.h (right): https://codereview.appspot.com/6124048/diff/10001/include/effects/SkDashPathEffect.h#newcode39 include/effects/SkDashPathEffect.h:39: Note: only affects framed paths. s/framed/stroked https://codereview.appspot.com/6124048/diff/10001/src/effects/SkDashPathEffect.cpp File src/effects/SkDashPathEffect.cpp ...
12 years, 7 months ago (2012-04-27 12:13:09 UTC) #6
epoger
https://codereview.appspot.com/6124048/diff/10001/include/effects/SkDashPathEffect.h File include/effects/SkDashPathEffect.h (right): https://codereview.appspot.com/6124048/diff/10001/include/effects/SkDashPathEffect.h#newcode39 include/effects/SkDashPathEffect.h:39: Note: only affects framed paths. On 2012/04/27 12:13:10, reed1 ...
12 years, 7 months ago (2012-04-27 13:21:56 UTC) #7
reed1
12 years, 7 months ago (2012-04-27 13:34:02 UTC) #8
lgtm
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b