Home
last modified time | relevance | path

Searched refs:SkGpuBlurUtils (Results 1 – 19 of 19) sorted by relevance

/third_party/skia/src/gpu/effects/
DGrGaussianConvolutionFragmentProcessor.cpp62 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/
Dgpu_blur_utils.cpp31 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/
DSkBlurMF.cpp832 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 …]
DSkGpuBlurUtils.cpp35 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 …]
DSkGpuBlurUtils.h24 namespace SkGpuBlurUtils {
DBUILD.bazel153 "SkGpuBlurUtils.cpp",
154 "SkGpuBlurUtils.h",
/third_party/skia/tests/
DBlurTest.cpp443 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/
DSkGpuBlurUtils.h20 namespace SkGpuBlurUtils {
DSkGpuBlurUtils.cpp477 namespace SkGpuBlurUtils { namespace
DSkBlurMF.cpp882 SkGpuBlurUtils::GaussianBlur(context, in filterMaskGPU()
/third_party/flutter/skia/src/gpu/effects/
DGrRRectBlurEffect.fp20 #include "src/core/SkGpuBlurUtils.h"
77 SkGpuBlurUtils::GaussianBlur(context,
/third_party/flutter/skia/src/gpu/effects/generated/
DGrRRectBlurEffect.h78 SkGpuBlurUtils::GaussianBlur(context, in find_or_create_rrect_blur_mask()
/third_party/skia/src/effects/imagefilters/
DSkBlurImageFilter.cpp964 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/
Dcore.gni220 "$_src/core/SkGpuBlurUtils.cpp",
221 "$_src/core/SkGpuBlurUtils.h",
/third_party/skia/gn/
Dcore.gni230 "$_src/core/SkGpuBlurUtils.cpp",
231 "$_src/core/SkGpuBlurUtils.h",
/third_party/flutter/skia/src/effects/imagefilters/
DSkBlurImageFilter.cpp652 sk_sp<GrRenderTargetContext> renderTargetContext(SkGpuBlurUtils::GaussianBlur( in gpuFilter()
/third_party/flutter/build/skia/ohos/
DBUILD.gn315 "$flutter_root/skia/src/core/SkGpuBlurUtils.cpp",
/third_party/flutter/build/skia/
DBUILD.gn634 "$flutter_root/skia/src/core/SkGpuBlurUtils.cpp",
/third_party/flutter/engine/flutter/ci/licenses_golden/
Dlicenses_skia3144 FILE: ../../../third_party/skia/src/core/SkGpuBlurUtils.cpp
3145 FILE: ../../../third_party/skia/src/core/SkGpuBlurUtils.h