Lines Matching refs:GrTexture

175 static GrTexture* create_texture_for_bmp(GrContext* ctx,  in create_texture_for_bmp()
181 GrTexture* result = ctx->textureProvider()->createTexture(desc, true, pixels, rowBytes); in create_texture_for_bmp()
193 GrTexture* stretch_texture_to_next_pot(GrTexture* inputTexture, Stretch stretch, in stretch_texture_to_next_pot()
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()
304 static GrTexture* load_yuv_texture(GrContext* ctx, const GrUniqueKey& optionalKey, in load_yuv_texture()
365 SkAutoTUnref<GrTexture> yuvTextures[3]; in load_yuv_texture()
385 GrTexture* result = create_texture_for_bmp(ctx, optionalKey, rtDesc, pixelRef, NULL, 0); in load_yuv_texture()
406 static GrTexture* create_unstretched_bitmap_texture(GrContext* ctx, 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()
466 static GrTexture* create_bitmap_texture(GrContext* ctx, in create_bitmap_texture()
472 SkAutoTUnref<GrTexture> unstretched; in create_bitmap_texture()
483 GrTexture* stretched = stretch_texture_to_next_pot(unstretched, stretch, bmp.pixelRef(), in create_bitmap_texture()
498 GrTexture* texture = bitmap.getTexture(); in GrIsBitmapInCache()
527 GrTexture* GrRefCachedBitmapTexture(GrContext* ctx, in GrRefCachedBitmapTexture()
533 GrTexture* result = bitmap.getTexture(); in GrRefCachedBitmapTexture()
544 GrTexture* stretched = in GrRefCachedBitmapTexture()
742 SkImageInfo GrMakeInfoFromTexture(GrTexture* tex, int w, int h, bool isOpaque) { in GrMakeInfoFromTexture()
758 void GrWrapTextureInBitmap(GrTexture* src, int w, int h, bool isOpaque, SkBitmap* dst) { in GrWrapTextureInBitmap()