Home
last modified time | relevance | path

Searched refs:fRenderTargetContext (Results 1 – 21 of 21) sorted by relevance

/third_party/flutter/skia/src/gpu/
DSkGpuDevice.cpp130 , 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()
[all …]
DGrRenderTargetContextPriv.h30 GrRenderTargetOpList* opList = fRenderTargetContext->getRTOpList(); in setLastClip()
40 GrRenderTargetOpList* opList = fRenderTargetContext->getRTOpList(); in mustRenderClip()
75 fRenderTargetContext->drawFilledQuad(
104 return fRenderTargetContext->fRenderTargetProxy->uniqueID(); in uniqueID()
115 return fRenderTargetContext->fRenderTargetProxy->refsWrappedObjects(); in refsWrappedObjects()
120 : fRenderTargetContext(renderTargetContext) {} in GrRenderTargetContextPriv()
128 GrRenderTargetContext* fRenderTargetContext; variable
DGrRenderTargetContext.cpp78 , fRenderTargetContext(renderTargetContext) in TextTarget()
82 fRenderTargetContext->addDrawOp(clip, std::move(op)); in addDrawOp()
87 GrBlurUtils::drawShapeWithMaskFilter(fRenderTargetContext->fContext, fRenderTargetContext, in drawShape()
93 auto context = fRenderTargetContext->fContext; in makeGrPaint()
94 const GrColorSpaceInfo& colorSpaceInfo = fRenderTargetContext->colorSpaceInfo(); in makeGrPaint()
103 return fRenderTargetContext->fContext; in getContext()
111 GrRenderTargetContext* fRenderTargetContext; member in GrRenderTargetContext::TextTarget
120 SkDEBUGCODE(GrSingleOwner::AutoEnforce debug_SingleOwner(fRenderTargetContext->singleOwner());)
122 #define RETURN_IF_ABANDONED_PRIV if (fRenderTargetContext->fContext->priv().abandoned()) { return…
124 #define RETURN_FALSE_IF_ABANDONED_PRIV if (fRenderTargetContext->fContext->priv().abandoned()) { r…
[all …]
DGrPathRenderer.cpp20 SkASSERT(fRenderTargetContext); in validate()
48 canArgs.fProxy = args.fRenderTargetContext->proxy(); in drawPath()
53 canArgs.fTargetIsWrappedVkSecondaryCB = args.fRenderTargetContext->wrapsVkSecondaryCB(); in drawPath()
112 args.fRenderTargetContext, in onStencilPath()
DGrPathRenderer.h115 GrRenderTargetContext* fRenderTargetContext; member
126 SkASSERT(fRenderTargetContext); in validate()
147 GrRenderTargetContext* fRenderTargetContext; member
DGrSoftwarePathRenderer.cpp239 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(), in onDrawPath()
258 if (!GetShapeAndClipBounds(args.fRenderTargetContext, in onDrawPath()
264 DrawAroundInvPath(args.fRenderTargetContext, std::move(args.fPaint), in onDrawPath()
279 int maxTextureSize = args.fRenderTargetContext->caps()->maxTextureSize(); in onDrawPath()
385 DrawAroundInvPath(args.fRenderTargetContext, GrPaint::Clone(args.fPaint), in onDrawPath()
390 std::move(proxy), args.fRenderTargetContext, std::move(args.fPaint), in onDrawPath()
DSkGpuDevice_drawTexture.cpp391 draw_texture_producer(fContext.get(), fRenderTargetContext.get(), this->clip(), ctm, in drawImageQuad()
409 draw_texture(fRenderTargetContext.get(), this->clip(), ctm, paint, src, dst, in drawImageQuad()
416 draw_texture_producer(fContext.get(), fRenderTargetContext.get(), this->clip(), ctm, in drawImageQuad()
443 draw_texture_producer(fContext.get(), fRenderTargetContext.get(), this->clip(), ctm, in drawImageQuad()
450 draw_texture_producer(fContext.get(), fRenderTargetContext.get(), this->clip(), ctm, in drawImageQuad()
493 fRenderTargetContext->colorSpaceInfo().colorSpace(), kPremul_SkAlphaType); in drawEdgeAAImageSet()
494 fRenderTargetContext->drawTextureSet(this->clip(), textures.get() + base, n, in drawEdgeAAImageSet()
591 draw_texture_producer(fContext.get(), fRenderTargetContext.get(), this->clip(), viewMatrix, in drawTextureProducer()
DGrProcessorUnitTest.h56 , fRenderTargetContext(renderTargetContext) in GrProcessorTestData()
63 const GrRenderTargetContext* fRenderTargetContext; member
DSkGpuDevice.h136 sk_sp<GrRenderTargetContext> fRenderTargetContext; variable
DGrReducedClip.cpp928 args.fRenderTargetContext = renderTargetContext; in drawStencilClipMask()
/third_party/flutter/skia/src/gpu/ops/
DGrStencilAndCoverPathRenderer.cpp78 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(), in onStencilPath()
81 args.fRenderTargetContext->priv().stencilPath( in onStencilPath()
86 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(), in onDrawPath()
102 SkRect devBounds = SkRect::MakeIWH(args.fRenderTargetContext->width(), in onDrawPath()
103 args.fRenderTargetContext->height()); // Inverse fill. in onDrawPath()
108 args.fContext, args.fRenderTargetContext, doStencilMSAA, true, &appliedClip, in onDrawPath()
122 args.fRenderTargetContext->priv().stencilPath( in onDrawPath()
159 args.fRenderTargetContext->priv().stencilRect( in onDrawPath()
166 args.fRenderTargetContext->addDrawOp(*args.fClip, std::move(op)); in onDrawPath()
DGrDashLinePathRenderer.cpp32 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(), in onDrawPath()
56 args.fRenderTargetContext->addDrawOp(*args.fClip, std::move(op)); in onDrawPath()
DGrTessellatingPathRenderer.cpp399 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(), in onDrawPath()
402 args.fClip->getConservativeBounds(args.fRenderTargetContext->width(), in onDrawPath()
403 args.fRenderTargetContext->height(), in onDrawPath()
408 args.fRenderTargetContext->addDrawOp(*args.fClip, std::move(op)); in onDrawPath()
DGrAALinearizingConvexPathRenderer.cpp339 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(), in onDrawPath()
341 SkASSERT(args.fRenderTargetContext->numSamples() <= 1); in onDrawPath()
356 args.fRenderTargetContext->addDrawOp(*args.fClip, std::move(op)); in onDrawPath()
DGrDefaultPathRenderer.cpp662 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(), in onDrawPath()
667 args.fRenderTargetContext, std::move(args.fPaint), aaType, *args.fUserStencilSettings, in onDrawPath()
672 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(), in onStencilPath()
682 args.fRenderTargetContext, std::move(paint), aaType, GrUserStencilSettings::kUnused, in onStencilPath()
DGrAAHairLinePathRenderer.cpp1075 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(), in onDrawPath()
1077 SkASSERT(args.fRenderTargetContext->numSamples() <= 1); in onDrawPath()
1080 args.fClip->getConservativeBounds(args.fRenderTargetContext->width(), in onDrawPath()
1081 args.fRenderTargetContext->height(), in onDrawPath()
1088 args.fRenderTargetContext->addDrawOp(*args.fClip, std::move(op)); in onDrawPath()
DGrAAConvexPathRenderer.cpp845 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(), in onDrawPath()
847 SkASSERT(args.fRenderTargetContext->numSamples() <= 1); in onDrawPath()
856 args.fRenderTargetContext->addDrawOp(*args.fClip, std::move(op)); in onDrawPath()
DGrSmallPathRenderer.cpp895 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(), in onDrawPath()
922 args.fRenderTargetContext->addDrawOp(*args.fClip, std::move(op)); in onDrawPath()
/third_party/flutter/skia/tools/gpu/
DGrTest.cpp60 SkDEBUGCODE(GrSingleOwner::AutoEnforce debug_SingleOwner(fRenderTargetContext->singleOwner());)
64 return fRenderTargetContext->getOpList()->uniqueID(); in testingOnly_getOpListID()
76 if (fRenderTargetContext->fContext->priv().abandoned()) { in testingOnly_addDrawOp()
77 fRenderTargetContext->fContext->priv().opMemoryPool()->release(std::move(op)); in testingOnly_addDrawOp()
80 SkDEBUGCODE(fRenderTargetContext->validate()); in testingOnly_addDrawOp()
81 GR_AUDIT_TRAIL_AUTO_FRAME(fRenderTargetContext->auditTrail(), in testingOnly_addDrawOp()
83 fRenderTargetContext->addDrawOp(clip, std::move(op), willAddFn); in testingOnly_addDrawOp()
/third_party/flutter/skia/src/core/
DSkSpecialSurface.cpp131 , fRenderTargetContext(std::move(renderTargetContext)) { in SkSpecialSurface_Gpu()
135 fRenderTargetContext, width, height, in SkSpecialSurface_Gpu()
151 if (!fRenderTargetContext->asTextureProxy()) { in onMakeImageSnapshot()
158 fRenderTargetContext->asTextureProxyRef(), in onMakeImageSnapshot()
159 fRenderTargetContext->colorSpaceInfo().refColorSpace(), in onMakeImageSnapshot()
161 fRenderTargetContext = nullptr; in onMakeImageSnapshot()
166 sk_sp<GrRenderTargetContext> fRenderTargetContext; member in SkSpecialSurface_Gpu
/third_party/flutter/skia/src/gpu/ccpr/
DGrCoverageCountingPathRenderer.cpp173 GrRenderTargetContext* rtc = args.fRenderTargetContext; in onDrawPath()
189 args.fRenderTargetContext->addDrawOp(*args.fClip, std::move(op), addToOwningPerOpListPaths); in recordOp()