Lines Matching refs:needsStencil
114 GrSurface* surface, bool needsStencil) { in AttachStencilIfNeeded() argument
115 if (needsStencil) { in AttachStencilIfNeeded()
131 int sampleCnt, bool needsStencil, in createSurfaceImpl() argument
187 if (!GrSurfaceProxyPriv::AttachStencilIfNeeded(resourceProvider, surface.get(), needsStencil)) { in createSurfaceImpl()
216 if (this->asRenderTargetProxy()->needsStencil()) { in assign()
228 bool needsStencil, GrSurfaceDescFlags descFlags, in instantiateImpl() argument
235 return GrSurfaceProxyPriv::AttachStencilIfNeeded(resourceProvider, fTarget, needsStencil); in instantiateImpl()
238 sk_sp<GrSurface> surface = this->createSurfaceImpl(resourceProvider, sampleCnt, needsStencil, in instantiateImpl()
459 bool needsStencil = fProxy->asRenderTargetProxy() in doLazyInstantiation() local
460 ? fProxy->asRenderTargetProxy()->needsStencil() in doLazyInstantiation()
463 if (!GrSurfaceProxyPriv::AttachStencilIfNeeded(resourceProvider, surface.get(), needsStencil)) { in doLazyInstantiation()