Lines Matching refs:fRenderTargetContext
142 , fRenderTargetContext(std::move(renderTargetContext)) in SkGpuDevice()
188 SkImageFilter::OutputProperties outputProperties(fRenderTargetContext->getColorSpace()); in filterTexture()
209 return fRenderTargetContext->readPixels(rec.fInfo, rec.fPixels, rec.fRowBytes, rec.fX, rec.fY); in onReadPixels()
225 return fRenderTargetContext->writePixels(rec.fInfo, rec.fPixels, rec.fRowBytes, rec.fX, rec.fY); in onWritePixels()
235 return fRenderTargetContext.get(); in accessRenderTargetContext()
243 fRenderTargetContext->clear(&rect, 0x0, true); in clearAll()
249 SkBudgeted budgeted = fRenderTargetContext->priv().isBudgeted(); in replaceRenderTargetContext()
257 fRenderTargetContext->numColorSamples(), in replaceRenderTargetContext()
258 fRenderTargetContext->origin(), in replaceRenderTargetContext()
266 if (fRenderTargetContext->wasAbandoned()) { in replaceRenderTargetContext()
269 newRTC->copy(fRenderTargetContext->asSurfaceProxy()); in replaceRenderTargetContext()
272 fRenderTargetContext = newRTC; in replaceRenderTargetContext()
283 if (!SkPaintToGrPaint(this->context(), fRenderTargetContext.get(), paint, this->ctm(), in drawPaint()
288 fRenderTargetContext->drawPaint(this->clip(), std::move(grPaint), this->ctm()); in drawPaint()
339 if (!SkPaintToGrPaint(this->context(), fRenderTargetContext.get(), paint, this->ctm(), in drawPoints()
347 fRenderTargetContext->drawPath(this->clip(), std::move(grPaint), in drawPoints()
386 if (!SkPaintToGrPaint(this->context(), fRenderTargetContext.get(), paint, *viewMatrix, in drawPoints()
391 fRenderTargetContext->drawVertices(this->clip(), in drawPoints()
416 GrBlurUtils::drawPathWithMaskFilter(fContext.get(), fRenderTargetContext.get(), in drawRect()
423 if (!SkPaintToGrPaint(this->context(), fRenderTargetContext.get(), paint, this->ctm(), in drawRect()
429 fRenderTargetContext->drawRect(this->clip(), std::move(grPaint), in drawRect()
441 if (!SkPaintToGrPaint(this->context(), fRenderTargetContext.get(), paint, this->ctm(), in drawRRect()
467 if (mf->directFilterRRectMaskGPU(this->context(), fRenderTargetContext.get(), in drawRRect()
485 GrBlurUtils::drawPathWithMaskFilter(fContext.get(), fRenderTargetContext.get(), in drawRRect()
493 fRenderTargetContext->drawRRect(this->clip(), std::move(grPaint), in drawRRect()
516 if (!SkPaintToGrPaint(this->context(), fRenderTargetContext.get(), paint, this->ctm(), in drawDRRect()
521 fRenderTargetContext->drawDRRect(this->clip(), std::move(grPaint), in drawDRRect()
533 GrBlurUtils::drawPathWithMaskFilter(fContext.get(), fRenderTargetContext.get(), this->clip(), in drawDRRect()
549 if (!SkPaintToGrPaint(this->context(), fRenderTargetContext.get(), paint, this->ctm(), in drawRegion()
554 fRenderTargetContext->drawRegion(this->clip(), std::move(grPaint), in drawRegion()
580 if (!SkPaintToGrPaint(this->context(), fRenderTargetContext.get(), paint, this->ctm(), in drawOval()
585 fRenderTargetContext->drawOval(this->clip(), std::move(grPaint), in drawOval()
601 if (!SkPaintToGrPaint(this->context(), fRenderTargetContext.get(), paint, this->ctm(), in drawArc()
606 fRenderTargetContext->drawArc(this->clip(), std::move(grPaint), GrBoolToAA(paint.isAntiAlias()), in drawArc()
659 if (!SkPaintToGrPaint(this->context(), fRenderTargetContext.get(), newPaint, m, &grPaint)) { in drawStrokedLine()
663 fRenderTargetContext->fillRectWithLocalMatrix( in drawStrokedLine()
705 GrBlurUtils::drawPathWithMaskFilter(fContext.get(), fRenderTargetContext.get(), this->clip(), in drawPath()
777 determine_clipped_src_rect(fRenderTargetContext->width(), fRenderTargetContext->height(), in shouldTileImageID()
806 determine_clipped_src_rect(fRenderTargetContext->width(), fRenderTargetContext->height(), in shouldTileImageID()
865 bool drawAA = !fRenderTargetContext->isUnifiedMultisampled() && in drawBitmap()
968 if (origPaint.isAntiAlias() && !fRenderTargetContext->isUnifiedMultisampled()) { in drawTiledBitmap()
1062 GrColorSpaceXform::Make(bitmap.colorSpace(), fRenderTargetContext->getColorSpace()); in drawBitmapTile()
1107 if (!SkPaintToGrPaintWithTexture(this->context(), fRenderTargetContext.get(), paint, viewMatrix, in drawBitmapTile()
1115 fRenderTargetContext->isStencilBufferMultisampled()); in drawBitmapTile()
1116 fRenderTargetContext->drawRect(this->clip(), std::move(grPaint), aa, viewMatrix, dstRect); in drawBitmapTile()
1171 GrColorSpaceXform::Make(result->getColorSpace(), fRenderTargetContext->getColorSpace()); in drawSpecial()
1184 if (!SkPaintToGrPaintReplaceShader(this->context(), fRenderTargetContext.get(), tmpUnfiltered, in drawSpecial()
1191 fRenderTargetContext->fillRectToRect( in drawSpecial()
1239 bool drawAA = !fRenderTargetContext->isUnifiedMultisampled() && in drawBitmapRect()
1387 if (!as_IB(image)->getROPixels(&bm, fRenderTargetContext->getColorSpace())) { in drawImage()
1396 } else if (as_IB(image)->getROPixels(&bm, fRenderTargetContext->getColorSpace())) { in drawImage()
1423 if (!as_IB(image)->getROPixels(&bm, fRenderTargetContext->getColorSpace())) { in drawImageRect()
1431 } else if (as_IB(image)->getROPixels(&bm, fRenderTargetContext->getColorSpace())) { in drawImageRect()
1443 fRenderTargetContext->isUnifiedMultisampled(); in drawProducerNine()
1464 &kMode, fRenderTargetContext->getColorSpace())); in drawProducerNine()
1466 if (!SkPaintToGrPaintWithTexture(this->context(), fRenderTargetContext.get(), paint, in drawProducerNine()
1474 fRenderTargetContext->drawImageLattice(this->clip(), std::move(grPaint), this->ctm(), in drawProducerNine()
1494 } else if (as_IB(image)->getROPixels(&bm, fRenderTargetContext->getColorSpace())) { in drawImageNine()
1519 &kMode, fRenderTargetContext->getColorSpace())); in drawProducerLattice()
1521 if (!SkPaintToGrPaintWithTexture(this->context(), fRenderTargetContext.get(), paint, in drawProducerLattice()
1529 fRenderTargetContext->drawImageLattice(this->clip(), std::move(grPaint), this->ctm(), in drawProducerLattice()
1550 } else if (as_IB(image)->getROPixels(&bm, fRenderTargetContext->getColorSpace())) { in drawImageLattice()
1603 if (!SkPaintToGrPaintNoShader(this->context(), fRenderTargetContext.get(), copy, &grPaint)) { in wireframeVertices()
1636 fRenderTargetContext->drawVertices(this->clip(), in wireframeVertices()
1663 if (!init_vertices_paint(fContext.get(), fRenderTargetContext.get(), paint, this->ctm(), in drawVertices()
1667 fRenderTargetContext->drawVertices(this->clip(), std::move(grPaint), this->ctm(), in drawVertices()
1690 if (!SkPaintToGrPaintWithXfermode(this->context(), fRenderTargetContext.get(), p, in drawAtlas()
1695 if (!SkPaintToGrPaint(this->context(), fRenderTargetContext.get(), p, this->ctm(), in drawAtlas()
1702 fRenderTargetContext->drawAtlas( in drawAtlas()
1716 fRenderTargetContext->drawText(this->clip(), paint, this->ctm(), (const char*)text, byteLength, in drawText()
1728 fRenderTargetContext->drawPosText(this->clip(), paint, this->ctm(), (const char*)text, in drawPosText()
1741 fRenderTargetContext->drawTextBlob(this->clip(), paint, this->ctm(), blob, x, y, drawFilter, in drawTextBlob()
1754 fRenderTargetContext->prepareForExternalIO(); in flush()
1772 fRenderTargetContext->config(), in onCreateDevice()
1773 fRenderTargetContext->refColorSpace(), in onCreateDevice()
1774 fRenderTargetContext->desc().fSampleCnt, in onCreateDevice()
1793 fRenderTargetContext->desc().fSampleCnt, in makeSurface()
1794 fRenderTargetContext->origin(), &props); in makeSurface()