Definition at line 266 of file PathBench.cpp.
◆ LongCurvedPathBench()
LongCurvedPathBench::LongCurvedPathBench |
( |
Flags |
flags | ) |
|
|
inline |
◆ appendName()
void LongCurvedPathBench::appendName |
( |
SkString * |
name | ) |
|
|
inlineoverridevirtual |
Implements PathBench.
Definition at line 270 of file PathBench.cpp.
270 {
271 name->append(
"long_curved");
272 }
DEF_SWITCHES_START aot vmservice shared library name
◆ complexity()
int LongCurvedPathBench::complexity |
( |
| ) |
|
|
inlineoverridevirtual |
◆ makePath()
void LongCurvedPathBench::makePath |
( |
SkPath * |
path | ) |
|
|
inlineoverridevirtual |
Implements PathBench.
Definition at line 273 of file PathBench.cpp.
273 {
276 for (
i = 0;
i < 100;
i++) {
277 path->quadTo(rand.nextUScalar1() * 640, rand.nextUScalar1() * 480,
278 rand.nextUScalar1() * 640, rand.nextUScalar1() * 480);
279 }
281 }
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
The documentation for this class was generated from the following file: