21#define FLAGS00 Flags(0)
22#define FLAGS01 Flags(kBig_Flag)
23#define FLAGS10 Flags(kAA_Flag)
24#define FLAGS11 Flags(kBig_Flag | kAA_Flag)
27 10, 10, 15, 5, 20, 20,
28 30, 5, 25, 20, 15, 12,
29 21, 21, 30, 30, 12, 4,
30 32, 28, 20, 18, 12, 10
47 fName.
printf(
"path_hairline_%s_%s_",
67 for (
int i = 0;
i < loops;
i++) {
68 for (
int j = 0; j < 100; ++j) {
118 name->append(
"quad");
123 int hSize =
size / 2;
150 name->append(
"conic");
156 int hSize =
size / 2;
166 float weight = randWeight.
nextRangeF(0.0f, 2.0f);
186 name->append(
"cubic");
191 int hSize =
size / 2;
static const int kMaxPathSize
static const int points[]
virtual void setupPaint(SkPaint *paint)
void appendName(SkString *name) override
ConicPathBench(Flags flags)
void makePath(SkPath *path) override
CubicPathBench(Flags flags)
void makePath(SkPath *path) override
void appendName(SkString *name) override
HairlinePathBench(Flags flags)
virtual void makePath(SkPath *)=0
const char * onGetName() override
void onDraw(int loops, SkCanvas *canvas) override
virtual void appendName(SkString *)=0
void appendName(SkString *name) override
void makePath(SkPath *path) override
LinePathBench(Flags flags)
QuadPathBench(Flags flags)
void appendName(SkString *name) override
void makePath(SkPath *path) override
void drawPath(const SkPath &path, const SkPaint &paint)
static SkMatrix Scale(SkScalar sx, SkScalar sy)
void setStyle(Style style)
@ kStroke_Style
set to stroke geometry
void setStrokeWidth(SkScalar width)
uint32_t nextULessThan(uint32_t count)
float nextRangeF(float min, float max)
void printf(const char format[],...) SK_PRINTF_LIKE(2
const char * c_str() const
FlutterSemanticsFlag flags
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
DEF_SWITCHES_START aot vmservice shared library name
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size