Flutter Engine
The Flutter Engine
Namespaces | Typedefs | Functions
dl_unittests.cc File Reference
#include <array>
#include <cmath>
#include <memory>
#include <vector>
#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_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/testing/testing.h"
#include "gtest/gtest.h"
#include "impeller/display_list/dl_dispatcher.h"
#include "impeller/display_list/dl_image_impeller.h"
#include "impeller/display_list/dl_playground.h"
#include "impeller/entity/contents/clip_contents.h"
#include "impeller/entity/contents/solid_color_contents.h"
#include "impeller/entity/contents/solid_rrect_blur_contents.h"
#include "impeller/geometry/constants.h"
#include "impeller/geometry/point.h"
#include "impeller/geometry/scalar.h"
#include "impeller/playground/widgets.h"
#include "impeller/scene/node.h"
#include "third_party/imgui/imgui.h"
#include "third_party/skia/include/core/SkBlurTypes.h"
#include "third_party/skia/include/core/SkClipOp.h"
#include "third_party/skia/include/core/SkPathBuilder.h"
#include "third_party/skia/include/core/SkRRect.h"

Go to the source code of this file.

Namespaces

namespace  impeller
 
namespace  impeller::testing
 

Typedefs

using impeller::testing::DisplayListTest = DlPlayground
 

Functions

flutter::DlColor impeller::testing::toColor (const float *components)
 
 impeller::testing::INSTANTIATE_PLAYGROUND_SUITE (DisplayListTest)
 
 impeller::testing::TEST_P (DisplayListTest, CanDrawRect)
 
 impeller::testing::TEST_P (DisplayListTest, CanDrawTextBlob)
 
 impeller::testing::TEST_P (DisplayListTest, CanDrawTextBlobWithGradient)
 
 impeller::testing::TEST_P (DisplayListTest, CanDrawTextWithSaveLayer)
 
 impeller::testing::TEST_P (DisplayListTest, CanDrawImage)
 
 impeller::testing::TEST_P (DisplayListTest, CanDrawCapsAndJoins)
 
 impeller::testing::TEST_P (DisplayListTest, CanDrawArc)
 
 impeller::testing::TEST_P (DisplayListTest, StrokedPathsDrawCorrectly)
 
 impeller::testing::TEST_P (DisplayListTest, CanDrawWithOddPathWinding)
 
 impeller::testing::TEST_P (DisplayListTest, CanDrawAnOpenPath)
 
 impeller::testing::TEST_P (DisplayListTest, CanDrawWithMaskBlur)
 
 impeller::testing::TEST_P (DisplayListTest, CanDrawStrokedText)
 
 impeller::testing::TEST_P (DisplayListTest, StrokedTextNotOffsetFromNormalText)
 
 impeller::testing::TEST_P (DisplayListTest, IgnoreMaskFilterWhenSavingLayer)
 
 impeller::testing::TEST_P (DisplayListTest, CanDrawWithBlendColorFilter)
 
 impeller::testing::TEST_P (DisplayListTest, CanDrawWithColorFilterImageFilter)
 
 impeller::testing::TEST_P (DisplayListTest, CanDrawWithImageBlurFilter)
 
 impeller::testing::TEST_P (DisplayListTest, CanDrawWithComposeImageFilter)
 
 impeller::testing::TEST_P (DisplayListTest, CanClampTheResultingColorOfColorMatrixFilter)
 
 impeller::testing::TEST_P (DisplayListTest, CanDrawBackdropFilter)
 
 impeller::testing::TEST_P (DisplayListTest, CanDrawNinePatchImage)
 
 impeller::testing::TEST_P (DisplayListTest, CanDrawNinePatchImageCenterWidthBiggerThanDest)
 
 impeller::testing::TEST_P (DisplayListTest, CanDrawNinePatchImageCenterHeightBiggerThanDest)
 
 impeller::testing::TEST_P (DisplayListTest, CanDrawNinePatchImageCenterBiggerThanDest)
 
 impeller::testing::TEST_P (DisplayListTest, CanDrawNinePatchImageCornersScaledDown)
 
 impeller::testing::TEST_P (DisplayListTest, NinePatchImagePrecision)
 
 impeller::testing::TEST_P (DisplayListTest, CanDrawPoints)
 
 impeller::testing::TEST_P (DisplayListTest, CanDrawZeroLengthLine)
 
 impeller::testing::TEST_P (DisplayListTest, CanDrawShadow)
 
 impeller::testing::TEST_P (DisplayListTest, DispatcherDoesNotCullPerspectiveTransformedChildDisplayLists)
 
 impeller::testing::TEST_P (DisplayListTest, TransparentShadowProducesCorrectColor)
 
 impeller::testing::TEST_P (DisplayListTest, CanDrawZeroWidthLine)
 
 impeller::testing::TEST_P (DisplayListTest, CanDrawWithMatrixFilter)
 
 impeller::testing::TEST_P (DisplayListTest, CanDrawWithMatrixFilterWhenSavingLayer)
 
 impeller::testing::TEST_P (DisplayListTest, CanDrawRectWithLinearToSrgbColorFilter)
 
 impeller::testing::TEST_P (DisplayListTest, CanDrawPaintWithColorSource)
 
 impeller::testing::TEST_P (DisplayListTest, CanBlendDstOverAndDstCorrectly)
 
 impeller::testing::TEST_P (DisplayListTest, CanDrawCorrectlyWithColorFilterAndImageFilter)
 
 impeller::testing::TEST_P (DisplayListTest, MaskBlursApplyCorrectlyToColorSources)
 
 impeller::testing::TEST_P (DisplayListTest, DrawShapes)
 
 impeller::testing::TEST_P (DisplayListTest, ClipDrawRRectWithNonCircularRadii)
 
 impeller::testing::TEST_P (DisplayListTest, DrawVerticesBlendModes)
 
template<typename Contents >
static std::optional< Rect > impeller::testing::GetCoverageOfFirstEntity (const Picture &picture)
 
 impeller::testing::TEST (DisplayListTest, RRectBoundsComputation)
 
 impeller::testing::TEST (DisplayListTest, CircleBoundsComputation)
 
 impeller::testing::TEST_P (DisplayListTest, DrawPaintIgnoresMaskFilter)
 
 impeller::testing::TEST_P (DisplayListTest, DrawMaskBlursThatMightUseSaveLayers)