Flutter Impeller
aiks_dl_blur_unittests.cc File Reference
#include "flutter/display_list/display_list.h"
#include "flutter/display_list/dl_blend_mode.h"
#include "flutter/display_list/dl_builder.h"
#include "flutter/display_list/dl_color.h"
#include "flutter/display_list/dl_paint.h"
#include "flutter/display_list/dl_sampling_options.h"
#include "flutter/display_list/dl_tile_mode.h"
#include "flutter/display_list/effects/dl_color_filter.h"
#include "flutter/display_list/effects/dl_color_source.h"
#include "flutter/display_list/effects/dl_image_filter.h"
#include "flutter/display_list/effects/dl_mask_filter.h"
#include "flutter/display_list/geometry/dl_path_builder.h"
#include "flutter/impeller/display_list/aiks_unittests.h"
#include "gmock/gmock.h"
#include "impeller/display_list/dl_dispatcher.h"
#include "impeller/display_list/dl_image_impeller.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)
 

Functions

 impeller::testing::TEST_P (AiksTest, SolidColorOvalsMaskBlurTinySigma)
 
sk_sp< flutter::DisplayList > impeller::testing::DoGradientOvalStrokeMaskBlur (Vector2 content_Scale, Scalar sigma, DlBlurStyle style)
 
 impeller::testing::TEST_P (AiksTest, GradientOvalStrokeMaskBlur)
 
 impeller::testing::TEST_P (AiksTest, GradientOvalStrokeMaskBlurSigmaZero)
 
 impeller::testing::TEST_P (AiksTest, GradientOvalStrokeMaskBlurOuter)
 
 impeller::testing::TEST_P (AiksTest, GradientOvalStrokeMaskBlurInner)
 
 impeller::testing::TEST_P (AiksTest, GradientOvalStrokeMaskBlurSolid)
 
 impeller::testing::TEST_P (AiksTest, SolidColorCircleMaskBlurTinySigma)
 
 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, CanRenderBackdropBlurWithSingleBackdropId)
 
 impeller::testing::TEST_P (AiksTest, CanRenderMultipleBackdropBlurWithSingleBackdropId)
 
 impeller::testing::TEST_P (AiksTest, CanRenderMultipleBackdropBlurWithSingleBackdropIdAndDistinctFilters)
 
 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, MaskBlurWithZeroSigmaIsSkipped)
 
 impeller::testing::TEST_P (AiksTest, MaskBlurOnZeroDimensionIsSkippedWideGamut)
 
static sk_sp< DisplayList > impeller::testing::MaskBlurVariantTest (const AiksTest &test_context, const MaskBlurTestConfig &config)
 
 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, MaskBlurDoesntStretchContents)
 
 impeller::testing::TEST_P (AiksTest, GaussianBlurAtPeripheryVertical)
 
 impeller::testing::TEST_P (AiksTest, GaussianBlurAtPeripheryHorizontal)
 
 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, GaussianBlurScaledAndClipped)
 
 impeller::testing::TEST_P (AiksTest, GaussianBlurRotatedAndClippedInteractive)
 
 impeller::testing::TEST_P (AiksTest, GaussianBlurOneDimension)
 
 impeller::testing::TEST_P (AiksTest, GaussianBlurRotatedAndClipped)
 
 impeller::testing::TEST_P (AiksTest, GaussianBlurRotatedNonUniform)
 
 impeller::testing::TEST_P (AiksTest, BlurredRectangleWithShader)
 
 impeller::testing::TEST_P (AiksTest, GaussianBlurSolidColorTinyMipMap)
 
 impeller::testing::TEST_P (AiksTest, GaussianBlurBackdropTinyMipMap)
 
 impeller::testing::TEST_P (AiksTest, CanRenderMultipleBackdropBlurWithSingleBackdropIdDifferentLayers)
 
 impeller::testing::TEST_P (AiksTest, BlurGradientWithOpacity)
 

Variables

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

Macro Definition Documentation

◆ MASK_BLUR_VARIANT_TEST

#define MASK_BLUR_VARIANT_TEST (   config)
Value:
ASSERT_TRUE(OpenPlaygroundHere( \
MaskBlurVariantTest(*this, kPaintVariations.at(#config)))); \
}
AiksPlayground AiksTest
static sk_sp< DisplayList > MaskBlurVariantTest(const AiksTest &test_context, const MaskBlurTestConfig &config)
TEST_P(AiksTest, BlurGradientWithOpacity)
static const std::map< std::string, MaskBlurTestConfig > kPaintVariations

Definition at line 630 of file aiks_dl_blur_unittests.cc.