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

Issue 1148973002: purge imagefilter cache so we can better track leaks (Closed)

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

Description

purge imagefilter cache so we can better track leaks BUG=skia: Committed: https://skia.googlesource.com/skia/+/67ca2a93f9269768fac39be4406dc167bea6d716

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -0 lines) Patch
M include/core/SkImageFilter.h View 2 chunks +4 lines, -0 lines 1 comment Download
M src/core/SkImageFilter.cpp View 2 chunks +14 lines, -0 lines 2 comments Download
M src/core/SkPixelRef.cpp View 5 chunks +15 lines, -0 lines 0 comments Download
M src/core/SkResourceCache.cpp View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
reed1
5 years, 7 months ago (2015-05-20 20:16:44 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1148973002/1
5 years, 7 months ago (2015-05-20 20:17:01 UTC) #4
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
5 years, 7 months ago (2015-05-20 20:17:01 UTC) #5
Stephen White
LGTM, as long as SkGraphics::PurgeResourceCache() is only called on process exit.
5 years, 7 months ago (2015-05-20 20:21:15 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://skia.googlesource.com/skia/+/67ca2a93f9269768fac39be4406dc167bea6d716
5 years, 7 months ago (2015-05-20 20:23:00 UTC) #8
robertphillips
Whoops - too late :( https://codereview.chromium.org/1148973002/diff/1/include/core/SkImageFilter.h File include/core/SkImageFilter.h (right): https://codereview.chromium.org/1148973002/diff/1/include/core/SkImageFilter.h#newcode345 include/core/SkImageFilter.h:345: private: // for PurgeCache ...
5 years, 7 months ago (2015-05-20 20:28:19 UTC) #9
reed1
On 2015/05/20 20:21:15, Stephen White wrote: > LGTM, as long as SkGraphics::PurgeResourceCache() is only called ...
5 years, 7 months ago (2015-05-20 20:29:45 UTC) #10
Stephen White
On 2015/05/20 20:29:45, reed1 wrote: > On 2015/05/20 20:21:15, Stephen White wrote: > > LGTM, ...
5 years, 7 months ago (2015-05-20 20:40:10 UTC) #11
reed1
5 years, 7 months ago (2015-05-20 20:49:14 UTC) #12
Message was sent while issue was closed.
Ah, ok. It will be called whenever someone calls it :)

For this CL, I am calling it when I purge all the other caches as well.

Powered by Google App Engine
This is Rietveld 408576698