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

Issue 1271033002: private iterator to visit all resource cache entries (Closed)

Created:
5 years, 4 months ago by reed1
Modified:
5 years, 4 months ago
CC:
reviews_skia.org, ericrk
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

private iterator to visit all resource cache entries BUG=skia: TBR= Committed: https://skia.googlesource.com/skia/+/216b643fc77e754a3fabbb0ed397e7cf55d1954d

Patch Set 1 #

Total comments: 6

Patch Set 2 : add iter for fontcache #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -7 lines) Patch
M bench/ImageCacheBench.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M include/core/SkPixelRef.h View 2 chunks +3 lines, -0 lines 0 comments Download
M samplecode/SampleApp.cpp View 1 1 chunk +9 lines, -0 lines 0 comments Download
M src/core/SkBitmapCache.cpp View 2 chunks +9 lines, -0 lines 0 comments Download
M src/core/SkCachedData.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M src/core/SkGlyphCache.h View 1 2 chunks +7 lines, -1 line 0 comments Download
M src/core/SkGlyphCache.cpp View 1 2 chunks +30 lines, -5 lines 2 comments Download
M src/core/SkMaskCache.cpp View 2 chunks +8 lines, -0 lines 0 comments Download
M src/core/SkPictureShader.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M src/core/SkResourceCache.h View 1 5 chunks +11 lines, -1 line 0 comments Download
M src/core/SkResourceCache.cpp View 3 chunks +27 lines, -0 lines 0 comments Download
M src/core/SkYUVPlanesCache.cpp View 1 chunk +4 lines, -0 lines 0 comments Download
M src/lazy/SkDiscardablePixelRef.h View 1 chunk +3 lines, -0 lines 0 comments Download
M tests/ImageCacheTest.cpp View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (6 generated)
reed1
as the bottom-half of hooking into chrome's memory tracker...
5 years, 4 months ago (2015-08-04 20:05:48 UTC) #2
mtklein_C
seems viable to me https://codereview.chromium.org/1271033002/diff/1/bench/ImageCacheBench.cpp File bench/ImageCacheBench.cpp (right): https://codereview.chromium.org/1271033002/diff/1/bench/ImageCacheBench.cpp#newcode29 bench/ImageCacheBench.cpp:29: const char* getCategory() const override ...
5 years, 4 months ago (2015-08-04 20:27:37 UTC) #4
reed1
https://codereview.chromium.org/1271033002/diff/1/bench/ImageCacheBench.cpp File bench/ImageCacheBench.cpp (right): https://codereview.chromium.org/1271033002/diff/1/bench/ImageCacheBench.cpp#newcode29 bench/ImageCacheBench.cpp:29: const char* getCategory() const override { return "imagecachebench-test"; } ...
5 years, 4 months ago (2015-08-07 16:20:00 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1271033002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1271033002/20001
5 years, 4 months ago (2015-08-07 19:17:39 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-08-07 19:24:53 UTC) #9
reed1
ptal
5 years, 4 months ago (2015-08-07 19:38:07 UTC) #10
reed1
5 years, 4 months ago (2015-08-07 19:38:29 UTC) #12
ssid
This looks great. Thanks for the work! These are the statistics we need to add ...
5 years, 4 months ago (2015-08-07 23:42:11 UTC) #13
reed1
https://codereview.chromium.org/1271033002/diff/20001/src/core/SkGlyphCache.cpp File src/core/SkGlyphCache.cpp (right): https://codereview.chromium.org/1271033002/diff/20001/src/core/SkGlyphCache.cpp#newcode423 src/core/SkGlyphCache.cpp:423: SkDebugf("GlyphCache [ used budget ]\n"); On 2015/08/07 23:42:11, ssid ...
5 years, 4 months ago (2015-08-11 13:44:19 UTC) #14
ssid
On 2015/08/11 13:44:19, reed1 wrote: > https://codereview.chromium.org/1271033002/diff/20001/src/core/SkGlyphCache.cpp > File src/core/SkGlyphCache.cpp (right): > > https://codereview.chromium.org/1271033002/diff/20001/src/core/SkGlyphCache.cpp#newcode423 > ...
5 years, 4 months ago (2015-08-11 13:52:36 UTC) #15
bsalomon
+CC Eric Karl
5 years, 4 months ago (2015-08-11 13:56:10 UTC) #16
reed1
On 2015/08/11 13:52:36, ssid wrote: > On 2015/08/11 13:44:19, reed1 wrote: > > > https://codereview.chromium.org/1271033002/diff/20001/src/core/SkGlyphCache.cpp ...
5 years, 4 months ago (2015-08-11 14:12:30 UTC) #17
ssid
> Yes, if you could sketch out what interface(s) you would need to expose, then ...
5 years, 4 months ago (2015-08-11 18:01:56 UTC) #18
ssid
+primiano
5 years, 4 months ago (2015-08-12 10:18:26 UTC) #19
Primiano Tucci (use gerrit)
On 2015/08/12 10:18:26, ssid wrote: > +primiano Oh, just came back from vacation, trying to ...
5 years, 4 months ago (2015-08-12 10:36:27 UTC) #20
reed1
On 2015/08/12 10:36:27, Primiano Tucci wrote: > On 2015/08/12 10:18:26, ssid wrote: > > +primiano ...
5 years, 4 months ago (2015-08-12 13:58:25 UTC) #21
Primiano Tucci (use gerrit)
> A custom visitor is exactly the direction I want to support, BUT I want ...
5 years, 4 months ago (2015-08-12 18:19:30 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1271033002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1271033002/20001
5 years, 4 months ago (2015-08-19 19:16:00 UTC) #24
commit-bot: I haz the power
5 years, 4 months ago (2015-08-19 19:25:43 UTC) #25
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/216b643fc77e754a3fabbb0ed397e7cf55d1954d

Powered by Google App Engine
This is Rietveld 408576698