Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/gpu/ops/
DGrCopySurfaceOp.cpp17 GrSurfaceProxy* dstProxy, in Make() argument
21 SkASSERT(dstProxy); in Make()
26 if (!GrClipSrcRectAndDstPoint(dstProxy->isize(), srcProxy->isize(), srcRect, dstPoint, in Make()
30 if (GrPixelConfigIsCompressed(dstProxy->config())) { in Make()
36 return pool->allocate<GrCopySurfaceOp>(srcProxy, dstProxy, clippedSrcRect, clippedDstPoint); in Make()
DGrClearOp.cpp20 GrSurfaceProxy* dstProxy) { in Make() argument
21 const SkIRect rect = SkIRect::MakeWH(dstProxy->width(), dstProxy->height()); in Make()
28 return pool->allocate<GrClearOp>(clip, color, dstProxy); in Make()
DGrClearOp.h24 GrSurfaceProxy* dstProxy);
DGrMeshDrawOp.h155 virtual const GrXferProcessor::DstProxy& dstProxy() const = 0;
/third_party/flutter/skia/src/gpu/
DGrRenderTargetOpList.cpp125 GrAppliedClip* appliedClip, const DstProxy* dstProxy) in OpChain() argument
130 SkASSERT(dstProxy && dstProxy->proxy());
131 fDstProxy = *dstProxy;
236 List* list, GrProcessorSet::Analysis processorAnalysis, const DstProxy& dstProxy, in tryConcat() argument
242 SkASSERT(processorAnalysis.requiresDstTexture() == SkToBool(dstProxy.proxy())); in tryConcat()
255 (fProcessorAnalysis.requiresDstTexture() && fDstProxy != dstProxy)) { in tryConcat()
319 const DstProxy* dstProxy, const GrAppliedClip* appliedClip, const GrCaps& caps, in appendOp() argument
322 if (!dstProxy) { in appendOp()
323 dstProxy = &noDstProxy; in appendOp()
329 &chain, processorAnalysis, *dstProxy, appliedClip, opBounds, caps, pool, auditTrail)) { in appendOp()
[all …]
DGrRenderTargetOpList.h83 GrAppliedClip&& clip, const DstProxy& dstProxy, in addDrawOp() argument
92 if (dstProxy.proxy()) { in addDrawOp()
93 addDependency(dstProxy.proxy(), GrMipMapped::kNo); in addDrawOp()
97 &dstProxy, caps); in addDrawOp()
169 const DstProxy& dstProxy() const { return fDstProxy; } in dstProxy() function
DGrSurfaceContext.cpp248 GrSurfaceProxy* dstProxy = this->asSurfaceProxy(); in writePixels() local
249 if (!dstProxy->instantiate(direct->priv().resourceProvider())) { in writePixels()
253 GrSurface* dstSurface = dstProxy->peekSurface(); in writePixels()
281 (dstProxy->config() == kRGBA_8888_GrPixelConfig || in writePixels()
282 dstProxy->config() == kBGRA_8888_GrPixelConfig) && in writePixels()
300 desc.fConfig = dstProxy->config(); in writePixels()
302 format = dstProxy->backendFormat().makeTexture2D(); in writePixels()
315 this->asRenderTargetContext() ? kTopLeft_GrSurfaceOrigin : dstProxy->origin(); in writePixels()
374 dstProxy->backendFormat(), in writePixels()
376 bool flip = dstProxy->origin() == kBottomLeft_GrSurfaceOrigin; in writePixels()
[all …]
DGrOpFlushState.cpp44 pipelineArgs.fDstProxy = this->dstProxy(); in executeDrawsAndUploadsForMeshDrawOp()
92 GrDeferredTextureUploadWritePixelsFn wp = [this](GrTextureProxy* dstProxy, int left, int top, in doUpload()
95 GrSurface* dstSurface = dstProxy->peekSurface(); in doUpload()
DGrPipeline.h149 if (GrTextureProxy* dstProxy = this->dstTextureProxy(offset)) { variable
150 return dstProxy->peekTexture();
DGrOpFlushState.h103 const GrXferProcessor::DstProxy& dstProxy() const final { return fOpArgs->fDstProxy; } in dstProxy() function
DGrRenderTargetContext.cpp2341 GrXferProcessor::DstProxy dstProxy; in addDrawOp() local
2343 if (!this->setupDstProxy(this->asRenderTargetProxy(), clip, *op, &dstProxy)) { in addDrawOp()
2358 opList->addDrawOp(std::move(op), analysis, std::move(appliedClip), dstProxy, in addDrawOp()
2363 const GrOp& op, GrXferProcessor::DstProxy* dstProxy) { in setupDstProxy() argument
2375 dstProxy->setProxy(sk_ref_sp(texProxy)); in setupDstProxy()
2376 dstProxy->setOffset(0, 0); in setupDstProxy()
2428 dstProxy->setProxy(std::move(newProxy)); in setupDstProxy()
2429 dstProxy->setOffset(dstOffset); in setupDstProxy()
/third_party/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.cpp82 GrSurfaceProxy* dstProxy = this->target(0); in onExecute() local
83 if (!fSrc->isInstantiated() || !dstProxy->isInstantiated()) { in onExecute()
87 GrSurface* dstSurface = dstProxy->peekSurface(); in onExecute()
DGrPipeline.h148 if (GrTextureProxy* dstProxy = this->dstProxyView().asTextureProxy()) { in peekDstTexture() local
149 return dstProxy->peekTexture(); in peekDstTexture()
DSurfaceContext.cpp353 GrSurfaceProxy* dstProxy = this->asSurfaceProxy(); in internalWritePixels() local
355 if (dstProxy->framebufferOnly()) { in internalWritePixels()
359 if (!dstProxy->instantiate(dContext->priv().resourceProvider())) { in internalWritePixels()
363 GrSurface* dstSurface = dstProxy->peekSurface(); in internalWritePixels()
406 format = dstProxy->backendFormat().makeTexture2D(); in internalWritePixels()
481 dstProxy->backendFormat(), in internalWritePixels()
524 sk_ref_sp(dstProxy), in internalWritePixels()
533 dstProxy->asTextureProxy()->markMipmapsClean(); in internalWritePixels()
538 dContext->priv().flushSurface(dstProxy); in internalWritePixels()
DGrOpFlushState.cpp105 GrTextureProxy* dstProxy, in doUpload()
110 GrSurface* dstSurface = dstProxy->peekSurface(); in doUpload()
/third_party/skia/tests/
DMtlCopySurfaceTest.mm48 auto dstProxy = GrSurfaceProxy::Copy(context,
57 if (!dstProxy) {
/third_party/flutter/skia/tests/
DTestUtils.cpp78 sk_sp<GrTextureProxy> dstProxy = GrSurfaceProxy::Copy(context, proxy, GrMipMapped::kNo, in test_copy_from_surface() local
80 SkASSERT(dstProxy); in test_copy_from_surface()
83 std::move(dstProxy), colorType, kPremul_SkAlphaType); in test_copy_from_surface()