Lines Matching refs:renderTargetContext
94 const GrRenderTargetContext* renderTargetContext, in PathNeedsSWRenderer() argument
118 SkASSERT(renderTargetContext->numSamples() <= 1); in PathNeedsSWRenderer()
128 canDrawArgs.fProxy = renderTargetContext->proxy(); in PathNeedsSWRenderer()
133 SkASSERT(!renderTargetContext->wrapsVkSecondaryCB()); in PathNeedsSWRenderer()
154 const GrRenderTargetContext* renderTargetContext, in UseSWOnlyPath() argument
167 renderTargetContext->wrapsVkSecondaryCB()) { in UseSWOnlyPath()
185 renderTargetContext, translate, element, nullptr, needsStencil)) { in UseSWOnlyPath()
195 bool GrClipStackClip::apply(GrRecordingContext* context, GrRenderTargetContext* renderTargetContext, in apply() argument
198 SkRect devBounds = SkRect::MakeIWH(renderTargetContext->width(), renderTargetContext->height()); in apply()
215 int maxWindowRectangles = renderTargetContext->priv().maxWindowRectangles(); in apply()
217 if (renderTargetContext->numSamples() > 1 || useHWAA || hasUserStencilSettings) { in apply()
242 if (!this->applyClipMask(context, renderTargetContext, reducedClip, hasUserStencilSettings, in apply()
250 uint32_t opListID = renderTargetContext->getOpList()->uniqueID(); in apply()
259 GrRenderTargetContext* renderTargetContext, in applyClipMask() argument
264 SkIRect rtIBounds = SkIRect::MakeWH(renderTargetContext->width(), in applyClipMask()
265 renderTargetContext->height()); in applyClipMask()
271 if ((renderTargetContext->numSamples() <= 1 && reducedClip.maskRequiresAA()) || in applyClipMask()
273 renderTargetContext->wrapsVkSecondaryCB()) { in applyClipMask()
275 if (UseSWOnlyPath(context, hasUserStencilSettings, renderTargetContext, reducedClip)) { in applyClipMask()
278 result = this->createSoftwareClipMask(context, reducedClip, renderTargetContext); in applyClipMask()
293 renderTargetContext->wrapsVkSecondaryCB()) { in applyClipMask()
303 if (renderTargetContext->priv().mustRenderClip(reducedClip.maskGenID(), reducedClip.scissor(), in applyClipMask()
305 reducedClip.drawStencilClipMask(context, renderTargetContext); in applyClipMask()
306 renderTargetContext->priv().setLastClip(reducedClip.maskGenID(), reducedClip.scissor(), in applyClipMask()
467 GrRenderTargetContext* renderTargetContext) const { in createSoftwareClipMask()
490 if (taskGroup && renderTargetContext) { in createSoftwareClipMask()