70bb80802198b7fedee58f79d0d68d5f8aba8b62 |
|
17-Feb-2016 |
bungeman <bungeman@google.com> |
Add request cache to SkFontHost_fontconfig. The current code deduplicates SkTypeface instances as all font lookups should for better use of the glyph cache. This adds a request cache as well, so that repeated recent requests will return the cached result instead of doing a full lookup. BUG=chromium:424082, chromium:444894 Review URL: https://codereview.chromium.org/1683883002
/external/skia/src/core/SkResourceCache.h
|
33c594c9611529ba72474ec52586be65f3e2d76f |
|
27-Aug-2015 |
ssid <ssid@chromium.org> |
[tracing] Add support for skia caches to dump memory stats Dump the memory statistics of resource cache and glyph cache using the SkTraceMemoryDump interface. BUG=chromium:503168 Review URL: https://codereview.chromium.org/1313793004
/external/skia/src/core/SkResourceCache.h
|
96fcdcc219d2a0d3579719b84b28bede76efba64 |
|
27-Aug-2015 |
halcanary <halcanary@google.com> |
Style Change: NULL->nullptr DOCS_PREVIEW= https://skia.org/?cl=1316233002 Review URL: https://codereview.chromium.org/1316233002
/external/skia/src/core/SkResourceCache.h
|
216b643fc77e754a3fabbb0ed397e7cf55d1954d |
|
19-Aug-2015 |
reed <reed@google.com> |
private iterator to visit all resource cache entries BUG=skia: TBR= Review URL: https://codereview.chromium.org/1271033002
/external/skia/src/core/SkResourceCache.h
|
7eeba2587760a0802fd2b90765b4fd0e5e895375 |
|
24-Feb-2015 |
reed <reed@chromium.org> |
Notify resource caches when pixelref genID goes stale patch from issue 954443002 at patchset 40001 (http://crrev.com/954443002#ps40001) BUG=skia: Review URL: https://codereview.chromium.org/950363002
/external/skia/src/core/SkResourceCache.h
|
90c6bc4e85df2da37f436ea1da203e194c4740e2 |
|
19-Feb-2015 |
mtklein <mtklein@google.com> |
Revert of notify resource caches when pixelref genID goes stale (patchset #4 id:60001 of https://codereview.chromium.org/825263005/) Reason for revert: Crazy failures. http://build.chromium.org/p/client.skia/builders/Test-Mac10.8-MacMini4.1-GeForce320M-x86_64-Debug/builds/1428/steps/dm/logs/stdio Original issue's description: > notify resource caches when pixelref genID goes stale > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/4675819b9dbb3ad71ec851776e5de26d342f29fe TBR=bsalomon@google.com,reed@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/936423002
/external/skia/src/core/SkResourceCache.h
|
4675819b9dbb3ad71ec851776e5de26d342f29fe |
|
19-Feb-2015 |
reed <reed@google.com> |
notify resource caches when pixelref genID goes stale BUG=skia: Review URL: https://codereview.chromium.org/825263005
/external/skia/src/core/SkResourceCache.h
|
1d9e80f02b8260ffe2eb1944042cd79f10e38d43 |
|
26-Jan-2015 |
reed <reed@google.com> |
check effective cache-size for fixed-budget caches BUG=skia: Review URL: https://codereview.chromium.org/876743002
/external/skia/src/core/SkResourceCache.h
|
d9aac34eceeb197c5551f38583670be7729dd00a |
|
23-Oct-2014 |
qiankun.miao <qiankun.miao@intel.com> |
Add SkMaskCache BUG=skia: Review URL: https://codereview.chromium.org/670063004
/external/skia/src/core/SkResourceCache.h
|
171e5b73a862418f4acd61faf8cecfbc8f58694c |
|
22-Oct-2014 |
fmalita <fmalita@chromium.org> |
SkResourceCache::Key namespace support. Add a unique-per-subclass namespace tag to make Keys from different domains comparable. Also drop the SkPictureShader cache and convert to using the global resource cache instead. R=reed@google.com,mtklein@google.com,robertphillips@google.com Review URL: https://codereview.chromium.org/668223002
/external/skia/src/core/SkResourceCache.h
|
484bbe5be63d6c516e8b190634117989de0f9a26 |
|
21-Oct-2014 |
mtklein <mtklein@chromium.org> |
small tweaks to SkResourceCache::Key - remove unused method and obsolete note - add a reminder that yes, we are checking counts are equal BUG=skia: Review URL: https://codereview.chromium.org/667993002
/external/skia/src/core/SkResourceCache.h
|
9d93c2ebb31bf996905532446644f242339a774e |
|
08-Oct-2014 |
reed <reed@google.com> |
Add SkCachedData and use it for SkMipMap This reverts commit 37c5a815d8ea33247968212ef4cc83394ceee1bc. TBR=mtklein Review URL: https://codereview.chromium.org/635333002
/external/skia/src/core/SkResourceCache.h
|
37c5a815d8ea33247968212ef4cc83394ceee1bc |
|
03-Oct-2014 |
reed <reed@google.com> |
Speculative revert to diagnose crash in chrome. Revert "Add SkCachedData and use it for SkMipMap" This reverts commit 92561a0b99ad6c08ab7a11dd1872f028199392e9. crasher in question: https://code.google.com/p/chromium/issues/detail?id=420178 Review URL: https://codereview.chromium.org/617613003
/external/skia/src/core/SkResourceCache.h
|
92561a0b99ad6c08ab7a11dd1872f028199392e9 |
|
02-Oct-2014 |
reed <reed@google.com> |
Add SkCachedData and use it for SkMipMap Review URL: https://codereview.chromium.org/592843003
/external/skia/src/core/SkResourceCache.h
|
30ad5306be25565484a3dd76237984e071b7c4b3 |
|
16-Sep-2014 |
reed <reed@google.com> |
allow SkBitmapCache to operate on a local instance, for testability BUG=skia: R=mtklein@google.com, danakj@chromium.org, piotaixr@chromium.org, junov@chromium.org Author: reed@google.com Review URL: https://codereview.chromium.org/576763002
/external/skia/src/core/SkResourceCache.h
|
c90e0149ec530075cae7bf51072a16628311855e |
|
15-Sep-2014 |
reed <reed@google.com> |
Change SkResourceCache to take a Visitor inside its find(). This reverts commit 595aa05efcb504e85358b8d328ac4a9fa1c46e2e. BUG=skia: R=mtklein@google.com, danakj@chromium.org Author: reed@google.com Review URL: https://codereview.chromium.org/569353002
/external/skia/src/core/SkResourceCache.h
|
595aa05efcb504e85358b8d328ac4a9fa1c46e2e |
|
15-Sep-2014 |
reed <reed@google.com> |
Revert of Change SkResourceCache to take a Visitor inside its find(). (patchset #2 id:20001 of https://codereview.chromium.org/567393002/) Reason for revert: crashes on android bots, haven't diagnosed yet Original issue's description: > Change SkResourceCache to take a Visitor inside its find(). > > This simplifies the API/contract, in that there are not any exposed > lock/unlock scopes. > > > patch from issue 572573002 > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/dee6a8e67db39fcbde2b3bb09be1d088ebb9db8a R=mtklein@google.com, danakj@chromium.org TBR=danakj@chromium.org, mtklein@google.com NOTREECHECKS=true NOTRY=true BUG=skia: Author: reed@google.com Review URL: https://codereview.chromium.org/569303002
/external/skia/src/core/SkResourceCache.h
|
dee6a8e67db39fcbde2b3bb09be1d088ebb9db8a |
|
15-Sep-2014 |
reed <reed@google.com> |
Change SkResourceCache to take a Visitor inside its find(). This simplifies the API/contract, in that there are not any exposed lock/unlock scopes. patch from issue 572573002 BUG=skia: R=mtklein@google.com, danakj@chromium.org Author: reed@google.com Review URL: https://codereview.chromium.org/567393002
/external/skia/src/core/SkResourceCache.h
|
56b00d9e7aecce7ffc6b915972cc3cbfbe051d7e |
|
11-Sep-2014 |
reed <reed@google.com> |
add PurgeResourceCache to track leaks TBR=halcananry Author: reed@google.com Review URL: https://codereview.chromium.org/554263005
/external/skia/src/core/SkResourceCache.h
|
790ffe3feb90370318f42b28eb9c6af6e38cd4f9 |
|
11-Sep-2014 |
danakj <danakj@chromium.org> |
Make SkBitmapCache remove invalid bitmaps from the SkResourceCache. This adds SkResourceCache::Remove() which will remove a resource from its cache. The resource is required to be unlocked at the time Remove() is called. Then SkBitmapCache::Find() makes use of this to Remove() bitmaps from the cache whose pixels have been evicted. This allows the bitmap to be re-added to the cache with pixels again. After this change, background a tab (and discarding all the bitmaps' contents) no longer disables image caching for those discarded images once the tab is visible again. BUG=skia:2926 NOTRY=true R=reed@android.com, tomhudson@google.com, reed@google.com Author: danakj@chromium.org Review URL: https://codereview.chromium.org/561953002
/external/skia/src/core/SkResourceCache.h
|
8159146699f691b88f60564fc0811a6da3e8693f |
|
02-Sep-2014 |
piotaixr <piotaixr@chromium.org> |
Added Doc for GetAllocator in SkResourceCache and SkBitmapCache BUG=skia:2896 R=junov@chromium.org, reed@google.com Author: piotaixr@chromium.org Review URL: https://codereview.chromium.org/533713003
/external/skia/src/core/SkResourceCache.h
|
011f39aeb2b9715546eb74d9ebb71be7baf95fde |
|
28-Aug-2014 |
reed <reed@google.com> |
rename ScaledImageCache to ResourceCache BUG=skia: R=bsalomon@google.com, mtklein@google.com Author: reed@google.com Review URL: https://codereview.chromium.org/511283002
/external/skia/src/core/SkResourceCache.h
|