/third_party/flutter/skia/src/core/ |
D | SkGpuBlurUtils.cpp | 427 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 …]
|
D | SkMaskFilterBase.h | 126 sk_sp<GrTextureProxy> srcProxy,
|
D | SkBlurMF.cpp | 65 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()
|
D | SkMaskFilter.cpp | 344 sk_sp<GrTextureProxy> srcProxy, in filterMaskGPU() argument
|
/third_party/flutter/skia/src/gpu/ops/ |
D | GrCopySurfaceOp.cpp | 18 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/ |
D | GrMatrixConvolutionEffect.h | 19 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,
|
D | GrMatrixConvolutionEffect.cpp | 146 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()
|
D | GrMagnifierEffect.fp | 50 if (srcProxy.origin() != kTopLeft_GrSurfaceOrigin) { 59 if (srcProxy.origin() != kTopLeft_GrSurfaceOrigin) {
|
D | GrRRectBlurEffect.fp | 72 sk_sp<GrTextureProxy> srcProxy(rtc->asTextureProxyRef()); 73 if (!srcProxy) { 78 std::move(srcProxy),
|
/third_party/flutter/skia/tests/ |
D | ImageFilterCacheTest.cpp | 211 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/ |
D | GrCCPerFlushResources.cpp | 84 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()
|
D | GrCCPerFlushResources.h | 134 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/ |
D | GrSurfaceContext.cpp | 87 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 …]
|
D | SkGpuDevice.cpp | 1292 auto srcProxy = in snapBackImage() local 1295 if (!srcProxy) { in snapBackImage() 1301 SkIRect::MakeSize(srcProxy->isize()), in snapBackImage() 1303 srcProxy, in snapBackImage()
|
D | GrRenderTargetContext.cpp | 1787 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/ |
D | SkSurface_Gpu.cpp | 104 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/ |
D | GrRRectBlurEffect.h | 73 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()
|
D | GrMagnifierEffect.cpp | 84 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/ |
D | MtlCopySurfaceTest.mm | 46 sk_sp<GrSurfaceProxy> srcProxy = proxyProvider->wrapBackendRenderTarget(backendRT, nullptr); 49 srcProxy, 63 GrSurface* src = srcProxy->peekSurface();
|
/third_party/skia/src/gpu/ |
D | GrTransferFromRenderTask.h | 15 GrTransferFromRenderTask(sk_sp<GrSurfaceProxy> srcProxy, in GrTransferFromRenderTask() argument 22 , fSrcProxy(std::move(srcProxy)) in GrTransferFromRenderTask()
|
D | SurfaceContext.cpp | 93 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()
|
D | GrDrawingManager.cpp | 818 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()
|
D | GrDrawingManager.h | 84 void newTransferFromRenderTask(sk_sp<GrSurfaceProxy> srcProxy, const SkIRect& srcRect,
|
/third_party/skia/experimental/graphite/src/ |
D | Device.cpp | 99 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/ |
D | SkLightingImageFilter.cpp | 438 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()
|