Flutter Engine
The Flutter Engine
|
#include "include/core/SkPaint.h"
#include "include/core/SkPath.h"
#include "include/core/SkPathUtils.h"
#include "include/core/SkPoint.h"
#include "include/core/SkScalar.h"
#include "include/core/SkTypes.h"
#include "include/private/base/SkDebug.h"
#include "src/base/SkFloatBits.h"
#include "src/base/SkRandom.h"
#include "src/core/SkPointPriv.h"
#include "src/core/SkStrokerPriv.h"
#include "src/pathops/SkPathOpsCubic.h"
#include "src/pathops/SkPathOpsPoint.h"
#include "src/pathops/SkPathOpsQuad.h"
#include "tests/PathOpsCubicIntersectionTestData.h"
#include "tests/PathOpsQuadIntersectionTestData.h"
#include "tests/PathOpsTestCommon.h"
#include "tests/Test.h"
#include "tools/flags/CommandLineFlags.h"
#include <array>
#include <cfloat>
#include <cstddef>
#include <cstdint>
Go to the source code of this file.
Macros | |
#define | MS_TEST_DURATION 10 |
Functions | |
static | DEFINE_bool (timeout, true, "run until alloted time expires") |
static void | pathTest (const SkPath &path) |
static void | cubicTest (const SkPoint c[4]) |
static void | quadTest (const SkPoint c[3]) |
static void | cubicSetTest (const CubicPts *dCubic, size_t count) |
static void | cubicPairSetTest (const CubicPts dCubic[][2], size_t count) |
static void | quadSetTest (const QuadPts *dQuad, size_t count) |
static void | quadPairSetTest (const QuadPts dQuad[][2], size_t count) |
DEF_TEST (QuadStrokerSet, reporter) | |
DEF_TEST (CubicStrokerSet, reporter) | |
static SkScalar | unbounded (SkRandom &r) |
static SkScalar | unboundedPos (SkRandom &r) |
DEF_TEST (QuadStrokerUnbounded, reporter) | |
DEF_TEST (CubicStrokerUnbounded, reporter) | |
DEF_TEST (QuadStrokerConstrained, reporter) | |
DEF_TEST (CubicStrokerConstrained, reporter) | |
DEF_TEST (QuadStrokerRange, reporter) | |
DEF_TEST (CubicStrokerRange, reporter) | |
DEF_TEST (QuadStrokerOneOff, reporter) | |
DEF_TEST (CubicStrokerOneOff, reporter) | |
Variables | |
const SkScalar | widths [] |
size_t | widths_count = std::size(widths) |
#define MS_TEST_DURATION 10 |
Definition at line 37 of file StrokerTest.cpp.
|
static |
Definition at line 84 of file StrokerTest.cpp.
|
static |
Definition at line 69 of file StrokerTest.cpp.
|
static |
Definition at line 55 of file StrokerTest.cpp.
DEF_TEST | ( | CubicStrokerConstrained | , |
reporter | |||
) |
Definition at line 291 of file StrokerTest.cpp.
DEF_TEST | ( | CubicStrokerOneOff | , |
reporter | |||
) |
Definition at line 461 of file StrokerTest.cpp.
DEF_TEST | ( | CubicStrokerRange | , |
reporter | |||
) |
Definition at line 395 of file StrokerTest.cpp.
DEF_TEST | ( | CubicStrokerSet | , |
reporter | |||
) |
Definition at line 140 of file StrokerTest.cpp.
DEF_TEST | ( | CubicStrokerUnbounded | , |
reporter | |||
) |
Definition at line 199 of file StrokerTest.cpp.
DEF_TEST | ( | QuadStrokerConstrained | , |
reporter | |||
) |
Definition at line 240 of file StrokerTest.cpp.
DEF_TEST | ( | QuadStrokerOneOff | , |
reporter | |||
) |
Definition at line 436 of file StrokerTest.cpp.
DEF_TEST | ( | QuadStrokerRange | , |
reporter | |||
) |
Definition at line 350 of file StrokerTest.cpp.
DEF_TEST | ( | QuadStrokerSet | , |
reporter | |||
) |
Definition at line 133 of file StrokerTest.cpp.
DEF_TEST | ( | QuadStrokerUnbounded | , |
reporter | |||
) |
Definition at line 161 of file StrokerTest.cpp.
|
static |
Definition at line 45 of file StrokerTest.cpp.
|
static |
Definition at line 116 of file StrokerTest.cpp.
|
static |
Definition at line 101 of file StrokerTest.cpp.
|
static |
Definition at line 151 of file StrokerTest.cpp.
Definition at line 156 of file StrokerTest.cpp.
const SkScalar widths[] |
Definition at line 39 of file StrokerTest.cpp.
size_t widths_count = std::size(widths) |
Definition at line 43 of file StrokerTest.cpp.