Home
last modified time | relevance | path

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

/external/skia/src/gpu/effects/
DGrGaussianConvolutionFragmentProcessor.cpp68 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()
DGrRRectBlurEffect.fp39 #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 …]
DGrRectBlurEffect.fp14 #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)) {
DGrCircleBlurFragmentProcessor.fp41 #include "src/core/SkGpuBlurUtils.h"
284 if (SkGpuBlurUtils::IsEffectivelyZeroSigma(sigma)) {
/external/skia/gm/
Dgpu_blur_utils.cpp26 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/
DGrRRectBlurEffect.cpp34 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 …]
DGrRectBlurEffect.h37 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()
DGrCircleBlurFragmentProcessor.cpp269 if (SkGpuBlurUtils::IsEffectivelyZeroSigma(sigma)) { in Make()
/external/skia/tests/
DBlurTest.cpp436 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/
DSkGpuBlurUtils.cpp30 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 …]
DSkGpuBlurUtils.h21 namespace SkGpuBlurUtils {
DSkBlurMF.cpp593 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/
DSkGpuBlurUtils.h20 namespace SkGpuBlurUtils {
DSkGpuBlurUtils.cpp450 namespace SkGpuBlurUtils { namespace
DSkBlurMF.cpp885 SkGpuBlurUtils::GaussianBlur(context, in filterMaskGPU()
/external/skia/src/effects/imagefilters/
DSkBlurImageFilter.cpp608 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/
DGrRRectBlurEffect.fp25 #include "SkGpuBlurUtils.h"
77 SkGpuBlurUtils::GaussianBlur(context,
DGrRRectBlurEffect.h77 SkGpuBlurUtils::GaussianBlur(context, in find_or_create_rrect_blur_mask()
/external/skia/gn/
Dcore.gni224 "$_src/core/SkGpuBlurUtils.cpp",
225 "$_src/core/SkGpuBlurUtils.h",
/external/skqp/gn/
Dcore.gni141 "$_src/core/SkGpuBlurUtils.h",
142 "$_src/core/SkGpuBlurUtils.cpp",
/external/skqp/src/effects/imagefilters/
DSkBlurImageFilter.cpp650 sk_sp<GrRenderTargetContext> renderTargetContext(SkGpuBlurUtils::GaussianBlur( in gpuFilter()
/external/skqp/
DAndroid.bp670 "src/core/SkGpuBlurUtils.cpp",
/external/skia/
DAndroid.bp265 "src/core/SkGpuBlurUtils.cpp",
1036 "src/core/SkGpuBlurUtils.cpp",