Go to the source code of this file.
|
static void | rand_conic (SkConic *conic, SkRandom &rand) |
|
| DEF_BENCH (return new RotatedRectBench(FLAGS00, false, 45)) |
|
| DEF_BENCH (return new RotatedRectBench(FLAGS10, false, 45)) |
|
| DEF_BENCH (return new RotatedRectBench(FLAGS00, true, 45)) |
|
| DEF_BENCH (return new RotatedRectBench(FLAGS10, true, 45)) |
|
| DEF_BENCH (return new TightBoundsBench([](const SkPath &path){ return path.computeTightBounds();}, "priv");) DEF_BENCH(return new TightBoundsBench([](const SkPath &path) |
|
◆ FLAGS00
◆ FLAGS01
#define FLAGS01 Flags(kStroke_Flag) |
◆ FLAGS10
#define FLAGS10 Flags(kBig_Flag) |
◆ FLAGS11
#define FLAGS11 Flags(kStroke_Flag | kBig_Flag) |
◆ Flags
Enumerator |
---|
kBig_Flag | |
kAA_Flag | |
kStroke_Flag | |
kBig_Flag | |
kNone | |
kA | |
kB | |
kC | |
Definition at line 27 of file PathBench.cpp.
◆ DEF_BENCH() [1/5]
DEF_BENCH |
( |
return new |
RotatedRectBenchFLAGS00, false, 45 | ) |
|
◆ DEF_BENCH() [2/5]
DEF_BENCH |
( |
return new |
RotatedRectBenchFLAGS00, true, 45 | ) |
|
◆ DEF_BENCH() [3/5]
DEF_BENCH |
( |
return new |
RotatedRectBenchFLAGS10, false, 45 | ) |
|
◆ DEF_BENCH() [4/5]
DEF_BENCH |
( |
return new |
RotatedRectBenchFLAGS10, true, 45 | ) |
|
◆ DEF_BENCH() [5/5]
DEF_BENCH |
( |
return new TightBoundsBench([](const SkPath &path){ return path.computeTightBounds();}, "priv"); |
| ) |
const & |
|
new |
Definition at line 1225 of file PathBench.cpp.
1225 {
return path.computeTightBounds();},
1226 "priv"); )
1229 }, "pathops"); )
DEF_BENCH(return new RotatedRectBench(FLAGS00, false, 45))
bool SK_API TightBounds(const SkPath &path, SkRect *result)
Optional< SkRect > bounds
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir path
◆ rand_conic()
Definition at line 1015 of file PathBench.cpp.
1015 {
1016 for (
int i = 0;
i < 3; ++
i) {
1018 }
1021 } else {
1023 }
1024}
◆ pathops