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

Issue 6351061: In SkGPipe, set a limit on the amount of flattenables cached. (Closed)

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

Description

In SkGPipe, set a limit on the amount of flattenables cached. Also fix a type in gmmain.

Patch Set 1 #

Total comments: 2

Patch Set 2 : Factored out heuristic for determining a flattenable to replace. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -10 lines) Patch
M gm/gmmain.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/pipe/SkGPipeRead.cpp View 1 chunk +7 lines, -2 lines 0 comments Download
M src/pipe/SkGPipeWrite.cpp View 1 6 chunks +60 lines, -7 lines 0 comments Download

Messages

Total messages: 4
Leon
12 years, 5 months ago (2012-07-03 19:27:56 UTC) #1
reed1
hooray for a finite cache! I like the simplicity of the reader's logic. https://codereview.appspot.com/6351061/diff/1/src/pipe/SkGPipeWrite.cpp File ...
12 years, 5 months ago (2012-07-03 19:40:37 UTC) #2
Leon
https://codereview.appspot.com/6351061/diff/1/src/pipe/SkGPipeWrite.cpp File src/pipe/SkGPipeWrite.cpp (right): https://codereview.appspot.com/6351061/diff/1/src/pipe/SkGPipeWrite.cpp#newcode352 src/pipe/SkGPipeWrite.cpp:352: // we remove one, but do not ensure that ...
12 years, 5 months ago (2012-07-03 20:45:01 UTC) #3
reed1
12 years, 5 months ago (2012-07-09 13:50:33 UTC) #4
lgtm

down the road, we should be adding benchmarks that explicitly let us measure
changes to the writer's logic for speed.
Sign in to reply to this message.

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