Home
last modified time | relevance | path

Searched refs:useMSAASurface (Results 1 – 25 of 27) sorted by relevance

12

/external/skia/src/gpu/
DGrRenderTarget.h44 GrAttachment* getStencilAttachment(bool useMSAASurface) const { in getStencilAttachment() argument
45 return (useMSAASurface) ? fMSAAStencilAttachment.get() : fStencilAttachment.get(); in getStencilAttachment()
53 virtual bool canAttemptStencilAttachment(bool useMSAASurface) const = 0;
55 void attachStencilAttachment(sk_sp<GrAttachment> stencil, bool useMSAASurface);
57 int numStencilBits(bool useMSAASurface) const;
85 virtual bool completeStencilAttachment(GrAttachment* stencil, bool useMSAASurface) = 0;
DGrRenderTarget.cpp48 void GrRenderTarget::attachStencilAttachment(sk_sp<GrAttachment> stencil, bool useMSAASurface) { in attachStencilAttachment() argument
49 auto stencilAttachment = (useMSAASurface) ? &GrRenderTarget::fMSAAStencilAttachment in attachStencilAttachment()
57 if (!this->completeStencilAttachment(stencil.get(), useMSAASurface)) { in attachStencilAttachment()
64 int GrRenderTarget::numStencilBits(bool useMSAASurface) const { in numStencilBits()
65 return GrBackendFormatStencilBits(this->getStencilAttachment(useMSAASurface)->backendFormat()); in numStencilBits()
DGrResourceProvider.cpp496 static int num_stencil_samples(const GrRenderTarget* rt, bool useMSAASurface, const GrCaps& caps) { in num_stencil_samples() argument
498 if (numSamples == 1 && useMSAASurface) { // Are we using dynamic msaa? in num_stencil_samples()
505 bool GrResourceProvider::attachStencilAttachment(GrRenderTarget* rt, bool useMSAASurface) { in attachStencilAttachment() argument
509 GrAttachment* stencil = rt->getStencilAttachment(useMSAASurface); in attachStencilAttachment()
511 SkASSERT(stencil->numSamples() == num_stencil_samples(rt, useMSAASurface, *this->caps())); in attachStencilAttachment()
515 if (!rt->wasDestroyed() && rt->canAttemptStencilAttachment(useMSAASurface)) { in attachStencilAttachment()
529 int numStencilSamples = num_stencil_samples(rt, useMSAASurface, *this->caps()); in attachStencilAttachment()
544 rt->attachStencilAttachment(std::move(stencil), useMSAASurface); in attachStencilAttachment()
546 stencil = rt->getStencilAttachment(useMSAASurface); in attachStencilAttachment()
548 stencil->numSamples() == num_stencil_samples(rt, useMSAASurface, *this->caps())); in attachStencilAttachment()
DGrRenderTargetProxy.cpp114 bool useMSAASurface = rt->numSamples() > 1; in canUseStencil() local
115 return rt->getStencilAttachment(useMSAASurface) || in canUseStencil()
116 rt->canAttemptStencilAttachment(useMSAASurface); in canUseStencil()
DGrGpu.h346 bool useMSAASurface,
752 bool useMSAASurface,
DGrResourceProvider.h273 bool attachStencilAttachment(GrRenderTarget* rt, bool useMSAASurface);
DGrGpu.cpp634 bool useMSAASurface, in getOpsRenderPass() argument
646 return this->onGetOpsRenderPass(renderTarget, useMSAASurface, stencil, origin, bounds, in getOpsRenderPass()
DGrOpsTask.cpp518 bool useMSAASurface, in create_render_pass() argument
544 return gpu->getOpsRenderPass(rt, useMSAASurface, stencil, origin, bounds, kColorLoadStoreInfo, in create_render_pass()
/external/skia/src/gpu/dawn/
DGrDawnRenderTarget.h25 bool canAttemptStencilAttachment(bool useMSAASurface) const override { in canAttemptStencilAttachment() argument
26 SkASSERT(useMSAASurface == (this->numSamples() > 1)); in canAttemptStencilAttachment()
47 bool completeStencilAttachment(GrAttachment* stencil, bool useMSAASurface) override;
DGrDawnTextureRenderTarget.cpp24 bool GrDawnTextureRenderTarget::canAttemptStencilAttachment(bool useMSAASurface) const { in canAttemptStencilAttachment()
25 SkASSERT(useMSAASurface == (this->numSamples() > 1)); in canAttemptStencilAttachment()
DGrDawnRenderTarget.cpp38 bool GrDawnRenderTarget::completeStencilAttachment(GrAttachment* stencil, bool useMSAASurface) { in completeStencilAttachment() argument
39 SkASSERT(useMSAASurface == (this->numSamples() > 1)); in completeStencilAttachment()
DGrDawnTextureRenderTarget.h30 bool canAttemptStencilAttachment(bool useMSAASurface) const override;
DGrDawnGpu.h192 bool useMSAASurface,
/external/skia/src/gpu/d3d/
DGrD3DRenderTarget.h42 bool canAttemptStencilAttachment(bool useMSAASurface) const override { in canAttemptStencilAttachment() argument
43 SkASSERT(useMSAASurface == (this->numSamples() > 1)); in canAttemptStencilAttachment()
110 bool completeStencilAttachment(GrAttachment* stencil, bool useMSAASurface) override { in completeStencilAttachment() argument
111 SkASSERT(useMSAASurface == (this->numSamples() > 1)); in completeStencilAttachment()
DGrD3DGpu.h200 bool useMSAASurface,
/external/skia/src/gpu/mtl/
DGrMtlRenderTarget.h31 bool canAttemptStencilAttachment(bool useMSAASurface) const override { in canAttemptStencilAttachment() argument
32 SkASSERT(useMSAASurface == (this->numSamples() > 1)); in canAttemptStencilAttachment()
84 bool completeStencilAttachment(GrAttachment* stencil, bool useMSAASurface) override;
DGrMtlRenderTarget.mm148 bool GrMtlRenderTarget::completeStencilAttachment(GrAttachment* stencil, bool useMSAASurface) {
149 SkASSERT(useMSAASurface == (this->numSamples() > 1));
DGrMtlGpu.h209 bool useMSAASurface,
/external/skia/src/gpu/mock/
DGrMockTexture.h103 bool canAttemptStencilAttachment(bool useMSAASurface) const override { in canAttemptStencilAttachment() argument
104 SkASSERT(useMSAASurface == (this->numSamples() > 1)); in canAttemptStencilAttachment()
108 bool completeStencilAttachment(GrAttachment*, bool useMSAASurface) override { in completeStencilAttachment() argument
109 SkASSERT(useMSAASurface == (this->numSamples() > 1)); in completeStencilAttachment()
DGrMockGpu.h133 bool useMSAASurface,
/external/skia/src/gpu/vk/
DGrVkRenderTarget.h103 bool canAttemptStencilAttachment(bool useMSAASurface) const override { in canAttemptStencilAttachment() argument
104 SkASSERT(useMSAASurface == (this->numSamples() > 1)); in canAttemptStencilAttachment()
166 bool completeStencilAttachment(GrAttachment* stencil, bool useMSAASurface) override;
DGrVkRenderTarget.cpp230 bool GrVkRenderTarget::completeStencilAttachment(GrAttachment* stencil, bool useMSAASurface) { in completeStencilAttachment() argument
232 SkASSERT(useMSAASurface == (this->numSamples() > 1)); in completeStencilAttachment()
DGrVkGpu.h298 bool useMSAASurface,
/external/skia/src/gpu/gl/
DGrGLOpsRenderPass.h33 void set(GrRenderTarget*, bool useMSAASurface, const SkIRect& contentBounds, GrSurfaceOrigin,
DGrGLOpsRenderPass.cpp20 void GrGLOpsRenderPass::set(GrRenderTarget* rt, bool useMSAASurface, const SkIRect& contentBounds, in set() argument
28 fUseMultisampleFBO = useMSAASurface; in set()

12