Lines Matching refs:gpu
16 GrVkTexture::GrVkTexture(GrVkGpu* gpu, in GrVkTexture() argument
21 : GrSurface(gpu, lifeCycle, desc) in GrVkTexture()
23 , INHERITED(gpu, lifeCycle, desc) in GrVkTexture()
29 GrVkTexture::GrVkTexture(GrVkGpu* gpu, in GrVkTexture() argument
35 : GrSurface(gpu, lifeCycle, desc) in GrVkTexture()
37 , INHERITED(gpu, lifeCycle, desc) in GrVkTexture()
41 GrVkTexture* GrVkTexture::Create(GrVkGpu* gpu, in Create() argument
47 const GrVkImageView* imageView = GrVkImageView::Create(gpu, image, format, in Create()
53 return new GrVkTexture(gpu, desc, lifeCycle, imageResource, imageView); in Create()
56 GrVkTexture* GrVkTexture::CreateNewTexture(GrVkGpu* gpu, const GrSurfaceDesc& desc, in CreateNewTexture() argument
61 const GrVkImage::Resource* imageResource = GrVkImage::CreateResource(gpu, imageDesc); in CreateNewTexture()
66 GrVkTexture* texture = Create(gpu, desc, lifeCycle, imageDesc.fFormat, imageResource); in CreateNewTexture()
68 imageResource->unref(gpu); in CreateNewTexture()
73 GrVkTexture* GrVkTexture::CreateWrappedTexture(GrVkGpu* gpu, const GrSurfaceDesc& desc, in CreateWrappedTexture() argument
81 return Create(gpu, desc, lifeCycle, format, imageResource); in CreateWrappedTexture()