Home
last modified time | relevance | path

Searched refs:GrAttachment (Results 1 – 25 of 152) sorted by relevance

1234567

/aosp_15_r20/external/skia/src/gpu/ganesh/
H A DGrRenderTarget.h50 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 DGrResourceProvider.cpp668 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 DGrAttachment.cpp21 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 DGrAttachment.h39 class GrAttachment : public GrSurface {
48 ~GrAttachment() override {} in ~GrAttachment()
87 GrAttachment(GrGpu* gpu,
126 SK_MAKE_BITFIELD_CLASS_OPS(GrAttachment::UsageFlags)
H A DGrResourceProvider.h29 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 DGrGpu.h34 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 DGrRenderTarget.cpp22 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 DGrVkImage.cpp105 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 DGrVkTextureRenderTarget.cpp76 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 DGrVkGpu.h42 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 DGrVkRenderTarget.cpp164 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 DGrVkMSAALoadManager.h13 class GrAttachment; variable
29 GrAttachment* dst,
/aosp_15_r20/external/skia/src/gpu/ganesh/gl/
H A DGrGLAttachment.h27 class GrGLAttachment : public GrAttachment {
71 : GrAttachment(gpu, in GrGLAttachment()
94 using INHERITED = GrAttachment;
H A DGrGLRenderTarget.cpp122 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 DGrGLRenderTarget.h24 class GrAttachment; variable
144 bool completeStencilAttachment(GrAttachment* stencil, bool useMultisampleFBO) override;
H A DGrGLGpu.h59 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 DGrD3DAttachment.cpp21 : GrAttachment(gpu, in GrD3DAttachment()
79 GrAttachment::onRelease(); in onRelease()
86 GrAttachment::onAbandon(); in onAbandon()
H A DGrD3DGpu.h85 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 DGrMtlAttachment.mm28 : GrAttachment( function
46 : GrAttachment( function
185 GrAttachment::onRelease();
190 GrAttachment::onAbandon();
H A DGrMtlGpu.h104 GrMtlRenderCommandEncoder* loadMSAAFromResolve(GrAttachment* dst,
238 GrAttachment*,
273 sk_sp<GrAttachment> makeStencilAttachment(const GrBackendFormat& /*colorFormat*/,
280 sk_sp<GrAttachment> makeMSAAAttachment(SkISize dimensions,
H A DGrMtlTextureRenderTarget.mm56 sk_sp<GrAttachment> msaaAttachment =
121 GrAttachment::UsageFlags textureUsageFlags = GrAttachment::UsageFlags::kTexture |
122 GrAttachment::UsageFlags::kColorAttachment;
H A DGrMtlRenderTarget.mm61 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 DGrMockGpu.cpp69 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 DGrMockGpu.h189 GrAttachment*,
199 sk_sp<GrAttachment> makeStencilAttachment(const GrBackendFormat& /*colorFormat*/,
207 sk_sp<GrAttachment> makeMSAAAttachment(SkISize dimensions, in makeMSAAAttachment()
H A DGrMockAttachment.h22 class GrMockAttachment : public GrAttachment {
46 using INHERITED = GrAttachment;

1234567