Lines Matching refs:backendTex
315 static id<MTLTexture> get_texture_from_backend(const GrBackendTexture& backendTex,
318 if (!backendTex.getMtlTextureInfo(&textureInfo)) {
344 sk_sp<GrTexture> GrMtlGpu::onWrapBackendTexture(const GrBackendTexture& backendTex,
347 id<MTLTexture> mtlTexture = get_texture_from_backend(backendTex, ownership);
353 init_surface_desc(&surfDesc, mtlTexture, false, backendTex.config());
358 sk_sp<GrTexture> GrMtlGpu::onWrapRenderableBackendTexture(const GrBackendTexture& backendTex,
362 id<MTLTexture> mtlTexture = get_texture_from_backend(backendTex, ownership);
368 init_surface_desc(&surfDesc, mtlTexture, true, backendTex.config());
395 const GrBackendTexture& backendTex, int sampleCnt) {
396 id<MTLTexture> mtlTexture = get_texture_from_backend(backendTex,
403 init_surface_desc(&surfDesc, mtlTexture, true, backendTex.config());
522 GrBackendTexture backendTex(w, h, mipMapped, info);
523 backendTex.fConfig = config;
524 return backendTex;