| Flutter Impeller |

Classes | Namespaces | Macros | Functions | Variables
aiks_blur_unittests.cc File Reference
`#include "flutter/impeller/aiks/aiks_unittests.h"`
`#include "impeller/aiks/canvas.h"`
`#include "impeller/entity/contents/filters/gaussian_blur_filter_contents.h"`
`#include "impeller/entity/render_target_cache.h"`
`#include "impeller/geometry/path_builder.h"`
`#include "impeller/playground/widgets.h"`
`#include "impeller/renderer/testing/mocks.h"`
`#include "third_party/imgui/imgui.h"`

Go to the source code of this file.

## Classes
struct | impeller::testing::MaskBlurTestConfig

## Namespaces
| impeller
| impeller::testing

## Macros
#define | MASK_BLUR_VARIANT_TEST(config)
#define | FLT_FORWARD(mock, real, method)

## Functions
| impeller::testing::TEST_P (AiksTest, CanRenderMaskBlurHugeSigma)
| impeller::testing::TEST_P (AiksTest, CanRenderForegroundBlendWithMaskBlur)
| impeller::testing::TEST_P (AiksTest, CanRenderForegroundAdvancedBlendWithMaskBlur)
| impeller::testing::TEST_P (AiksTest, CanRenderBackdropBlurInteractive)
| impeller::testing::TEST_P (AiksTest, CanRenderBackdropBlur)
| impeller::testing::TEST_P (AiksTest, CanRenderBackdropBlurHugeSigma)
| impeller::testing::TEST_P (AiksTest, CanRenderClippedBlur)
| impeller::testing::TEST_P (AiksTest, ClippedBlurFilterRendersCorrectlyInteractive)
| impeller::testing::TEST_P (AiksTest, ClippedBlurFilterRendersCorrectly)
| impeller::testing::TEST_P (AiksTest, ClearBlendWithBlur)
| impeller::testing::TEST_P (AiksTest, BlurHasNoEdge)
| impeller::testing::TEST_P (AiksTest, BlurredRectangleWithShader)
| impeller::testing::TEST_P (AiksTest, MaskBlurWithZeroSigmaIsSkipped)
static Picture | impeller::testing::MaskBlurVariantTest (const AiksTest &test_context, const MaskBlurTestConfig &config)
| impeller::testing::TEST_P (AiksTest, GaussianBlurAtPeripheryVertical)
| impeller::testing::TEST_P (AiksTest, GaussianBlurAtPeripheryHorizontal)
| impeller::testing::TEST_P (AiksTest, GaussianBlurWithoutDecalSupport)
| impeller::testing::TEST_P (AiksTest, GaussianBlurOneDimension)
| impeller::testing::TEST_P (AiksTest, GaussianBlurRotatedAndClipped)
| impeller::testing::TEST_P (AiksTest, GaussianBlurScaledAndClipped)
| impeller::testing::TEST_P (AiksTest, GaussianBlurRotatedAndClippedInteractive)
| impeller::testing::TEST_P (AiksTest, GaussianBlurSolidColorTinyMipMap)
| impeller::testing::TEST_P (AiksTest, GaussianBlurBackdropTinyMipMap)
| impeller::testing::TEST_P (AiksTest, GaussianBlurAnimatedBackdrop)
| impeller::testing::TEST_P (AiksTest, GaussianBlurStyleInnerGradient)
| impeller::testing::TEST_P (AiksTest, GaussianBlurStyleSolidGradient)
| impeller::testing::TEST_P (AiksTest, GaussianBlurStyleOuterGradient)
| impeller::testing::TEST_P (AiksTest, GaussianBlurStyleInner)
| impeller::testing::TEST_P (AiksTest, GaussianBlurStyleOuter)
| impeller::testing::TEST_P (AiksTest, GaussianBlurStyleSolid)
| impeller::testing::TEST_P (AiksTest, MaskBlurTexture)
| impeller::testing::TEST_P (AiksTest, GuassianBlurUpdatesMipmapContents)
| impeller::testing::TEST_P (AiksTest, GaussianBlurSetsMipCountOnPass)
| impeller::testing::TEST_P (AiksTest, GaussianBlurAllocatesCorrectMipCountRenderTarget)
| impeller::testing::TEST_P (AiksTest, GaussianBlurMipMapNestedLayer)
| impeller::testing::TEST_P (AiksTest, GaussianBlurMipMapImageFilter)
| impeller::testing::TEST_P (AiksTest, GaussianBlurMipMapSolidColor)
| impeller::testing::TEST_P (AiksTest, MaskBlurDoesntStretchContents)

## Variables
static const std::map< std::string, MaskBlurTestConfig > | impeller::testing::kPaintVariations

## Macro Definition Documentation

## ◆ FLT_FORWARD

#define FLT_FORWARD | ( |  | mock,
|  |  | real,
|  |  | method
| ) |  |

Value:
EXPECT_CALL(*mock, method()) \
.WillRepeatedly(::testing::Return(real->method()));

Definition at line 489 of file aiks_blur_unittests.cc.

## ◆ MASK_BLUR_VARIANT_TEST

#define MASK_BLUR_VARIANT_TEST | ( |  | config | ) |

Value:
TEST_P(AiksTest, MaskBlurVariantTest##config) { \
ASSERT_TRUE(OpenPlaygroundHere( \
MaskBlurVariantTest(*this, kPaintVariations.at(#config)))); \
}

Definition at line 432 of file aiks_blur_unittests.cc.

impeller::testing::AiksTest
AiksPlayground AiksTest
Definition: aiks_unittests.h:17
impeller::testing::MaskBlurVariantTest
static Picture MaskBlurVariantTest(const AiksTest &test_context, const MaskBlurTestConfig &config)
Definition: aiks_blur_unittests.cc:294
impeller::testing::kPaintVariations
static const std::map< std::string, MaskBlurTestConfig > kPaintVariations
Definition: aiks_blur_unittests.cc:368
impeller::testing::TEST_P
TEST_P(AiksTest, MaskBlurDoesntStretchContents)
Definition: aiks_blur_unittests.cc:1149