Home
last modified time | relevance | path

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

12

/external/skqp/src/gpu/
DSkGpuDevice.cpp136 , fRenderTargetContext(std::move(renderTargetContext)) in SkGpuDevice()
189 if (!GrPixelConfigToColorType(fRenderTargetContext->colorSpaceInfo().config(), &colorType)) { in filterTexture()
193 colorType, fRenderTargetContext->colorSpaceInfo().colorSpace()); in filterTexture()
213 return fRenderTargetContext->readPixels(rec.fInfo, rec.fPixels, rec.fRowBytes, rec.fX, rec.fY); in onReadPixels()
228 return fRenderTargetContext->writePixels(rec.fInfo, rec.fPixels, rec.fRowBytes, rec.fX, rec.fY); in onWritePixels()
238 return fRenderTargetContext.get(); in accessRenderTargetContext()
246 fRenderTargetContext->clear(&rect, SK_PMColor4fTRANSPARENT, in clearAll()
253 SkBudgeted budgeted = fRenderTargetContext->priv().isBudgeted(); in replaceRenderTargetContext()
261 fRenderTargetContext->numColorSamples(), in replaceRenderTargetContext()
262 fRenderTargetContext->origin(), in replaceRenderTargetContext()
[all …]
DGrRenderTargetContext.cpp66 , fRenderTargetContext(renderTargetContext) in TextTarget()
70 fRenderTargetContext->addDrawOp(clip, std::move(op)); in addDrawOp()
75 GrBlurUtils::drawShapeWithMaskFilter(fRenderTargetContext->fContext, fRenderTargetContext, in drawShape()
81 GrContext* context = fRenderTargetContext->fContext; in makeGrPaint()
82 const GrColorSpaceInfo& colorSpaceInfo = fRenderTargetContext->colorSpaceInfo(); in makeGrPaint()
91 return fRenderTargetContext->fContext; in getContext()
99 GrRenderTargetContext* fRenderTargetContext; member in GrRenderTargetContext::TextTarget
108 SkDEBUGCODE(GrSingleOwner::AutoEnforce debug_SingleOwner(fRenderTargetContext->singleOwner());)
110 #define RETURN_IF_ABANDONED_PRIV if (fRenderTargetContext->drawingManager()->wasAbandoned()) { re…
112 #define RETURN_FALSE_IF_ABANDONED_PRIV if (fRenderTargetContext->drawingManager()->wasAbandoned())…
[all …]
DGrRenderTargetContextPriv.h30 GrRenderTargetOpList* opList = fRenderTargetContext->getRTOpList(); in setLastClip()
40 GrRenderTargetOpList* opList = fRenderTargetContext->getRTOpList(); in mustRenderClip()
106 return fRenderTargetContext->fRenderTargetProxy->uniqueID(); in uniqueID()
117 return fRenderTargetContext->fRenderTargetProxy->refsWrappedObjects(); in refsWrappedObjects()
122 : fRenderTargetContext(renderTargetContext) {} in GrRenderTargetContextPriv()
130 GrRenderTargetContext* fRenderTargetContext; variable
DGrPathRenderer.cpp20 SkASSERT(fRenderTargetContext); in validate()
53 canArgs.fTargetIsWrappedVkSecondaryCB = args.fRenderTargetContext->wrapsVkSecondaryCB(); in drawPath()
58 GrFSAAType::kUnifiedMSAA != args.fRenderTargetContext->fsaaType())); in drawPath()
60 GrFSAAType::kMixedSamples != args.fRenderTargetContext->fsaaType())); in drawPath()
116 args.fRenderTargetContext, in onStencilPath()
DSkGpuDevice_drawTexture.cpp152 alphaType, colorSpace, this->clip(), fRenderTargetContext.get()); in drawPinnedTextureProxy()
177 fRenderTargetContext.get()); in drawTextureProducer()
275 fRenderTargetContext->fsaaType())) { in drawTextureProducerImpl()
292 SkColorSpace* rtColorSpace = fRenderTargetContext->colorSpaceInfo().colorSpace(); in drawTextureProducerImpl()
302 if (!SkPaintToGrPaintWithTexture(fContext.get(), fRenderTargetContext->colorSpaceInfo(), paint, in drawTextureProducerImpl()
309 fRenderTargetContext->fillRectToRect(this->clip(), std::move(grPaint), aa, viewMatrix, in drawTextureProducerImpl()
315 fRenderTargetContext->drawRect(this->clip(), std::move(grPaint), aa, viewMatrix, in drawTextureProducerImpl()
322 GrBlurUtils::drawShapeWithMaskFilter(this->context(), fRenderTargetContext.get(), this->clip(), in drawTextureProducerImpl()
DGrPathRenderer.h112 GrRenderTargetContext* fRenderTargetContext; member
123 SkASSERT(fRenderTargetContext); in validate()
144 GrRenderTargetContext* fRenderTargetContext; member
DGrSoftwarePathRenderer.cpp240 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(), in onDrawPath()
259 if (!GetShapeAndClipBounds(args.fRenderTargetContext, in onDrawPath()
265 DrawAroundInvPath(args.fRenderTargetContext, std::move(args.fPaint), in onDrawPath()
280 int maxTextureSize = args.fRenderTargetContext->caps()->maxTextureSize(); in onDrawPath()
381 DrawAroundInvPath(args.fRenderTargetContext, GrPaint::Clone(args.fPaint), in onDrawPath()
386 std::move(proxy), args.fRenderTargetContext, std::move(args.fPaint), in onDrawPath()
DGrProcessorUnitTest.h56 , fRenderTargetContext(renderTargetContext) in GrProcessorTestData()
63 const GrRenderTargetContext* fRenderTargetContext; member
/external/skqp/src/gpu/ops/
DGrStencilAndCoverPathRenderer.cpp81 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(), in onStencilPath()
84 args.fRenderTargetContext->priv().stencilPath(*args.fClip, args.fAAType, in onStencilPath()
89 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(), in onDrawPath()
104 SkRect devBounds = SkRect::MakeIWH(args.fRenderTargetContext->width(), in onDrawPath()
105 args.fRenderTargetContext->height()); // Inverse fill. in onDrawPath()
109 if (!args.fClip->apply(args.fContext, args.fRenderTargetContext, in onDrawPath()
123 args.fRenderTargetContext->priv().stencilPath(stencilClip, args.fAAType, viewMatrix, in onDrawPath()
167 args.fRenderTargetContext->addDrawOp(*args.fClip, std::move(op)); in onDrawPath()
173 args.fRenderTargetContext->addDrawOp(*args.fClip, std::move(op)); in onDrawPath()
DGrDashLinePathRenderer.cpp35 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(), in onDrawPath()
59 args.fRenderTargetContext->addDrawOp(*args.fClip, std::move(op)); in onDrawPath()
DGrTessellatingPathRenderer.cpp383 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(), in onDrawPath()
386 args.fClip->getConservativeBounds(args.fRenderTargetContext->width(), in onDrawPath()
387 args.fRenderTargetContext->height(), in onDrawPath()
396 args.fRenderTargetContext->addDrawOp(*args.fClip, std::move(op)); in onDrawPath()
DGrAALinearizingConvexPathRenderer.cpp334 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(), in onDrawPath()
336 SkASSERT(GrFSAAType::kUnifiedMSAA != args.fRenderTargetContext->fsaaType()); in onDrawPath()
351 args.fRenderTargetContext->addDrawOp(*args.fClip, std::move(op)); in onDrawPath()
DGrDefaultPathRenderer.cpp657 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(), in onDrawPath()
659 return this->internalDrawPath(args.fRenderTargetContext, in onDrawPath()
670 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(), in onStencilPath()
677 this->internalDrawPath(args.fRenderTargetContext, std::move(paint), args.fAAType, in onStencilPath()
DGrAAHairLinePathRenderer.cpp1067 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(), in onDrawPath()
1069 SkASSERT(GrFSAAType::kUnifiedMSAA != args.fRenderTargetContext->fsaaType()); in onDrawPath()
1072 args.fClip->getConservativeBounds(args.fRenderTargetContext->width(), in onDrawPath()
1073 args.fRenderTargetContext->height(), in onDrawPath()
1080 args.fRenderTargetContext->addDrawOp(*args.fClip, std::move(op)); in onDrawPath()
/external/skqp/src/core/
DSkSpecialSurface.cpp129 , fRenderTargetContext(std::move(renderTargetContext)) { in SkSpecialSurface_Gpu()
131 sk_sp<SkBaseDevice> device(SkGpuDevice::Make(context, fRenderTargetContext, width, height, in SkSpecialSurface_Gpu()
147 if (!fRenderTargetContext->asTextureProxy()) { in onMakeImageSnapshot()
154 fRenderTargetContext->asTextureProxyRef(), in onMakeImageSnapshot()
155 fRenderTargetContext->colorSpaceInfo().refColorSpace(), in onMakeImageSnapshot()
157 fRenderTargetContext = nullptr; in onMakeImageSnapshot()
162 sk_sp<GrRenderTargetContext> fRenderTargetContext; member in SkSpecialSurface_Gpu
/external/skia/src/gpu/ops/
DGrDashLinePathRenderer.cpp32 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(), in onDrawPath()
40 if (args.fRenderTargetContext->canUseDynamicMSAA()) { in onDrawPath()
62 args.fRenderTargetContext->addDrawOp(args.fClip, std::move(op)); in onDrawPath()
DGrDefaultPathRenderer.cpp719 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(), in onDrawPath()
724 args.fRenderTargetContext, std::move(args.fPaint), aaType, *args.fUserStencilSettings, in onDrawPath()
729 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(), in onStencilPath()
739 args.fRenderTargetContext, std::move(paint), aaType, GrUserStencilSettings::kUnused, in onStencilPath()
DGrAALinearizingConvexPathRenderer.cpp391 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(), in onDrawPath()
393 SkASSERT(args.fRenderTargetContext->numSamples() <= 1); in onDrawPath()
408 args.fRenderTargetContext->addDrawOp(args.fClip, std::move(op)); in onDrawPath()
/external/skia/src/gpu/
DGrPathRenderer.cpp21 SkASSERT(fRenderTargetContext); in validate()
49 canArgs.fProxy = args.fRenderTargetContext->asRenderTargetProxy(); in drawPath()
54 canArgs.fSurfaceProps = &args.fRenderTargetContext->surfaceProps(); in drawPath()
113 args.fRenderTargetContext, in onStencilPath()
DGrPathRenderer.h119 GrSurfaceDrawContext* fRenderTargetContext; member
130 SkASSERT(fRenderTargetContext); in validate()
150 GrSurfaceDrawContext* fRenderTargetContext; member
DGrSoftwarePathRenderer.cpp226 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(), in onDrawPath()
245 if (!GetShapeAndClipBounds(args.fRenderTargetContext, in onDrawPath()
251 DrawAroundInvPath(args.fRenderTargetContext, std::move(args.fPaint), in onDrawPath()
266 int maxTextureSize = args.fRenderTargetContext->caps()->maxTextureSize(); in onDrawPath()
320 GrSwizzle swizzle = args.fRenderTargetContext->caps()->getReadSwizzle( in onDrawPath()
386 DrawAroundInvPath(args.fRenderTargetContext, GrPaint::Clone(args.fPaint), in onDrawPath()
390 DrawToTargetWithShapeMask(std::move(view), args.fRenderTargetContext, std::move(args.fPaint), in onDrawPath()
/external/skqp/tools/gpu/
DGrTest.cpp230 SkDEBUGCODE(GrSingleOwner::AutoEnforce debug_SingleOwner(fRenderTargetContext->singleOwner());)
234 return fRenderTargetContext->getOpList()->uniqueID(); in testingOnly_getOpListID()
246 if (fRenderTargetContext->drawingManager()->wasAbandoned()) { in testingOnly_addDrawOp()
247 fRenderTargetContext->fContext->contextPriv().opMemoryPool()->release(std::move(op)); in testingOnly_addDrawOp()
250 SkDEBUGCODE(fRenderTargetContext->validate()); in testingOnly_addDrawOp()
251 GR_AUDIT_TRAIL_AUTO_FRAME(fRenderTargetContext->fAuditTrail, in testingOnly_addDrawOp()
253 fRenderTargetContext->addDrawOp(clip, std::move(op), willAddFn); in testingOnly_addDrawOp()
/external/skqp/src/gpu/ccpr/
DGrCoverageCountingPathRenderer.cpp140 GrRenderTargetContext* rtc = args.fRenderTargetContext; in onDrawPath()
156 args.fRenderTargetContext->addDrawOp(*args.fClip, std::move(op), addToOwningPerOpListPaths); in recordOp()
/external/skia/src/gpu/tessellate/
DGrTessellationPathRenderer.cpp248 GrSurfaceDrawContext* surfaceDrawContext = args.fRenderTargetContext; in onDrawPath()
359 GrSurfaceDrawContext* surfaceDrawContext = args.fRenderTargetContext; in onStencilPath()
/external/skqp/src/gpu/effects/
DGrCoverageSetOpXP.cpp231 bool isMixedSamples = GrFSAAType::kMixedSamples == d->fRenderTargetContext->fsaaType(); in TestGet()

12