/third_party/skia/src/core/ |
H A D | SkGpuBlurUtils.cpp | 65 * Draws 'dstRect' into 'surfaceFillContext' evaluating a 1D Gaussian over 'srcView'. The src rect 69 GrSurfaceProxyView srcView, in convolve_gaussian_1d() 86 GrGaussianConvolutionFragmentProcessor::Make(std::move(srcView), in convolve_gaussian_1d() 100 GrSurfaceProxyView srcView, in convolve_gaussian_2d() 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() 141 // 'dstBounds' is actually in 'srcView' proxy space. It represents the blurred area from src in convolve_gaussian_2d() 152 GrSurfaceProxyView srcView, in convolve_gaussian() 165 // Logically we're creating an infinite blur of 'srcBounds' of 'srcView' wit in convolve_gaussian() 68 convolve_gaussian_1d(skgpu::SurfaceFillContext* sfc, GrSurfaceProxyView srcView, const SkIRect srcSubset, SkIVector dstToSrcOffset, const SkIRect& dstRect, SkAlphaType srcAlphaType, Direction direction, int radius, float sigma, SkTileMode mode) convolve_gaussian_1d() argument 98 convolve_gaussian_2d( GrRecordingContext* rContext, GrSurfaceProxyView srcView, GrColorType srcColorType, const SkIRect& srcBounds, const SkIRect& dstBounds, int radiusX, int radiusY, SkScalar sigmaX, SkScalar sigmaY, SkTileMode mode, sk_sp<SkColorSpace> finalCS, SkBackingFit dstFit) convolve_gaussian_2d() argument 150 convolve_gaussian( GrRecordingContext* rContext, GrSurfaceProxyView srcView, GrColorType srcColorType, SkAlphaType srcAlphaType, SkIRect srcBounds, SkIRect dstBounds, Direction direction, int radius, float sigma, SkTileMode mode, sk_sp<SkColorSpace> finalCS, SkBackingFit fit) convolve_gaussian() argument 310 GrSurfaceProxyView srcView = src->readSurfaceView(); reexpand() local 342 two_pass_gaussian( GrRecordingContext* rContext, GrSurfaceProxyView srcView, GrColorType srcColorType, SkAlphaType srcAlphaType, sk_sp<SkColorSpace> colorSpace, SkIRect srcBounds, SkIRect dstBounds, float sigmaX, float sigmaY, int radiusX, int radiusY, SkTileMode mode, SkBackingFit fit) two_pass_gaussian() argument 454 GaussianBlur(GrRecordingContext* rContext, GrSurfaceProxyView srcView, GrColorType srcColorType, SkAlphaType srcAlphaType, sk_sp<SkColorSpace> colorSpace, SkIRect dstBounds, SkIRect srcBounds, float sigmaX, float sigmaY, SkTileMode mode, SkBackingFit fit) GaussianBlur() argument [all...] |
H A D | SkSDFFilter.cpp | 123 GrSurfaceProxyView srcView, GrColorType srcColorType, const SkIRect& srcBounds, const SkIRect& dstBounds, in sdf_2d() 129 1, GrMipmapped::kNo, srcView.proxy()->isProtected(), srcView.origin()); in sdf_2d() 151 GrSurfaceProxyView srcView, GrColorType srcColorType, SkAlphaType srcAlphaType, in SDFBlur() 158 if (!srcView.asTextureProxy()) { in SDFBlur() 167 return sdf_2d(rContext, std::move(srcView), srcColorType, srcBounds, dstBounds, noxFormedSigma, mode, in SDFBlur() 122 sdf_2d(GrRecordingContext* rContext, GrSurfaceProxyView srcView, GrColorType srcColorType, const SkIRect& srcBounds, const SkIRect& dstBounds, float noxFormedSigma, SkTileMode mode, sk_sp<SkColorSpace> finalCS, SkBackingFit dstFit, const SkMatrix& viewMatrix, const SkRRect& srcRRect) sdf_2d() argument 150 SDFBlur(GrRecordingContext* rContext, GrSurfaceProxyView srcView, GrColorType srcColorType, SkAlphaType srcAlphaType, sk_sp<SkColorSpace> colorSpace, SkIRect dstBounds, SkIRect srcBounds, float noxFormedSigma, SkTileMode mode, const SkMatrix& viewMatrix, const SkRRect& srcRRect, SkBackingFit fit) SDFBlur() argument
|
H A D | SkMaskFilterBase.h | 132 GrSurfaceProxyView srcView, 141 GrSurfaceProxyView srcView, GrColorType srcColorType, SkAlphaType srcAlphaType, const SkMatrix& viewMatrix,
|
H A D | SkBlurMF.cpp | 71 GrSurfaceProxyView srcView, 79 GrSurfaceProxyView filterMaskGPUNoxFormed(GrRecordingContext*, GrSurfaceProxyView srcView, 1112 GrSurfaceProxyView srcView = sdc->readSurfaceView(); in fillin_view_on_gpu() local 1113 SkASSERT(srcView.asTextureProxy()); in fillin_view_on_gpu() 1115 std::move(srcView), in fillin_view_on_gpu() 1627 GrSurfaceProxyView srcView, in filterMaskGPU() 1640 auto srcBounds = SkIRect::MakeSize(srcView.proxy()->dimensions()); in filterMaskGPU() 1642 srcView, in filterMaskGPU() 1658 paint.setCoverageFragmentProcessor(GrTextureEffect::Make(std::move(srcView), srcAlphaType)); in filterMaskGPU() 1688 GrSurfaceProxyView srcView, GrColorTyp in filterMaskGPUNoxFormed() 1626 filterMaskGPU(GrRecordingContext* context, GrSurfaceProxyView srcView, GrColorType srcColorType, SkAlphaType srcAlphaType, const SkMatrix& ctm, const SkIRect& maskRect) const filterMaskGPU() argument 1687 filterMaskGPUNoxFormed(GrRecordingContext* context, GrSurfaceProxyView srcView, GrColorType srcColorType, SkAlphaType srcAlphaType, const SkMatrix& viewMatrix, const SkIRect& maskRect, const SkRRect& srcRRect) const filterMaskGPUNoxFormed() argument [all...] |
H A D | SkSDFFilter.h | 50 GrSurfaceProxyView srcView, GrColorType srcColorType, SkAlphaType srcAlphaType,
|
H A D | SkGpuBlurUtils.h | 33 * The GrSurfaceOrigin of the result will watch the GrSurfaceOrigin of srcView. The output 38 * @param srcView The source to be blurred. 53 GrSurfaceProxyView srcView,
|
/third_party/skia/src/image/ |
H A D | SkSurface_Gpu.cpp | 124 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 in onNewImageSnapshot() [all...] |
/third_party/skia/tests/ |
H A D | CopySurfaceTest.cpp | 82 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()
|
H A D | ImageFilterCacheTest.cpp | 216 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()
|
H A D | RectangleTextureTest.cpp | 107 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/ |
H A D | SkMorphologyImageFilter.cpp | 447 GrSurfaceProxyView srcView = input->view(rContext); in apply_morphology() local 449 SkASSERT(srcView.asTextureProxy()); in apply_morphology() 453 GrSurfaceProxy* proxy = srcView.proxy(); in apply_morphology() 473 apply_morphology_pass(dstFillContext.get(), std::move(srcView), srcAlphaType, in apply_morphology() 481 srcView = dstFillContext->readSurfaceView(); in apply_morphology() 491 srcView.proxy()->isProtected(), in apply_morphology() 497 apply_morphology_pass(dstFillContext.get(), std::move(srcView), srcAlphaType, in apply_morphology() 500 srcView = dstFillContext->readSurfaceView(); in apply_morphology() 506 std::move(srcView), colorType, in apply_morphology()
|
H A D | SkLightingImageFilter.cpp | 442 GrSurfaceProxyView srcView, 459 GrSurfaceProxyView srcView, in drawRect() 466 auto fp = this->makeFragmentProcessor(std::move(srcView), matrix, srcBounds, boundaryMode, in drawRect() 458 drawRect(skgpu::SurfaceFillContext* sfc, GrSurfaceProxyView srcView, const SkMatrix& matrix, const SkIRect& dstRect, BoundaryMode boundaryMode, const SkIRect* srcBounds, const SkIRect& bounds) const drawRect() argument
|
/third_party/skia/src/gpu/ |
H A D | SurfaceContext.cpp | 824 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() [all...] |
/third_party/skia/src/gpu/effects/ |
H A D | GrMatrixConvolutionEffect.h | 23 GrSurfaceProxyView srcView,
|
H A D | GrMatrixConvolutionEffect.cpp | 334 GrSurfaceProxyView srcView, in Make() 349 auto child = GrTextureEffect::MakeSubset(std::move(srcView), kPremul_SkAlphaType, SkMatrix::I(), in Make() 333 Make(GrRecordingContext* context, GrSurfaceProxyView srcView, const SkIRect& srcBounds, const SkISize& kernelSize, const SkScalar* kernel, SkScalar gain, SkScalar bias, const SkIPoint& kernelOffset, GrSamplerState::WrapMode wm, bool convolveAlpha, const GrCaps& caps) Make() argument
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | UtilsVk.h | 245 const vk::ImageView *srcView, 267 const vk::ImageView *srcView,
|
H A D | TextureVk.cpp | 1101 const vk::ImageView *srcView, in copySubImageImplWithDraw() 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() 1090 copySubImageImplWithDraw(ContextVk *contextVk, const gl::ImageIndex &index, const gl::Offset &dstOffset, const vk::Format &dstFormat, gl::LevelIndex sourceLevelGL, const gl::Box &sourceBox, bool isSrcFlipY, bool unpackFlipY, bool unpackPremultiplyAlpha, bool unpackUnmultiplyAlpha, vk::ImageHelper *srcImage, const vk::ImageView *srcView, SurfaceRotation srcFramebufferRotation) copySubImageImplWithDraw() argument
|
H A D | TextureVk.h | 426 const vk::ImageView *srcView,
|
H A D | UtilsVk.cpp | 2216 const vk::ImageView *srcView, in colorBlitResolve() 2228 return blitResolveImpl(contextVk, framebuffer, src, srcView, nullptr, nullptr, params); in colorBlitResolve() 2716 const vk::ImageView *srcView, in copyImage() 2865 imageInfo.imageView = srcView->getHandle(); in copyImage() 2213 colorBlitResolve(ContextVk *contextVk, FramebufferVk *framebuffer, vk::ImageHelper *src, const vk::ImageView *srcView, const BlitResolveParameters ¶ms) colorBlitResolve() argument 2712 copyImage(ContextVk *contextVk, vk::ImageHelper *dst, const vk::ImageView *destView, vk::ImageHelper *src, const vk::ImageView *srcView, const CopyImageParameters ¶ms) copyImage() argument
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
H A D | DepthStencilCopyTests.cpp | 171 wgpu::ImageCopyTexture srcView = in CreateInitializeDepthStencilTextureAndCopyT2T() local 176 commandEncoder.CopyTextureToTexture(&srcView, &dstView, ©Size); in CreateInitializeDepthStencilTextureAndCopyT2T()
|
/third_party/skia/src/gpu/dawn/ |
H A D | GrDawnGpu.cpp | 755 wgpu::TextureView srcView = src->texture().CreateView(&srcViewDesc); in onRegenerateMipMapLevels() local 773 bge[1].textureView = srcView; in onRegenerateMipMapLevels() 805 srcView = dstView; in onRegenerateMipMapLevels()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
H A D | ResourceUsageTrackingTests.cpp | 1313 wgpu::ImageCopyTexture srcView = utils::CreateImageCopyTexture(texture0, 0, {0, 0, 0}); in TEST_F() local 1320 encoder.CopyTextureToTexture(&srcView, &dstView, ©Size); in TEST_F() 1337 encoder.CopyTextureToTexture(&srcView, &dstView, ©Size); in TEST_F()
|