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

Issue 6488063: SkPathRef: one allocation for pts+verbs, path GenID, copy-on-write (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 10 months ago by bsalomon
Modified:
11 years, 9 months ago
Reviewers:
Leon, caryclark1, reed1
CC:
skia-review_googlegroups.com, DerekS
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Patch Set 1 #

Patch Set 2 : revert pathbench #

Patch Set 3 : update #

Patch Set 4 : update #

Patch Set 5 : update #

Total comments: 1

Patch Set 6 : Move SkPathRef to its own src/core header #

Patch Set 7 : Assume points are in normal memory order #

Patch Set 8 : Reduce number of lines unnecessarily changed (e.g. retyping ++pts as pts++) #

Patch Set 9 : Remove SkPathRef::pointsMem function missed in patchset 7 #

Patch Set 10 : assume verbs grow backwards, index verbs with ~i, some cleanup #

Patch Set 11 : more cleanup #

Total comments: 4

Patch Set 12 : Address Mike's comments #

Patch Set 13 : fix comment to reflect code change in previous patchset #

Patch Set 14 : rebase changes to TOT #

Patch Set 15 : unrevert parts of CL accidentally reverted when switching machines #

Patch Set 16 : add back SkPathRef.h #

Patch Set 17 : Preserve current path serialization format (don't break existing pictures yet) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+749 lines, -169 lines) Patch
M gyp/core.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M include/core/SkPath.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +5 lines, -8 lines 0 comments Download
M include/core/SkRefCnt.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +6 lines, -0 lines 0 comments Download
M src/core/SkPath.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 53 chunks +206 lines, -161 lines 0 comments Download
A src/core/SkPathRef.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +531 lines, -0 lines 0 comments Download

Messages

Total messages: 13
bsalomon
11 years, 10 months ago (2012-08-31 15:31:32 UTC) #1
reed1
1. does it warrant new unittests or benches? (just asking) 2. what are the current ...
11 years, 10 months ago (2012-08-31 15:50:33 UTC) #2
reed1
https://codereview.appspot.com/6488063/diff/2004/include/core/SkPath.h File include/core/SkPath.h (right): https://codereview.appspot.com/6488063/diff/2004/include/core/SkPath.h#newcode832 include/core/SkPath.h:832: Its not wrong, but this may be the first ...
11 years, 10 months ago (2012-08-31 15:51:41 UTC) #3
bsalomon
On 2012/08/31 15:50:33, reed1 wrote: > 1. does it warrant new unittests or benches? (just ...
11 years, 10 months ago (2012-08-31 16:08:51 UTC) #4
bsalomon
On 2012/08/31 15:51:41, reed1 wrote: > https://codereview.appspot.com/6488063/diff/2004/include/core/SkPath.h > File include/core/SkPath.h (right): > > https://codereview.appspot.com/6488063/diff/2004/include/core/SkPath.h#newcode832 > ...
11 years, 10 months ago (2012-08-31 16:19:13 UTC) #5
reed1
adding cary... - can we move SkPathRef into a sep .h file? - consider inlining ...
11 years, 10 months ago (2012-08-31 16:52:12 UTC) #6
bsalomon
On 2012/08/31 16:52:12, reed1 wrote: > adding cary... > > - can we move SkPathRef ...
11 years, 10 months ago (2012-09-04 19:05:35 UTC) #7
reed1
looks good to me. I wonder if derek or leon want to try running w/ ...
11 years, 10 months ago (2012-09-04 21:05:21 UTC) #8
bsalomon
https://codereview.appspot.com/6488063/diff/8002/src/core/SkPathRef.h File src/core/SkPathRef.h (right): https://codereview.appspot.com/6488063/diff/8002/src/core/SkPathRef.h#newcode206 src/core/SkPathRef.h:206: * Convenience methods for getting to a verb or ...
11 years, 10 months ago (2012-09-04 21:23:08 UTC) #9
Leon
On 2012/09/04 21:05:21, reed1 wrote: > looks good to me. I wonder if derek or ...
11 years, 10 months ago (2012-09-04 21:31:14 UTC) #10
Leon
On 2012/09/04 21:31:14, scroggo-work wrote: > On 2012/09/04 21:05:21, reed1 wrote: > > looks good ...
11 years, 10 months ago (2012-09-05 12:10:42 UTC) #11
bsalomon
On 2012/09/05 12:10:42, scroggo-work wrote: > On 2012/09/04 21:31:14, scroggo-work wrote: > > On 2012/09/04 ...
11 years, 10 months ago (2012-09-05 17:32:15 UTC) #12
bsalomon
11 years, 9 months ago (2012-09-11 13:48:14 UTC) #13
Closed with r5433
Sign in to reply to this message.

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