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

Issue 6484045: Refactored GrDLinkedList into SkTDLinkedList (Closed)

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

Description

This CL cleans up the GrDLinkedList and prepares for use in other classes.

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed code review issues #

Total comments: 4

Patch Set 3 : Added iterator #

Unified diffs Side-by-side diffs Delta from patch set Stats (+309 lines, -119 lines) Patch
M gyp/core.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M gyp/tests.gyp View 1 chunk +1 line, -0 lines 0 comments Download
A include/core/SkTDLinkedList.h View 1 2 1 chunk +175 lines, -0 lines 0 comments Download
M src/gpu/GrResourceCache.h View 1 6 chunks +8 lines, -30 lines 0 comments Download
M src/gpu/GrResourceCache.cpp View 1 2 9 chunks +35 lines, -89 lines 0 comments Download
A tests/TDLinkedListTest.cpp View 1 2 1 chunk +89 lines, -0 lines 0 comments Download

Messages

Total messages: 9
robertphillips
12 years, 3 months ago (2012-08-22 13:33:31 UTC) #1
bsalomon
What do you think of using a wrapper to the ptrs that initializes them to ...
12 years, 3 months ago (2012-08-22 14:47:19 UTC) #2
robertphillips
http://codereview.appspot.com/6484045/diff/1/include/core/SkTDLinkedList.h File include/core/SkTDLinkedList.h (right): http://codereview.appspot.com/6484045/diff/1/include/core/SkTDLinkedList.h#newcode18 include/core/SkTDLinkedList.h:18: #define DEFINE_DLINKEDLIST_INTERFACE(ClassName) \ On 2012/08/22 14:47:20, bsalomon wrote: > ...
12 years, 3 months ago (2012-08-22 15:42:02 UTC) #3
bsalomon
http://codereview.appspot.com/6484045/diff/5001/include/core/SkTDLinkedList.h File include/core/SkTDLinkedList.h (right): http://codereview.appspot.com/6484045/diff/5001/include/core/SkTDLinkedList.h#newcode36 include/core/SkTDLinkedList.h:36: SkDEBUGCODE(SkPtrWrapper<SkTDLinkedList<ClassName>> fList;) \ >> doesn't cause a problem? http://codereview.appspot.com/6484045/diff/5001/src/gpu/GrResourceCache.cpp ...
12 years, 3 months ago (2012-08-22 15:51:12 UTC) #4
robertphillips
http://codereview.appspot.com/6484045/diff/5001/include/core/SkTDLinkedList.h File include/core/SkTDLinkedList.h (right): http://codereview.appspot.com/6484045/diff/5001/include/core/SkTDLinkedList.h#newcode36 include/core/SkTDLinkedList.h:36: SkDEBUGCODE(SkPtrWrapper<SkTDLinkedList<ClassName>> fList;) \ On 2012/08/22 15:51:12, bsalomon wrote: > ...
12 years, 3 months ago (2012-08-22 18:39:21 UTC) #5
bsalomon
LGTM
12 years, 3 months ago (2012-08-22 19:59:54 UTC) #6
robertphillips
committed as r5247
12 years, 3 months ago (2012-08-23 11:14:29 UTC) #7
reed1
can this be in src/core instead of include/core ?
12 years, 3 months ago (2012-08-27 16:41:05 UTC) #8
robertphillips
12 years, 3 months ago (2012-08-31 19:50:56 UTC) #9
It is currently used in src/gpu and I just added a use in include/gpu. I could
move it to include/gpu but the thought was that you might use it for your
SkSurface system.
Sign in to reply to this message.

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