Home | History | Annotate | Download | only in vk

Lines Matching refs:gpu

14 #define VK_CALL(GPU, X) GR_VK_CALL(GPU->vkInterface(), X)
16 GrVkStencilAttachment::GrVkStencilAttachment(GrVkGpu* gpu,
21 : GrStencilAttachment(gpu, desc.fWidth, desc.fHeight, format.fStencilBits, desc.fSamples)
29 GrVkStencilAttachment* GrVkStencilAttachment::Create(GrVkGpu* gpu,
47 if (!GrVkImage::InitImageInfo(gpu, imageDesc, &info)) {
51 const GrVkImageView* imageView = GrVkImageView::Create(gpu, info.fImage,
55 GrVkImage::DestroyImageInfo(gpu, &info);
59 GrVkStencilAttachment* stencil = new GrVkStencilAttachment(gpu, format, imageDesc,
61 imageView->unref(gpu);
80 GrVkGpu* gpu = this->getVkGpu();
82 this->releaseImage(gpu);
84 fStencilView->unref(gpu);