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

Issue 6296069: Instance Counting v2 (Closed)

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

Description

First version didn't scale well mainly b.c. it required all the header files to be present in gmmain.cpp to be able to print out. This version attempts to fix that problem.

Patch Set 1 #

Patch Set 2 : Fixed up before code review #

Patch Set 3 : removed need for baseClassName in macros #

Total comments: 2

Patch Set 4 : Added SK_ to macros & added copy ctor #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -44 lines) Patch
M gm/gmmain.cpp View 1 1 chunk +3 lines, -3 lines 0 comments Download
M include/core/SkInstCnt.h View 1 2 3 1 chunk +62 lines, -28 lines 0 comments Download
M include/core/SkRefCnt.h View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M include/gpu/GrAARectRenderer.h View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M include/gpu/GrRenderTarget.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M include/gpu/GrResource.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M include/gpu/GrTexture.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M src/core/SkPathHeap.h View 1 2 3 2 chunks +6 lines, -2 lines 0 comments Download
M src/core/SkPathHeap.cpp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M src/core/SkRefCnt.cpp View 1 2 3 1 chunk +6 lines, -6 lines 0 comments Download
M src/gpu/GrAARectRenderer.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/GrPathRendererChain.h View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M src/gpu/GrPathRendererChain.cpp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M src/gpu/GrRenderTarget.cpp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M src/gpu/GrResource.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/GrTexture.cpp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M src/pdf/SkPDFTypes.h View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M src/pdf/SkPDFTypes.cpp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 8
robertphillips
12 years, 5 months ago (2012-06-13 14:09:52 UTC) #1
bsalomon
On 2012/06/13 14:09:52, robertphillips wrote: Would it be possible to rely on the class having ...
12 years, 5 months ago (2012-06-13 14:13:52 UTC) #2
robertphillips
Done. There was/is a bit of unpleasantness in SkInstCnt to handle the root case.
12 years, 5 months ago (2012-06-13 17:56:14 UTC) #3
bsalomon
Really a style question for Mike: The header that declares the macro is in a ...
12 years, 5 months ago (2012-06-13 18:20:50 UTC) #4
reed1
lets prefix with SK_
12 years, 5 months ago (2012-06-13 18:22:14 UTC) #5
robertphillips
Added SK_ prefix to macros & copy ctor http://codereview.appspot.com/6296069/diff/6001/include/core/SkInstCnt.h File include/core/SkInstCnt.h (right): http://codereview.appspot.com/6296069/diff/6001/include/core/SkInstCnt.h#newcode42 include/core/SkInstCnt.h:42: \ ...
12 years, 5 months ago (2012-06-13 18:45:55 UTC) #6
bsalomon
LGTM
12 years, 5 months ago (2012-06-13 18:52:16 UTC) #7
robertphillips
12 years, 5 months ago (2012-06-13 18:54:32 UTC) #8
committed as r4255
Sign in to reply to this message.

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