Home
last modified time | relevance | path

Searched refs:dstProxy (Results 1 – 19 of 19) sorted by relevance

/external/skqp/src/gpu/ops/
DGrCopySurfaceOp.cpp67 GrSurfaceProxy* dstProxy, in Make() argument
71 SkASSERT(dstProxy); in Make()
76 if (!clip_src_rect_and_dst_point(dstProxy, srcProxy, srcRect, dstPoint, in Make()
80 if (GrPixelConfigIsCompressed(dstProxy->config())) { in Make()
86 return pool->allocate<GrCopySurfaceOp>(dstProxy, srcProxy, clippedSrcRect, clippedDstPoint); in Make()
DGrClearOp.cpp18 GrSurfaceProxy* dstProxy) { in Make() argument
19 const SkIRect rect = SkIRect::MakeWH(dstProxy->width(), dstProxy->height()); in Make()
26 return pool->allocate<GrClearOp>(clip, color, dstProxy); in Make()
DGrClearOp.h23 GrSurfaceProxy* dstProxy);
DGrMeshDrawOp.cpp104 pipelineArgs.fDstProxy = this->dstProxy(); in makePipeline()
DGrMeshDrawOp.h188 virtual const GrXferProcessor::DstProxy& dstProxy() const = 0;
DGrSimpleMeshDrawOpHelper.cpp129 args.fDstProxy = target->dstProxy(); in pipelineInitArgs()
/external/skqp/src/gpu/
DGrRenderTargetOpList.cpp120 GrAppliedClip* appliedClip, const DstProxy* dstProxy) in OpChain() argument
125 SkASSERT(dstProxy && dstProxy->proxy());
126 fDstProxy = *dstProxy;
232 List* list, GrProcessorSet::Analysis processorAnalysis, const DstProxy& dstProxy, in tryConcat() argument
238 SkASSERT(processorAnalysis.requiresDstTexture() == SkToBool(dstProxy.proxy())); in tryConcat()
251 (fProcessorAnalysis.requiresDstTexture() && fDstProxy != dstProxy)) { in tryConcat()
315 const DstProxy* dstProxy, const GrAppliedClip* appliedClip, const GrCaps& caps, in appendOp() argument
318 if (!dstProxy) { in appendOp()
319 dstProxy = &noDstProxy; in appendOp()
325 &chain, processorAnalysis, *dstProxy, appliedClip, opBounds, caps, pool, auditTrail)) { in appendOp()
[all …]
DGrRenderTargetOpList.h76 GrAppliedClip&& clip, const DstProxy& dstProxy, const GrCaps& caps) { in addDrawOp() argument
83 if (dstProxy.proxy()) { in addDrawOp()
84 addDependency(dstProxy.proxy()); in addDrawOp()
88 &dstProxy, caps); in addDrawOp()
157 const DstProxy& dstProxy() const { return fDstProxy; } in dstProxy() function
DGrPipeline.h139 if (GrTextureProxy* dstProxy = this->dstTextureProxy(offset)) { variable
140 return dstProxy->peekTexture();
DGrContext.cpp416 GrSurfaceProxy* dstProxy = dst->asSurfaceProxy(); in writeSurfacePixels() local
417 GrSurface* dstSurface = dstProxy->peekSurface(); in writeSurfacePixels()
436 (dstProxy->config() == kRGBA_8888_GrPixelConfig || in writeSurfacePixels()
437 dstProxy->config() == kBGRA_8888_GrPixelConfig) && in writeSurfacePixels()
462 desc.fConfig = dstProxy->config(); in writeSurfacePixels()
463 format = dstProxy->backendFormat().makeTexture2D(); in writeSurfacePixels()
512 if (!valid_pixel_conversion(srcColorType, dstProxy->config(), premul)) { in writeSurfacePixels()
517 dstProxy->config(), srcColorType); in writeSurfacePixels()
553 if (dstProxy->origin() == kBottomLeft_GrSurfaceOrigin) { in writeSurfacePixels()
562 } else if (dstProxy->origin() == kBottomLeft_GrSurfaceOrigin) { in writeSurfacePixels()
DGrOpFlushState.cpp75 GrDeferredTextureUploadWritePixelsFn wp = [this](GrTextureProxy* dstProxy, int left, int top, in doUpload()
79 GrSurface* dstSurface = dstProxy->peekSurface(); in doUpload()
DGrOpFlushState.h101 const GrXferProcessor::DstProxy& dstProxy() const final { return fOpArgs->fDstProxy; } in dstProxy() function
DGrRenderTargetContext.cpp1975 GrXferProcessor::DstProxy dstProxy; in addDrawOp() local
1978 if (!this->setupDstProxy(this->asRenderTargetProxy(), clip, *op, &dstProxy)) { in addDrawOp()
1989 opList->addDrawOp(std::move(op), analysis, std::move(appliedClip), dstProxy, *this->caps()); in addDrawOp()
1994 GrXferProcessor::DstProxy* dstProxy) { in setupDstProxy() argument
2006 dstProxy->setProxy(sk_ref_sp(texProxy)); in setupDstProxy()
2007 dstProxy->setOffset(0, 0); in setupDstProxy()
2084 dstProxy->setProxy(sContext->asTextureProxyRef()); in setupDstProxy()
2085 dstProxy->setOffset(dstOffset); in setupDstProxy()
/external/skia/src/gpu/
DGrWritePixelsRenderTask.cpp58 GrSurfaceProxy* dstProxy = this->target(0); in onExecute() local
59 if (!dstProxy->isInstantiated()) { in onExecute()
62 GrSurface* dstSurface = dstProxy->peekSurface(); in onExecute()
DGrCopyRenderTask.cpp81 GrSurfaceProxy* dstProxy = this->target(0); in onExecute() local
82 if (!fSrc->isInstantiated() || !dstProxy->isInstantiated()) { in onExecute()
86 GrSurface* dstSurface = dstProxy->peekSurface(); in onExecute()
DGrPipeline.h154 if (GrTextureProxy* dstProxy = fDstProxyView.asTextureProxy()) { variable
155 return dstProxy->peekTexture();
DGrSurfaceContext.cpp448 GrSurfaceProxy* dstProxy = this->asSurfaceProxy(); in internalWritePixels() local
450 if (dstProxy->framebufferOnly()) { in internalWritePixels()
454 if (!dstProxy->instantiate(dContext->priv().resourceProvider())) { in internalWritePixels()
458 GrSurface* dstSurface = dstProxy->peekSurface(); in internalWritePixels()
495 format = dstProxy->backendFormat().makeTexture2D(); in internalWritePixels()
570 dstProxy->backendFormat(), in internalWritePixels()
613 sk_ref_sp(dstProxy), in internalWritePixels()
622 dstProxy->asTextureProxy()->markMipmapsClean(); in internalWritePixels()
627 dContext->priv().flushSurface(dstProxy); in internalWritePixels()
DGrOpFlushState.cpp103 GrTextureProxy* dstProxy, int left, int top, int width, int height, in doUpload()
105 GrSurface* dstSurface = dstProxy->peekSurface(); in doUpload()
/external/skia/tests/
DMtlCopySurfaceTest.mm47 auto dstProxy = GrSurfaceProxy::Copy(context,
56 if (!dstProxy) {