• Home
  • Raw
  • Download

Lines Matching refs:desc

26                                    const GrSurfaceDesc& desc,  in GrVkRenderTarget()  argument
32 : GrSurface(gpu, desc) in GrVkRenderTarget()
35 , GrRenderTarget(gpu, desc) in GrVkRenderTarget()
41 SkASSERT(desc.fSampleCnt); in GrVkRenderTarget()
49 const GrSurfaceDesc& desc, in GrVkRenderTarget() argument
55 : GrSurface(gpu, desc) in GrVkRenderTarget()
58 , GrRenderTarget(gpu, desc) in GrVkRenderTarget()
64 SkASSERT(desc.fSampleCnt); in GrVkRenderTarget()
72 const GrSurfaceDesc& desc, in GrVkRenderTarget() argument
76 : GrSurface(gpu, desc) in GrVkRenderTarget()
78 , GrRenderTarget(gpu, desc) in GrVkRenderTarget()
84 SkASSERT(!desc.fSampleCnt); in GrVkRenderTarget()
92 const GrSurfaceDesc& desc, in GrVkRenderTarget() argument
96 : GrSurface(gpu, desc) in GrVkRenderTarget()
98 , GrRenderTarget(gpu, desc) in GrVkRenderTarget()
104 SkASSERT(!desc.fSampleCnt); in GrVkRenderTarget()
111 const GrSurfaceDesc& desc, in Create() argument
116 GrPixelConfigToVkFormat(desc.fConfig, &pixelFormat); in Create()
123 if (desc.fSampleCnt) { in Create()
127 msImageDesc.fWidth = desc.fWidth; in Create()
128 msImageDesc.fHeight = desc.fHeight; in Create()
130 msImageDesc.fSamples = desc.fSampleCnt; in Create()
160 if (desc.fSampleCnt) { in Create()
168 if (desc.fSampleCnt) { in Create()
169 texRT = new GrVkRenderTarget(gpu, budgeted, desc, info, msInfo, in Create()
172 texRT = new GrVkRenderTarget(gpu, budgeted, desc, info, colorAttachmentView, wrapped); in Create()
181 const GrSurfaceDesc& desc, in CreateNewRenderTarget() argument
190 GrVkRenderTarget* rt = GrVkRenderTarget::Create(gpu, budgeted, desc, info, in CreateNewRenderTarget()
200 const GrSurfaceDesc& desc, in MakeWrappedRenderTarget() argument
206 GrVkRenderTarget::Create(gpu, SkBudgeted::kNo, desc, *info, GrVkImage::kBorrowed_Wrapped)); in MakeWrappedRenderTarget()
236 GrVkRenderPass::AttachmentsDescriptor* desc, in getAttachmentsDescriptor() argument
241 desc->fColor.fFormat = colorFormat; in getAttachmentsDescriptor()
242 desc->fColor.fSamples = colorSamples ? colorSamples : 1; in getAttachmentsDescriptor()
249 desc->fStencil.fFormat = vkStencil->vkFormat(); in getAttachmentsDescriptor()
250 desc->fStencil.fSamples = vkStencil->numSamples() ? vkStencil->numSamples() : 1; in getAttachmentsDescriptor()
252 SkASSERT(desc->fColor.fSamples == desc->fStencil.fSamples); in getAttachmentsDescriptor()
256 desc->fAttachmentCount = attachmentCount; in getAttachmentsDescriptor()