Lines Matching refs:imageResource
19 const GrVkImage::Resource* imageResource,
22 , GrVkImage(imageResource)
32 const GrVkImage::Resource* imageResource,
36 , GrVkImage(imageResource)
45 const GrVkImage::Resource* imageResource) {
46 VkImage image = imageResource->fImage;
53 return new GrVkTexture(gpu, desc, lifeCycle, imageResource, imageView);
61 const GrVkImage::Resource* imageResource = GrVkImage::CreateResource(gpu, imageDesc);
62 if (!imageResource) {
66 GrVkTexture* texture = Create(gpu, desc, lifeCycle, imageDesc.fFormat, imageResource);
68 imageResource->unref(gpu);
76 const GrVkImage::Resource* imageResource) {
77 SkASSERT(imageResource);
79 // Note: we assume the caller will unref the imageResource
81 return Create(gpu, desc, lifeCycle, format, imageResource);