Definition at line 236 of file PathBench.cpp.
◆ SawToothPathBench()
SawToothPathBench::SawToothPathBench |
( |
Flags |
flags | ) |
|
|
inline |
◆ appendName()
void SawToothPathBench::appendName |
( |
SkString * |
name | ) |
|
|
inlineoverridevirtual |
Implements PathBench.
Definition at line 240 of file PathBench.cpp.
240 {
241 name->append(
"sawtooth");
242 }
DEF_SWITCHES_START aot vmservice shared library name
◆ complexity()
int SawToothPathBench::complexity |
( |
| ) |
|
|
inlineoverridevirtual |
◆ makePath()
void SawToothPathBench::makePath |
( |
SkPath * |
path | ) |
|
|
inlineoverridevirtual |
Implements PathBench.
Definition at line 243 of file PathBench.cpp.
243 {
249
251 for (
int i = 0;
i < 32;
i++) {
256 }
257 path->lineTo(
x,
y + 2 * dy);
258 path->lineTo(x0,
y + 2 * dy);
260 }
skia_private::AutoTArray< sk_sp< SkImageFilter > > filters TypedMatrix matrix TypedMatrix matrix SkScalar dx
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: