Lines Matching refs:fSurfaceDrawContext
184 , fSurfaceDrawContext(std::move(sdc)) in Device()
185 , fClip(SkIRect::MakeSize(fSurfaceDrawContext->dimensions()), in Device()
187 force_aa_clip(fSurfaceDrawContext.get())) { in Device()
204 return fSurfaceDrawContext->readPixels(dContext, pm, {x, y}); in onReadPixels()
216 return fSurfaceDrawContext->writePixels(dContext, pm, {x, y}); in onWritePixels()
226 return fSurfaceDrawContext.get(); in surfaceDrawContext()
231 return fSurfaceDrawContext.get(); in surfaceDrawContext()
236 return fSurfaceDrawContext.get(); in surfaceFillContext()
244 fSurfaceDrawContext->clearAtLeast(rect, SK_PMColor4fTRANSPARENT); in clearAll()
264 GrAA aa = GrAA(fSurfaceDrawContext->alwaysAntialias()); in onClipRegion()
302 SkASSERT(!fSurfaceDrawContext->alwaysAntialias()); in onClipIsAA()
326 if (!SkPaintToGrPaint(this->recordingContext(), fSurfaceDrawContext->colorInfo(), paint, in drawPaint()
331 fSurfaceDrawContext->drawPaint(this->clip(), std::move(grPaint), this->localToDevice()); in drawPaint()
345 GrAA aa = fSurfaceDrawContext->chooseAA(paint); in drawPoints()
350 if (!SkPaintToGrPaint(this->recordingContext(), fSurfaceDrawContext->colorInfo(), paint, in drawPoints()
358 fSurfaceDrawContext->drawPath(this->clip(), std::move(grPaint), aa, this->localToDevice(), in drawPoints()
372 fSurfaceDrawContext->chooseAAType(aa) == GrAAType::kCoverage) { in drawPoints()
396 if (!SkPaintToGrPaint(this->recordingContext(), fSurfaceDrawContext->colorInfo(), paint, in drawPoints()
405 fSurfaceDrawContext->drawVertices(this->clip(), std::move(grPaint), *matrixProvider, in drawPoints()
421 GrBlurUtils::drawShapeWithMaskFilter(fContext.get(), fSurfaceDrawContext.get(), in drawRect()
427 if (!SkPaintToGrPaint(this->recordingContext(), fSurfaceDrawContext->colorInfo(), paint, in drawRect()
432 fSurfaceDrawContext->drawRect(this->clip(), std::move(grPaint), in drawRect()
433 fSurfaceDrawContext->chooseAA(paint), this->localToDevice(), rect, in drawRect()
445 SkPMColor4f dstColor = SkColor4fPrepForDst(color, fSurfaceDrawContext->colorInfo()).premul(); in drawEdgeAAQuad()
457 fSurfaceDrawContext->fillQuadWithEdgeAA(this->clip(), std::move(grPaint), GrAA::kYes, grAA, in drawEdgeAAQuad()
461 fSurfaceDrawContext->fillRectWithEdgeAA(this->clip(), std::move(grPaint), GrAA::kYes, grAA, in drawEdgeAAQuad()
485 GrBlurUtils::drawShapeWithMaskFilter(fContext.get(), fSurfaceDrawContext.get(), in drawRRect()
493 if (!SkPaintToGrPaint(this->recordingContext(), fSurfaceDrawContext->colorInfo(), paint, in drawRRect()
498 fSurfaceDrawContext->drawRRect(this->clip(), std::move(grPaint), in drawRRect()
499 fSurfaceDrawContext->chooseAA(paint), this->localToDevice(), in drawRRect()
520 fSurfaceDrawContext->chooseAA(paint), in drawDRRect()
521 *fSurfaceDrawContext->caps()->shaderCaps())) { in drawDRRect()
523 if (!SkPaintToGrPaint(this->recordingContext(), fSurfaceDrawContext->colorInfo(), paint, in drawDRRect()
529 fSurfaceDrawContext->drawRRect(this->clip(), std::move(grPaint), in drawDRRect()
530 fSurfaceDrawContext->chooseAA(paint), in drawDRRect()
546 GrBlurUtils::drawShapeWithMaskFilter(fContext.get(), fSurfaceDrawContext.get(), this->clip(), in drawDRRect()
563 if (!SkPaintToGrPaint(this->recordingContext(), fSurfaceDrawContext->colorInfo(), paint, in drawRegion()
568 fSurfaceDrawContext->drawRegion(this->clip(), std::move(grPaint), in drawRegion()
569 fSurfaceDrawContext->chooseAA(paint), this->localToDevice(), in drawRegion()
584 if (!SkPaintToGrPaint(this->recordingContext(), fSurfaceDrawContext->colorInfo(), paint, in drawOval()
589 fSurfaceDrawContext->drawOval(this->clip(), std::move(grPaint), in drawOval()
590 fSurfaceDrawContext->chooseAA(paint), this->localToDevice(), oval, in drawOval()
606 if (!SkPaintToGrPaint(this->recordingContext(), fSurfaceDrawContext->colorInfo(), paint, in drawArc()
611 fSurfaceDrawContext->drawArc(this->clip(), std::move(grPaint), in drawArc()
612 fSurfaceDrawContext->chooseAA(paint), this->localToDevice(), oval, in drawArc()
629 if (!SkPaintToGrPaint(this->recordingContext(), fSurfaceDrawContext->colorInfo(), paint, in drawPath()
633 fSurfaceDrawContext->drawPath(this->clip(), std::move(grPaint), in drawPath()
634 fSurfaceDrawContext->chooseAA(paint), this->localToDevice(), in drawPath()
642 GrBlurUtils::drawShapeWithMaskFilter(fContext.get(), fSurfaceDrawContext.get(), this->clip(), in drawPath()
697 auto sdc = fSurfaceDrawContext.get(); in snapSpecial()
755 GrAA aa = fSurfaceDrawContext->chooseAA(paint); in drawImageRect()
777 fSurfaceDrawContext->colorInfo(), *paint, in drawViewLattice()
787 auto csxf = GrColorSpaceXform::Make(info, fSurfaceDrawContext->colorInfo()); in drawViewLattice()
789 fSurfaceDrawContext->drawImageLattice(this->clip(), std::move(grPaint), this->localToDevice(), in drawViewLattice()
820 if (!init_vertices_paint(fContext.get(), fSurfaceDrawContext->colorInfo(), paint, in drawVertices()
824 fSurfaceDrawContext->drawVertices(this->clip(), in drawVertices()
843 if (!fSurfaceDrawContext->drawFastShadow(this->clip(), this->localToDevice(), path, rec)) { in drawShadow()
862 if (!SkPaintToGrPaintWithBlend(this->recordingContext(), fSurfaceDrawContext->colorInfo(), in drawAtlas()
867 if (!SkPaintToGrPaint(this->recordingContext(), fSurfaceDrawContext->colorInfo(), in drawAtlas()
873 fSurfaceDrawContext->drawAtlas(this->clip(), std::move(grPaint), this->localToDevice(), count, in drawAtlas()
884 fSurfaceDrawContext->drawGlyphRunList( in onDrawGlyphRunList()
901 fSurfaceDrawContext->drawDrawable( in drawDrawable()
917 return fSurfaceDrawContext->waitOnSemaphores(numSemaphores, waitSemaphores, in wait()
933 SkASSERT(sdc->dimensions() == fSurfaceDrawContext->dimensions()); in replaceBackingProxy()
934 SkASSERT(sdc->numSamples() == fSurfaceDrawContext->numSamples()); in replaceBackingProxy()
941 SkASSERT(fSurfaceDrawContext->asTextureProxy()); in replaceBackingProxy()
942 SkAssertResult(sdc->blitTexture(fSurfaceDrawContext->readSurfaceView(), in replaceBackingProxy()
947 fSurfaceDrawContext = std::move(sdc); in replaceBackingProxy()
957 auto* sdc = fSurfaceDrawContext.get(); in asyncRescaleAndReadPixels()
975 auto* sdc = fSurfaceDrawContext.get(); in asyncRescaleAndReadPixelsYUV420()
1008 fSurfaceDrawContext->colorInfo().refColorSpace(), fit, cinfo.fInfo.dimensions(), props, in onCreateDevice()
1009 fSurfaceDrawContext->numSamples(), GrMipmapped::kNo, in onCreateDevice()
1010 fSurfaceDrawContext->asSurfaceProxy()->isProtected(), kBottomLeft_GrSurfaceOrigin, in onCreateDevice()
1027 fSurfaceDrawContext->numSamples(), in makeSurface()
1028 fSurfaceDrawContext->origin(), &props); in makeSurface()
1046 auto sdc = fSurfaceDrawContext.get(); in android_utils_clipWithStencil()
1060 GrAA aa = GrAA(fSurfaceDrawContext->alwaysAntialias()); in android_utils_clipWithStencil()