Home
last modified time | relevance | path

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

12

/external/skia/src/gpu/
DSkGpuDevice.cpp131 , fRenderTargetContext(std::move(renderTargetContext)) in SkGpuDevice()
184 if (!GrPixelConfigToColorType(fRenderTargetContext->colorSpaceInfo().config(), &colorType)) { in filterTexture()
188 colorType, fRenderTargetContext->colorSpaceInfo().colorSpace()); in filterTexture()
208 return fRenderTargetContext->readPixels(rec.fInfo, rec.fPixels, rec.fRowBytes, rec.fX, rec.fY); in onReadPixels()
223 return fRenderTargetContext->writePixels(rec.fInfo, rec.fPixels, rec.fRowBytes, rec.fX, rec.fY); in onWritePixels()
233 return fRenderTargetContext.get(); in accessRenderTargetContext()
241 fRenderTargetContext->clear(&rect, SK_PMColor4fTRANSPARENT, in clearAll()
248 SkBudgeted budgeted = fRenderTargetContext->priv().isBudgeted(); in replaceRenderTargetContext()
256 fRenderTargetContext->numColorSamples(), in replaceRenderTargetContext()
257 fRenderTargetContext->origin(), in replaceRenderTargetContext()
[all …]
DGrRenderTargetContext.cpp71 , fRenderTargetContext(renderTargetContext) in TextTarget()
75 fRenderTargetContext->addDrawOp(clip, std::move(op)); in addDrawOp()
80 GrBlurUtils::drawShapeWithMaskFilter(fRenderTargetContext->fContext, fRenderTargetContext, in drawShape()
86 auto context = fRenderTargetContext->fContext; in makeGrPaint()
87 const GrColorSpaceInfo& colorSpaceInfo = fRenderTargetContext->colorSpaceInfo(); in makeGrPaint()
96 return fRenderTargetContext->fContext; in getContext()
104 GrRenderTargetContext* fRenderTargetContext; member in GrRenderTargetContext::TextTarget
113 SkDEBUGCODE(GrSingleOwner::AutoEnforce debug_SingleOwner(fRenderTargetContext->singleOwner());)
115 #define RETURN_IF_ABANDONED_PRIV if (fRenderTargetContext->fContext->priv().abandoned()) { return…
117 #define RETURN_FALSE_IF_ABANDONED_PRIV if (fRenderTargetContext->fContext->priv().abandoned()) { r…
[all …]
DGrRenderTargetContextPriv.h30 GrRenderTargetOpList* opList = fRenderTargetContext->getRTOpList(); in setLastClip()
40 GrRenderTargetOpList* opList = fRenderTargetContext->getRTOpList(); in mustRenderClip()
100 fRenderTargetContext->drawFilledRect(clip, std::move(paint), aa, m, rect, ss);
112 return fRenderTargetContext->fRenderTargetProxy->uniqueID(); in uniqueID()
123 return fRenderTargetContext->fRenderTargetProxy->refsWrappedObjects(); in refsWrappedObjects()
128 : fRenderTargetContext(renderTargetContext) {} in GrRenderTargetContextPriv()
136 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()
DGrPathRenderer.h112 GrRenderTargetContext* fRenderTargetContext; member
123 SkASSERT(fRenderTargetContext); in validate()
144 GrRenderTargetContext* fRenderTargetContext; member
DGrSoftwarePathRenderer.cpp243 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(), in onDrawPath()
262 if (!GetShapeAndClipBounds(args.fRenderTargetContext, in onDrawPath()
268 DrawAroundInvPath(args.fRenderTargetContext, std::move(args.fPaint), in onDrawPath()
283 int maxTextureSize = args.fRenderTargetContext->caps()->maxTextureSize(); in onDrawPath()
388 DrawAroundInvPath(args.fRenderTargetContext, GrPaint::Clone(args.fPaint), in onDrawPath()
393 std::move(proxy), args.fRenderTargetContext, std::move(args.fPaint), in onDrawPath()
DSkGpuDevice_drawTexture.cpp390 draw_texture_producer(fContext.get(), fRenderTargetContext.get(), this->clip(), ctm, in drawImageQuad()
408 draw_texture(fRenderTargetContext.get(), this->clip(), ctm, paint, src, dst, in drawImageQuad()
415 draw_texture_producer(fContext.get(), fRenderTargetContext.get(), this->clip(), ctm, in drawImageQuad()
442 draw_texture_producer(fContext.get(), fRenderTargetContext.get(), this->clip(), ctm, in drawImageQuad()
449 draw_texture_producer(fContext.get(), fRenderTargetContext.get(), this->clip(), ctm, in drawImageQuad()
499 fRenderTargetContext->colorSpaceInfo().colorSpace(), kPremul_SkAlphaType); in tmp_drawImageSetV3()
500 fRenderTargetContext->drawTextureSet(this->clip(), textures.get() + base, n, in tmp_drawImageSetV3()
595 draw_texture_producer(fContext.get(), fRenderTargetContext.get(), this->clip(), viewMatrix, in drawTextureProducer()
DGrProcessorUnitTest.h56 , fRenderTargetContext(renderTargetContext) in GrProcessorTestData()
63 const GrRenderTargetContext* fRenderTargetContext; member
/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()
/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()
/external/skia/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.cpp387 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(), in onDrawPath()
390 args.fClip->getConservativeBounds(args.fRenderTargetContext->width(), in onDrawPath()
391 args.fRenderTargetContext->height(), in onDrawPath()
400 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/tools/gpu/
DGrTest.cpp71 SkDEBUGCODE(GrSingleOwner::AutoEnforce debug_SingleOwner(fRenderTargetContext->singleOwner());)
75 return fRenderTargetContext->getOpList()->uniqueID(); in testingOnly_getOpListID()
87 if (fRenderTargetContext->fContext->priv().abandoned()) { in testingOnly_addDrawOp()
88 fRenderTargetContext->fContext->priv().opMemoryPool()->release(std::move(op)); in testingOnly_addDrawOp()
91 SkDEBUGCODE(fRenderTargetContext->validate()); in testingOnly_addDrawOp()
92 GR_AUDIT_TRAIL_AUTO_FRAME(fRenderTargetContext->auditTrail(), in testingOnly_addDrawOp()
94 fRenderTargetContext->addDrawOp(clip, std::move(op), willAddFn); in testingOnly_addDrawOp()
/external/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
/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()

12