Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/core/
DSkGpuBlurUtils.cpp427 sk_sp<GrTextureProxy> srcProxy = srcRenderTargetContext->asTextureProxyRef(); in reexpand() local
428 if (!srcProxy) { in reexpand()
435 GrColorType colorType = get_blur_color_type(srcProxy.get()); in reexpand()
440 srcProxy->origin()); in reexpand()
453 auto fp = GrTextureDomainEffect::Make(std::move(srcProxy), in reexpand()
461 paint.addColorTextureProcessor(std::move(srcProxy), SkMatrix::I(), in reexpand()
480 sk_sp<GrTextureProxy> srcProxy, in GaussianBlur() argument
517 return convolve_gaussian_2d(context, std::move(srcProxy), localSrcBounds, srcOffset, in GaussianBlur()
531 srcProxy = decimate(context, std::move(srcProxy), localProxyOffset, &srcOffset, in GaussianBlur()
535 if (!srcProxy) { in GaussianBlur()
[all …]
DSkMaskFilterBase.h126 sk_sp<GrTextureProxy> srcProxy,
DSkBlurMF.cpp65 sk_sp<GrTextureProxy> srcProxy,
869 sk_sp<GrTextureProxy> srcProxy, in filterMaskGPU() argument
883 srcProxy, in filterMaskGPU()
899 paint.addCoverageFragmentProcessor(GrSimpleTextureEffect::Make(std::move(srcProxy), in filterMaskGPU()
DSkMaskFilter.cpp344 sk_sp<GrTextureProxy> srcProxy, in filterMaskGPU() argument
/third_party/flutter/skia/src/gpu/ops/
DGrCopySurfaceOp.cpp18 GrSurfaceProxy* srcProxy, in Make() argument
22 SkASSERT(srcProxy); in Make()
26 if (!GrClipSrcRectAndDstPoint(dstProxy->isize(), srcProxy->isize(), srcRect, dstPoint, in Make()
36 return pool->allocate<GrCopySurfaceOp>(srcProxy, dstProxy, clippedSrcRect, clippedDstPoint); in Make()
/third_party/flutter/skia/src/gpu/effects/
DGrMatrixConvolutionEffect.h19 static std::unique_ptr<GrFragmentProcessor> Make(sk_sp<GrTextureProxy> srcProxy, in Make() argument
29 new GrMatrixConvolutionEffect(std::move(srcProxy), srcBounds, kernelSize, kernel, in Make()
33 static std::unique_ptr<GrFragmentProcessor> MakeGaussian(sk_sp<GrTextureProxy> srcProxy,
60 GrMatrixConvolutionEffect(sk_sp<GrTextureProxy> srcProxy,
DGrMatrixConvolutionEffect.cpp146 GrMatrixConvolutionEffect::GrMatrixConvolutionEffect(sk_sp<GrTextureProxy> srcProxy, in GrMatrixConvolutionEffect() argument
158 , fCoordTransform(srcProxy.get()) in GrMatrixConvolutionEffect()
159 , fDomain(srcProxy.get(), GrTextureDomain::MakeTexelDomain(srcBounds, tileMode), in GrMatrixConvolutionEffect()
161 , fTextureSampler(std::move(srcProxy)) in GrMatrixConvolutionEffect()
297 sk_sp<GrTextureProxy> srcProxy, in MakeGaussian() argument
312 new GrMatrixConvolutionEffect(std::move(srcProxy), srcBounds, kernelSize, kernel, in MakeGaussian()
DGrMagnifierEffect.fp50 if (srcProxy.origin() != kTopLeft_GrSurfaceOrigin) {
59 if (srcProxy.origin() != kTopLeft_GrSurfaceOrigin) {
DGrRRectBlurEffect.fp72 sk_sp<GrTextureProxy> srcProxy(rtc->asTextureProxyRef());
73 if (!srcProxy) {
78 std::move(srcProxy),
/third_party/flutter/skia/tests/
DImageFilterCacheTest.cpp211 sk_sp<GrTextureProxy> srcProxy(create_proxy(context->priv().proxyProvider())); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
212 if (!srcProxy) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
216 if (!srcProxy->instantiate(context->priv().resourceProvider())) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
219 GrTexture* tex = srcProxy->peekTexture(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
252 sk_sp<GrTextureProxy> srcProxy(create_proxy(context->priv().proxyProvider())); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
253 if (!srcProxy) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
262 srcProxy, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
269 srcProxy, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/third_party/flutter/skia/src/gpu/ccpr/
DGrCCPerFlushResources.cpp84 auto srcProxy = fSrcProxy.get(); in onExecute() local
85 SkASSERT(srcProxy->isInstantiated()); in onExecute()
89 GrCCPathProcessor pathProc(coverageMode, srcProxy->peekTexture(), in onExecute()
90 srcProxy->textureSwizzle(), srcProxy->origin()); in onExecute()
95 dynamicState.fPrimitiveProcessorTextures = &srcProxy; in onExecute()
104 CopyAtlasOp(sk_sp<const GrCCPerFlushResources> resources, sk_sp<GrTextureProxy> srcProxy, in CopyAtlasOp() argument
107 , fSrcProxy(srcProxy) in CopyAtlasOp()
284 sk_sp<GrTextureProxy> srcProxy) { in recordCopyPathInstance() argument
298 if (fCopyPathRanges[i].fSrcProxy == srcProxy) { in recordCopyPathInstance()
308 emplace_at_memcpy(&fCopyPathRanges, fCurrCopyAtlasRangesIdx, std::move(srcProxy), 1); in recordCopyPathInstance()
DGrCCPerFlushResources.h134 GrFillRule, sk_sp<GrTextureProxy> srcProxy);
165 CopyPathRange(sk_sp<GrTextureProxy> srcProxy, int count) in CopyPathRange()
166 : fSrcProxy(std::move(srcProxy)), fCount(count) {} in CopyPathRange()
/third_party/flutter/skia/src/gpu/
DGrSurfaceContext.cpp87 GrSurfaceProxy* srcProxy = this->asSurfaceProxy(); in readPixels() local
90 if (!srcProxy->instantiate(direct->priv().resourceProvider())) { in readPixels()
94 GrSurface* srcSurface = srcProxy->peekSurface(); in readPixels()
122 SkToBool(srcProxy->asTextureProxy()) && in readPixels()
123 (srcProxy->config() == kRGBA_8888_GrPixelConfig || in readPixels()
124 srcProxy->config() == kBGRA_8888_GrPixelConfig) && in readPixels()
149 GrSimpleTextureEffect::Make(sk_ref_sp(srcProxy->asTextureProxy()), in readPixels()
160 fp = GrSimpleTextureEffect::Make(sk_ref_sp(srcProxy->asTextureProxy()), SkMatrix::I()); in readPixels()
177 bool flip = srcProxy->origin() == kBottomLeft_GrSurfaceOrigin; in readPixels()
180 this->colorSpaceInfo().colorType(), srcProxy->backendFormat(), dstInfo.colorType()); in readPixels()
[all …]
DSkGpuDevice.cpp1292 auto srcProxy = in snapBackImage() local
1295 if (!srcProxy) { in snapBackImage()
1301 SkIRect::MakeSize(srcProxy->isize()), in snapBackImage()
1303 srcProxy, in snapBackImage()
DGrRenderTargetContext.cpp1787 auto srcProxy = rtc->asTextureProxyRef(); in asyncRescaleAndReadPixelsYUV420() local
1789 if (!srcProxy) { in asyncRescaleAndReadPixelsYUV420()
1854 yPaint.addColorTextureProcessor(srcProxy, texMatrix); in asyncRescaleAndReadPixelsYUV420()
1873 uPaint.addColorTextureProcessor(srcProxy, texMatrix, GrSamplerState::ClampBilerp()); in asyncRescaleAndReadPixelsYUV420()
1891 vPaint.addColorTextureProcessor(srcProxy, texMatrix, GrSamplerState::ClampBilerp()); in asyncRescaleAndReadPixelsYUV420()
/third_party/flutter/skia/src/image/
DSkSurface_Gpu.cpp104 sk_sp<GrTextureProxy> srcProxy = rtc->asTextureProxyRef(); in onNewImageSnapshot() local
107 srcProxy = GrSurfaceProxy::Copy(ctx, rtc->asSurfaceProxy(), rtc->mipMapped(), *subset, in onNewImageSnapshot()
109 } else if (!srcProxy || rtc->priv().refsWrappedObjects()) { in onNewImageSnapshot()
115 srcProxy = GrSurfaceProxy::Copy(ctx, rtc->asSurfaceProxy(), rtc->mipMapped(), in onNewImageSnapshot()
121 if (srcProxy) { in onNewImageSnapshot()
124 SkASSERT(srcProxy->priv().isExact()); in onNewImageSnapshot()
126 std::move(srcProxy), info.refColorSpace()); in onNewImageSnapshot()
242 sk_sp<GrTextureProxy> srcProxy = rtc->asTextureProxyRef(); in onDraw() local
243 if (!srcProxy) { in onDraw()
251 std::move(srcProxy), info.refColorSpace()); in onDraw()
/third_party/flutter/skia/src/gpu/effects/generated/
DGrRRectBlurEffect.h73 sk_sp<GrTextureProxy> srcProxy(rtc->asTextureProxyRef()); in find_or_create_rrect_blur_mask()
74 if (!srcProxy) { in find_or_create_rrect_blur_mask()
79 std::move(srcProxy), in find_or_create_rrect_blur_mask()
DGrMagnifierEffect.cpp84 GrSurfaceProxy& srcProxy = *_outer.textureSampler(0).proxy(); in onSetData() local
85 GrTexture& src = *srcProxy.peekTexture(); in onSetData()
109 if (srcProxy.origin() != kTopLeft_GrSurfaceOrigin) { in onSetData()
118 if (srcProxy.origin() != kTopLeft_GrSurfaceOrigin) { in onSetData()
/third_party/skia/tests/
DMtlCopySurfaceTest.mm46 sk_sp<GrSurfaceProxy> srcProxy = proxyProvider->wrapBackendRenderTarget(backendRT, nullptr);
49 srcProxy,
63 GrSurface* src = srcProxy->peekSurface();
/third_party/skia/src/gpu/
DGrTransferFromRenderTask.h15 GrTransferFromRenderTask(sk_sp<GrSurfaceProxy> srcProxy, in GrTransferFromRenderTask() argument
22 , fSrcProxy(std::move(srcProxy)) in GrTransferFromRenderTask()
DSurfaceContext.cpp93 sk_sp<GrSurfaceProxy> srcProxy = this->asSurfaceProxyRef(); in readPixels() local
95 if (srcProxy->framebufferOnly()) { in readPixels()
100 if (!srcProxy->instantiate(dContext->priv().resourceProvider())) { in readPixels()
104 GrSurface* srcSurface = srcProxy->peekSurface(); in readPixels()
125 SkToBool(srcProxy->asTextureProxy()) && in readPixels()
188 std::move(srcProxy), in readPixels()
196 std::move(srcProxy), in readPixels()
218 this->colorInfo().colorType(), srcProxy->backendFormat(), dst.colorType()); in readPixels()
246 dContext->priv().flushSurface(srcProxy.get()); in readPixels()
DGrDrawingManager.cpp818 void GrDrawingManager::newTransferFromRenderTask(sk_sp<GrSurfaceProxy> srcProxy, in newTransferFromRenderTask() argument
829 srcProxy, srcRect, surfaceColorType, dstColorType, in newTransferFromRenderTask()
836 task->addDependency(this, srcProxy.get(), GrMipmapped::kNo, in newTransferFromRenderTask()
DGrDrawingManager.h84 void newTransferFromRenderTask(sk_sp<GrSurfaceProxy> srcProxy, const SkIRect& srcRect,
/third_party/skia/experimental/graphite/src/
DDevice.cpp99 TextureProxy* srcProxy = fDC->target(); in onReadPixels() local
100 if(!srcProxy->instantiate(resourceProvider)) { in onReadPixels()
103 sk_sp<Texture> srcTexture = srcProxy->refTexture(); in onReadPixels()
/third_party/flutter/skia/src/effects/imagefilters/
DSkLightingImageFilter.cpp438 sk_sp<GrTextureProxy> srcProxy,
455 sk_sp<GrTextureProxy> srcProxy, in drawRect() argument
464 auto fp = this->makeFragmentProcessor(std::move(srcProxy), matrix, srcBounds, boundaryMode); in drawRect()