/external/skia/src/gpu/ |
D | SkGpuDevice.cpp | 131 , 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 …]
|
D | GrRenderTargetContext.cpp | 71 , 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 …]
|
D | GrRenderTargetContextPriv.h | 30 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
|
D | GrPathRenderer.cpp | 20 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()
|
D | GrPathRenderer.h | 112 GrRenderTargetContext* fRenderTargetContext; member 123 SkASSERT(fRenderTargetContext); in validate() 144 GrRenderTargetContext* fRenderTargetContext; member
|
D | GrSoftwarePathRenderer.cpp | 243 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()
|
D | SkGpuDevice_drawTexture.cpp | 390 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()
|
D | GrProcessorUnitTest.h | 56 , fRenderTargetContext(renderTargetContext) in GrProcessorTestData() 63 const GrRenderTargetContext* fRenderTargetContext; member
|
/external/skqp/src/gpu/ |
D | SkGpuDevice.cpp | 136 , 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 …]
|
D | GrRenderTargetContext.cpp | 66 , 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 …]
|
D | GrRenderTargetContextPriv.h | 30 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
|
D | GrPathRenderer.cpp | 20 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()
|
D | SkGpuDevice_drawTexture.cpp | 152 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()
|
D | GrPathRenderer.h | 112 GrRenderTargetContext* fRenderTargetContext; member 123 SkASSERT(fRenderTargetContext); in validate() 144 GrRenderTargetContext* fRenderTargetContext; member
|
D | GrSoftwarePathRenderer.cpp | 240 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/ |
D | GrStencilAndCoverPathRenderer.cpp | 81 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()
|
D | GrDashLinePathRenderer.cpp | 35 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(), in onDrawPath() 59 args.fRenderTargetContext->addDrawOp(*args.fClip, std::move(op)); in onDrawPath()
|
D | GrTessellatingPathRenderer.cpp | 383 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/ |
D | GrStencilAndCoverPathRenderer.cpp | 81 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()
|
D | GrDashLinePathRenderer.cpp | 35 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(), in onDrawPath() 59 args.fRenderTargetContext->addDrawOp(*args.fClip, std::move(op)); in onDrawPath()
|
D | GrTessellatingPathRenderer.cpp | 387 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/ |
D | SkSpecialSurface.cpp | 129 , 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/ |
D | GrTest.cpp | 71 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/ |
D | SkSpecialSurface.cpp | 131 , 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/ |
D | GrTest.cpp | 230 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()
|