Home
last modified time | relevance | path

Searched refs:attachmentUsages (Results 1 – 4 of 4) sorted by relevance

/third_party/skia/src/gpu/mtl/
DGrMtlAttachment.mm98 UsageFlags attachmentUsages,
120 if (attachmentUsages == UsageFlags::kStencilAttachment) {
122 } else if (SkToBool(attachmentUsages & UsageFlags::kColorAttachment)) {
124 if (SkToBool(attachmentUsages & UsageFlags::kTexture)) {
130 if (SkToBool(attachmentUsages & UsageFlags::kTexture)) {
137 SkASSERT(attachmentUsages == UsageFlags::kTexture);
142 return sk_sp<GrMtlAttachment>(new GrMtlAttachment(gpu, dimensions, attachmentUsages,
150 UsageFlags attachmentUsages,
153 return sk_sp<GrMtlAttachment>(new GrMtlAttachment(gpu, dimensions, attachmentUsages, texture,
DGrMtlAttachment.h41 UsageFlags attachmentUsages,
65 UsageFlags attachmentUsages,
/third_party/skia/src/gpu/vk/
DGrVkImage.cpp94 GrAttachment::UsageFlags attachmentUsages, in make_views() argument
98 if (attachmentUsages & GrAttachment::UsageFlags::kStencilAttachment) { in make_views()
100 SkASSERT(attachmentUsages == GrAttachment::UsageFlags::kStencilAttachment); in make_views()
106 if (SkToBool(attachmentUsages & GrAttachment::UsageFlags::kStencilAttachment) || in make_views()
107 SkToBool(attachmentUsages & GrAttachment::UsageFlags::kColorAttachment)) { in make_views()
116 if (attachmentUsages & GrAttachment::UsageFlags::kTexture) { in make_views()
132 UsageFlags attachmentUsages, in Make() argument
158 if (!make_views(gpu, info, attachmentUsages, &framebufferView, &textureView)) { in Make()
167 attachmentUsages, in Make()
179 UsageFlags attachmentUsages, in MakeWrapped() argument
[all …]
DGrVkImage.h58 UsageFlags attachmentUsages,
215 UsageFlags attachmentUsages,