Lines Matching refs:gpu
16 GrVkStencilAttachment::GrVkStencilAttachment(GrVkGpu* gpu, in GrVkStencilAttachment() argument
22 : INHERITED(gpu, lifeCycle, desc.fWidth, desc.fHeight, format.fStencilBits, desc.fSamples) in GrVkStencilAttachment()
31 GrVkStencilAttachment* GrVkStencilAttachment::Create(GrVkGpu* gpu, in Create() argument
48 const GrVkImage::Resource* imageResource = GrVkImage::CreateResource(gpu, imageDesc); in Create()
53 const GrVkImageView* imageView = GrVkImageView::Create(gpu, imageResource->fImage, in Create()
57 imageResource->unref(gpu); in Create()
61 GrVkStencilAttachment* stencil = new GrVkStencilAttachment(gpu, lifeCycle, format, imageDesc, in Create()
63 imageResource->unref(gpu); in Create()
64 imageView->unref(gpu); in Create()
84 GrVkGpu* gpu = this->getVkGpu(); in onRelease() local
86 fImageResource->unref(gpu); in onRelease()
89 fStencilView->unref(gpu); in onRelease()