/third_party/skia/src/gpu/effects/ |
D | GrGaussianConvolutionFragmentProcessor.cpp | 62 int width = SkGpuBlurUtils::LinearKernelWidth(ce.fRadius); in emitCode() 69 arrayCount = (SkGpuBlurUtils::LinearKernelWidth(kMaxKernelRadius) + 3) / 4; in emitCode() 128 int width = SkGpuBlurUtils::LinearKernelWidth(conv.fRadius); in onSetData() 153 bool is_zero_sigma = SkGpuBlurUtils::IsEffectivelyZeroSigma(gaussianSigma); in Make() 209 SkGpuBlurUtils::Compute1DLinearGaussianKernel(fKernel, fOffsets, gaussianSigma, fRadius); in GrGaussianConvolutionFragmentProcessor() 218 memcpy(fKernel, that.fKernel, SkGpuBlurUtils::LinearKernelWidth(fRadius) * sizeof(float)); in GrGaussianConvolutionFragmentProcessor() 219 memcpy(fOffsets, that.fOffsets, SkGpuBlurUtils::LinearKernelWidth(fRadius) * sizeof(float)); in GrGaussianConvolutionFragmentProcessor() 237 … std::equal(fKernel, fKernel + SkGpuBlurUtils::LinearKernelWidth(fRadius), that.fKernel) && in onIsEqual() 238 … std::equal(fOffsets, fOffsets + SkGpuBlurUtils::LinearKernelWidth(fRadius), that.fOffsets); in onIsEqual()
|
/third_party/skia/gm/ |
D | gpu_blur_utils.cpp | 31 auto resultSDC = SkGpuBlurUtils::GaussianBlur(ctx, in blur() 77 SkIPoint outset = {SkGpuBlurUtils::SigmaRadius(sigmaX), SkGpuBlurUtils::SigmaRadius(sigmaY)}; in slow_blur() 87 if (stepX > SkGpuBlurUtils::kMaxSigma) { in slow_blur() 88 stepX = SkGpuBlurUtils::kMaxSigma; in slow_blur() 91 sigmaX = sqrt(sigmaX*sigmaX - SkGpuBlurUtils::kMaxSigma*SkGpuBlurUtils::kMaxSigma); in slow_blur() 96 if (stepY > SkGpuBlurUtils::kMaxSigma) { in slow_blur() 97 stepY = SkGpuBlurUtils::kMaxSigma; in slow_blur() 98 sigmaY = sqrt(sigmaY*sigmaY- SkGpuBlurUtils::kMaxSigma*SkGpuBlurUtils::kMaxSigma); in slow_blur() 103 auto sdc = SkGpuBlurUtils::GaussianBlur(rContext, in slow_blur()
|
/third_party/skia/src/core/ |
D | SkBlurMF.cpp | 832 if (SkGpuBlurUtils::IsEffectivelyZeroSigma(sigma)) { in make_circle_blur() 870 SkASSERT(!SkGpuBlurUtils::IsEffectivelyZeroSigma(sixSigma / 6.f)); in make_rect_integral_fp() 873 int width = SkGpuBlurUtils::CreateIntegralTable(sixSigma, nullptr); in make_rect_integral_fp() 892 if (!SkGpuBlurUtils::CreateIntegralTable(sixSigma, &bitmap)) { in make_rect_integral_fp() 916 if (SkGpuBlurUtils::IsEffectivelyZeroSigma(transformedSigma)) { in make_rect_blur() 1046 SkASSERT(!SkGpuBlurUtils::IsEffectivelyZeroSigma(xformedSigma)); in make_blurred_rrect_key() 1072 SkASSERT(!SkGpuBlurUtils::IsEffectivelyZeroSigma(xformedSigma)); in fillin_view_on_gpu() 1105 auto rtc2 = SkGpuBlurUtils::GaussianBlur(dContext, in fillin_view_on_gpu() 1185 SkASSERT(!SkGpuBlurUtils::IsEffectivelyZeroSigma(xformedSigma)); in create_mask_on_cpu() 1186 int radius = SkGpuBlurUtils::SigmaRadius(xformedSigma); in create_mask_on_cpu() [all …]
|
D | SkGpuBlurUtils.cpp | 35 SkASSERT(!SkGpuBlurUtils::IsEffectivelyZeroSigma(sigmaX) && in fill_in_2D_gaussian_kernel() 36 !SkGpuBlurUtils::IsEffectivelyZeroSigma(sigmaY)); in fill_in_2D_gaussian_kernel() 78 SkASSERT(radius && !SkGpuBlurUtils::IsEffectivelyZeroSigma(sigma)); in convolve_gaussian_1d() 112 SkASSERT(!SkGpuBlurUtils::IsEffectivelyZeroSigma(sigmaX) && in convolve_gaussian_2d() 113 !SkGpuBlurUtils::IsEffectivelyZeroSigma(sigmaY)); in convolve_gaussian_2d() 123 SkISize size = SkISize::Make(SkGpuBlurUtils::KernelWidth(radiusX), in convolve_gaussian_2d() 124 SkGpuBlurUtils::KernelWidth(radiusY)); in convolve_gaussian_2d() 163 using namespace SkGpuBlurUtils; in convolve_gaussian() 164 SkASSERT(radius > 0 && !SkGpuBlurUtils::IsEffectivelyZeroSigma(sigma)); in convolve_gaussian() 451 namespace SkGpuBlurUtils { namespace [all …]
|
D | SkGpuBlurUtils.h | 24 namespace SkGpuBlurUtils {
|
D | BUILD.bazel | 153 "SkGpuBlurUtils.cpp", 154 "SkGpuBlurUtils.h",
|
/third_party/skia/tests/ |
D | BlurTest.cpp | 443 SkScalar rectXs[SkGpuBlurUtils::kBlurRRectMaxDivisions], in DEF_TEST() 444 rectYs[SkGpuBlurUtils::kBlurRRectMaxDivisions]; in DEF_TEST() 445 SkScalar texXs[SkGpuBlurUtils::kBlurRRectMaxDivisions], in DEF_TEST() 446 texYs[SkGpuBlurUtils::kBlurRRectMaxDivisions]; in DEF_TEST() 455 ninePatchable = SkGpuBlurUtils::ComputeBlurredRRectParams(rr, rr, kBlurRad, kBlurRad, in DEF_TEST() 467 ninePatchable = SkGpuBlurUtils::ComputeBlurredRRectParams(rr, rr, kBlurRad, kBlurRad, in DEF_TEST() 484 ninePatchable = SkGpuBlurUtils::ComputeBlurredRRectParams(rr, rr, kBlurRad, kBlurRad, in DEF_TEST()
|
/third_party/flutter/skia/src/core/ |
D | SkGpuBlurUtils.h | 20 namespace SkGpuBlurUtils {
|
D | SkGpuBlurUtils.cpp | 477 namespace SkGpuBlurUtils { namespace
|
D | SkBlurMF.cpp | 882 SkGpuBlurUtils::GaussianBlur(context, in filterMaskGPU()
|
/third_party/flutter/skia/src/gpu/effects/ |
D | GrRRectBlurEffect.fp | 20 #include "src/core/SkGpuBlurUtils.h" 77 SkGpuBlurUtils::GaussianBlur(context,
|
/third_party/flutter/skia/src/gpu/effects/generated/ |
D | GrRRectBlurEffect.h | 78 SkGpuBlurUtils::GaussianBlur(context, in find_or_create_rrect_blur_mask()
|
/third_party/skia/src/effects/imagefilters/ |
D | SkBlurImageFilter.cpp | 964 if (SkGpuBlurUtils::IsEffectivelyZeroSigma(sigma.x()) && in gpuFilter() 965 SkGpuBlurUtils::IsEffectivelyZeroSigma(sigma.y())) { in gpuFilter() 982 auto sdc = SkGpuBlurUtils::GaussianBlur( in gpuFilter()
|
/third_party/flutter/skia/gn/ |
D | core.gni | 220 "$_src/core/SkGpuBlurUtils.cpp", 221 "$_src/core/SkGpuBlurUtils.h",
|
/third_party/skia/gn/ |
D | core.gni | 230 "$_src/core/SkGpuBlurUtils.cpp", 231 "$_src/core/SkGpuBlurUtils.h",
|
/third_party/flutter/skia/src/effects/imagefilters/ |
D | SkBlurImageFilter.cpp | 652 sk_sp<GrRenderTargetContext> renderTargetContext(SkGpuBlurUtils::GaussianBlur( in gpuFilter()
|
/third_party/flutter/build/skia/ohos/ |
D | BUILD.gn | 315 "$flutter_root/skia/src/core/SkGpuBlurUtils.cpp",
|
/third_party/flutter/build/skia/ |
D | BUILD.gn | 634 "$flutter_root/skia/src/core/SkGpuBlurUtils.cpp",
|
/third_party/flutter/engine/flutter/ci/licenses_golden/ |
D | licenses_skia | 3144 FILE: ../../../third_party/skia/src/core/SkGpuBlurUtils.cpp 3145 FILE: ../../../third_party/skia/src/core/SkGpuBlurUtils.h
|