Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Issue 20005003: add scaledimagecache (Closed)

Created:
7 years, 5 months ago by reed1
Modified:
7 years, 5 months ago
Reviewers:
humper, bsalomon, ernstm
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

add scaledimagecache BUG= Committed: https://code.google.com/p/skia/source/detail?r=10286

Patch Set 1 #

Total comments: 12

Patch Set 2 : #

Patch Set 3 : document class as being not thread-safe itself #

Patch Set 4 : add unittests #

Patch Set 5 : add bench #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+701 lines, -9 lines) Patch
A bench/ImageCacheBench.cpp View 1 2 3 4 1 chunk +60 lines, -0 lines 0 comments Download
M gyp/bench.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M gyp/core.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M gyp/tests.gyp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M include/config/SkUserConfig.h View 1 1 chunk +7 lines, -0 lines 0 comments Download
M include/core/SkGraphics.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M src/core/SkBitmapProcState.h View 3 chunks +5 lines, -1 line 0 comments Download
M src/core/SkBitmapProcState.cpp View 1 3 chunks +29 lines, -8 lines 0 comments Download
A src/core/SkScaledImageCache.h View 1 2 3 1 chunk +107 lines, -0 lines 0 comments Download
A src/core/SkScaledImageCache.cpp View 1 2 3 4 5 1 chunk +421 lines, -0 lines 0 comments Download
A tests/ImageCacheTest.cpp View 1 2 3 1 chunk +65 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
reed1
work in progress, most up for API makes-sense reviewing at this stage 1. Need to ...
7 years, 5 months ago (2013-07-22 22:09:20 UTC) #1
humper
https://codereview.chromium.org/20005003/diff/1/src/core/SkScaledImageCache.cpp File src/core/SkScaledImageCache.cpp (right): https://codereview.chromium.org/20005003/diff/1/src/core/SkScaledImageCache.cpp#newcode91 src/core/SkScaledImageCache.cpp:91: SkScaledImageCache::ID* SkScaledImageCache::findAndLock(const SkBitmap& orig, Possibly worth a comment here ...
7 years, 5 months ago (2013-07-23 01:25:44 UTC) #2
ernstm
I tested the cache in Chrome on Linux with a higher value for the memory ...
7 years, 5 months ago (2013-07-23 06:36:50 UTC) #3
reed1
https://codereview.chromium.org/20005003/diff/1/src/core/SkScaledImageCache.cpp File src/core/SkScaledImageCache.cpp (right): https://codereview.chromium.org/20005003/diff/1/src/core/SkScaledImageCache.cpp#newcode5 src/core/SkScaledImageCache.cpp:5: static const size_t DEF_BYTE_LIMIT = 2 * 1024 * ...
7 years, 5 months ago (2013-07-23 14:50:29 UTC) #4
reed1
7 years, 5 months ago (2013-07-23 19:14:01 UTC) #5
Message was sent while issue was closed.
Committed patchset #6 manually as r10286 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698