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

Issue 6427046: Store more behavior of SkFlatDictionary in SkFlatController. (Closed)

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

Description

Store more behavior of SkFlatDictionary in SkFlatController. Code refactoring for simplicity. Committed: https://code.google.com/p/skia/source/detail?r=4929

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 4

Patch Set 3 : Ref count SkFactorySet in SkFlatController #

Total comments: 2

Patch Set 4 : checkpoint #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+199 lines, -86 lines) Patch
M src/core/SkPictureFlat.h View 1 2 3 4 13 chunks +129 lines, -46 lines 0 comments Download
M src/core/SkPictureFlat.cpp View 1 2 3 4 2 chunks +42 lines, -10 lines 0 comments Download
M src/core/SkPicturePlayback.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M src/core/SkPicturePlayback.cpp View 1 2 3 1 chunk +5 lines, -7 lines 0 comments Download
M src/core/SkPictureRecord.h View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M src/core/SkPictureRecord.cpp View 1 2 3 2 chunks +2 lines, -5 lines 0 comments Download
M src/pipe/SkGPipeWrite.cpp View 1 2 3 4 3 chunks +9 lines, -8 lines 0 comments Download
M tests/FlatDataTest.cpp View 1 2 3 4 2 chunks +12 lines, -6 lines 0 comments Download

Messages

Total messages: 11
Leon
12 years, 4 months ago (2012-07-18 17:48:05 UTC) #1
reed1
just an idea. what if we replace virtual getters with inline non-virtuals, and have the ...
12 years, 4 months ago (2012-07-18 18:01:33 UTC) #2
DerekS
I like Mike's idea too, but other than that and my naming request it lgtm. ...
12 years, 4 months ago (2012-07-20 20:50:42 UTC) #3
Leon
I have turned the virtual calls into non-virtual calls. https://codereview.appspot.com/6427046/diff/1/src/core/SkPictureFlat.h File src/core/SkPictureFlat.h (right): https://codereview.appspot.com/6427046/diff/1/src/core/SkPictureFlat.h#newcode183 src/core/SkPictureFlat.h:183: ...
12 years, 4 months ago (2012-07-23 19:27:58 UTC) #4
DerekS
http://codereview.appspot.com/6427046/diff/4001/src/core/SkPicturePlayback.cpp File src/core/SkPicturePlayback.cpp (right): http://codereview.appspot.com/6427046/diff/4001/src/core/SkPicturePlayback.cpp#newcode76 src/core/SkPicturePlayback.cpp:76: record.fHeap.setupPlaybacks(); The way you've coded it is probably the ...
12 years, 4 months ago (2012-07-24 03:41:50 UTC) #5
Leon
New patch. http://codereview.appspot.com/6427046/diff/4001/src/pipe/SkGPipeWrite.cpp File src/pipe/SkGPipeWrite.cpp (right): http://codereview.appspot.com/6427046/diff/4001/src/pipe/SkGPipeWrite.cpp#newcode67 src/pipe/SkGPipeWrite.cpp:67: this->setFactorySet(fFactorySet); On 2012/07/24 03:41:50, DerekS wrote: > ...
12 years, 4 months ago (2012-07-24 15:08:53 UTC) #6
DerekS
http://codereview.appspot.com/6427046/diff/8002/src/core/SkPictureFlat.cpp File src/core/SkPictureFlat.cpp (right): http://codereview.appspot.com/6427046/diff/8002/src/core/SkPictureFlat.cpp#newcode71 src/core/SkPictureFlat.cpp:71: SkSafeUnref(fFactorySet); my thought was that we would safe unref ...
12 years, 4 months ago (2012-07-24 15:43:50 UTC) #7
Leon
http://codereview.appspot.com/6427046/diff/8002/src/core/SkPictureFlat.cpp File src/core/SkPictureFlat.cpp (right): http://codereview.appspot.com/6427046/diff/8002/src/core/SkPictureFlat.cpp#newcode71 src/core/SkPictureFlat.cpp:71: SkSafeUnref(fFactorySet); On 2012/07/24 15:43:50, DerekS wrote: > my thought ...
12 years, 4 months ago (2012-07-24 15:55:47 UTC) #8
DerekS
On 2012/07/24 15:55:47, scroggo-work wrote: > http://codereview.appspot.com/6427046/diff/8002/src/core/SkPictureFlat.cpp > File src/core/SkPictureFlat.cpp (right): > > http://codereview.appspot.com/6427046/diff/8002/src/core/SkPictureFlat.cpp#newcode71 > ...
12 years, 4 months ago (2012-07-24 21:06:12 UTC) #9
Leon
On 2012/07/24 21:06:12, DerekS wrote: > On 2012/07/24 15:55:47, scroggo-work wrote: > > http://codereview.appspot.com/6427046/diff/8002/src/core/SkPictureFlat.cpp > ...
12 years, 4 months ago (2012-07-24 21:07:10 UTC) #10
Leon
12 years, 3 months ago (2012-08-02 16:19:08 UTC) #11
New patch.
Sign in to reply to this message.

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