Lines Matching refs:optionalKey

176                                          const GrUniqueKey& optionalKey,  in create_texture_for_bmp()  argument
182 if (result && optionalKey.isValid()) { in create_texture_for_bmp()
183 BitmapInvalidator* listener = SkNEW_ARGS(BitmapInvalidator, (optionalKey)); in create_texture_for_bmp()
185 ctx->textureProvider()->assignUniqueKeyToTexture(optionalKey, result); in create_texture_for_bmp()
195 const GrUniqueKey& optionalKey) { in stretch_texture_to_next_pot() argument
231 GrTexture* stretched = create_texture_for_bmp(context, optionalKey, rtDesc, pixelRef, NULL, 0); in stretch_texture_to_next_pot()
255 static GrTexture *load_etc1_texture(GrContext* ctx, const GrUniqueKey& optionalKey, in load_etc1_texture() argument
300 return create_texture_for_bmp(ctx, optionalKey, desc, bm.pixelRef(), bytes, 0); in load_etc1_texture()
304 static GrTexture* load_yuv_texture(GrContext* ctx, const GrUniqueKey& optionalKey, in load_yuv_texture() argument
314 const bool useCache = optionalKey.isValid(); in load_yuv_texture()
385 GrTexture* result = create_texture_for_bmp(ctx, optionalKey, rtDesc, pixelRef, NULL, 0); in load_yuv_texture()
408 const GrUniqueKey& optionalKey) { in create_unstretched_bitmap_texture() argument
425 return create_texture_for_bmp(ctx, optionalKey, desc, origBitmap.pixelRef(), in create_unstretched_bitmap_texture()
445 GrTexture *texture = load_etc1_texture(ctx, optionalKey, *bitmap, desc); in create_unstretched_bitmap_texture()
452 GrTexture *texture = load_yuv_texture(ctx, optionalKey, *bitmap, desc); in create_unstretched_bitmap_texture()
462 return create_texture_for_bmp(ctx, optionalKey, desc, origBitmap.pixelRef(), in create_unstretched_bitmap_texture()