/third_party/skia/src/gpu/ |
D | GrAttachment.h | 27 enum class UsageFlags : uint8_t { enum 32 GR_DECL_BITFIELD_CLASS_OPS_FRIENDS(UsageFlags); 36 UsageFlags supportedUsages() const { return fSupportedUsages; } in supportedUsages() 53 UsageFlags requiredUsage, 65 UsageFlags requiredUsage, 73 GrAttachment(GrGpu* gpu, SkISize dimensions, UsageFlags supportedUsages, int sampleCnt, 88 if (fSupportedUsages == UsageFlags::kStencilAttachment) { in getResourceType() 96 UsageFlags fSupportedUsages; 105 GR_MAKE_BITFIELD_CLASS_OPS(GrAttachment::UsageFlags)
|
D | GrAttachment.cpp | 25 if (!(fSupportedUsages & UsageFlags::kTexture) && fMemoryless == GrMemoryless::kNo) { in onGpuMemorySize() 41 GrAttachment::UsageFlags requiredUsage, in build_key() 67 UsageFlags requiredUsage, in ComputeSharedAttachmentUniqueKey() 83 UsageFlags requiredUsage, in ComputeScratchKey() 97 if (!SkToBool(fSupportedUsages & UsageFlags::kStencilAttachment)) { in computeScratchKey()
|
D | GrResourceProvider.cpp | 621 GrAttachment::UsageFlags::kStencilAttachment, numStencilSamples, GrMipmapped::kNo, in attachStencilAttachment() 667 GrAttachment::UsageFlags::kColorAttachment, in getDiscardableMSAAAttachment() 736 GrAttachment::UsageFlags::kColorAttachment, sampleCnt, in refScratchMSAAAttachment()
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlAttachment.mm | 21 UsageFlags supportedUsages, 33 UsageFlags supportedUsages, 53 return GrMtlAttachment::Make(gpu, dimensions, UsageFlags::kStencilAttachment, sampleCnt, format, 67 return GrMtlAttachment::Make(gpu, dimensions, UsageFlags::kColorAttachment, sampleCnt, format, 84 UsageFlags usageFlags = UsageFlags::kTexture; 86 usageFlags |= UsageFlags::kColorAttachment; 98 UsageFlags attachmentUsages, 120 if (attachmentUsages == UsageFlags::kStencilAttachment) { 122 } else if (SkToBool(attachmentUsages & UsageFlags::kColorAttachment)) { 124 if (SkToBool(attachmentUsages & UsageFlags::kTexture)) { [all …]
|
D | GrMtlAttachment.h | 41 UsageFlags attachmentUsages, 65 UsageFlags attachmentUsages, 75 UsageFlags supportedUsages, 81 UsageFlags supportedUsages,
|
D | GrMtlTextureRenderTarget.mm | 114 GrAttachment::UsageFlags textureUsageFlags = GrAttachment::UsageFlags::kTexture | 115 GrAttachment::UsageFlags::kColorAttachment;
|
D | GrMtlTexture.mm | 104 GrAttachment::UsageFlags::kTexture, cacheable);
|
D | GrMtlRenderTarget.mm | 58 GrAttachment::UsageFlags::kColorAttachment,
|
/third_party/skia/src/gpu/gl/ |
D | GrGLAttachment.h | 31 UsageFlags supportedUsages, in MakeWrappedRenderBuffer() 56 UsageFlags supportedUsages, in GrGLAttachment() 63 SkASSERT(supportedUsages == UsageFlags::kStencilAttachment || in GrGLAttachment() 64 supportedUsages == UsageFlags::kColorAttachment); in GrGLAttachment()
|
D | GrGLAttachment.cpp | 87 GrAttachment::UsageFlags::kStencilAttachment, in MakeStencil() 113 GrAttachment::UsageFlags::kColorAttachment, in MakeMSAA()
|
D | GrGLRenderTarget.cpp | 101 GrAttachment::UsageFlags::kStencilAttachment, in MakeWrapped()
|
/third_party/skia/src/gpu/vk/ |
D | GrVkImage.cpp | 26 UsageFlags::kStencilAttachment, in MakeStencil() 52 UsageFlags::kColorAttachment, in MakeMSAA() 70 UsageFlags usageFlags = UsageFlags::kTexture; in MakeTexture() 74 usageFlags |= UsageFlags::kColorAttachment; in MakeTexture() 94 GrAttachment::UsageFlags attachmentUsages, in make_views() 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() [all …]
|
D | GrVkImage.h | 58 UsageFlags attachmentUsages, 215 UsageFlags attachmentUsages, 226 UsageFlags supportedUsages, 235 UsageFlags supportedUsages,
|
D | GrVkTextureRenderTarget.cpp | 121 GrAttachment::UsageFlags textureUsageFlags = GrAttachment::UsageFlags::kTexture; in MakeWrappedTextureRenderTarget() 123 textureUsageFlags |= GrAttachment::UsageFlags::kColorAttachment; in MakeWrappedTextureRenderTarget()
|
D | GrVkRenderTarget.cpp | 135 GrAttachment::UsageFlags::kColorAttachment, in MakeWrappedRenderTarget() 182 GrAttachment::UsageFlags::kColorAttachment, in MakeSecondaryCBRenderTarget()
|
D | GrVkTexture.cpp | 107 GrAttachment::UsageFlags::kTexture, in MakeWrappedTexture()
|
D | GrVkGpu.cpp | 1822 GrVkImage::UsageFlags::kColorAttachment, in setBackendSurfaceState()
|
/third_party/skia/src/gpu/mock/ |
D | GrMockAttachment.h | 17 GrMockAttachment(GrMockGpu* gpu, SkISize dimensions, UsageFlags supportedUsages, int sampleCnt) in GrMockAttachment() 20 SkASSERT(supportedUsages == UsageFlags::kStencilAttachment); in GrMockAttachment()
|
D | GrMockGpu.cpp | 217 new GrMockAttachment(this, dimensions, GrAttachment::UsageFlags::kStencilAttachment, in makeStencilAttachment()
|
/third_party/skia/src/gpu/dawn/ |
D | GrDawnAttachment.cpp | 17 UsageFlags supportedUsages, in GrDawnAttachment() 45 new GrDawnAttachment(gpu, dimensions, UsageFlags::kStencilAttachment, sampleCnt, in MakeStencil()
|
D | GrDawnAttachment.h | 34 UsageFlags supportedUsages,
|
/third_party/skia/src/gpu/d3d/ |
D | GrD3DAttachment.cpp | 14 UsageFlags supportedUsages, in GrD3DAttachment() 62 UsageFlags::kStencilAttachment, in MakeStencil()
|
D | GrD3DAttachment.h | 39 UsageFlags supportedUsages,
|