• Home
  • Raw
  • Download

Lines Matching refs:fRenderTargetContext

130     , fRenderTargetContext(std::move(renderTargetContext))  in SkGpuDevice()
176 GrColorTypeToSkColorType(fRenderTargetContext->colorSpaceInfo().colorType()); in filterTexture()
181 fRenderTargetContext->colorSpaceInfo().colorSpace(), srcImg); in filterTexture()
195 return fRenderTargetContext->readPixels(pm.info(), pm.writable_addr(), pm.rowBytes(), {x, y}); in onReadPixels()
205 return fRenderTargetContext->writePixels(pm.info(), pm.addr(), pm.rowBytes(), {x, y}); in onWritePixels()
215 return fRenderTargetContext.get(); in accessRenderTargetContext()
223 fRenderTargetContext->clear(&rect, SK_PMColor4fTRANSPARENT, in clearAll()
231 SkASSERT(rtc->numSamples() == fRenderTargetContext->numSamples()); in replaceRenderTargetContext()
238 SkASSERT(fRenderTargetContext->asTextureProxy()); in replaceRenderTargetContext()
239 SkAssertResult(rtc->blitTexture(fRenderTargetContext->asTextureProxy(), in replaceRenderTargetContext()
244 fRenderTargetContext = std::move(rtc); in replaceRenderTargetContext()
250 SkBudgeted budgeted = fRenderTargetContext->priv().isBudgeted(); in replaceRenderTargetContext()
258 fRenderTargetContext->numSamples(), in replaceRenderTargetContext()
259 fRenderTargetContext->origin(), in replaceRenderTargetContext()
261 fRenderTargetContext->mipMapped())); in replaceRenderTargetContext()
275 if (!SkPaintToGrPaint(this->context(), fRenderTargetContext->colorSpaceInfo(), paint, in drawPaint()
280 fRenderTargetContext->drawPaint(this->clip(), std::move(grPaint), this->ctm()); in drawPaint()
307 if (!SkPaintToGrPaint(this->context(), fRenderTargetContext->colorSpaceInfo(), paint, in drawPoints()
315 fRenderTargetContext->drawPath(this->clip(), std::move(grPaint), GrAA(paint.isAntiAlias()), in drawPoints()
352 if (!SkPaintToGrPaint(this->context(), fRenderTargetContext->colorSpaceInfo(), paint, in drawPoints()
361 fRenderTargetContext->drawVertices(this->clip(), std::move(grPaint), *viewMatrix, in drawPoints()
377 GrBlurUtils::drawShapeWithMaskFilter(fContext.get(), fRenderTargetContext.get(), in drawRect()
383 if (!SkPaintToGrPaint(this->context(), fRenderTargetContext->colorSpaceInfo(), paint, in drawRect()
388 fRenderTargetContext->drawRect(this->clip(), std::move(grPaint), GrAA(paint.isAntiAlias()), in drawRect()
398 fRenderTargetContext->colorSpaceInfo()) in drawEdgeAAQuad()
411 fRenderTargetContext->fillQuadWithEdgeAA(this->clip(), std::move(grPaint), GrAA::kYes, grAA, in drawEdgeAAQuad()
415 fRenderTargetContext->fillRectWithEdgeAA(this->clip(), std::move(grPaint), GrAA::kYes, grAA, in drawEdgeAAQuad()
439 GrBlurUtils::drawShapeWithMaskFilter(fContext.get(), fRenderTargetContext.get(), in drawRRect()
447 if (!SkPaintToGrPaint(this->context(), fRenderTargetContext->colorSpaceInfo(), paint, in drawRRect()
452 fRenderTargetContext->drawRRect(this->clip(), std::move(grPaint), GrAA(paint.isAntiAlias()), in drawRRect()
472 if (!SkPaintToGrPaint(this->context(), fRenderTargetContext->colorSpaceInfo(), paint, in drawDRRect()
477 fRenderTargetContext->drawDRRect(this->clip(), std::move(grPaint), in drawDRRect()
492 GrBlurUtils::drawShapeWithMaskFilter(fContext.get(), fRenderTargetContext.get(), this->clip(), in drawDRRect()
508 if (!SkPaintToGrPaint(this->context(), fRenderTargetContext->colorSpaceInfo(), paint, in drawRegion()
513 fRenderTargetContext->drawRegion(this->clip(), std::move(grPaint), GrAA(paint.isAntiAlias()), in drawRegion()
528 if (!SkPaintToGrPaint(this->context(), fRenderTargetContext->colorSpaceInfo(), paint, in drawOval()
533 fRenderTargetContext->drawOval(this->clip(), std::move(grPaint), GrAA(paint.isAntiAlias()), in drawOval()
546 if (!SkPaintToGrPaint(this->context(), fRenderTargetContext->colorSpaceInfo(), paint, in drawArc()
551 fRenderTargetContext->drawArc(this->clip(), std::move(grPaint), GrAA(paint.isAntiAlias()), in drawArc()
602 if (!SkPaintToGrPaint(this->context(), fRenderTargetContext->colorSpaceInfo(), newPaint, m, in drawStrokedLine()
607 fRenderTargetContext->fillRectWithLocalMatrix( in drawStrokedLine()
632 if (!SkPaintToGrPaint(this->context(), fRenderTargetContext->colorSpaceInfo(), paint, in drawPath()
636 fRenderTargetContext->drawPath(this->clip(), std::move(grPaint), GrAA(paint.isAntiAlias()), in drawPath()
644 GrBlurUtils::drawShapeWithMaskFilter(fContext.get(), fRenderTargetContext.get(), this->clip(), in drawPath()
720 determine_clipped_src_rect(fRenderTargetContext->width(), fRenderTargetContext->height(), in shouldTileImageID()
749 determine_clipped_src_rect(fRenderTargetContext->width(), fRenderTargetContext->height(), in shouldTileImageID()
848 if (origPaint.isAntiAlias() && fRenderTargetContext->numSamples() <= 1) { in drawTiledBitmap()
982 fRenderTargetContext->colorSpaceInfo().colorSpace()); in drawBitmapTile()
984 if (!SkPaintToGrPaintWithTexture(this->context(), fRenderTargetContext->colorSpaceInfo(), paint, in drawBitmapTile()
991 GrAA aa = GrAA(paint.isAntiAlias() && fRenderTargetContext->numSamples() > 1); in drawBitmapTile()
992 fRenderTargetContext->drawRect(this->clip(), std::move(grPaint), aa, viewMatrix, dstRect); in drawBitmapTile()
1053 fRenderTargetContext->colorSpaceInfo().colorSpace()); in drawSpecial()
1065 if (!SkPaintToGrPaintReplaceShader(this->context(), fRenderTargetContext->colorSpaceInfo(), in drawSpecial()
1111 fRenderTargetContext->fillRectWithLocalMatrix(GrClipStackClip(&clip), in drawSpecial()
1120 fRenderTargetContext->fillRectToRect(this->clip(), std::move(grPaint), in drawSpecial()
1160 bool useCoverageAA = fRenderTargetContext->numSamples() <= 1 && in drawBitmapRect()
1384 if (!SkPaintToGrPaintWithPrimitiveColor(this->context(), fRenderTargetContext->colorSpaceInfo(), in drawProducerLattice()
1389 auto dstColorSpace = fRenderTargetContext->colorSpaceInfo().colorSpace(); in drawProducerLattice()
1398 fRenderTargetContext->drawImageLattice(this->clip(), std::move(grPaint), this->ctm(), in drawProducerLattice()
1475 if (!SkPaintToGrPaintNoShader(this->context(), fRenderTargetContext->colorSpaceInfo(), copy, in wireframeVertices()
1517 fRenderTargetContext->drawVertices(this->clip(), in wireframeVertices()
1542 if (!init_vertices_paint(fContext.get(), fRenderTargetContext->colorSpaceInfo(), paint, in drawVertices()
1546 fRenderTargetContext->drawVertices(this->clip(), std::move(grPaint), this->ctm(), in drawVertices()
1558 if (!fRenderTargetContext->drawFastShadow(this->clip(), this->ctm(), path, rec)) { in drawShadow()
1577 if (!SkPaintToGrPaintWithXfermode(this->context(), fRenderTargetContext->colorSpaceInfo(), in drawAtlas()
1582 if (!SkPaintToGrPaint(this->context(), fRenderTargetContext->colorSpaceInfo(), p, in drawAtlas()
1588 fRenderTargetContext->drawAtlas( in drawAtlas()
1604 fRenderTargetContext->drawGlyphRunList(this->clip(), ctm, glyphRunList); in drawGlyphRunList()
1618 fRenderTargetContext->drawDrawable(std::move(gpuDraw), drawable->getBounds()); in drawDrawable()
1636 return fRenderTargetContext->flush(access, info); in flush()
1642 return fRenderTargetContext->waitOnSemaphores(numSemaphores, waitSemaphores); in wait()
1657 GrColorType colorType = fRenderTargetContext->colorSpaceInfo().colorType(); in onCreateDevice()
1669 fRenderTargetContext->colorSpaceInfo().refColorSpace(), in onCreateDevice()
1670 fRenderTargetContext->numSamples(), in onCreateDevice()
1675 fRenderTargetContext->asSurfaceProxy()->isProtected() ? GrProtected::kYes in onCreateDevice()
1693 fRenderTargetContext->numSamples(), in makeSurface()
1694 fRenderTargetContext->origin(), &props); in makeSurface()