Lines Matching refs:fRenderTargetContext
66 , fRenderTargetContext(renderTargetContext) in TextTarget()
70 fRenderTargetContext->addDrawOp(clip, std::move(op)); in addDrawOp()
75 GrBlurUtils::drawShapeWithMaskFilter(fRenderTargetContext->fContext, fRenderTargetContext, in drawShape()
81 GrContext* context = fRenderTargetContext->fContext; in makeGrPaint()
82 const GrColorSpaceInfo& colorSpaceInfo = fRenderTargetContext->colorSpaceInfo(); in makeGrPaint()
91 return fRenderTargetContext->fContext; in getContext()
99 GrRenderTargetContext* fRenderTargetContext; member in GrRenderTargetContext::TextTarget
108 SkDEBUGCODE(GrSingleOwner::AutoEnforce debug_SingleOwner(fRenderTargetContext->singleOwner());)
110 #define RETURN_IF_ABANDONED_PRIV if (fRenderTargetContext->drawingManager()->wasAbandoned()) { re…
112 #define RETURN_FALSE_IF_ABANDONED_PRIV if (fRenderTargetContext->drawingManager()->wasAbandoned())…
285 SkDEBUGCODE(fRenderTargetContext->validate();) in clear()
287 fRenderTargetContext->fContext); in clear()
289 AutoCheckFlush acf(fRenderTargetContext->drawingManager()); in clear()
290 fRenderTargetContext->internalClear(clip, color, canClearFullscreen); in clear()
366 SkDEBUGCODE(fRenderTargetContext->validate();) in absClear()
368 fRenderTargetContext->fContext); in absClear()
370 AutoCheckFlush acf(fRenderTargetContext->drawingManager()); in absClear()
372 SkIRect rtRect = SkIRect::MakeWH(fRenderTargetContext->fRenderTargetProxy->worstCaseWidth(), in absClear()
373 fRenderTargetContext->fRenderTargetProxy->worstCaseHeight()); in absClear()
390 if (fRenderTargetContext->caps()->performPartialClearsAsDraws()) { in absClear()
397 fRenderTargetContext->addDrawOp(GrFixedClip::Disabled(), in absClear()
398 GrFillRectOp::Make(fRenderTargetContext->fContext, in absClear()
407 fRenderTargetContext->getRTOpList()->addOp( in absClear()
408 GrClearOp::Make(fRenderTargetContext->fContext, rtRect, color, in absClear()
410 *fRenderTargetContext->caps()); in absClear()
414 fRenderTargetContext->getRTOpList()->resetForFullscreenClear(); in absClear()
415 fRenderTargetContext->getRTOpList()->setColorLoadOp(GrLoadOp::kDiscard); in absClear()
417 if (fRenderTargetContext->caps()->performColorClearsAsDraws()) { in absClear()
422 fRenderTargetContext->addDrawOp(GrFixedClip::Disabled(), in absClear()
423 GrFillRectOp::Make(fRenderTargetContext->fContext, in absClear()
430 fRenderTargetContext->getRTOpList()->addOp( in absClear()
431 GrClearOp::Make(fRenderTargetContext->fContext, SkIRect::MakeEmpty(), color, in absClear()
433 *fRenderTargetContext->caps()); in absClear()
758 return fRenderTargetContext->fRenderTargetProxy->maxWindowRectangles( in maxWindowRectangles()
759 *fRenderTargetContext->caps()); in maxWindowRectangles()
765 SkDEBUGCODE(fRenderTargetContext->validate();) in clearStencilClip()
767 fRenderTargetContext->fContext); in clearStencilClip()
769 AutoCheckFlush acf(fRenderTargetContext->drawingManager()); in clearStencilClip()
771 fRenderTargetContext->internalStencilClear(clip, insideStencilMask); in clearStencilClip()
805 SkDEBUGCODE(fRenderTargetContext->validate();) in stencilPath()
807 fRenderTargetContext->fContext); in stencilPath()
814 SkASSERT(fRenderTargetContext->caps()->shaderCaps()->pathRenderingSupport()); in stencilPath()
818 SkRect bounds = SkRect::MakeIWH(fRenderTargetContext->width(), fRenderTargetContext->height()); in stencilPath()
822 if (!clip.apply(fRenderTargetContext->width(), fRenderTargetContext->height(), &appliedClip, in stencilPath()
827 fRenderTargetContext->setNeedsStencil(); in stencilPath()
829 std::unique_ptr<GrOp> op = GrStencilPathOp::Make(fRenderTargetContext->fContext, in stencilPath()
840 fRenderTargetContext->getRTOpList()->addOp(std::move(op), *fRenderTargetContext->caps()); in stencilPath()
850 SkDEBUGCODE(fRenderTargetContext->validate();) in stencilRect()
852 fRenderTargetContext->fContext); in stencilRect()
855 AutoCheckFlush acf(fRenderTargetContext->drawingManager()); in stencilRect()
860 fRenderTargetContext->fContext, std::move(paint), aaType, viewMatrix, rect, ss); in stencilRect()
861 fRenderTargetContext->addDrawOp(clip, std::move(op)); in stencilRect()
873 SkDEBUGCODE(fRenderTargetContext->validate();) in drawAndStencilRect()
875 fRenderTargetContext->fContext); in drawAndStencilRect()
877 AutoCheckFlush acf(fRenderTargetContext->drawingManager()); in drawAndStencilRect()
883 fRenderTargetContext->drawFilledRect(clip, std::move(paint), aa, viewMatrix, rect, ss); in drawAndStencilRect()
1748 SkDEBUGCODE(fRenderTargetContext->validate();) in drawAndStencilPath()
1750 fRenderTargetContext->fContext); in drawAndStencilPath()
1754 SkRect::MakeIWH(fRenderTargetContext->width(), in drawAndStencilPath()
1755 fRenderTargetContext->height())); in drawAndStencilPath()
1759 AutoCheckFlush acf(fRenderTargetContext->drawingManager()); in drawAndStencilPath()
1765 GrAAType aaType = fRenderTargetContext->chooseAAType(aa, GrAllowMixedSamples::kNo); in drawAndStencilPath()
1769 clip.getConservativeBounds(fRenderTargetContext->width(), fRenderTargetContext->height(), in drawAndStencilPath()
1774 canDrawArgs.fCaps = fRenderTargetContext->caps(); in drawAndStencilPath()
1779 SkASSERT(!fRenderTargetContext->wrapsVkSecondaryCB()); in drawAndStencilPath()
1784 GrPathRenderer* pr = fRenderTargetContext->drawingManager()->getPathRenderer( in drawAndStencilPath()
1793 GrPathRenderer::DrawPathArgs args{fRenderTargetContext->drawingManager()->getContext(), in drawAndStencilPath()
1796 fRenderTargetContext, in drawAndStencilPath()
1802 fRenderTargetContext->colorSpaceInfo().isLinearlyBlended()}; in drawAndStencilPath()
1810 if (fRenderTargetContext->wasAbandoned()) { in isBudgeted()
1814 SkDEBUGCODE(fRenderTargetContext->validate();) in isBudgeted()
1816 return fRenderTargetContext->fRenderTargetProxy->isBudgeted(); in isBudgeted()