/aosp_15_r20/external/skia/src/gpu/ganesh/ |
H A D | GrRenderTarget.h | 50 GrAttachment* getStencilAttachment(bool useMSAASurface) const { in getStencilAttachment() 54 GrAttachment* getStencilAttachment() const { in getStencilAttachment() 61 void attachStencilAttachment(sk_sp<GrAttachment> stencil, bool useMSAASurface); 84 sk_sp<GrAttachment> stenicl = nullptr); 96 virtual bool completeStencilAttachment(GrAttachment* stencil, bool useMSAASurface) = 0; 98 sk_sp<GrAttachment> fStencilAttachment; 99 sk_sp<GrAttachment> fMSAAStencilAttachment;
|
H A D | GrResourceProvider.cpp | 668 GrAttachment* stencil = rt->getStencilAttachment(useMSAASurface); in attachStencilAttachment() 689 GrAttachment::ComputeSharedAttachmentUniqueKey(*this->caps(), in attachStencilAttachment() 692 GrAttachment::UsageFlags::kStencilAttachment, in attachStencilAttachment() 698 auto keyedStencil = this->findByUniqueKey<GrAttachment>(sbKey); in attachStencilAttachment() 716 sk_sp<GrAttachment> GrResourceProvider::getDiscardableMSAAAttachment(SkISize dimensions, in getDiscardableMSAAAttachment() 739 GrAttachment::ComputeSharedAttachmentUniqueKey(*this->caps(), in getDiscardableMSAAAttachment() 742 GrAttachment::UsageFlags::kColorAttachment, in getDiscardableMSAAAttachment() 748 auto msaaAttachment = this->findByUniqueKey<GrAttachment>(key); in getDiscardableMSAAAttachment() 760 sk_sp<GrAttachment> GrResourceProvider::makeMSAAAttachment(SkISize dimensions, in makeMSAAAttachment() 795 sk_sp<GrAttachment> GrResourceProvider::refScratchMSAAAttachment(SkISize dimensions, in refScratchMSAAAttachment() [all …]
|
H A D | GrAttachment.cpp | 21 size_t GrAttachment::onGpuMemorySize() const { in onGpuMemorySize() 46 GrAttachment::UsageFlags requiredUsage, in build_key() 69 void GrAttachment::ComputeSharedAttachmentUniqueKey(const GrCaps& caps, in ComputeSharedAttachmentUniqueKey() 85 void GrAttachment::ComputeScratchKey(const GrCaps& caps, in ComputeScratchKey() 101 void GrAttachment::computeScratchKey(skgpu::ScratchKey* key) const { in computeScratchKey()
|
H A D | GrAttachment.h | 39 class GrAttachment : public GrSurface { 48 ~GrAttachment() override {} in ~GrAttachment() 87 GrAttachment(GrGpu* gpu, 126 SK_MAKE_BITFIELD_CLASS_OPS(GrAttachment::UsageFlags)
|
H A D | GrResourceProvider.h | 29 class GrAttachment; variable 327 sk_sp<GrAttachment> makeMSAAAttachment(SkISize dimensions, 339 sk_sp<GrAttachment> getDiscardableMSAAAttachment(SkISize dimensions, 388 sk_sp<GrAttachment> refScratchMSAAAttachment(SkISize dimensions,
|
H A D | GrGpu.h | 34 class GrAttachment; variable 403 GrAttachment* stencil, 677 virtual sk_sp<GrAttachment> makeStencilAttachment(const GrBackendFormat& colorFormat, 684 virtual sk_sp<GrAttachment> makeMSAAAttachment(SkISize dimensions, 848 GrAttachment* stencil,
|
H A D | GrRenderTarget.cpp | 22 sk_sp<GrAttachment> stencil) in GrRenderTarget() 48 void GrRenderTarget::attachStencilAttachment(sk_sp<GrAttachment> stencil, bool useMSAASurface) { in attachStencilAttachment()
|
/aosp_15_r20/external/skia/src/gpu/ganesh/vk/ |
H A D | GrVkImage.cpp | 105 GrAttachment::UsageFlags attachmentUsages, in make_views() 109 if (attachmentUsages & GrAttachment::UsageFlags::kStencilAttachment) { in make_views() 111 SkASSERT(attachmentUsages == GrAttachment::UsageFlags::kStencilAttachment); in make_views() 117 if (SkToBool(attachmentUsages & GrAttachment::UsageFlags::kStencilAttachment) || in make_views() 118 SkToBool(attachmentUsages & GrAttachment::UsageFlags::kColorAttachment)) { in make_views() 127 if (attachmentUsages & GrAttachment::UsageFlags::kTexture) { in make_views() 230 : GrAttachment(gpu, in GrVkImage() 261 : GrAttachment(gpu, in GrVkImage() 628 GrAttachment::onRelease(); in onRelease() 633 GrAttachment::onAbandon(); in onAbandon()
|
H A D | GrVkTextureRenderTarget.cpp | 76 sk_sp<GrAttachment> msaaAttachment = rp->makeMSAAAttachment( in create_rt_attachments() 142 GrAttachment::UsageFlags textureUsageFlags = GrAttachment::UsageFlags::kTexture; in MakeWrappedTextureRenderTarget() 144 textureUsageFlags |= GrAttachment::UsageFlags::kColorAttachment; in MakeWrappedTextureRenderTarget()
|
H A D | GrVkGpu.h | 42 class GrAttachment; variable 160 sk_sp<GrAttachment> makeStencilAttachment(const GrBackendFormat& /*colorFormat*/, 167 sk_sp<GrAttachment> makeMSAAAttachment(SkISize dimensions, 190 GrAttachment* dst, 371 GrAttachment* stencil,
|
H A D | GrVkRenderTarget.cpp | 164 GrAttachment::UsageFlags::kColorAttachment, in MakeWrappedRenderTarget() 217 GrAttachment::UsageFlags::kColorAttachment, in MakeSecondaryCBRenderTarget() 270 sk_sp<GrAttachment> msaaAttachment = in dynamicMSAAAttachment() 305 bool GrVkRenderTarget::completeStencilAttachment(GrAttachment* stencil, bool useMSAASurface) { in completeStencilAttachment() 439 const GrAttachment* stencil = this->getStencilAttachment(useMSAA); in getAttachmentsDescriptor()
|
H A D | GrVkMSAALoadManager.h | 13 class GrAttachment; variable 29 GrAttachment* dst,
|
/aosp_15_r20/external/skia/src/gpu/ganesh/gl/ |
H A D | GrGLAttachment.h | 27 class GrGLAttachment : public GrAttachment { 71 : GrAttachment(gpu, in GrGLAttachment() 94 using INHERITED = GrAttachment;
|
H A D | GrGLRenderTarget.cpp | 122 GrAttachment::UsageFlags::kStencilAttachment, in MakeWrapped() 137 if (GrAttachment* stencil = this->getStencilAttachment(useMultisampleFBO)) { in getBackendRenderTarget() 163 bool GrGLRenderTarget::completeStencilAttachment(GrAttachment* stencil, bool useMultisampleFBO) { in completeStencilAttachment()
|
H A D | GrGLRenderTarget.h | 24 class GrAttachment; variable 144 bool completeStencilAttachment(GrAttachment* stencil, bool useMultisampleFBO) override;
|
H A D | GrGLGpu.h | 59 class GrAttachment; variable 211 sk_sp<GrAttachment> makeStencilAttachment(const GrBackendFormat& colorFormat, 214 sk_sp<GrAttachment> makeMSAAAttachment(SkISize dimensions, 450 GrAttachment*,
|
/aosp_15_r20/external/skia/src/gpu/ganesh/d3d/ |
H A D | GrD3DAttachment.cpp | 21 : GrAttachment(gpu, in GrD3DAttachment() 79 GrAttachment::onRelease(); in onRelease() 86 GrAttachment::onAbandon(); in onAbandon()
|
H A D | GrD3DGpu.h | 85 sk_sp<GrAttachment> makeStencilAttachment(const GrBackendFormat& /*colorFormat*/, 92 sk_sp<GrAttachment> makeMSAAAttachment(SkISize dimensions, in makeMSAAAttachment() 228 GrAttachment*,
|
/aosp_15_r20/external/skia/src/gpu/ganesh/mtl/ |
H A D | GrMtlAttachment.mm | 28 : GrAttachment( function 46 : GrAttachment( function 185 GrAttachment::onRelease(); 190 GrAttachment::onAbandon();
|
H A D | GrMtlGpu.h | 104 GrMtlRenderCommandEncoder* loadMSAAFromResolve(GrAttachment* dst, 238 GrAttachment*, 273 sk_sp<GrAttachment> makeStencilAttachment(const GrBackendFormat& /*colorFormat*/, 280 sk_sp<GrAttachment> makeMSAAAttachment(SkISize dimensions,
|
H A D | GrMtlTextureRenderTarget.mm | 56 sk_sp<GrAttachment> msaaAttachment = 121 GrAttachment::UsageFlags textureUsageFlags = GrAttachment::UsageFlags::kTexture | 122 GrAttachment::UsageFlags::kColorAttachment;
|
H A D | GrMtlRenderTarget.mm | 61 GrAttachment::UsageFlags::kColorAttachment, 73 sk_sp<GrAttachment> msaaAttachment = 168 bool GrMtlRenderTarget::completeStencilAttachment(GrAttachment* stencil, bool useMSAASurface) {
|
/aosp_15_r20/external/skia/src/gpu/ganesh/mock/ |
H A D | GrMockGpu.cpp | 69 GrAttachment*, in onGetOpsRenderPass() argument 246 sk_sp<GrAttachment> GrMockGpu::makeStencilAttachment(const GrBackendFormat& /*colorFormat*/, in makeStencilAttachment() 249 return sk_sp<GrAttachment>(new GrMockAttachment(this, in makeStencilAttachment() 251 GrAttachment::UsageFlags::kStencilAttachment, in makeStencilAttachment()
|
H A D | GrMockGpu.h | 189 GrAttachment*, 199 sk_sp<GrAttachment> makeStencilAttachment(const GrBackendFormat& /*colorFormat*/, 207 sk_sp<GrAttachment> makeMSAAAttachment(SkISize dimensions, in makeMSAAAttachment()
|
H A D | GrMockAttachment.h | 22 class GrMockAttachment : public GrAttachment { 46 using INHERITED = GrAttachment;
|