Home
last modified time | relevance | path

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

12

/external/skqp/src/core/
DSkGpuBlurUtils.cpp394 sk_sp<GrTextureProxy> srcProxy = srcRenderTargetContext->asTextureProxyRef(); in reexpand() local
395 if (!srcProxy) { in reexpand()
401 GrPixelConfig config = get_blur_config(srcProxy.get()); in reexpand()
403 GrBackendFormat format = srcProxy->backendFormat().makeTexture2D(); in reexpand()
413 srcProxy->origin()); in reexpand()
426 auto fp = GrTextureDomainEffect::Make(std::move(srcProxy), in reexpand()
434 paint.addColorTextureProcessor(std::move(srcProxy), SkMatrix::I(), in reexpand()
453 sk_sp<GrTextureProxy> srcProxy, in GaussianBlur() argument
464 const GrPixelConfig config = get_blur_config(srcProxy.get()); in GaussianBlur()
489 return convolve_gaussian_2d(context, std::move(srcProxy), srcBounds, srcOffset, in GaussianBlur()
[all …]
DSkMaskFilterBase.h126 sk_sp<GrTextureProxy> srcProxy,
DSkBlurMF.cpp65 sk_sp<GrTextureProxy> srcProxy,
872 sk_sp<GrTextureProxy> srcProxy, in filterMaskGPU() argument
886 srcProxy, in filterMaskGPU()
901 paint.addCoverageFragmentProcessor(GrSimpleTextureEffect::Make(std::move(srcProxy), in filterMaskGPU()
/external/skqp/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,
DGrRRectBlurEffect.h72 sk_sp<GrTextureProxy> srcProxy(rtc->asTextureProxyRef()); in find_or_create_rrect_blur_mask()
73 if (!srcProxy) { in find_or_create_rrect_blur_mask()
78 std::move(srcProxy), in find_or_create_rrect_blur_mask()
DGrMagnifierEffect.cpp85 GrSurfaceProxy& srcProxy = *_outer.textureSampler(0).proxy(); in onSetData() local
86 GrTexture& src = *srcProxy.peekTexture(); in onSetData()
110 if (srcProxy.origin() != kTopLeft_GrSurfaceOrigin) { in onSetData()
119 if (srcProxy.origin() != kTopLeft_GrSurfaceOrigin) { in onSetData()
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),
/external/skqp/src/gpu/ops/
DGrCopySurfaceOp.cpp68 GrSurfaceProxy* srcProxy, in Make() argument
72 SkASSERT(srcProxy); in Make()
76 if (!clip_src_rect_and_dst_point(dstProxy, srcProxy, srcRect, dstPoint, in Make()
86 return pool->allocate<GrCopySurfaceOp>(dstProxy, srcProxy, clippedSrcRect, clippedDstPoint); in Make()
/external/skqp/tests/
DImageFilterCacheTest.cpp212 sk_sp<GrTextureProxy> srcProxy(create_proxy(context->contextPriv().proxyProvider())); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
213 if (!srcProxy) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
217 if (!srcProxy->instantiate(context->contextPriv().resourceProvider())) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
220 GrTexture* tex = srcProxy->peekTexture(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
253 sk_sp<GrTextureProxy> srcProxy(create_proxy(context->contextPriv().proxyProvider())); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
254 if (!srcProxy) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
263 srcProxy, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
270 srcProxy, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/src/gpu/ccpr/
DGrCCPerFlushResources.h123 GrCCPathProcessor::DoEvenOddFill, sk_sp<GrTextureProxy> srcProxy);
149 CopyPathRange(sk_sp<GrTextureProxy> srcProxy, int count) in CopyPathRange()
150 : fSrcProxy(std::move(srcProxy)), fCount(count) {} in CopyPathRange()
DGrCCPerFlushResources.cpp75 auto srcProxy = fSrcProxy.get(); in onExecute() local
76 dynamicState.fPrimitiveProcessorTextures = &srcProxy; in onExecute()
79 GrCCPathProcessor pathProc(srcProxy); in onExecute()
87 CopyAtlasOp(sk_sp<const GrCCPerFlushResources> resources, sk_sp<GrTextureProxy> srcProxy, in CopyAtlasOp() argument
90 , fSrcProxy(srcProxy) in CopyAtlasOp()
249 sk_sp<GrTextureProxy> srcProxy) { in recordCopyPathInstance() argument
263 if (fCopyPathRanges[i].fSrcProxy == srcProxy) { in recordCopyPathInstance()
273 emplace_at_memcpy(&fCopyPathRanges, fCurrCopyAtlasRangesIdx, std::move(srcProxy), 1); in recordCopyPathInstance()
/external/skia/src/gpu/
DGrTransferFromRenderTask.h15 GrTransferFromRenderTask(sk_sp<GrSurfaceProxy> srcProxy, in GrTransferFromRenderTask() argument
22 , fSrcProxy(std::move(srcProxy)) in GrTransferFromRenderTask()
DGrSurfaceContext.cpp196 sk_sp<GrSurfaceProxy> srcProxy = this->asSurfaceProxyRef(); in readPixels() local
198 if (srcProxy->framebufferOnly()) { in readPixels()
203 if (!srcProxy->instantiate(dContext->priv().resourceProvider())) { in readPixels()
207 GrSurface* srcSurface = srcProxy->peekSurface(); in readPixels()
228 SkToBool(srcProxy->asTextureProxy()) && in readPixels()
286 std::move(srcProxy), in readPixels()
294 std::move(srcProxy), in readPixels()
316 this->colorInfo().colorType(), srcProxy->backendFormat(), dst.colorType()); in readPixels()
344 dContext->priv().flushSurface(srcProxy.get()); in readPixels()
DGrDrawingManager.h74 void newTransferFromRenderTask(sk_sp<GrSurfaceProxy> srcProxy, const SkIRect& srcRect,
DGrDrawingManager.cpp767 void GrDrawingManager::newTransferFromRenderTask(sk_sp<GrSurfaceProxy> srcProxy, in newTransferFromRenderTask() argument
778 srcProxy, srcRect, surfaceColorType, dstColorType, in newTransferFromRenderTask()
785 task->addDependency(this, srcProxy.get(), GrMipmapped::kNo, in newTransferFromRenderTask()
/external/skia/tests/
DMtlCopySurfaceTest.mm45 sk_sp<GrSurfaceProxy> srcProxy = proxyProvider->wrapBackendRenderTarget(backendRT, nullptr);
48 srcProxy,
62 GrSurface* src = srcProxy->peekSurface();
/external/skqp/src/gpu/
DGrContext.cpp604 GrSurfaceProxy* srcProxy = src->asSurfaceProxy(); in readSurfacePixels() local
605 GrSurface* srcSurface = srcProxy->peekSurface(); in readSurfacePixels()
616 if (!valid_pixel_conversion(dstColorType, srcProxy->config(), unpremul)) { in readSurfacePixels()
629 SkToBool(srcProxy->asTextureProxy()) && in readSurfacePixels()
630 (srcProxy->config() == kRGBA_8888_GrPixelConfig || in readSurfacePixels()
631 srcProxy->config() == kBGRA_8888_GrPixelConfig) && in readSurfacePixels()
639 desc.fConfig = canvas2DFastPath ? kRGBA_8888_GrPixelConfig : srcProxy->config(); in readSurfacePixels()
651 desc.fConfig = srcProxy->config(); in readSurfacePixels()
652 format = srcProxy->backendFormat().makeTexture2D(); in readSurfacePixels()
680 GrSimpleTextureEffect::Make(sk_ref_sp(srcProxy->asTextureProxy()), in readSurfacePixels()
[all …]
DGrSurfaceProxy.cpp378 GrSurfaceOrigin origin, GrSurfaceProxy* srcProxy) { in TestCopy() argument
379 SkASSERT(LazyState::kFully != srcProxy->lazyInstantiationState()); in TestCopy()
381 GrBackendFormat format = srcProxy->backendFormat().makeTexture2D(); in TestCopy()
392 if (!dstContext->copy(srcProxy)) { in TestCopy()
DSkGpuDevice.cpp1301 auto srcProxy = in snapBackImage() local
1304 if (!srcProxy) { in snapBackImage()
1310 SkIRect::MakeSize(srcProxy->isize()), in snapBackImage()
1312 srcProxy, in snapBackImage()
/external/skqp/src/image/
DSkSurface_Gpu.cpp100 sk_sp<GrTextureProxy> srcProxy = rtc->asTextureProxyRef(); in onNewImageSnapshot() local
103 srcProxy = GrSurfaceProxy::Copy(ctx, rtc->asSurfaceProxy(), rtc->mipMapped(), *subset, in onNewImageSnapshot()
105 } else if (!srcProxy || rtc->priv().refsWrappedObjects()) { in onNewImageSnapshot()
111 srcProxy = GrSurfaceProxy::Copy(ctx, rtc->asSurfaceProxy(), rtc->mipMapped(), in onNewImageSnapshot()
117 if (srcProxy) { in onNewImageSnapshot()
120 SkASSERT(srcProxy->priv().isExact()); in onNewImageSnapshot()
122 std::move(srcProxy), info.refColorSpace()); in onNewImageSnapshot()
/external/skia/src/image/
DSkSurface_Gpu.cpp297 sk_sp<GrTextureProxy> srcProxy = sdc->asTextureProxyRef(); in onDraw() local
298 if (!srcProxy) { in onDraw()
304 GrSurfaceProxyView view(std::move(srcProxy), sdc->origin(), sdc->readSwizzle()); in onDraw()
/external/skqp/include/private/
DGrSurfaceProxy.h408 GrSurfaceOrigin, GrSurfaceProxy* srcProxy);
/external/skqp/src/effects/imagefilters/
DSkLightingImageFilter.cpp425 sk_sp<GrTextureProxy> srcProxy,
438 sk_sp<GrTextureProxy> srcProxy, in drawRect() argument
447 auto fp = this->makeFragmentProcessor(std::move(srcProxy), matrix, srcBounds, boundaryMode); in drawRect()

12