Lines Matching refs:fRenderTargetContext
71 , fRenderTargetContext(renderTargetContext) in TextTarget()
75 fRenderTargetContext->addDrawOp(clip, std::move(op)); in addDrawOp()
80 GrBlurUtils::drawShapeWithMaskFilter(fRenderTargetContext->fContext, fRenderTargetContext, in drawShape()
86 auto context = fRenderTargetContext->fContext; in makeGrPaint()
87 const GrColorSpaceInfo& colorSpaceInfo = fRenderTargetContext->colorSpaceInfo(); in makeGrPaint()
96 return fRenderTargetContext->fContext; in getContext()
104 GrRenderTargetContext* fRenderTargetContext; member in GrRenderTargetContext::TextTarget
113 SkDEBUGCODE(GrSingleOwner::AutoEnforce debug_SingleOwner(fRenderTargetContext->singleOwner());)
115 #define RETURN_IF_ABANDONED_PRIV if (fRenderTargetContext->fContext->priv().abandoned()) { return…
117 #define RETURN_FALSE_IF_ABANDONED_PRIV if (fRenderTargetContext->fContext->priv().abandoned()) { r…
281 SkDEBUGCODE(fRenderTargetContext->validate();) in clear()
283 fRenderTargetContext->fContext); in clear()
285 AutoCheckFlush acf(fRenderTargetContext->drawingManager()); in clear()
286 fRenderTargetContext->internalClear(clip, color, canClearFullscreen); in clear()
362 SkDEBUGCODE(fRenderTargetContext->validate();) in absClear()
364 fRenderTargetContext->fContext); in absClear()
366 AutoCheckFlush acf(fRenderTargetContext->drawingManager()); in absClear()
368 SkIRect rtRect = SkIRect::MakeWH(fRenderTargetContext->fRenderTargetProxy->worstCaseWidth(), in absClear()
369 fRenderTargetContext->fRenderTargetProxy->worstCaseHeight()); in absClear()
386 if (fRenderTargetContext->caps()->performPartialClearsAsDraws()) { in absClear()
393 fRenderTargetContext->addDrawOp(GrFixedClip::Disabled(), in absClear()
394 GrFillRectOp::Make(fRenderTargetContext->fContext, in absClear()
403 fRenderTargetContext->getRTOpList()->addOp( in absClear()
404 GrClearOp::Make(fRenderTargetContext->fContext, rtRect, color, in absClear()
406 *fRenderTargetContext->caps()); in absClear()
410 fRenderTargetContext->getRTOpList()->resetForFullscreenClear(); in absClear()
411 fRenderTargetContext->getRTOpList()->setColorLoadOp(GrLoadOp::kDiscard); in absClear()
413 if (fRenderTargetContext->caps()->performColorClearsAsDraws()) { in absClear()
418 fRenderTargetContext->addDrawOp(GrFixedClip::Disabled(), in absClear()
419 GrFillRectOp::Make(fRenderTargetContext->fContext, in absClear()
426 fRenderTargetContext->getRTOpList()->addOp( in absClear()
427 GrClearOp::Make(fRenderTargetContext->fContext, SkIRect::MakeEmpty(), color, in absClear()
429 *fRenderTargetContext->caps()); in absClear()
754 return fRenderTargetContext->fRenderTargetProxy->maxWindowRectangles( in maxWindowRectangles()
755 *fRenderTargetContext->caps()); in maxWindowRectangles()
761 SkDEBUGCODE(fRenderTargetContext->validate();) in clearStencilClip()
763 fRenderTargetContext->fContext); in clearStencilClip()
765 AutoCheckFlush acf(fRenderTargetContext->drawingManager()); in clearStencilClip()
767 fRenderTargetContext->internalStencilClear(clip, insideStencilMask); in clearStencilClip()
801 SkDEBUGCODE(fRenderTargetContext->validate();) in stencilPath()
803 fRenderTargetContext->fContext); in stencilPath()
810 SkASSERT(fRenderTargetContext->caps()->shaderCaps()->pathRenderingSupport()); in stencilPath()
814 SkRect bounds = SkRect::MakeIWH(fRenderTargetContext->width(), fRenderTargetContext->height()); in stencilPath()
818 if (!clip.apply(fRenderTargetContext->width(), fRenderTargetContext->height(), &appliedClip, in stencilPath()
823 fRenderTargetContext->setNeedsStencil(); in stencilPath()
825 std::unique_ptr<GrOp> op = GrStencilPathOp::Make(fRenderTargetContext->fContext, in stencilPath()
836 fRenderTargetContext->getRTOpList()->addOp(std::move(op), *fRenderTargetContext->caps()); in stencilPath()
846 SkDEBUGCODE(fRenderTargetContext->validate();) in stencilRect()
848 fRenderTargetContext->fContext); in stencilRect()
851 AutoCheckFlush acf(fRenderTargetContext->drawingManager()); in stencilRect()
856 fRenderTargetContext->fContext, std::move(paint), aaType, viewMatrix, rect, ss); in stencilRect()
857 fRenderTargetContext->addDrawOp(clip, std::move(op)); in stencilRect()
869 SkDEBUGCODE(fRenderTargetContext->validate();) in drawAndStencilRect()
871 fRenderTargetContext->fContext); in drawAndStencilRect()
873 AutoCheckFlush acf(fRenderTargetContext->drawingManager()); in drawAndStencilRect()
879 fRenderTargetContext->drawFilledRect(clip, std::move(paint), aa, viewMatrix, rect, ss); in drawAndStencilRect()
1856 SkDEBUGCODE(fRenderTargetContext->validate();) in drawAndStencilPath()
1858 fRenderTargetContext->fContext); in drawAndStencilPath()
1862 SkRect::MakeIWH(fRenderTargetContext->width(), in drawAndStencilPath()
1863 fRenderTargetContext->height())); in drawAndStencilPath()
1867 AutoCheckFlush acf(fRenderTargetContext->drawingManager()); in drawAndStencilPath()
1873 GrAAType aaType = fRenderTargetContext->chooseAAType(aa, GrAllowMixedSamples::kNo); in drawAndStencilPath()
1877 clip.getConservativeBounds(fRenderTargetContext->width(), fRenderTargetContext->height(), in drawAndStencilPath()
1882 canDrawArgs.fCaps = fRenderTargetContext->caps(); in drawAndStencilPath()
1887 SkASSERT(!fRenderTargetContext->wrapsVkSecondaryCB()); in drawAndStencilPath()
1892 GrPathRenderer* pr = fRenderTargetContext->drawingManager()->getPathRenderer( in drawAndStencilPath()
1901 GrPathRenderer::DrawPathArgs args{fRenderTargetContext->drawingManager()->getContext(), in drawAndStencilPath()
1904 fRenderTargetContext, in drawAndStencilPath()
1910 fRenderTargetContext->colorSpaceInfo().isLinearlyBlended()}; in drawAndStencilPath()
1918 if (fRenderTargetContext->fContext->priv().abandoned()) { in isBudgeted()
1922 SkDEBUGCODE(fRenderTargetContext->validate();) in isBudgeted()
1924 return fRenderTargetContext->fRenderTargetProxy->isBudgeted(); in isBudgeted()