Home
last modified time | relevance | path

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

/external/skia/src/gpu/vk/
DGrVkTextureRenderTarget.cpp124 const GrVkImage::Resource* imageRsrc = GrVkImage::CreateResource(gpu, imageDesc); in CreateNewTextureRenderTarget() local
126 if (!imageRsrc) { in CreateNewTextureRenderTarget()
131 imageDesc.fFormat, imageRsrc); in CreateNewTextureRenderTarget()
133 imageRsrc->unref(gpu); in CreateNewTextureRenderTarget()
143 GrVkImage::Resource* imageRsrc) { in CreateWrappedTextureRenderTarget() argument
144 SkASSERT(imageRsrc); in CreateWrappedTextureRenderTarget()
148 return GrVkTextureRenderTarget::Create(gpu, desc, lifeCycle, format, imageRsrc); in CreateWrappedTextureRenderTarget()
DGrVkGpu.cpp570 GrVkImage::Resource* imageRsrc = reinterpret_cast<GrVkImage::Resource*>(desc.fTextureHandle); in onWrapBackendTexture() local
598 imageRsrc); in onWrapBackendTexture()
600 texture = GrVkTexture::CreateWrappedTexture(this, surfDesc, lifeCycle, format, imageRsrc); in onWrapBackendTexture()
613 GrVkImage::Resource* imageRsrc = in onWrapBackendRenderTarget() local
636 lifeCycle, imageRsrc); in onWrapBackendRenderTarget()
757 const GrVkImage::Resource* imageRsrc = GrVkImage::CreateResource(this, imageDesc); in createTestingOnlyBackendTexture() local
758 if (!imageRsrc) { in createTestingOnlyBackendTexture()
775 imageRsrc->fImage, in createTestingOnlyBackendTexture()
781 imageRsrc->fAlloc, in createTestingOnlyBackendTexture()
787 imageRsrc->unref(this); in createTestingOnlyBackendTexture()
[all …]