• Home
  • Raw
  • Download

Lines Matching refs:fRenderTargetContext

78             , fRenderTargetContext(renderTargetContext)  in TextTarget()
82 fRenderTargetContext->addDrawOp(clip, std::move(op)); in addDrawOp()
87 GrBlurUtils::drawShapeWithMaskFilter(fRenderTargetContext->fContext, fRenderTargetContext, in drawShape()
93 auto context = fRenderTargetContext->fContext; in makeGrPaint()
94 const GrColorSpaceInfo& colorSpaceInfo = fRenderTargetContext->colorSpaceInfo(); in makeGrPaint()
103 return fRenderTargetContext->fContext; in getContext()
111 GrRenderTargetContext* fRenderTargetContext; member in GrRenderTargetContext::TextTarget
120 SkDEBUGCODE(GrSingleOwner::AutoEnforce debug_SingleOwner(fRenderTargetContext->singleOwner());)
122 #define RETURN_IF_ABANDONED_PRIV if (fRenderTargetContext->fContext->priv().abandoned()) { return…
124 #define RETURN_FALSE_IF_ABANDONED_PRIV if (fRenderTargetContext->fContext->priv().abandoned()) { r…
269 SkDEBUGCODE(fRenderTargetContext->validate();) in clear()
271 fRenderTargetContext->fContext); in clear()
273 AutoCheckFlush acf(fRenderTargetContext->drawingManager()); in clear()
274 fRenderTargetContext->internalClear(clip, color, canClearFullscreen); in clear()
354 SkDEBUGCODE(fRenderTargetContext->validate();) in absClear()
356 fRenderTargetContext->fContext); in absClear()
358 AutoCheckFlush acf(fRenderTargetContext->drawingManager()); in absClear()
360 SkIRect rtRect = SkIRect::MakeWH(fRenderTargetContext->fRenderTargetProxy->worstCaseWidth(), in absClear()
361 fRenderTargetContext->fRenderTargetProxy->worstCaseHeight()); in absClear()
378 if (fRenderTargetContext->caps()->performPartialClearsAsDraws()) { in absClear()
385 fRenderTargetContext->addDrawOp( in absClear()
387 GrFillRectOp::MakeNonAARect(fRenderTargetContext->fContext, std::move(paint), in absClear()
393 fRenderTargetContext->addOp(GrClearOp::Make( in absClear()
394 fRenderTargetContext->fContext, rtRect, color, /* fullscreen */ false)); in absClear()
398 fRenderTargetContext->getRTOpList()->resetForFullscreenClear( in absClear()
399 fRenderTargetContext->canDiscardPreviousOpsOnFullClear()); in absClear()
400 fRenderTargetContext->getRTOpList()->setColorLoadOp(GrLoadOp::kDiscard); in absClear()
402 if (fRenderTargetContext->caps()->performColorClearsAsDraws()) { in absClear()
407 fRenderTargetContext->addDrawOp( in absClear()
409 GrFillRectOp::MakeNonAARect(fRenderTargetContext->fContext, std::move(paint), in absClear()
413 fRenderTargetContext->addOp(GrClearOp::Make( in absClear()
414 fRenderTargetContext->fContext, SkIRect::MakeEmpty(), color, in absClear()
789 return fRenderTargetContext->fRenderTargetProxy->maxWindowRectangles( in maxWindowRectangles()
790 *fRenderTargetContext->caps()); in maxWindowRectangles()
847 SkDEBUGCODE(fRenderTargetContext->validate();) in clearStencilClip()
849 fRenderTargetContext->fContext); in clearStencilClip()
851 AutoCheckFlush acf(fRenderTargetContext->drawingManager()); in clearStencilClip()
853 fRenderTargetContext->internalStencilClear(clip, insideStencilMask); in clearStencilClip()
882 SkDEBUGCODE(fRenderTargetContext->validate();) in stencilPath()
884 fRenderTargetContext->fContext); in stencilPath()
888 SkASSERT(fRenderTargetContext->caps()->shaderCaps()->pathRenderingSupport()); in stencilPath()
892 SkRect bounds = SkRect::MakeIWH(fRenderTargetContext->width(), fRenderTargetContext->height()); in stencilPath()
896 if (!clip.apply(fRenderTargetContext->width(), fRenderTargetContext->height(), &appliedClip, in stencilPath()
901 std::unique_ptr<GrOp> op = GrStencilPathOp::Make(fRenderTargetContext->fContext, in stencilPath()
913 fRenderTargetContext->setNeedsStencil(GrAA::kYes == doStencilMSAA); in stencilPath()
914 fRenderTargetContext->addOp(std::move(op)); in stencilPath()
2105 SkDEBUGCODE(fRenderTargetContext->validate();) in drawAndStencilPath()
2107 fRenderTargetContext->fContext); in drawAndStencilPath()
2113 SkRect::MakeIWH(fRenderTargetContext->width(), in drawAndStencilPath()
2114 fRenderTargetContext->height())); in drawAndStencilPath()
2118 AutoCheckFlush acf(fRenderTargetContext->drawingManager()); in drawAndStencilPath()
2124 GrAAType aaType = fRenderTargetContext->chooseAAType(aa); in drawAndStencilPath()
2128 clip.getConservativeBounds(fRenderTargetContext->width(), fRenderTargetContext->height(), in drawAndStencilPath()
2133 canDrawArgs.fCaps = fRenderTargetContext->caps(); in drawAndStencilPath()
2134 canDrawArgs.fProxy = fRenderTargetContext->proxy(); in drawAndStencilPath()
2139 SkASSERT(!fRenderTargetContext->wrapsVkSecondaryCB()); in drawAndStencilPath()
2144 GrPathRenderer* pr = fRenderTargetContext->drawingManager()->getPathRenderer( in drawAndStencilPath()
2153 GrPathRenderer::DrawPathArgs args{fRenderTargetContext->drawingManager()->getContext(), in drawAndStencilPath()
2156 fRenderTargetContext, in drawAndStencilPath()
2162 fRenderTargetContext->colorSpaceInfo().isLinearlyBlended()}; in drawAndStencilPath()
2170 if (fRenderTargetContext->fContext->priv().abandoned()) { in isBudgeted()
2174 SkDEBUGCODE(fRenderTargetContext->validate();) in isBudgeted()
2176 return fRenderTargetContext->fRenderTargetProxy->isBudgeted(); in isBudgeted()