Lines Matching defs:mipmap
49 const SkMipMap* mipmap = SkMipMapCache::FindAndRef(SkBitmapCacheDesc::Make(src), colorMode,
51 REPORTER_ASSERT(reporter, nullptr == mipmap);
53 mipmap = SkMipMapCache::AddAndRef(src, colorMode, cache);
54 REPORTER_ASSERT(reporter, mipmap);
60 REPORTER_ASSERT(reporter, mm == mipmap);
64 check_data(reporter, mipmap, 2, kInCache, kLocked);
66 mipmap->unref();
69 check_data(reporter, mipmap, 1, kInCache, kNotLocked);
72 mipmap = SkMipMapCache::FindAndRef(SkBitmapCacheDesc::Make(src), colorMode, cache);
73 check_data(reporter, mipmap, 2, kInCache, kLocked);
76 check_data(reporter, mipmap, 1, kNotInCache, kLocked);
78 mipmap->unref();
94 const SkMipMap* mipmap = SkMipMapCache::FindAndRef(desc, colorMode, cache);
98 REPORTER_ASSERT(reporter, mipmap);
100 SkSafeUnref(mipmap);
104 mipmap = SkMipMapCache::FindAndRef(desc, colorMode, cache);
105 REPORTER_ASSERT(reporter, !mipmap);