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

Issue 6845106: add SkPictureUtils::GatherPixelRefs() (Closed)

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

Description

add SkPictureUtils::GatherPixelRefs() Committed: https://code.google.com/p/skia/source/detail?r=6615

Patch Set 1 #

Patch Set 2 : #

Total comments: 12

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+496 lines, -0 lines) Patch
M gyp/utils.gyp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A include/utils/SkPictureUtils.h View 1 2 1 chunk +31 lines, -0 lines 0 comments Download
A src/utils/SkPictureUtils.cpp View 1 2 3 4 1 chunk +213 lines, -0 lines 0 comments Download
M tests/PictureTest.cpp View 1 2 3 4 2 chunks +222 lines, -0 lines 0 comments Download
M tools/PictureRenderer.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M tools/PictureRenderer.cpp View 1 2 3 4 2 chunks +25 lines, -0 lines 1 comment Download
M tools/bench_pictures_main.cpp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 7
reed1
11 years, 7 months ago (2012-11-28 21:30:20 UTC) #1
Leon
https://codereview.appspot.com/6845106/diff/3001/include/utils/SkPictureUtils.h File include/utils/SkPictureUtils.h (right): https://codereview.appspot.com/6845106/diff/3001/include/utils/SkPictureUtils.h#newcode20 include/utils/SkPictureUtils.h:20: * of SkPixelRefs that might intersect that area. To ...
11 years, 7 months ago (2012-11-28 22:13:29 UTC) #2
reed1
https://codereview.appspot.com/6845106/diff/3001/include/utils/SkPictureUtils.h File include/utils/SkPictureUtils.h (right): https://codereview.appspot.com/6845106/diff/3001/include/utils/SkPictureUtils.h#newcode20 include/utils/SkPictureUtils.h:20: * of SkPixelRefs that might intersect that area. To ...
11 years, 7 months ago (2012-11-29 12:31:37 UTC) #3
TomH
If this is performance-sensitive code, can we get a bench? (With the non-render flag set?)
11 years, 7 months ago (2012-11-29 12:37:28 UTC) #4
Leon
On 2012/11/29 12:37:28, TomH wrote: > If this is performance-sensitive code, can we get a ...
11 years, 7 months ago (2012-11-29 15:48:59 UTC) #5
reed1
add bench, and fix the code *a lot* in response to profiling. Sped it up ...
11 years, 7 months ago (2012-11-29 20:18:41 UTC) #6
Leon
11 years, 7 months ago (2012-11-29 20:33:51 UTC) #7
lgtm

https://codereview.appspot.com/6845106/diff/12001/tools/PictureRenderer.cpp
File tools/PictureRenderer.cpp (right):

https://codereview.appspot.com/6845106/diff/12001/tools/PictureRenderer.cpp#n...
tools/PictureRenderer.cpp:673: return NULL == path;    // we don't have anything
to write
Should return true on successful writing, whatever that means for this
renderer...
Sign in to reply to this message.

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