Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DSkGpuDevice.cpp142 , 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()
[all …]
DGrRenderTargetContext.cpp45 SkDEBUGCODE(GrSingleOwner::AutoEnforce debug_SingleOwner(fRenderTargetContext->fSingleOwner);)
47 #define RETURN_IF_ABANDONED_PRIV if (fRenderTargetContext->drawingManager()->wasAbandoned()) { re…
49 #define RETURN_FALSE_IF_ABANDONED_PRIV if (fRenderTargetContext->drawingManager()->wasAbandoned())…
283 SkDEBUGCODE(fRenderTargetContext->validate();) in absClear()
284 GR_AUDIT_TRAIL_AUTO_FRAME(fRenderTargetContext->fAuditTrail, in absClear()
287 AutoCheckFlush acf(fRenderTargetContext->drawingManager()); in absClear()
289 SkIRect rtRect = SkIRect::MakeWH(fRenderTargetContext->fRenderTargetProxy->worstCaseWidth( in absClear()
290 *fRenderTargetContext->caps()), in absClear()
291 fRenderTargetContext->fRenderTargetProxy->worstCaseHeight( in absClear()
292 *fRenderTargetContext->caps())); in absClear()
[all …]
DGrRenderTargetContextPriv.h25 return fRenderTargetContext->getOpList()->instancedRendering(); in accessInstancedRendering()
31 GrRenderTargetOpList* opList = fRenderTargetContext->getOpList(); in setLastClip()
39 GrRenderTargetOpList* opList = fRenderTargetContext->getOpList(); in mustRenderClip()
102 return fRenderTargetContext->fRenderTargetProxy->uniqueID(); in uniqueID()
110 return fRenderTargetContext->fRenderTargetProxy->refsWrappedObjects(); in refsWrappedObjects()
115 : fRenderTargetContext(renderTargetContext) {} in GrRenderTargetContextPriv()
123 GrRenderTargetContext* fRenderTargetContext; variable
DGrPathRenderer.h130 GrRenderTargetContext* fRenderTargetContext; member
140 SkASSERT(fRenderTargetContext); in validate()
163 !args.fRenderTargetContext->isUnifiedMultisampled())); in drawPath()
165 !args.fRenderTargetContext->isStencilBufferMultisampled())); in drawPath()
187 GrRenderTargetContext* fRenderTargetContext; member
196 SkASSERT(fRenderTargetContext); in validate()
283 args.fRenderTargetContext, in onStencilPath()
DSkGpuDevice_drawTexture.cpp189 fRenderTargetContext->isUnifiedMultisampled())) { in drawTextureProducerImpl()
206 fRenderTargetContext->getColorSpace())); in drawTextureProducerImpl()
212 if (!SkPaintToGrPaintWithTexture(fContext.get(), fRenderTargetContext.get(), paint, viewMatrix, in drawTextureProducerImpl()
218 fRenderTargetContext->fillRectToRect(clip, std::move(grPaint), aa, viewMatrix, in drawTextureProducerImpl()
224 fRenderTargetContext->drawRect(clip, std::move(grPaint), aa, viewMatrix, clippedDstRect); in drawTextureProducerImpl()
235 fRenderTargetContext.get(), in drawTextureProducerImpl()
249 GrBlurUtils::drawPathWithMaskFilter(this->context(), fRenderTargetContext.get(), this->clip(), in drawTextureProducerImpl()
DGrSoftwarePathRenderer.cpp129 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(), in onDrawPath()
147 if (!get_shape_and_clip_bounds(args.fRenderTargetContext->width(), in onDrawPath()
148 args.fRenderTargetContext->height(), in onDrawPath()
154 DrawAroundInvPath(args.fRenderTargetContext, std::move(args.fPaint), in onDrawPath()
168 int maxTextureSize = args.fRenderTargetContext->caps()->maxTextureSize(); in onDrawPath()
224 DrawAroundInvPath(args.fRenderTargetContext, GrPaint(args.fPaint), in onDrawPath()
229 std::move(proxy), args.fRenderTargetContext, std::move(args.fPaint), in onDrawPath()
DSkGpuDevice.h131 sk_sp<GrRenderTargetContext> fRenderTargetContext; variable
DGrReducedClip.cpp791 args.fRenderTargetContext = renderTargetContext; in drawStencilClipMask()
/external/skia/src/gpu/ops/
DGrStencilAndCoverPathRenderer.cpp77 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(), in onStencilPath()
80 args.fRenderTargetContext->priv().stencilPath(*args.fClip, args.fAAType, in onStencilPath()
85 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(), in onDrawPath()
98 SkIntToScalar(args.fRenderTargetContext->width()), in onDrawPath()
99 SkIntToScalar(args.fRenderTargetContext->height())); in onDrawPath()
119 args.fRenderTargetContext->priv().stencilPath(*args.fClip, args.fAAType, viewMatrix, in onDrawPath()
144 args.fRenderTargetContext->addMeshDrawOp(pipelineBuilder, *args.fClip, in onDrawPath()
151 args.fRenderTargetContext->addDrawOp(*args.fClip, std::move(op)); in onDrawPath()
DGrDashLinePathRenderer.cpp31 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(), in onDrawPath()
58 args.fRenderTargetContext->addMeshDrawOp(pipelineBuilder, *args.fClip, std::move(op)); in onDrawPath()
DGrTessellatingPathRenderer.cpp355 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(), in onDrawPath()
358 args.fClip->getConservativeBounds(args.fRenderTargetContext->width(), in onDrawPath()
359 args.fRenderTargetContext->height(), in onDrawPath()
369 args.fRenderTargetContext->addMeshDrawOp(pipelineBuilder, *args.fClip, std::move(op)); in onDrawPath()
DGrDefaultPathRenderer.cpp585 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(), in onDrawPath()
587 return this->internalDrawPath(args.fRenderTargetContext, in onDrawPath()
598 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(), in onStencilPath()
605 this->internalDrawPath(args.fRenderTargetContext, std::move(paint), args.fAAType, in onStencilPath()
DGrAALinearizingConvexPathRenderer.cpp325 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(), in onDrawPath()
327 SkASSERT(!args.fRenderTargetContext->isUnifiedMultisampled()); in onDrawPath()
346 args.fRenderTargetContext->addMeshDrawOp(pipelineBuilder, *args.fClip, std::move(op)); in onDrawPath()
DGrAAHairLinePathRenderer.cpp939 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(), in onDrawPath()
941 SkASSERT(!args.fRenderTargetContext->isUnifiedMultisampled()); in onDrawPath()
944 args.fClip->getConservativeBounds(args.fRenderTargetContext->width(), in onDrawPath()
945 args.fRenderTargetContext->height(), in onDrawPath()
953 args.fRenderTargetContext->addMeshDrawOp(pipelineBuilder, *args.fClip, std::move(op)); in onDrawPath()
DGrMSAAPathRenderer.cpp680 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(), in onDrawPath()
689 return this->internalDrawPath(args.fRenderTargetContext, in onDrawPath()
700 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(), in onStencilPath()
708 this->internalDrawPath(args.fRenderTargetContext, std::move(paint), args.fAAType, in onStencilPath()
DGrAAConvexPathRenderer.cpp968 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(), in onDrawPath()
970 SkASSERT(!args.fRenderTargetContext->isUnifiedMultisampled()); in onDrawPath()
982 args.fRenderTargetContext->addMeshDrawOp(pipelineBuilder, *args.fClip, std::move(op)); in onDrawPath()
DGrSmallPathRenderer.cpp745 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(), in onDrawPath()
769 args.fRenderTargetContext->addMeshDrawOp(pipelineBuilder, *args.fClip, std::move(op)); in onDrawPath()
/external/skia/src/core/
DSkSpecialSurface.cpp121 , fRenderTargetContext(std::move(renderTargetContext)) { in SkSpecialSurface_Gpu()
123 sk_sp<SkBaseDevice> device(SkGpuDevice::Make(context, fRenderTargetContext, width, height, in SkSpecialSurface_Gpu()
139 if (!fRenderTargetContext->asTexture()) { in onMakeImageSnapshot()
146 fRenderTargetContext->asTextureProxyRef(), in onMakeImageSnapshot()
147 fRenderTargetContext->refColorSpace(), in onMakeImageSnapshot()
149 fRenderTargetContext = nullptr; in onMakeImageSnapshot()
154 sk_sp<GrRenderTargetContext> fRenderTargetContext; member in SkSpecialSurface_Gpu
/external/skia/tools/gpu/
DGrTest.cpp229 SkDEBUGCODE(GrSingleOwner::AutoEnforce debug_SingleOwner(fRenderTargetContext->fSingleOwner);)
237 if (fRenderTargetContext->drawingManager()->wasAbandoned()) { in testingOnly_addMeshDrawOp()
240 SkDEBUGCODE(fRenderTargetContext->validate();) in testingOnly_addMeshDrawOp()
241 GR_AUDIT_TRAIL_AUTO_FRAME(fRenderTargetContext->fAuditTrail, in testingOnly_addMeshDrawOp()
250 return fRenderTargetContext->addMeshDrawOp(pipelineBuilder, GrNoClip(), std::move(op)); in testingOnly_addMeshDrawOp()
/external/skia/include/gpu/
DGrProcessorUnitTest.h54 , fRenderTargetContext(renderTargetContext) in GrProcessorTestData()
60 const GrRenderTargetContext* fRenderTargetContext; member
/external/skia/src/gpu/effects/
DGrCoverageSetOpXP.cpp250 bool invertCoverage = !d->fRenderTargetContext->hasMixedSamples() && d->fRandom->nextBool(); in TestGet()