Home
last modified time | relevance | path

Searched refs:SkGpuBlurUtils (Results 1 - 7 of 7) sorted by relevance

/third_party/skia/src/gpu/effects/
H A DGrGaussianConvolutionFragmentProcessor.cpp10 #include "src/core/SkGpuBlurUtils.h"
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);
153 bool is_zero_sigma = SkGpuBlurUtils::IsEffectivelyZeroSigma(gaussianSigma);
209 SkGpuBlurUtils::Compute1DLinearGaussianKernel(fKernel, fOffsets, gaussianSigma, fRadius);
218 memcpy(fKernel, that.fKernel, SkGpuBlurUtils::LinearKernelWidth(fRadius) * sizeof(float));
219 memcpy(fOffsets, that.fOffsets, SkGpuBlurUtils::LinearKernelWidth(fRadius) * sizeof(float));
244 std::equal(fKernel, fKernel + SkGpuBlurUtils::LinearKernelWidth(fRadius), that.fKernel) && in onIsEqual()
245 std::equal(fOffsets, fOffsets + SkGpuBlurUtils in onIsEqual()
[all...]
/third_party/skia/gm/
H A Dgpu_blur_utils.cpp13 #include "src/core/SkGpuBlurUtils.h"
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 in slow_blur()
[all...]
/third_party/skia/src/core/
H A DSkBlurMF.cpp15 #include "src/core/SkGpuBlurUtils.h"
840 if (SkGpuBlurUtils::IsEffectivelyZeroSigma(sigma)) { in make_circle_blur()
879 SkASSERT(!SkGpuBlurUtils::IsEffectivelyZeroSigma(sixSigma / 6.f)); in make_rect_integral_fp()
882 int width = SkGpuBlurUtils::CreateIntegralTable(sixSigma, nullptr); in make_rect_integral_fp()
901 if (!SkGpuBlurUtils::CreateIntegralTable(sixSigma, &bitmap)) { in make_rect_integral_fp()
925 if (SkGpuBlurUtils::IsEffectivelyZeroSigma(transformedSigma)) { in make_rect_blur()
1055 SkASSERT(!SkGpuBlurUtils::IsEffectivelyZeroSigma(xformedSigma)); in make_blurred_rrect_key()
1081 SkASSERT(!SkGpuBlurUtils::IsEffectivelyZeroSigma(xformedSigma)); in fillin_view_on_gpu()
1114 auto rtc2 = SkGpuBlurUtils::GaussianBlur(dContext, in fillin_view_on_gpu()
1194 SkASSERT(!SkGpuBlurUtils in create_mask_on_cpu()
[all...]
H A DSkGpuBlurUtils.cpp8 #include "src/core/SkGpuBlurUtils.h"
33 // SkGpuBlurUtils::GaussianBlur() should have detected the cases where a 2D blur in fill_in_2D_gaussian_kernel()
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()
451 namespace SkGpuBlurUtils { global() namespace
[all...]
H A DSkGpuBlurUtils.h24 namespace SkGpuBlurUtils { namespace
104 } // namespace SkGpuBlurUtils
/third_party/skia/tests/
H A DBlurTest.cpp34 #include "src/core/SkGpuBlurUtils.h"
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/skia/src/effects/imagefilters/
H A DSkBlurImageFilter.cpp19 #include "src/core/SkGpuBlurUtils.h"
964 if (SkGpuBlurUtils::IsEffectivelyZeroSigma(sigma.x()) && in gpuFilter()
965 SkGpuBlurUtils::IsEffectivelyZeroSigma(sigma.y())) { in gpuFilter()
982 auto sdc = SkGpuBlurUtils::GaussianBlur( in gpuFilter()

Completed in 8 milliseconds