Home
last modified time | relevance | path

Searched refs:needsStencil (Results 1 – 20 of 20) sorted by relevance

/external/skqp/src/gpu/
DGrResourceAllocator.cpp156 bool needsStencil) { in findSurfaceFor() argument
174 GrSurfaceProxyPriv::AttachStencilIfNeeded(fResourceProvider, surface.get(), needsStencil); in findSurfaceFor()
219 bool needsStencil = cur->proxy()->asRenderTargetProxy() in assign() local
220 ? cur->proxy()->asRenderTargetProxy()->needsStencil() in assign()
226 needsStencil); in assign()
246 } else if (sk_sp<GrSurface> surface = this->findSurfaceFor(cur->proxy(), needsStencil)) { in assign()
DGrSurfaceProxy.cpp97 GrSurface* surface, bool needsStencil) { in AttachStencilIfNeeded() argument
98 if (needsStencil) { in AttachStencilIfNeeded()
115 int sampleCnt, bool needsStencil, in createSurfaceImpl() argument
143 if (!GrSurfaceProxyPriv::AttachStencilIfNeeded(resourceProvider, surface.get(), needsStencil)) { in createSurfaceImpl()
163 bool needsStencil, GrSurfaceFlags flags, GrMipMapped mipMapped, in instantiateImpl() argument
171 return GrSurfaceProxyPriv::AttachStencilIfNeeded(resourceProvider, fTarget, needsStencil); in instantiateImpl()
174 sk_sp<GrSurface> surface = this->createSurfaceImpl(resourceProvider, sampleCnt, needsStencil, in instantiateImpl()
DGrTextureRenderTargetProxy.cpp75 if (!this->instantiateImpl(resourceProvider, this->numStencilSamples(), this->needsStencil(), in instantiate()
95 this->needsStencil(), kFlags, in createSurface()
DGrClipStackClip.cpp95 bool needsStencil) { in PathNeedsSWRenderer() argument
115 needsStencil ? GrPathRendererChain::DrawType::kStencilAndColor in PathNeedsSWRenderer()
167 bool needsStencil = invert || in UseSWOnlyPath() local
171 renderTargetContext, translate, element, nullptr, needsStencil)) { in UseSWOnlyPath()
DGrClipStackClip.h47 bool needsStencil);
DGrSurfaceProxyPriv.h73 static bool AttachStencilIfNeeded(GrResourceProvider*, GrSurface*, bool needsStencil);
DGrResourceAllocator.h83 sk_sp<GrSurface> findSurfaceFor(const GrSurfaceProxy* proxy, bool needsStencil);
DGrRenderTargetOpList.cpp206 if (this->isEmpty() || !fTarget.get()->asRenderTargetProxy()->needsStencil()) { in fullClear()
/external/skia/src/gpu/
DGrResourceAllocator.cpp161 bool needsStencil) { in findSurfaceFor() argument
179 GrSurfaceProxyPriv::AttachStencilIfNeeded(fResourceProvider, surface.get(), needsStencil); in findSurfaceFor()
229 bool needsStencil = cur->proxy()->asRenderTargetProxy() in assign() local
230 ? cur->proxy()->asRenderTargetProxy()->needsStencil() in assign()
236 needsStencil); in assign()
256 } else if (sk_sp<GrSurface> surface = this->findSurfaceFor(cur->proxy(), needsStencil)) { in assign()
DGrSurfaceProxy.cpp98 GrSurface* surface, bool needsStencil) { in AttachStencilIfNeeded() argument
99 if (needsStencil) { in AttachStencilIfNeeded()
116 int sampleCnt, bool needsStencil, in createSurfaceImpl() argument
165 if (!GrSurfaceProxyPriv::AttachStencilIfNeeded(resourceProvider, surface.get(), needsStencil)) { in createSurfaceImpl()
185 bool needsStencil, GrSurfaceFlags flags, GrMipMapped mipMapped, in instantiateImpl() argument
192 return GrSurfaceProxyPriv::AttachStencilIfNeeded(resourceProvider, fTarget, needsStencil); in instantiateImpl()
195 sk_sp<GrSurface> surface = this->createSurfaceImpl(resourceProvider, sampleCnt, needsStencil, in instantiateImpl()
DGrTextureRenderTargetProxy.cpp82 if (!this->instantiateImpl(resourceProvider, this->numStencilSamples(), this->needsStencil(), in instantiate()
101 this->needsStencil(), kFlags, in createSurface()
DGrClipStackClip.cpp95 bool needsStencil) { in PathNeedsSWRenderer() argument
115 needsStencil ? GrPathRendererChain::DrawType::kStencilAndColor in PathNeedsSWRenderer()
167 bool needsStencil = invert || in UseSWOnlyPath() local
171 renderTargetContext, translate, element, nullptr, needsStencil)) { in UseSWOnlyPath()
DGrClipStackClip.h47 bool needsStencil);
DGrSurfaceProxyPriv.h81 static bool AttachStencilIfNeeded(GrResourceProvider*, GrSurface*, bool needsStencil);
DGrResourceAllocator.h83 sk_sp<GrSurface> findSurfaceFor(const GrSurfaceProxy* proxy, bool needsStencil);
DGrRenderTargetOpList.cpp206 if (this->isEmpty() || !fTarget.get()->asRenderTargetProxy()->needsStencil()) { in fullClear()
/external/skqp/include/private/
DGrRenderTargetProxy.h42 bool needsStencil() const { return fNeedsStencil; } in needsStencil() function
DGrSurfaceProxy.h386 sk_sp<GrSurface> createSurfaceImpl(GrResourceProvider*, int sampleCnt, bool needsStencil,
390 bool instantiateImpl(GrResourceProvider* resourceProvider, int sampleCnt, bool needsStencil,
/external/skia/include/private/
DGrRenderTargetProxy.h42 bool needsStencil() const { return fNeedsStencil; } in needsStencil() function
DGrSurfaceProxy.h404 sk_sp<GrSurface> createSurfaceImpl(GrResourceProvider*, int sampleCnt, bool needsStencil,
407 bool instantiateImpl(GrResourceProvider* resourceProvider, int sampleCnt, bool needsStencil,