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

Issue 6489108: Make BBoxHierarchy ref-counted, fix leak in RTreeTest. (Closed)

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

Description

Make BBoxHierarchy ref-counted, fix leak in RTreeTest. Committed: https://code.google.com/p/skia/source/detail?r=5484

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Patch Set 3 : Add instance counting. #

Patch Set 4 : Add INHERITED typedef to RTree. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -4 lines) Patch
M bench/RTreeBench.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M gyp/core.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/core/SkBBoxHierarchy.h View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
A src/core/SkBBoxHierarchy.cpp View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M src/core/SkRTree.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M src/core/SkRTree.cpp View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M tests/RTreeTest.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 7
rileya
http://codereview.appspot.com/6500101/ reminded me that I should make the RTree ref-counted, also fixed a minor leak ...
12 years, 3 months ago (2012-09-11 12:24:07 UTC) #1
reed1
http://codereview.appspot.com/6489108/diff/1/src/core/SkBBoxHierarchy.h File src/core/SkBBoxHierarchy.h (right): http://codereview.appspot.com/6489108/diff/1/src/core/SkBBoxHierarchy.h#newcode22 src/core/SkBBoxHierarchy.h:22: virtual ~SkBBoxHierarchy() { } Don't need this empty destructor, ...
12 years, 3 months ago (2012-09-11 12:28:25 UTC) #2
robertphillips
Should SkPicture be getting a ref somewhere? http://codereview.appspot.com/6489108/diff/1/src/core/SkBBoxHierarchy.h File src/core/SkBBoxHierarchy.h (right): http://codereview.appspot.com/6489108/diff/1/src/core/SkBBoxHierarchy.h#newcode19 src/core/SkBBoxHierarchy.h:19: */ Add ...
12 years, 3 months ago (2012-09-11 12:30:24 UTC) #3
rileya
http://codereview.appspot.com/6489108/diff/1/src/core/SkBBoxHierarchy.h File src/core/SkBBoxHierarchy.h (right): http://codereview.appspot.com/6489108/diff/1/src/core/SkBBoxHierarchy.h#newcode19 src/core/SkBBoxHierarchy.h:19: */ On 2012/09/11 12:30:24, robertphillips wrote: > Add INHERITED ...
12 years, 3 months ago (2012-09-11 13:35:24 UTC) #4
rileya
Any more thoughts? My next CL is blocked on this.
12 years, 3 months ago (2012-09-11 15:19:40 UTC) #5
reed1
DWOM (don't wait on me)
12 years, 3 months ago (2012-09-11 15:21:12 UTC) #6
bsalomon
12 years, 3 months ago (2012-09-11 15:32:32 UTC) #7
On 2012/09/11 15:21:12, reed1 wrote:
> DWOM (don't wait on me)

LGTM
Sign in to reply to this message.

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