diff options
author | 2014-11-13 13:33:28 -0800 | |
---|---|---|
committer | 2014-11-13 13:33:28 -0800 | |
commit | f21dab95405979a4aff9f6a741c818304a67f220 (patch) | |
tree | 9dba5c1c7bb95c5197d7708ef3fa057fe91e6c4f /include/gpu/SkGr.h | |
parent | 66a450f21a3da174b7eed89a1d5fc8591e8b6ee6 (diff) |
Revert of Replace GrResourceCache with GrResourceCache2. (patchset #6 id:100001 of https://codereview.chromium.org/716143004/)
Reason for revert:
Breaking stuff
Original issue's description:
> Replace GrResourceCache with GrResourceCache2.
>
> BUG=skia:2889
>
> Committed: https://skia.googlesource.com/skia/+/66a450f21a3da174b7eed89a1d5fc8591e8b6ee6
TBR=robertphillips@google.com
NOTREECHECKS=true
NOTRY=true
BUG=skia:2889
Review URL: https://codereview.chromium.org/715333003
Diffstat (limited to 'include/gpu/SkGr.h')
-rw-r--r-- | include/gpu/SkGr.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/gpu/SkGr.h b/include/gpu/SkGr.h index 8025c956ef..026525be5d 100644 --- a/include/gpu/SkGr.h +++ b/include/gpu/SkGr.h @@ -68,11 +68,6 @@ static inline GrColor SkColor2GrColorJustAlpha(SkColor c) { //////////////////////////////////////////////////////////////////////////////// -// The cache listens for these messages to purge junk resources proactively. -struct GrResourceInvalidatedMessage { - GrResourceKey key; -}; - bool GrIsBitmapInCache(const GrContext*, const SkBitmap&, const GrTextureParams*); GrTexture* GrRefCachedBitmapTexture(GrContext*, const SkBitmap&, const GrTextureParams*); |