Lines Matching refs:GrUniqueKey
111 static bool make_stretched_key(const GrUniqueKey& origKey, Stretch stretch, in make_stretched_key()
112 GrUniqueKey* stretchedKey) { in make_stretched_key()
114 static const GrUniqueKey::Domain kDomain = GrUniqueKey::GenerateDomain(); in make_stretched_key()
115 GrUniqueKey::Builder builder(stretchedKey, origKey, kDomain, 1); in make_stretched_key()
124 static void make_unstretched_key(const SkBitmap& bitmap, GrUniqueKey* key) { in make_unstretched_key()
132 static const GrUniqueKey::Domain kDomain = GrUniqueKey::GenerateDomain(); in make_unstretched_key()
133 GrUniqueKey::Builder builder(key, kDomain, 4); in make_unstretched_key()
142 GrUniqueKey* key, in make_bitmap_keys()
143 GrUniqueKey* stretchedKey) { in make_bitmap_keys()
163 explicit BitmapInvalidator(const GrUniqueKey& key) : fMsg(key) {} in BitmapInvalidator()
176 const GrUniqueKey& optionalKey, in create_texture_for_bmp()
195 const GrUniqueKey& optionalKey) { in stretch_texture_to_next_pot()
255 static GrTexture *load_etc1_texture(GrContext* ctx, const GrUniqueKey& optionalKey, in load_etc1_texture()
304 static GrTexture* load_yuv_texture(GrContext* ctx, const GrUniqueKey& optionalKey, in load_yuv_texture()
408 const GrUniqueKey& optionalKey) { in create_unstretched_bitmap_texture()
469 const GrUniqueKey& unstretchedKey, in create_bitmap_texture()
470 const GrUniqueKey& stretchedKey) { in create_bitmap_texture()
507 const GrUniqueKey& key = texture->getUniqueKey(); in GrIsBitmapInCache()
511 GrUniqueKey stretchedKey; in GrIsBitmapInCache()
521 GrUniqueKey key, stretchedKey; in GrIsBitmapInCache()
538 GrUniqueKey stretchedKey; in GrRefCachedBitmapTexture()
541 const GrUniqueKey& key = result->getUniqueKey(); in GrRefCachedBitmapTexture()
554 GrUniqueKey key, resizedKey; in GrRefCachedBitmapTexture()