/third_party/skia/src/gpu/ |
H A D | GrRenderTarget.h | 44 GrAttachment* getStencilAttachment(bool useMSAASurface) const { in getStencilAttachment() 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; 86 virtual bool completeStencilAttachment(GrAttachment* stencil, bool useMSAASurface) = 0;
|
H A D | GrRenderTarget.cpp | 47 void GrRenderTarget::attachStencilAttachment(sk_sp<GrAttachment> stencil, bool useMSAASurface) { in attachStencilAttachment() argument 48 auto stencilAttachment = (useMSAASurface) ? &GrRenderTarget::fMSAAStencilAttachment in attachStencilAttachment() 56 if (!this->completeStencilAttachment(stencil.get(), useMSAASurface)) { in attachStencilAttachment() 63 int GrRenderTarget::numStencilBits(bool useMSAASurface) const { in numStencilBits() 64 return GrBackendFormatStencilBits(this->getStencilAttachment(useMSAASurface)->backendFormat()); in numStencilBits()
|
H A D | GrResourceProvider.cpp | 591 static int num_stencil_samples(const GrRenderTarget* rt, bool useMSAASurface, const GrCaps& caps) { in num_stencil_samples() argument 593 if (numSamples == 1 && useMSAASurface) { // Are we using dynamic msaa? in num_stencil_samples() 600 bool GrResourceProvider::attachStencilAttachment(GrRenderTarget* rt, bool useMSAASurface) { in attachStencilAttachment() argument 604 GrAttachment* stencil = rt->getStencilAttachment(useMSAASurface); in attachStencilAttachment() 606 SkASSERT(stencil->numSamples() == num_stencil_samples(rt, useMSAASurface, *this->caps())); in attachStencilAttachment() 610 if (!rt->wasDestroyed() && rt->canAttemptStencilAttachment(useMSAASurface)) { in attachStencilAttachment() 624 int numStencilSamples = num_stencil_samples(rt, useMSAASurface, *this->caps()); in attachStencilAttachment() 639 rt->attachStencilAttachment(std::move(keyedStencil), useMSAASurface); in attachStencilAttachment() local 641 stencil = rt->getStencilAttachment(useMSAASurface); in attachStencilAttachment() 643 stencil->numSamples() == num_stencil_samples(rt, useMSAASurface, *thi in attachStencilAttachment() [all...] |
H A D | GrRenderTargetProxy.cpp | 114 bool useMSAASurface = rt->numSamples() > 1; in canUseStencil() local 115 return rt->getStencilAttachment(useMSAASurface) || in canUseStencil() 116 rt->canAttemptStencilAttachment(useMSAASurface); in canUseStencil()
|
H A D | GrGpu.h | 382 bool useMSAASurface, 821 bool useMSAASurface,
|
H A D | GrResourceProvider.h | 294 bool attachStencilAttachment(GrRenderTarget* rt, bool useMSAASurface);
|
H A D | GrGpu.cpp | 734 bool useMSAASurface, in getOpsRenderPass() 746 return this->onGetOpsRenderPass(renderTarget, useMSAASurface, stencil, origin, bounds, in getOpsRenderPass() 732 getOpsRenderPass( GrRenderTarget* renderTarget, bool useMSAASurface, GrAttachment* stencil, GrSurfaceOrigin origin, const SkIRect& bounds, const GrOpsRenderPass::LoadAndStoreInfo& colorInfo, const GrOpsRenderPass::StencilLoadAndStoreInfo& stencilInfo, const SkTArray<GrSurfaceProxy*, true>& sampledProxies, GrXferBarrierFlags renderPassXferBarriers) getOpsRenderPass() argument
|
/third_party/skia/src/gpu/dawn/ |
H A D | GrDawnRenderTarget.h | 25 bool canAttemptStencilAttachment(bool useMSAASurface) const override { 26 SkASSERT(useMSAASurface == (this->numSamples() > 1)); 47 bool completeStencilAttachment(GrAttachment* stencil, bool useMSAASurface) override;
|
H A D | GrDawnTextureRenderTarget.cpp | 24 bool GrDawnTextureRenderTarget::canAttemptStencilAttachment(bool useMSAASurface) const { in canAttemptStencilAttachment() 25 SkASSERT(useMSAASurface == (this->numSamples() > 1)); in canAttemptStencilAttachment()
|
H A D | GrDawnRenderTarget.cpp | 38 bool GrDawnRenderTarget::completeStencilAttachment(GrAttachment* stencil, bool useMSAASurface) { in completeStencilAttachment() argument 39 SkASSERT(useMSAASurface == (this->numSamples() > 1)); in completeStencilAttachment()
|
H A D | GrDawnTextureRenderTarget.h | 30 bool canAttemptStencilAttachment(bool useMSAASurface) const override;
|
H A D | GrDawnGpu.h | 214 bool useMSAASurface,
|
/third_party/skia/src/gpu/d3d/ |
H A D | GrD3DRenderTarget.h | 42 bool canAttemptStencilAttachment(bool useMSAASurface) const override { 43 SkASSERT(useMSAASurface == (this->numSamples() > 1)); 110 bool completeStencilAttachment(GrAttachment* stencil, bool useMSAASurface) override { 111 SkASSERT(useMSAASurface == (this->numSamples() > 1));
|
H A D | GrD3DGpu.h | 218 bool useMSAASurface,
|
/third_party/skia/src/gpu/mtl/ |
H A D | GrMtlRenderTarget.h | 33 bool canAttemptStencilAttachment(bool useMSAASurface) const override { 34 SkASSERT(useMSAASurface == (this->numSamples() > 1)); 86 bool completeStencilAttachment(GrAttachment* stencil, bool useMSAASurface) override;
|
H A D | GrMtlGpu.h | 233 bool useMSAASurface,
|
/third_party/skia/src/gpu/mock/ |
H A D | GrMockTexture.h | 103 bool canAttemptStencilAttachment(bool useMSAASurface) const override { 104 SkASSERT(useMSAASurface == (this->numSamples() > 1)); 108 bool completeStencilAttachment(GrAttachment*, bool useMSAASurface) override { 109 SkASSERT(useMSAASurface == (this->numSamples() > 1));
|
H A D | GrMockGpu.h | 154 bool useMSAASurface,
|
/third_party/skia/src/gpu/vk/ |
H A D | GrVkRenderTarget.cpp | 250 bool GrVkRenderTarget::canAttemptStencilAttachment(bool useMSAASurface) const { in canAttemptStencilAttachment() 251 SkASSERT(!useMSAASurface || this->numSamples() > 1 || in canAttemptStencilAttachment() 253 if (!useMSAASurface && this->numSamples() > 1) { in canAttemptStencilAttachment() 257 if (useMSAASurface) { in canAttemptStencilAttachment() 267 bool GrVkRenderTarget::completeStencilAttachment(GrAttachment* stencil, bool useMSAASurface) { in completeStencilAttachment() argument 269 SkASSERT(!useMSAASurface || in completeStencilAttachment()
|
H A D | GrVkRenderTarget.h | 99 bool canAttemptStencilAttachment(bool useMSAASurface) const override; 162 bool completeStencilAttachment(GrAttachment* stencil, bool useMSAASurface) override;
|
H A D | GrVkGpu.h | 341 bool useMSAASurface,
|
H A D | GrVkGpu.cpp | 325 bool useMSAASurface, in onGetOpsRenderPass() 342 SkASSERT(!useMSAASurface || in onGetOpsRenderPass() 365 if (useMSAASurface && this->vkCaps().renderTargetSupportsDiscardableMSAA(vkRT)) { in onGetOpsRenderPass() 323 onGetOpsRenderPass( GrRenderTarget* rt, bool useMSAASurface, GrAttachment* stencil, GrSurfaceOrigin origin, const SkIRect& bounds, const GrOpsRenderPass::LoadAndStoreInfo& colorInfo, const GrOpsRenderPass::StencilLoadAndStoreInfo& stencilInfo, const SkTArray<GrSurfaceProxy*, true>& sampledProxies, GrXferBarrierFlags renderPassXferBarriers) onGetOpsRenderPass() argument
|
/third_party/skia/src/gpu/gl/ |
H A D | GrGLOpsRenderPass.h | 33 void set(GrRenderTarget*, bool useMSAASurface, const SkIRect& contentBounds, GrSurfaceOrigin,
|
H A D | GrGLOpsRenderPass.cpp | 20 void GrGLOpsRenderPass::set(GrRenderTarget* rt, bool useMSAASurface, const SkIRect& contentBounds, in set() argument 28 fUseMultisampleFBO = useMSAASurface; in set()
|
/third_party/skia/src/gpu/ops/ |
H A D | OpsTask.cpp | 42 bool useMSAASurface, in create_render_pass() 68 return gpu->getOpsRenderPass(rt, useMSAASurface, stencil, origin, bounds, kColorLoadStoreInfo, in create_render_pass() 40 create_render_pass(GrGpu* gpu, GrRenderTarget* rt, bool useMSAASurface, GrAttachment* stencil, GrSurfaceOrigin origin, const SkIRect& bounds, GrLoadOp colorLoadOp, const std::array<float, 4>& loadClearColor, GrLoadOp stencilLoadOp, GrStoreOp stencilStoreOp, const SkTArray<GrSurfaceProxy*, true>& sampledProxies, GrXferBarrierFlags renderPassXferBarriers) create_render_pass() argument
|