| Flutter Impeller |

Namespaces | Typedefs | Functions
gaussian_blur_filter_contents.cc File Reference
`#include "impeller/entity/contents/filters/gaussian_blur_filter_contents.h"`
`#include <cmath>`
`#include "flutter/fml/make_copyable.h"`
`#include "impeller/entity/contents/clip_contents.h"`
`#include "impeller/entity/contents/content_context.h"`
`#include "impeller/entity/texture_fill.frag.h"`
`#include "impeller/entity/texture_fill.vert.h"`
`#include "impeller/renderer/render_pass.h"`
`#include "impeller/renderer/vertex_buffer_builder.h"`

Go to the source code of this file.

## Namespaces
| impeller

## Typedefs
using | impeller::GaussianBlurVertexShader = GaussianBlurPipeline::VertexShader
using | impeller::GaussianBlurFragmentShader = GaussianBlurPipeline::FragmentShader

## Functions
KernelSamples | impeller::GenerateBlurInfo (BlurParameters parameters)
GaussianBlurPipeline::FragmentShader::KernelSamples | impeller::LerpHackKernelSamples (KernelSamples parameters)

## Variable Documentation

## ◆ blur_radius

Vector2 blur_radius

Blur radius in source pixels based on scaled_sigma.

Definition at line 89 of file gaussian_blur_filter_contents.cc.

Referenced by impeller::GaussianBlurFilterContents::CalculateScale(), impeller::GaussianBlurFilterContents::GetFilterSourceCoverage(), impeller::SolidRRectBlurContents::Render(), impeller::testing::TEST(), and impeller::testing::TEST_P().

## ◆ effective_scalar

Vector2 effective_scalar

The effective scalar of the down-sample pass. This isn't usually exactly as we'd calculate because it has to be rounded to integer boundaries for generating the texture for the output.

Definition at line 226 of file gaussian_blur_filter_contents.cc.

## ◆ local_padding

Vector2 local_padding

Padding in unrotated local space.

Definition at line 93 of file gaussian_blur_filter_contents.cc.

## ◆ padding

Vector2 padding

The halo padding in source space.

Definition at line 91 of file gaussian_blur_filter_contents.cc.

Referenced by impeller::DriverInfoVK::DumpToLog(), and impeller::testing::TEST_P().

## ◆ scaled_sigma

Vector2 scaled_sigma

Sigma when considering an entity's scale and the effect transform.

Definition at line 87 of file gaussian_blur_filter_contents.cc.

Referenced by impeller::GaussianBlurFilterContents::GetFilterSourceCoverage().

## ◆ source_space_scalar

Vector2 source_space_scalar

The scalar that is used to get from source space to unrotated local space.

Definition at line 85 of file gaussian_blur_filter_contents.cc.

## ◆ subpass_size

ISize subpass_size

The output size of the down-sampling pass.

Definition at line 219 of file gaussian_blur_filter_contents.cc.

Referenced by impeller::Contents::RenderToSnapshot().

## ◆ transform

Matrix transform

Transforms from unrotated local space to position the output from the down-sample pass. This can differ if we request a coverage hint but it is rejected, as is the case with backdrop filters.

Definition at line 231 of file gaussian_blur_filter_contents.cc.

Referenced by impeller::AdvancedBlend(), impeller::scene::CuboidGeometry::BindToCommand(), impeller::scene::UnskinnedVertexBufferGeometry::BindToCommand(), impeller::scene::SkinnedVertexBufferGeometry::BindToCommand(), impeller::LineGeometry::ComputePixelHalfWidth(), impeller::Canvas::Concat(), impeller::RectGeometry::CoversArea(), impeller::LineGeometry::CoversArea(), impeller::RoundRectGeometry::CoversArea(), impeller::FillPathGeometry::CoversArea(), impeller::RectGeometry::GetCoverage(), impeller::VerticesGeometry::GetCoverage(), impeller::BorderMaskBlurFilterContents::GetFilterCoverage(), impeller::DirectionalMorphologyFilterContents::GetFilterCoverage(), impeller::MatrixFilterContents::GetFilterCoverage(), impeller::Entity::GetShaderTransform(), impeller::Path::GetTransformedBoundingBox(), impeller::TRect< Scalar >::GetTransformedPoints(), impeller::PipelineBlend(), impeller::Canvas::PreConcat(), impeller::scene::importer::ProcessNode(), impeller::scene::Mesh::Render(), impeller::scene::Node::Render(), impeller::VerticesSimpleBlendContents::SetEffectTransform(), impeller::scene::Node::SetGlobalTransform(), impeller::scene::Node::SetLocalTransform(), impeller::Entity::SetTransform(), impeller::EntityPass::SetTransform(), impeller::testing::TEST(), impeller::testing::TEST_P(), impeller::compiler::ToLowerCase(), impeller::Canvas::Transform(), impeller::TRect< Scalar >::TransformAndClipBounds(), impeller::TRect< Scalar >::TransformBounds(), and impeller::DlDispatcherBase::transformFullPerspective().

## ◆ uvs

Quad uvs

The UVs that will be used for drawing to the down-sampling pass. This effectively is chopping out a region of the input.

Definition at line 222 of file gaussian_blur_filter_contents.cc.

Referenced by impeller::testing::TEST_P().