Home
last modified time | relevance | path

Searched refs:fSurfaceDrawContext (Results 1 – 17 of 17) sorted by relevance

/third_party/skia/src/gpu/v1/
DDevice.cpp184 , 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()
[all …]
DPathRenderer.cpp26 SkASSERT(fSurfaceDrawContext); in validate()
52 canArgs.fProxy = args.fSurfaceDrawContext->asRenderTargetProxy(); in drawPath()
57 canArgs.fSurfaceProps = &args.fSurfaceDrawContext->surfaceProps(); in drawPath()
100 args.fSurfaceDrawContext, in onStencilPath()
DPathRenderer.h122 SurfaceDrawContext* fSurfaceDrawContext; member
133 SkASSERT(fSurfaceDrawContext); in validate()
153 SurfaceDrawContext* fSurfaceDrawContext; member
DDevice_drawTexture.cpp720 GrAA aa = fSurfaceDrawContext->chooseAA(paint); in drawSpecial()
736 fSurfaceDrawContext.get(), in drawSpecial()
801 fSurfaceDrawContext->dimensions(), in drawImageQuad()
816 fSurfaceDrawContext.get(), in drawImageQuad()
835 fSurfaceDrawContext.get(), in drawImageQuad()
894 fSurfaceDrawContext->colorInfo()); in drawEdgeAAImageSet()
895 fSurfaceDrawContext->drawTextureSet(this->clip(), in drawEdgeAAImageSet()
966 fSurfaceDrawContext->colorInfo()); in drawEdgeAAImageSet()
DDevice_v1.h38 fSurfaceDrawContext->discard(); in discard()
182 std::unique_ptr<SurfaceDrawContext> fSurfaceDrawContext;
DStencilMaskHelper.cpp326 args.fSurfaceDrawContext = sdc; in stencil_path()
DSurfaceDrawContext.cpp940 args.fSurfaceDrawContext = this; in stencilPath()
/third_party/skia/src/gpu/ops/
DTessellationPathRenderer.cpp113 auto sdc = args.fSurfaceDrawContext; in onDrawPath()
160 args.fSurfaceDrawContext->drawPaint(args.fClip, std::move(args.fPaint), in onDrawPath()
169 args.fSurfaceDrawContext->arenaAlloc(), in onDrawPath()
182 ? args.fSurfaceDrawContext->asSurfaceProxy()->backingStoreBoundsRect() in onDrawPath()
185 args.fSurfaceDrawContext->arenaAlloc(), in onDrawPath()
200 auto sdc = args.fSurfaceDrawContext; in onStencilPath()
230 args.fSurfaceDrawContext->arenaAlloc(), in onStencilPath()
242 args.fSurfaceDrawContext->arenaAlloc(), in onStencilPath()
DSoftwarePathRenderer.cpp251 if (!GetShapeAndClipBounds(args.fSurfaceDrawContext, in onDrawPath()
257 DrawAroundInvPath(args.fSurfaceDrawContext, std::move(args.fPaint), in onDrawPath()
272 int maxTextureSize = args.fSurfaceDrawContext->caps()->maxTextureSize(); in onDrawPath()
325 GrSwizzle swizzle = args.fSurfaceDrawContext->caps()->getReadSwizzle( in onDrawPath()
391 DrawAroundInvPath(args.fSurfaceDrawContext, GrPaint::Clone(args.fPaint), in onDrawPath()
395 DrawToTargetWithShapeMask(std::move(view), args.fSurfaceDrawContext, std::move(args.fPaint), in onDrawPath()
DAtlasPathRenderer.cpp294 args.fSurfaceDrawContext->drawPaint(args.fClip, std::move(args.fPaint), in onDrawPath()
310 : args.fSurfaceDrawContext->asSurfaceProxy()->backingStoreBoundsIRect()) in onDrawPath()
312 const GrCaps& caps = *args.fSurfaceDrawContext->caps(); in onDrawPath()
314 args.fSurfaceDrawContext->arenaAlloc(), in onDrawPath()
320 args.fSurfaceDrawContext->addDrawOp(args.fClip, std::move(op)); in onDrawPath()
DDashLinePathRenderer.cpp58 args.fSurfaceDrawContext->addDrawOp(args.fClip, std::move(op)); in onDrawPath()
DAALinearizingConvexPathRenderer.cpp395 SkASSERT(args.fSurfaceDrawContext->numSamples() <= 1); in onDrawPath()
410 args.fSurfaceDrawContext->addDrawOp(args.fClip, std::move(op)); in onDrawPath()
DDefaultPathRenderer.cpp799 args.fSurfaceDrawContext, std::move(args.fPaint), aaType, *args.fUserStencilSettings, in onDrawPath()
814 args.fSurfaceDrawContext, std::move(paint), aaType, GrUserStencilSettings::kUnused, in onStencilPath()
DAAConvexPathRenderer.cpp917 SkASSERT(args.fSurfaceDrawContext->numSamples() <= 1); in onDrawPath()
926 args.fSurfaceDrawContext->addDrawOp(args.fClip, std::move(op)); in onDrawPath()
DAAHairLinePathRenderer.cpp1321 SkASSERT(args.fSurfaceDrawContext->numSamples() <= 1); in onDrawPath()
1329 args.fSurfaceDrawContext->addDrawOp(args.fClip, std::move(op)); in onDrawPath()
DTriangulatingPathRenderer.cpp620 args.fSurfaceDrawContext->addDrawOp(args.fClip, std::move(op)); in onDrawPath()
DSmallPathRenderer.cpp719 args.fSurfaceDrawContext->addDrawOp(args.fClip, std::move(op)); in onDrawPath()