Home
last modified time | relevance | path

Searched refs:srcView (Results 1 – 20 of 20) sorted by relevance

/third_party/skia/src/core/
DSkGpuBlurUtils.cpp69 GrSurfaceProxyView srcView, in convolve_gaussian_1d() argument
86 GrGaussianConvolutionFragmentProcessor::Make(std::move(srcView), in convolve_gaussian_1d()
100 GrSurfaceProxyView srcView, in convolve_gaussian_2d() argument
118 1, GrMipmapped::kNo, srcView.proxy()->isProtected(), srcView.origin()); in convolve_gaussian_2d()
134 auto conv = GrMatrixConvolutionEffect::Make(rContext, std::move(srcView), srcBounds, in convolve_gaussian_2d()
152 GrSurfaceProxyView srcView, in convolve_gaussian() argument
173 GrMipmapped::kNo, srcView.proxy()->isProtected(), srcView.origin()); in convolve_gaussian()
180 auto srcBackingBounds = SkIRect::MakeSize(srcView.proxy()->backingStoreDimensions()); in convolve_gaussian()
191 convolve_gaussian_1d(dstSDC.get(), std::move(srcView), srcBounds, in convolve_gaussian()
245 convolve_gaussian_1d(dstSDC.get(), srcView, srcBounds, rtcToSrcOffset, rect, in convolve_gaussian()
[all …]
DSkGpuBlurUtils.h53 GrSurfaceProxyView srcView,
DSkBlurMF.cpp69 GrSurfaceProxyView srcView,
1104 GrSurfaceProxyView srcView = sdc->readSurfaceView(); in fillin_view_on_gpu() local
1105 SkASSERT(srcView.asTextureProxy()); in fillin_view_on_gpu()
1107 std::move(srcView), in fillin_view_on_gpu()
1605 GrSurfaceProxyView srcView, in filterMaskGPU() argument
1618 auto srcBounds = SkIRect::MakeSize(srcView.proxy()->dimensions()); in filterMaskGPU()
1620 srcView, in filterMaskGPU()
1636 paint.setCoverageFragmentProcessor(GrTextureEffect::Make(std::move(srcView), srcAlphaType)); in filterMaskGPU()
DSkMaskFilterBase.h131 GrSurfaceProxyView srcView,
/third_party/skia/src/image/
DSkSurface_Gpu.cpp124 GrSurfaceProxyView srcView = fDevice->readSurfaceView(); in onNewImageSnapshot() local
128 if (subset || !srcView.asTextureProxy() || rtp->refsWrappedObjects()) { in onNewImageSnapshot()
134 if (!subset && srcView.asTextureProxy()) { in onNewImageSnapshot()
136 srcView, in onNewImageSnapshot()
139 auto rect = subset ? *subset : SkIRect::MakeSize(srcView.dimensions()); in onNewImageSnapshot()
140 GrMipmapped mipmapped = srcView.mipmapped(); in onNewImageSnapshot()
141 srcView = GrSurfaceProxyView::Copy(rContext, std::move(srcView), mipmapped, rect, in onNewImageSnapshot()
146 if (!srcView.asTextureProxy()) { in onNewImageSnapshot()
151 SkASSERT(srcView.proxy()->priv().isExact()); in onNewImageSnapshot()
154 std::move(srcView), in onNewImageSnapshot()
[all …]
/third_party/skia/tests/
DCopySurfaceTest.cpp82 auto srcView = sk_gpu_test::MakeTextureProxyViewFromData( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
90 if (!srcView || !dstView) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
100 if (!srcView || !dstView) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
112 result = dstContext->testCopy(srcView.refProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
118 std::move(srcView), srcRect, dstPoint); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DImageFilterCacheTest.cpp216 GrSurfaceProxyView srcView = create_proxy_view(dContext); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
217 if (!srcView.proxy()) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
221 if (!srcView.proxy()->instantiate(dContext->priv().resourceProvider())) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
224 GrTexture* tex = srcView.proxy()->peekTexture(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
257 GrSurfaceProxyView srcView = create_proxy_view(dContext); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
258 if (!srcView.proxy()) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
267 srcView, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
276 std::move(srcView), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DRectangleTextureTest.cpp107 auto srcView = sk_gpu_test::MakeTextureProxyViewFromData(dContext, in test_copy_to_surface() local
113 SkAssertResult(dstContext->testCopy(srcView.refProxy())); in test_copy_to_surface()
/third_party/skia/src/effects/imagefilters/
DSkMorphologyImageFilter.cpp438 GrSurfaceProxyView srcView = input->view(rContext); in apply_morphology() local
440 SkASSERT(srcView.asTextureProxy()); in apply_morphology()
444 GrSurfaceProxy* proxy = srcView.proxy(); in apply_morphology()
464 apply_morphology_pass(dstFillContext.get(), std::move(srcView), srcAlphaType, in apply_morphology()
472 srcView = dstFillContext->readSurfaceView(); in apply_morphology()
482 srcView.proxy()->isProtected(), in apply_morphology()
488 apply_morphology_pass(dstFillContext.get(), std::move(srcView), srcAlphaType, in apply_morphology()
491 srcView = dstFillContext->readSurfaceView(); in apply_morphology()
497 std::move(srcView), colorType, in apply_morphology()
DSkLightingImageFilter.cpp442 GrSurfaceProxyView srcView,
459 GrSurfaceProxyView srcView, in drawRect() argument
466 auto fp = this->makeFragmentProcessor(std::move(srcView), matrix, srcBounds, boundaryMode, in drawRect()
/third_party/skia/src/gpu/
DSurfaceContext.cpp824 GrSurfaceProxyView srcView = this->readSurfaceView(); in asyncRescaleAndReadPixelsYUV420() local
843 srcView = tempFC->readSurfaceView(); in asyncRescaleAndReadPixelsYUV420()
844 } else if (!srcView.asTextureProxy()) { in asyncRescaleAndReadPixelsYUV420()
845 srcView = GrSurfaceProxyView::Copy(fContext, in asyncRescaleAndReadPixelsYUV420()
846 std::move(srcView), in asyncRescaleAndReadPixelsYUV420()
851 if (!srcView) { in asyncRescaleAndReadPixelsYUV420()
856 SkASSERT(srcView.asTextureProxy()); in asyncRescaleAndReadPixelsYUV420()
896 auto yFP = GrTextureEffect::Make(srcView, this->colorInfo().alphaType(), texMatrix); in asyncRescaleAndReadPixelsYUV420()
918 auto uFP = GrTextureEffect::Make(srcView, in asyncRescaleAndReadPixelsYUV420()
941 auto vFP = GrTextureEffect::Make(std::move(srcView), in asyncRescaleAndReadPixelsYUV420()
/third_party/skia/src/gpu/effects/
DGrMatrixConvolutionEffect.h23 GrSurfaceProxyView srcView,
DGrMatrixConvolutionEffect.cpp326 GrSurfaceProxyView srcView, in Make() argument
341 auto child = GrTextureEffect::MakeSubset(std::move(srcView), kPremul_SkAlphaType, SkMatrix::I(), in Make()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DDepthStencilCopyTests.cpp171 wgpu::ImageCopyTexture srcView = in CreateInitializeDepthStencilTextureAndCopyT2T() local
176 commandEncoder.CopyTextureToTexture(&srcView, &dstView, &copySize); in CreateInitializeDepthStencilTextureAndCopyT2T()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DUtilsVk.h245 const vk::ImageView *srcView,
267 const vk::ImageView *srcView,
DTextureVk.cpp1101 const vk::ImageView *srcView, in copySubImageImplWithDraw() argument
1198 ANGLE_TRY(utilsVk.copyImage(contextVk, mImage, destView, srcImage, srcView, params)); in copySubImageImplWithDraw()
1232 srcView, params)); in copySubImageImplWithDraw()
1843 const vk::ImageView *srcView = nullptr; in generateMipmapsWithCompute() local
1849 &srcView)); in generateMipmapsWithCompute()
1882 contextVk, mImage, srcView, mImage, destLevelViews, sampler.get().get(), params)); in generateMipmapsWithCompute()
DTextureVk.h426 const vk::ImageView *srcView,
DUtilsVk.cpp2216 const vk::ImageView *srcView, in colorBlitResolve() argument
2228 return blitResolveImpl(contextVk, framebuffer, src, srcView, nullptr, nullptr, params); in colorBlitResolve()
2716 const vk::ImageView *srcView, in copyImage() argument
2865 imageInfo.imageView = srcView->getHandle(); in copyImage()
/third_party/skia/src/gpu/dawn/
DGrDawnGpu.cpp747 wgpu::TextureView srcView = src->texture().CreateView(&srcViewDesc); in onRegenerateMipMapLevels() local
765 bge[1].textureView = srcView; in onRegenerateMipMapLevels()
797 srcView = dstView; in onRegenerateMipMapLevels()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DResourceUsageTrackingTests.cpp1313 wgpu::ImageCopyTexture srcView = utils::CreateImageCopyTexture(texture0, 0, {0, 0, 0}); in TEST_F() local
1320 encoder.CopyTextureToTexture(&srcView, &dstView, &copySize); in TEST_F()
1337 encoder.CopyTextureToTexture(&srcView, &dstView, &copySize); in TEST_F()