Lines Matching refs:renderTargetContext
93 const GrRenderTargetContext* renderTargetContext, in PathNeedsSWRenderer() argument
127 renderTargetContext->fsaaType(), in PathNeedsSWRenderer()
130 SkASSERT(!renderTargetContext->wrapsVkSecondaryCB()); in PathNeedsSWRenderer()
151 const GrRenderTargetContext* renderTargetContext, in UseSWOnlyPath() argument
164 renderTargetContext->wrapsVkSecondaryCB()) { in UseSWOnlyPath()
182 renderTargetContext, translate, element, nullptr, needsStencil)) { in UseSWOnlyPath()
192 bool GrClipStackClip::apply(GrContext* context, GrRenderTargetContext* renderTargetContext, in apply() argument
195 SkRect devBounds = SkRect::MakeIWH(renderTargetContext->width(), renderTargetContext->height()); in apply()
204 int maxWindowRectangles = renderTargetContext->priv().maxWindowRectangles(); in apply()
206 if (GrFSAAType::kNone != renderTargetContext->fsaaType()) { in apply()
210 if (renderTargetContext->numColorSamples() > 1 || useHWAA || hasUserStencilSettings) { in apply()
235 if (!this->applyClipMask(context, renderTargetContext, reducedClip, hasUserStencilSettings, in apply()
243 uint32_t opListID = renderTargetContext->getOpList()->uniqueID(); in apply()
244 int rtWidth = renderTargetContext->width(), rtHeight = renderTargetContext->height(); in apply()
252 bool GrClipStackClip::applyClipMask(GrContext* context, GrRenderTargetContext* renderTargetContext, in applyClipMask() argument
257 SkIRect rtIBounds = SkIRect::MakeWH(renderTargetContext->width(), in applyClipMask()
258 renderTargetContext->height()); in applyClipMask()
264 if ((GrFSAAType::kNone == renderTargetContext->fsaaType() && reducedClip.maskRequiresAA()) || in applyClipMask()
266 renderTargetContext->wrapsVkSecondaryCB()) { in applyClipMask()
268 if (UseSWOnlyPath(context, hasUserStencilSettings, renderTargetContext, reducedClip)) { in applyClipMask()
271 result = this->createSoftwareClipMask(context, reducedClip, renderTargetContext); in applyClipMask()
286 renderTargetContext->wrapsVkSecondaryCB()) { in applyClipMask()
293 renderTargetContext->setNeedsStencil(); in applyClipMask()
298 if (renderTargetContext->priv().mustRenderClip(reducedClip.maskGenID(), reducedClip.scissor(), in applyClipMask()
300 reducedClip.drawStencilClipMask(context, renderTargetContext); in applyClipMask()
301 renderTargetContext->priv().setLastClip(reducedClip.maskGenID(), reducedClip.scissor(), in applyClipMask()
461 GrRenderTargetContext* renderTargetContext) const { in createSoftwareClipMask()
479 if (taskGroup && renderTargetContext) { in createSoftwareClipMask()