Flutter Engine
 
Loading...
Searching...
No Matches
dl_path_unittests.cc File Reference
#include "flutter/display_list/geometry/dl_path.h"
#include "gtest/gtest.h"
#include "flutter/display_list/geometry/dl_path_builder.h"
#include "flutter/display_list/testing/dl_test_mock_path_receiver.h"
#include "flutter/third_party/skia/include/core/SkPath.h"
#include "flutter/third_party/skia/include/core/SkPoint.h"
#include "flutter/third_party/skia/include/core/SkRRect.h"

Go to the source code of this file.

Namespaces

namespace  flutter
 
namespace  flutter::testing
 

Functions

 flutter::testing::TEST (DisplayListPath, DefaultConstruction)
 
 flutter::testing::TEST (DisplayListPath, ConstructFromEmptySkiaPath)
 
 flutter::testing::TEST (DisplayListPath, ConstructFromEmptyDlPathBuilder)
 
 flutter::testing::TEST (DisplayListPath, CopyConstruct)
 
 flutter::testing::TEST (DisplayListPath, ConstructFromVolatile)
 
 flutter::testing::TEST (DisplayListPath, VolatileBecomesNonVolatile)
 
 flutter::testing::TEST (DisplayListPath, MultipleVolatileCopiesBecomeNonVolatileTogether)
 
 flutter::testing::TEST (DisplayListPath, ConstructFromRect)
 
 flutter::testing::TEST (DisplayListPath, ConstructFromDlPathBuilderRect)
 
 flutter::testing::TEST (DisplayListPath, ConstructFromOval)
 
 flutter::testing::TEST (DisplayListPath, ConstructFromDlPathBuilderOval)
 
 flutter::testing::TEST (DisplayListPath, ConstructFromRRect)
 
 flutter::testing::TEST (DisplayListPath, ConstructFromDlPathBuilderRoundRect)
 
 flutter::testing::TEST (DisplayListPath, ConstructFromPath)
 
 flutter::testing::TEST (DisplayListPath, ConstructFromDlPathBuilderEqualsConstructFromSkia)
 
 flutter::testing::TEST (DisplayListPath, IsLineFromSkPath)
 
 flutter::testing::TEST (DisplayListPath, IsLineFromPathBuilder)
 
static void flutter::testing::TestPathDispatchOneOfEachVerb (const DlPath &path)
 
 flutter::testing::TEST (DisplayListPath, DispatchSkiaPathOneOfEachVerb)
 
 flutter::testing::TEST (DisplayListPath, DispatchImpellerPathOneOfEachVerb)
 
static void flutter::testing::TestPathDispatchConicToQuads (const DlPath &path, DlScalar weight, const std::array< DlPoint, 4 > &quad_points)
 
static void flutter::testing::TestSkiaPathDispatchConicToQuads (DlScalar weight, const std::array< DlPoint, 4 > &quad_points)
 
static void flutter::testing::TestImpellerPathDispatchConicToQuads (DlScalar weight, const std::array< DlPoint, 4 > &quad_points)
 
 flutter::testing::TEST (DisplayListPath, DispatchSkiaPathConicToQuadsNearlyZero)
 
 flutter::testing::TEST (DisplayListPath, DispatchSkiaPathConicToQuadsHalf)
 
 flutter::testing::TEST (DisplayListPath, DispatchSkiaPathConicToQuadsCircular)
 
 flutter::testing::TEST (DisplayListPath, DispatchSkiaPathConicToQuadsNearlyOne)
 
 flutter::testing::TEST (DisplayListPath, DispatchImpellerPathConicToQuadsNearlyZero)
 
 flutter::testing::TEST (DisplayListPath, DispatchImpellerPathConicToQuadsHalf)
 
 flutter::testing::TEST (DisplayListPath, DispatchImpellerPathConicToQuadsCircular)
 
 flutter::testing::TEST (DisplayListPath, DispatchImpellerPathConicToQuadsNearlyOne)
 
static void flutter::testing::TestPathDispatchUnclosedTriangle (const DlPath &path)
 
 flutter::testing::TEST (DisplayListPath, DispatchUnclosedSkiaTriangle)
 
 flutter::testing::TEST (DisplayListPath, DispatchUnclosedImpellerTriangle)
 
static void flutter::testing::TestPathDispatchClosedTriangle (const DlPath &path)
 
 flutter::testing::TEST (DisplayListPath, DispatchClosedSkiaTriangle)
 
 flutter::testing::TEST (DisplayListPath, DispatchClosedPathBuilderTriangle)
 
static void flutter::testing::TestPathDispatchMixedCloseTriangles (const DlPath &path)
 
 flutter::testing::TEST (DisplayListPath, DispatchMixedCloseSkiaPath)
 
 flutter::testing::TEST (DisplayListPath, DispatchMixedCloseImpellerPath)
 
static void flutter::testing::TestPathDispatchImplicitMoveAfterClose (const DlPath &path)
 
 flutter::testing::TEST (DisplayListPath, DispatchImplicitMoveAfterCloseSkiaPath)
 
 flutter::testing::TEST (DisplayListPath, DispatchImplicitMoveAfterClosePathBuilder)
 
 flutter::testing::TEST (DisplayListPath, CannotConstructFromSkiaInverseWinding)
 
 flutter::testing::TEST (DisplayListPath, CannotConstructFromSkiaInverseEvenOdd)