/external/skia/src/gpu/effects/ |
D | GrGaussianConvolutionFragmentProcessor.cpp | 68 int width = SkGpuBlurUtils::LinearKernelWidth(ce.fRadius); in emitCode() 75 arrayCount = (SkGpuBlurUtils::LinearKernelWidth(kMaxKernelRadius) + 3) / 4; in emitCode() 134 int width = SkGpuBlurUtils::LinearKernelWidth(conv.fRadius); in onSetData() 168 bool is_zero_sigma = SkGpuBlurUtils::IsEffectivelyZeroSigma(gaussianSigma); in Make() 224 SkGpuBlurUtils::Compute1DLinearGaussianKernel(fKernel, fOffsets, gaussianSigma, fRadius); in GrGaussianConvolutionFragmentProcessor() 234 memcpy(fKernel, that.fKernel, SkGpuBlurUtils::LinearKernelWidth(fRadius) * sizeof(float)); in GrGaussianConvolutionFragmentProcessor() 235 memcpy(fOffsets, that.fOffsets, SkGpuBlurUtils::LinearKernelWidth(fRadius) * sizeof(float)); in GrGaussianConvolutionFragmentProcessor() 252 … std::equal(fKernel, fKernel + SkGpuBlurUtils::LinearKernelWidth(fRadius), that.fKernel) && in onIsEqual() 253 … std::equal(fOffsets, fOffsets + SkGpuBlurUtils::LinearKernelWidth(fRadius), that.fOffsets); in onIsEqual()
|
D | GrRRectBlurEffect.fp | 39 #include "src/core/SkGpuBlurUtils.h" 57 SkASSERT(!SkGpuBlurUtils::IsEffectivelyZeroSigma(xformedSigma)); 82 SkASSERT(!SkGpuBlurUtils::IsEffectivelyZeroSigma(xformedSigma)); 104 auto rtc2 = SkGpuBlurUtils::GaussianBlur(dContext, 177 SkASSERT(!SkGpuBlurUtils::IsEffectivelyZeroSigma(xformedSigma)); 178 int radius = SkGpuBlurUtils::SigmaRadius(xformedSigma); 193 SkGpuBlurUtils::Compute1DGaussianKernel(kernel.get(), xformedSigma, radius); 196 if (!SkGpuBlurUtils::CreateIntegralTable(6*xformedSigma, &integral)) { 251 SkASSERT(!SkGpuBlurUtils::IsEffectivelyZeroSigma(xformedSigma)); 333 if (SkGpuBlurUtils::IsEffectivelyZeroSigma(xformedSigma)) { [all …]
|
D | GrRectBlurEffect.fp | 14 #include "src/core/SkGpuBlurUtils.h" 56 SkASSERT(!SkGpuBlurUtils::IsEffectivelyZeroSigma(sixSigma / 6.f)); 59 int width = SkGpuBlurUtils::CreateIntegralTable(sixSigma, nullptr); 78 if (!SkGpuBlurUtils::CreateIntegralTable(sixSigma, &bitmap)) { 105 if (SkGpuBlurUtils::IsEffectivelyZeroSigma(transformedSigma)) {
|
D | GrCircleBlurFragmentProcessor.fp | 41 #include "src/core/SkGpuBlurUtils.h" 284 if (SkGpuBlurUtils::IsEffectivelyZeroSigma(sigma)) {
|
/external/skia/gm/ |
D | gpu_blur_utils.cpp | 26 auto resultSDC = SkGpuBlurUtils::GaussianBlur(ctx, in blur() 72 SkIPoint outset = {SkGpuBlurUtils::SigmaRadius(sigmaX), SkGpuBlurUtils::SigmaRadius(sigmaY)}; in slow_blur() 82 if (stepX > SkGpuBlurUtils::kMaxSigma) { in slow_blur() 83 stepX = SkGpuBlurUtils::kMaxSigma; in slow_blur() 86 sigmaX = sqrt(sigmaX*sigmaX - SkGpuBlurUtils::kMaxSigma*SkGpuBlurUtils::kMaxSigma); in slow_blur() 91 if (stepY > SkGpuBlurUtils::kMaxSigma) { in slow_blur() 92 stepY = SkGpuBlurUtils::kMaxSigma; in slow_blur() 93 sigmaY = sqrt(sigmaY*sigmaY- SkGpuBlurUtils::kMaxSigma*SkGpuBlurUtils::kMaxSigma); in slow_blur() 98 auto sdc = SkGpuBlurUtils::GaussianBlur(ctx, in slow_blur()
|
/external/skia/src/gpu/effects/generated/ |
D | GrRRectBlurEffect.cpp | 34 SkASSERT(!SkGpuBlurUtils::IsEffectivelyZeroSigma(xformedSigma)); in make_blurred_rrect_key() 59 SkASSERT(!SkGpuBlurUtils::IsEffectivelyZeroSigma(xformedSigma)); in fillin_view_on_gpu() 92 auto rtc2 = SkGpuBlurUtils::GaussianBlur(dContext, in fillin_view_on_gpu() 169 SkASSERT(!SkGpuBlurUtils::IsEffectivelyZeroSigma(xformedSigma)); in create_mask_on_cpu() 170 int radius = SkGpuBlurUtils::SigmaRadius(xformedSigma); in create_mask_on_cpu() 185 SkGpuBlurUtils::Compute1DGaussianKernel(kernel.get(), xformedSigma, radius); in create_mask_on_cpu() 188 if (!SkGpuBlurUtils::CreateIntegralTable(6 * xformedSigma, &integral)) { in create_mask_on_cpu() 248 SkASSERT(!SkGpuBlurUtils::IsEffectivelyZeroSigma(xformedSigma)); in find_or_create_rrect_blur_mask_fp() 340 if (SkGpuBlurUtils::IsEffectivelyZeroSigma(xformedSigma)) { in Make() 349 SkScalar ignored[SkGpuBlurUtils::kBlurRRectMaxDivisions]; in Make() [all …]
|
D | GrRectBlurEffect.h | 37 SkASSERT(!SkGpuBlurUtils::IsEffectivelyZeroSigma(sixSigma / 6.f)); in MakeIntegralFP() 40 int width = SkGpuBlurUtils::CreateIntegralTable(sixSigma, nullptr); in MakeIntegralFP() 59 if (!SkGpuBlurUtils::CreateIntegralTable(sixSigma, &bitmap)) { in MakeIntegralFP() 84 if (SkGpuBlurUtils::IsEffectivelyZeroSigma(transformedSigma)) { in Make()
|
D | GrCircleBlurFragmentProcessor.cpp | 269 if (SkGpuBlurUtils::IsEffectivelyZeroSigma(sigma)) { in Make()
|
/external/skia/tests/ |
D | BlurTest.cpp | 436 SkScalar rectXs[SkGpuBlurUtils::kBlurRRectMaxDivisions], in DEF_TEST() 437 rectYs[SkGpuBlurUtils::kBlurRRectMaxDivisions]; in DEF_TEST() 438 SkScalar texXs[SkGpuBlurUtils::kBlurRRectMaxDivisions], in DEF_TEST() 439 texYs[SkGpuBlurUtils::kBlurRRectMaxDivisions]; in DEF_TEST() 448 ninePatchable = SkGpuBlurUtils::ComputeBlurredRRectParams(rr, rr, kBlurRad, kBlurRad, in DEF_TEST() 460 ninePatchable = SkGpuBlurUtils::ComputeBlurredRRectParams(rr, rr, kBlurRad, kBlurRad, in DEF_TEST() 477 ninePatchable = SkGpuBlurUtils::ComputeBlurredRRectParams(rr, rr, kBlurRad, kBlurRad, in DEF_TEST()
|
/external/skia/src/core/ |
D | SkGpuBlurUtils.cpp | 30 SkASSERT(!SkGpuBlurUtils::IsEffectivelyZeroSigma(sigmaX) && in fill_in_2D_gaussian_kernel() 31 !SkGpuBlurUtils::IsEffectivelyZeroSigma(sigmaY)); in fill_in_2D_gaussian_kernel() 73 SkASSERT(radius && !SkGpuBlurUtils::IsEffectivelyZeroSigma(sigma)); in convolve_gaussian_1d() 106 SkASSERT(!SkGpuBlurUtils::IsEffectivelyZeroSigma(sigmaX) && in convolve_gaussian_2d() 107 !SkGpuBlurUtils::IsEffectivelyZeroSigma(sigmaY)); in convolve_gaussian_2d() 117 SkISize size = SkISize::Make(SkGpuBlurUtils::KernelWidth(radiusX), in convolve_gaussian_2d() 118 SkGpuBlurUtils::KernelWidth(radiusY)); in convolve_gaussian_2d() 156 using namespace SkGpuBlurUtils; in convolve_gaussian() 157 SkASSERT(radius > 0 && !SkGpuBlurUtils::IsEffectivelyZeroSigma(sigma)); in convolve_gaussian() 442 namespace SkGpuBlurUtils { namespace [all …]
|
D | SkGpuBlurUtils.h | 21 namespace SkGpuBlurUtils {
|
D | SkBlurMF.cpp | 593 if (SkGpuBlurUtils::IsEffectivelyZeroSigma(xformedSigma)) { in directFilterMaskGPU() 704 if (SkGpuBlurUtils::IsEffectivelyZeroSigma(xformedSigma)) { in canFilterMaskGPU() 750 auto surfaceDrawContext = SkGpuBlurUtils::GaussianBlur(context, in filterMaskGPU()
|
/external/skqp/src/core/ |
D | SkGpuBlurUtils.h | 20 namespace SkGpuBlurUtils {
|
D | SkGpuBlurUtils.cpp | 450 namespace SkGpuBlurUtils { namespace
|
D | SkBlurMF.cpp | 885 SkGpuBlurUtils::GaussianBlur(context, in filterMaskGPU()
|
/external/skia/src/effects/imagefilters/ |
D | SkBlurImageFilter.cpp | 608 if (SkGpuBlurUtils::IsEffectivelyZeroSigma(sigma.x()) && in gpuFilter() 609 SkGpuBlurUtils::IsEffectivelyZeroSigma(sigma.y())) { in gpuFilter() 626 auto surfaceDrawContext = SkGpuBlurUtils::GaussianBlur( in gpuFilter()
|
/external/skqp/src/gpu/effects/ |
D | GrRRectBlurEffect.fp | 25 #include "SkGpuBlurUtils.h" 77 SkGpuBlurUtils::GaussianBlur(context,
|
D | GrRRectBlurEffect.h | 77 SkGpuBlurUtils::GaussianBlur(context, in find_or_create_rrect_blur_mask()
|
/external/skia/gn/ |
D | core.gni | 224 "$_src/core/SkGpuBlurUtils.cpp", 225 "$_src/core/SkGpuBlurUtils.h",
|
/external/skqp/gn/ |
D | core.gni | 141 "$_src/core/SkGpuBlurUtils.h", 142 "$_src/core/SkGpuBlurUtils.cpp",
|
/external/skqp/src/effects/imagefilters/ |
D | SkBlurImageFilter.cpp | 650 sk_sp<GrRenderTargetContext> renderTargetContext(SkGpuBlurUtils::GaussianBlur( in gpuFilter()
|
/external/skqp/ |
D | Android.bp | 670 "src/core/SkGpuBlurUtils.cpp",
|
/external/skia/ |
D | Android.bp | 265 "src/core/SkGpuBlurUtils.cpp", 1036 "src/core/SkGpuBlurUtils.cpp",
|