Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DSkGr.cpp176 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()
[all …]