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

Issue 6490104: Add SkBBoxRecord subclass that builds up a BBoxHierarchy and PictureStateTree. (Closed)

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

Description

Add SkBBoxRecord subclass that builds up a BBoxHierarchy and PictureStateTree. Committed: https://code.google.com/p/skia/source/detail?r=5500

Patch Set 1 #

Total comments: 8

Patch Set 2 : #

Total comments: 1

Patch Set 3 : Add a few this->'s #

Unified diffs Side-by-side diffs Delta from patch set Stats (+166 lines, -0 lines) Patch
M gyp/core.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
A src/core/SkBBoxHierarchyRecord.h View 1 1 chunk +51 lines, -0 lines 0 comments Download
A src/core/SkBBoxHierarchyRecord.cpp View 1 2 1 chunk +97 lines, -0 lines 0 comments Download
M src/core/SkPictureRecord.h View 1 2 chunks +10 lines, -0 lines 0 comments Download
M src/core/SkPictureRecord.cpp View 3 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 5
rileya
This one is pretty straightforward, it pretty much just calls through to all the stuff ...
11 years, 8 months ago (2012-09-11 17:01:38 UTC) #1
reed1
http://codereview.appspot.com/6490104/diff/1/src/core/SkBBoxHierarchyRecord.cpp File src/core/SkBBoxHierarchyRecord.cpp (right): http://codereview.appspot.com/6490104/diff/1/src/core/SkBBoxHierarchyRecord.cpp#newcode15 src/core/SkBBoxHierarchyRecord.cpp:15: fStateTree = SkNEW(SkPictureStateTree); Just checking: fBoundingHierarchy does not "own" ...
11 years, 8 months ago (2012-09-11 17:42:50 UTC) #2
rileya
http://codereview.appspot.com/6490104/diff/1/src/core/SkBBoxHierarchyRecord.cpp File src/core/SkBBoxHierarchyRecord.cpp (right): http://codereview.appspot.com/6490104/diff/1/src/core/SkBBoxHierarchyRecord.cpp#newcode15 src/core/SkBBoxHierarchyRecord.cpp:15: fStateTree = SkNEW(SkPictureStateTree); On 2012/09/11 17:42:51, reed1 wrote: > ...
11 years, 8 months ago (2012-09-11 18:51:01 UTC) #3
robertphillips
lgtm + 1 question http://codereview.appspot.com/6490104/diff/5001/src/core/SkBBoxHierarchyRecord.cpp File src/core/SkBBoxHierarchyRecord.cpp (right): http://codereview.appspot.com/6490104/diff/5001/src/core/SkBBoxHierarchyRecord.cpp#newcode22 src/core/SkBBoxHierarchyRecord.cpp:22: bounds.roundOut(&r); where is writeStream coming ...
11 years, 8 months ago (2012-09-11 20:04:23 UTC) #4
rileya
11 years, 8 months ago (2012-09-11 20:22:08 UTC) #5
On 2012/09/11 20:04:23, robertphillips wrote:
> lgtm + 1 question
> 
>
http://codereview.appspot.com/6490104/diff/5001/src/core/SkBBoxHierarchyRecor...
> File src/core/SkBBoxHierarchyRecord.cpp (right):
> 
>
http://codereview.appspot.com/6490104/diff/5001/src/core/SkBBoxHierarchyRecor...
> src/core/SkBBoxHierarchyRecord.cpp:22: bounds.roundOut(&r);
> where is writeStream coming from - does it need a this-> or an INHERITED?

It's a non-virtual function on the grandparent class (SkPictureRecord), so I
added this->'s. Landed as r5500.
Sign in to reply to this message.

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