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

Issue 17432003: SkPath::rewind needs to have same reset as SkPath::reset. (Closed)

Created:
7 years, 6 months ago by bungeman-skia
Modified:
7 years, 6 months ago
Reviewers:
djsollen, caryclark, reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

SkPath::rewind needs to have same reset as SkPath::reset. R=caryclark@google.com, reed@google.com Committed: https://code.google.com/p/skia/source/detail?r=9718

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Patch Set 4 : Update comments. #

Patch Set 5 : Spell Andorid correctly. #

Patch Set 6 : #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -76 lines) Patch
M include/core/SkPath.h View 1 2 3 4 5 1 chunk +13 lines, -0 lines 0 comments Download
M src/core/SkPath.cpp View 1 2 3 4 5 3 chunks +60 lines, -63 lines 0 comments Download
M src/pathops/SkPathOpsSimplify.cpp View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M tests/PathTest.cpp View 1 2 3 4 5 3 chunks +18 lines, -12 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
bungeman-skia
While working on other things, noticed that SkPath::rewind didn't seem to reset the same as ...
7 years, 6 months ago (2013-06-18 22:33:42 UTC) #1
reed1
lgtm
7 years, 6 months ago (2013-06-19 12:29:28 UTC) #2
reed1
https://codereview.chromium.org/17432003/diff/1/src/core/SkPath.cpp File src/core/SkPath.cpp (right): https://codereview.chromium.org/17432003/diff/1/src/core/SkPath.cpp#newcode428 src/core/SkPath.cpp:428: fBoundsIsDirty = true; Would be nice if we have ...
7 years, 6 months ago (2013-06-19 12:30:10 UTC) #3
bungeman-skia
Patch set 2 is a bit more invasive, adding a SkPath::resetFields() which (mostly) mirrors the ...
7 years, 6 months ago (2013-06-19 17:15:46 UTC) #4
reed1
lets add a unittest to verify the (newly clarified) behavior of constructor/reset/rewind. https://codereview.chromium.org/17432003/diff/6001/src/core/SkPath.cpp File src/core/SkPath.cpp ...
7 years, 6 months ago (2013-06-19 17:36:49 UTC) #5
caryclark
https://codereview.chromium.org/17432003/diff/6001/src/core/SkPath.cpp File src/core/SkPath.cpp (right): https://codereview.chromium.org/17432003/diff/6001/src/core/SkPath.cpp#newcode235 src/core/SkPath.cpp:235: could this be #ifdef SK_BUILD_FOR_ANDROID , fGenerationID(-1) #endif { ...
7 years, 6 months ago (2013-06-19 17:38:21 UTC) #6
bungeman-skia
Clarified comments and consolidated code. Also have a slightly better idea of what fGenerationID might ...
7 years, 6 months ago (2013-06-19 19:59:48 UTC) #7
caryclark
lgtm
7 years, 6 months ago (2013-06-19 20:02:56 UTC) #8
reed1
unit test please :)
7 years, 6 months ago (2013-06-19 20:50:04 UTC) #9
bungeman-skia
Patch Set 7 adds testing for reset/rewind/default constructor equivalence.
7 years, 6 months ago (2013-06-20 17:46:51 UTC) #10
bungeman-skia
On 2013/06/19 20:50:04, reed1 wrote: > unit test please :) Patch Set 7 modifies the ...
7 years, 6 months ago (2013-06-21 14:51:58 UTC) #11
reed1
lgtm
7 years, 6 months ago (2013-06-21 15:08:20 UTC) #12
bungeman-skia
7 years, 6 months ago (2013-06-21 15:13:37 UTC) #13
Message was sent while issue was closed.
Committed patchset #7 manually as r9718.

Powered by Google App Engine
This is Rietveld 408576698