Lines Matching refs:fRenderTargetContext

136     , fRenderTargetContext(std::move(renderTargetContext))  in SkGpuDevice()
189 if (!GrPixelConfigToColorType(fRenderTargetContext->colorSpaceInfo().config(), &colorType)) { in filterTexture()
193 colorType, fRenderTargetContext->colorSpaceInfo().colorSpace()); in filterTexture()
213 return fRenderTargetContext->readPixels(rec.fInfo, rec.fPixels, rec.fRowBytes, rec.fX, rec.fY); in onReadPixels()
228 return fRenderTargetContext->writePixels(rec.fInfo, rec.fPixels, rec.fRowBytes, rec.fX, rec.fY); in onWritePixels()
238 return fRenderTargetContext.get(); in accessRenderTargetContext()
246 fRenderTargetContext->clear(&rect, SK_PMColor4fTRANSPARENT, in clearAll()
253 SkBudgeted budgeted = fRenderTargetContext->priv().isBudgeted(); in replaceRenderTargetContext()
261 fRenderTargetContext->numColorSamples(), in replaceRenderTargetContext()
262 fRenderTargetContext->origin(), in replaceRenderTargetContext()
264 fRenderTargetContext->mipMapped())); in replaceRenderTargetContext()
271 if (fRenderTargetContext->wasAbandoned()) { in replaceRenderTargetContext()
274 newRTC->copy(fRenderTargetContext->asSurfaceProxy()); in replaceRenderTargetContext()
277 fRenderTargetContext = newRTC; in replaceRenderTargetContext()
287 if (!SkPaintToGrPaint(this->context(), fRenderTargetContext->colorSpaceInfo(), paint, in drawPaint()
292 fRenderTargetContext->drawPaint(this->clip(), std::move(grPaint), this->ctm()); in drawPaint()
320 if (!SkPaintToGrPaint(this->context(), fRenderTargetContext->colorSpaceInfo(), paint, in drawPoints()
328 fRenderTargetContext->drawPath(this->clip(), std::move(grPaint), GrAA(paint.isAntiAlias()), in drawPoints()
365 if (!SkPaintToGrPaint(this->context(), fRenderTargetContext->colorSpaceInfo(), paint, in drawPoints()
374 fRenderTargetContext->drawVertices(this->clip(), std::move(grPaint), *viewMatrix, in drawPoints()
390 GrBlurUtils::drawShapeWithMaskFilter(fContext.get(), fRenderTargetContext.get(), in drawRect()
396 if (!SkPaintToGrPaint(this->context(), fRenderTargetContext->colorSpaceInfo(), paint, in drawRect()
401 fRenderTargetContext->drawRect(this->clip(), std::move(grPaint), GrAA(paint.isAntiAlias()), in drawRect()
411 fRenderTargetContext->colorSpaceInfo(), in drawEdgeAARect()
421 fRenderTargetContext->fillRectWithEdgeAA(this->clip(), std::move(grPaint), in drawEdgeAARect()
444 GrBlurUtils::drawShapeWithMaskFilter(fContext.get(), fRenderTargetContext.get(), in drawRRect()
452 if (!SkPaintToGrPaint(this->context(), fRenderTargetContext->colorSpaceInfo(), paint, in drawRRect()
457 fRenderTargetContext->drawRRect(this->clip(), std::move(grPaint), GrAA(paint.isAntiAlias()), in drawRRect()
477 if (!SkPaintToGrPaint(this->context(), fRenderTargetContext->colorSpaceInfo(), paint, in drawDRRect()
482 fRenderTargetContext->drawDRRect(this->clip(), std::move(grPaint), in drawDRRect()
497 GrBlurUtils::drawShapeWithMaskFilter(fContext.get(), fRenderTargetContext.get(), this->clip(), in drawDRRect()
513 if (!SkPaintToGrPaint(this->context(), fRenderTargetContext->colorSpaceInfo(), paint, in drawRegion()
518 fRenderTargetContext->drawRegion(this->clip(), std::move(grPaint), GrAA(paint.isAntiAlias()), in drawRegion()
533 if (!SkPaintToGrPaint(this->context(), fRenderTargetContext->colorSpaceInfo(), paint, in drawOval()
538 fRenderTargetContext->drawOval(this->clip(), std::move(grPaint), GrAA(paint.isAntiAlias()), in drawOval()
551 if (!SkPaintToGrPaint(this->context(), fRenderTargetContext->colorSpaceInfo(), paint, in drawArc()
556 fRenderTargetContext->drawArc(this->clip(), std::move(grPaint), GrAA(paint.isAntiAlias()), in drawArc()
607 if (!SkPaintToGrPaint(this->context(), fRenderTargetContext->colorSpaceInfo(), newPaint, m, in drawStrokedLine()
612 fRenderTargetContext->fillRectWithLocalMatrix( in drawStrokedLine()
637 if (!SkPaintToGrPaint(this->context(), fRenderTargetContext->colorSpaceInfo(), paint, in drawPath()
641 fRenderTargetContext->drawPath(this->clip(), std::move(grPaint), GrAA(paint.isAntiAlias()), in drawPath()
649 GrBlurUtils::drawShapeWithMaskFilter(fContext.get(), fRenderTargetContext.get(), this->clip(), in drawPath()
721 determine_clipped_src_rect(fRenderTargetContext->width(), fRenderTargetContext->height(), in shouldTileImageID()
750 determine_clipped_src_rect(fRenderTargetContext->width(), fRenderTargetContext->height(), in shouldTileImageID()
809 bool drawAA = GrFSAAType::kUnifiedMSAA != fRenderTargetContext->fsaaType() && in drawBitmap()
905 if (origPaint.isAntiAlias() && GrFSAAType::kUnifiedMSAA != fRenderTargetContext->fsaaType()) { in drawTiledBitmap()
1036 fRenderTargetContext->colorSpaceInfo().colorSpace()); in drawBitmapTile()
1038 if (!SkPaintToGrPaintWithTexture(this->context(), fRenderTargetContext->colorSpaceInfo(), paint, in drawBitmapTile()
1046 GrFSAAType::kNone != fRenderTargetContext->fsaaType()); in drawBitmapTile()
1047 fRenderTargetContext->drawRect(this->clip(), std::move(grPaint), aa, viewMatrix, dstRect); in drawBitmapTile()
1109 fRenderTargetContext->colorSpaceInfo().colorSpace()); in drawSpecial()
1117 if (!SkPaintToGrPaintReplaceShader(this->context(), fRenderTargetContext->colorSpaceInfo(), in drawSpecial()
1124 fRenderTargetContext->fillRectToRect( in drawSpecial()
1169 bool useCoverageAA = GrFSAAType::kUnifiedMSAA != fRenderTargetContext->fsaaType() && in drawBitmapRect()
1465 if (!SkPaintToGrPaintWithPrimitiveColor(this->context(), fRenderTargetContext->colorSpaceInfo(), in drawProducerLattice()
1470 auto dstColorSpace = fRenderTargetContext->colorSpaceInfo().colorSpace(); in drawProducerLattice()
1479 fRenderTargetContext->drawImageLattice(this->clip(), std::move(grPaint), this->ctm(), in drawProducerLattice()
1531 fRenderTargetContext->colorSpaceInfo().colorSpace(), kPremul_SkAlphaType); in drawImageSet()
1532 fRenderTargetContext->drawTextureSet(this->clip(), textures.get() + base, n, in drawImageSet()
1620 if (!SkPaintToGrPaintNoShader(this->context(), fRenderTargetContext->colorSpaceInfo(), copy, in wireframeVertices()
1662 fRenderTargetContext->drawVertices(this->clip(), in wireframeVertices()
1687 if (!init_vertices_paint(fContext.get(), fRenderTargetContext->colorSpaceInfo(), paint, in drawVertices()
1691 fRenderTargetContext->drawVertices(this->clip(), std::move(grPaint), this->ctm(), in drawVertices()
1703 if (!fRenderTargetContext->drawFastShadow(this->clip(), this->ctm(), path, rec)) { in drawShadow()
1727 if (!SkPaintToGrPaintWithXfermode(this->context(), fRenderTargetContext->colorSpaceInfo(), in drawAtlas()
1732 if (!SkPaintToGrPaint(this->context(), fRenderTargetContext->colorSpaceInfo(), p, in drawAtlas()
1738 fRenderTargetContext->drawAtlas( in drawAtlas()
1754 fRenderTargetContext->drawGlyphRunList(this->clip(), ctm, glyphRunList); in drawGlyphRunList()
1768 fRenderTargetContext->drawDrawable(std::move(gpuDraw), drawable->getBounds()); in drawDrawable()
1786 return fRenderTargetContext->prepareForExternalIO(numSemaphores, signalSemaphores); in flushAndSignalSemaphores()
1792 return fRenderTargetContext->waitOnSemaphores(numSemaphores, waitSemaphores); in wait()
1807 GrPixelConfig config = fRenderTargetContext->colorSpaceInfo().config(); in onCreateDevice()
1808 const GrBackendFormat& origFormat = fRenderTargetContext->asSurfaceProxy()->backendFormat(); in onCreateDevice()
1823 fRenderTargetContext->colorSpaceInfo().refColorSpace(), in onCreateDevice()
1824 fRenderTargetContext->numStencilSamples(), GrMipMapped::kNo, in onCreateDevice()
1842 fRenderTargetContext->numStencilSamples(), in makeSurface()
1843 fRenderTargetContext->origin(), &props); in makeSurface()