Lines Matching refs:attachmentUsages
100 GrAttachment::UsageFlags attachmentUsages, in make_views() argument
104 if (attachmentUsages & GrAttachment::UsageFlags::kStencilAttachment) { in make_views()
106 SkASSERT(attachmentUsages == GrAttachment::UsageFlags::kStencilAttachment); in make_views()
112 if (SkToBool(attachmentUsages & GrAttachment::UsageFlags::kStencilAttachment) || in make_views()
113 SkToBool(attachmentUsages & GrAttachment::UsageFlags::kColorAttachment)) { in make_views()
122 if (attachmentUsages & GrAttachment::UsageFlags::kTexture) { in make_views()
134 UsageFlags attachmentUsages, in Make() argument
159 if (!make_views(gpu, info, attachmentUsages, &framebufferView, &textureView)) { in Make()
166 return sk_sp<GrVkAttachment>(new GrVkAttachment(gpu, dimensions, attachmentUsages, info, in Make()
178 UsageFlags attachmentUsages, in MakeWrapped() argument
185 if (!make_views(gpu, info, attachmentUsages, &framebufferView, &textureView)) { in MakeWrapped()
193 return sk_sp<GrVkAttachment>(new GrVkAttachment(gpu, dimensions, attachmentUsages, info, in MakeWrapped()