Lines Matching refs:GrVkImage
18 sk_sp<GrVkImage> GrVkImage::MakeStencil(GrVkGpu* gpu, in MakeStencil()
24 return GrVkImage::Make(gpu, in MakeStencil()
36 sk_sp<GrVkImage> GrVkImage::MakeMSAA(GrVkGpu* gpu, in MakeMSAA()
50 return GrVkImage::Make(gpu, in MakeMSAA()
62 sk_sp<GrVkImage> GrVkImage::MakeTexture(GrVkGpu* gpu, in MakeTexture()
80 return GrVkImage::Make(gpu, in MakeTexture()
130 sk_sp<GrVkImage> GrVkImage::Make(GrVkGpu* gpu, in Make()
140 GrVkImage::ImageDesc imageDesc; in Make()
152 if (!GrVkImage::InitImageInfo(gpu, imageDesc, &info)) { in Make()
159 GrVkImage::DestroyImageInfo(gpu, &info); in Make()
165 return sk_sp<GrVkImage>(new GrVkImage(gpu, in Make()
175 sk_sp<GrVkImage> GrVkImage::MakeWrapped(GrVkGpu* gpu, in MakeWrapped()
195 return sk_sp<GrVkImage>(new GrVkImage(gpu, in MakeWrapped()
207 GrVkImage::GrVkImage(GrVkGpu* gpu, in GrVkImage() function in GrVkImage
233 GrVkImage::GrVkImage(GrVkGpu* gpu, in GrVkImage() function in GrVkImage
259 void GrVkImage::init(GrVkGpu* gpu, bool forSecondaryCB) { in init()
301 VkPipelineStageFlags GrVkImage::LayoutToPipelineSrcStageFlags(const VkImageLayout layout) { in LayoutToPipelineSrcStageFlags()
324 VkAccessFlags GrVkImage::LayoutToSrcAccessMask(const VkImageLayout layout) { in LayoutToSrcAccessMask()
368 void GrVkImage::setImageLayoutAndQueueIndex(const GrVkGpu* gpu, in setImageLayoutAndQueueIndex()
435 VkAccessFlags srcAccessMask = GrVkImage::LayoutToSrcAccessMask(currentLayout); in setImageLayoutAndQueueIndex()
436 VkPipelineStageFlags srcStageMask = GrVkImage::LayoutToPipelineSrcStageFlags(currentLayout); in setImageLayoutAndQueueIndex()
460 bool GrVkImage::InitImageInfo(GrVkGpu* gpu, const ImageDesc& imageDesc, GrVkImageInfo* info) { in InitImageInfo()
536 void GrVkImage::DestroyImageInfo(const GrVkGpu* gpu, GrVkImageInfo* info) { in DestroyImageInfo()
541 GrVkImage::~GrVkImage() { in ~GrVkImage()
548 void GrVkImage::prepareForPresent(GrVkGpu* gpu) { in prepareForPresent()
560 void GrVkImage::prepareForExternal(GrVkGpu* gpu) { in prepareForExternal()
566 void GrVkImage::releaseImage() { in releaseImage()
577 void GrVkImage::onRelease() { in onRelease()
582 void GrVkImage::onAbandon() { in onAbandon()
587 void GrVkImage::setResourceRelease(sk_sp<GrRefCntedCallback> releaseHelper) { in setResourceRelease()
593 void GrVkImage::Resource::freeGPUData() const { in freeGPUData()
599 void GrVkImage::BorrowedResource::freeGPUData() const { in freeGPUData()
629 gr_rp<const GrVkDescriptorSet> GrVkImage::inputDescSetForBlending(GrVkGpu* gpu) { in inputDescSetForBlending()
650 gr_rp<const GrVkDescriptorSet> GrVkImage::inputDescSetForMSAALoad(GrVkGpu* gpu) { in inputDescSetForMSAALoad()
671 GrVkGpu* GrVkImage::getVkGpu() const { in getVkGpu()
677 void GrVkImage::setCurrentQueueFamilyToGraphicsQueue(GrVkGpu* gpu) { in setCurrentQueueFamilyToGraphicsQueue()