Home
last modified time | relevance | path

Searched refs:SkBitmapCacheDesc (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/core/
DSkBitmapCache.h22 struct SkBitmapCacheDesc { struct
28 static SkBitmapCacheDesc Make(const SkBitmap&, int width, int height); argument
29 static SkBitmapCacheDesc Make(const SkBitmap&);
30 static SkBitmapCacheDesc Make(const SkImage*, int width, int height);
31 static SkBitmapCacheDesc Make(const SkImage*);
46 static bool FindWH(const SkBitmapCacheDesc&, SkBitmap* result,
52 static bool AddWH(const SkBitmapCacheDesc&, const SkBitmap& result,
76 static const SkMipMap* FindAndRef(const SkBitmapCacheDesc&,
DSkBitmapCache.cpp56 SkBitmapCacheDesc SkBitmapCacheDesc::Make(const SkBitmap& bm, int width, int height) { in Make()
57 SkBitmapCacheDesc desc; in Make()
65 SkBitmapCacheDesc SkBitmapCacheDesc::Make(const SkBitmap& bm) { in Make()
69 SkBitmapCacheDesc SkBitmapCacheDesc::Make(const SkImage* image, int width, int height) { in Make()
70 SkBitmapCacheDesc desc; in Make()
78 SkBitmapCacheDesc SkBitmapCacheDesc::Make(const SkImage* image) { in Make()
97 BitmapKey(const SkBitmapCacheDesc& desc) in BitmapKey()
129 BitmapRec(const SkBitmapCacheDesc& desc, const SkBitmap& result) in BitmapRec()
164 bool SkBitmapCache::FindWH(const SkBitmapCacheDesc& desc, SkBitmap* result, in FindWH()
173 bool SkBitmapCache::AddWH(const SkBitmapCacheDesc& desc, const SkBitmap& result, in AddWH()
[all …]
DSkBitmapProvider.cpp63 SkBitmapCacheDesc SkBitmapProvider::makeCacheDesc(int w, int h) const { in makeCacheDesc()
64 return fImage ? SkBitmapCacheDesc::Make(fImage, w, h) : SkBitmapCacheDesc::Make(fBitmap, w, h); in makeCacheDesc()
67 SkBitmapCacheDesc SkBitmapProvider::makeCacheDesc() const { in makeCacheDesc()
68 return fImage ? SkBitmapCacheDesc::Make(fImage) : SkBitmapCacheDesc::Make(fBitmap); in makeCacheDesc()
DSkBitmapProvider.h32 SkBitmapCacheDesc makeCacheDesc(int w, int h) const;
33 SkBitmapCacheDesc makeCacheDesc() const;
DSkBitmapController.cpp114 const SkBitmapCacheDesc desc = provider.makeCacheDesc(dstW, dstH); in processHQRequest()
/external/skia/tests/
DSkResourceCacheTest.cpp99 const SkMipMap* mipmap = SkMipMapCache::FindAndRef(SkBitmapCacheDesc::Make(src), cache); in test_mipmapcache()
106 const SkMipMap* mm = SkMipMapCache::FindAndRef(SkBitmapCacheDesc::Make(src), cache); in test_mipmapcache()
120 mipmap = SkMipMapCache::FindAndRef(SkBitmapCacheDesc::Make(src), cache); in test_mipmapcache()
139 const SkMipMap* mipmap = SkMipMapCache::FindAndRef(SkBitmapCacheDesc::Make(src[i]), cache); in test_mipmap_notify()
149 mipmap = SkMipMapCache::FindAndRef(SkBitmapCacheDesc::Make(src[i]), cache); in test_mipmap_notify()