Flutter Engine
The Flutter Engine
|
#include "src/gpu/BlurUtils.h"
#include "include/core/SkBitmap.h"
#include "include/core/SkColorPriv.h"
#include "include/core/SkImageInfo.h"
#include "include/core/SkRRect.h"
#include "include/core/SkRect.h"
#include "include/core/SkScalar.h"
#include "include/core/SkSize.h"
#include "include/private/base/SkAssert.h"
#include "include/private/base/SkFloatingPoint.h"
#include "include/private/base/SkMath.h"
#include "include/private/base/SkPoint_impl.h"
#include "include/private/base/SkTemplates.h"
#include "include/private/base/SkTo.h"
#include "src/base/SkMathPriv.h"
#include <algorithm>
#include <cmath>
#include <cstdint>
#include <cstring>
#include <memory>
#include <vector>
Go to the source code of this file.
Namespaces | |
namespace | skgpu |
Functions | |
SkBitmap | skgpu::CreateIntegralTable (int width) |
int | skgpu::ComputeIntegralTableWidth (float sixSigma) |
static float | skgpu::make_unnormalized_half_kernel (float *halfKernel, int halfKernelSize, float sigma) |
static void | skgpu::make_half_kernel_and_summed_table (float *halfKernel, float *summedHalfKernel, int halfKernelSize, float sigma) |
static void | skgpu::apply_kernel_in_y (float *results, int numSteps, float firstX, float circleR, int halfKernelSize, const float *summedHalfKernelTable) |
static uint8_t | skgpu::eval_at (float evalX, float circleR, const float *halfKernel, int halfKernelSize, const float *yKernelEvaluations) |
SkBitmap | skgpu::CreateCircleProfile (float sigma, float radius, int profileWidth) |
SkBitmap | skgpu::CreateHalfPlaneProfile (int profileWidth) |
static uint8_t | skgpu::eval_V (float top, int y, const uint8_t *integral, int integralSize, float sixSigma) |
static uint8_t | skgpu::eval_H (int x, int y, const std::vector< float > &topVec, const float *kernel, int kernelSize, const uint8_t *integral, int integralSize, float sixSigma) |
SkBitmap | skgpu::CreateRRectBlurMask (const SkRRect &rrectToDraw, const SkISize &dimensions, float sigma) |