Go to the source code of this file.
|
static SkPoint | rand_pt (SkRandom &rand) |
|
static SkPath | line_path_maker () |
|
static SkPath | quad_path_maker () |
|
static SkPath | conic_path_maker () |
|
static SkPath | cubic_path_maker () |
|
static SkPaint | paint_maker () |
|
| DEF_BENCH (return new StrokeBench(line_path_maker(), paint_maker(), "line_1", 1);) DEF_BENCH(return new StrokeBench(quad_path_maker() |
|
| DEF_BENCH (return new StrokeBench(conic_path_maker(), paint_maker(), "conic_1", 1);) DEF_BENCH(return new StrokeBench(cubic_path_maker() |
|
| DEF_BENCH (return new StrokeBench(line_path_maker(), paint_maker(), "line_4", 4);) DEF_BENCH(return new StrokeBench(quad_path_maker() |
|
| DEF_BENCH (return new StrokeBench(conic_path_maker(), paint_maker(), "conic_4", 4);) DEF_BENCH(return new StrokeBench(cubic_path_maker() |
|
| DEF_BENCH (return new StrokeBench(line_path_maker(), paint_maker(), "line_.25",.25f);) DEF_BENCH(return new StrokeBench(quad_path_maker() |
|
| DEF_BENCH (return new StrokeBench(conic_path_maker(), paint_maker(), "conic_.25",.25f);) DEF_BENCH(return new StrokeBench(cubic_path_maker() |
|
◆ conic_path_maker()
static SkPath conic_path_maker |
( |
| ) |
|
|
static |
Definition at line 79 of file StrokeBench.cpp.
79 {
83 for (
int i = 0;
i <
N; ++
i) {
85 }
87}
static SkPoint rand_pt(SkRandom &rand)
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
◆ cubic_path_maker()
static SkPath cubic_path_maker |
( |
| ) |
|
|
static |
◆ DEF_BENCH() [1/6]
◆ DEF_BENCH() [2/6]
◆ DEF_BENCH() [3/6]
◆ DEF_BENCH() [4/6]
◆ DEF_BENCH() [5/6]
◆ DEF_BENCH() [6/6]
◆ line_path_maker()
static SkPath line_path_maker |
( |
| ) |
|
|
static |
◆ paint_maker()
Definition at line 98 of file StrokeBench.cpp.
98 {
101 paint.setStrokeWidth(
X / 10);
105}
@ kStroke_Style
set to stroke geometry
@ kMiter_Join
extends to miter limit
◆ quad_path_maker()
static SkPath quad_path_maker |
( |
| ) |
|
|
static |
◆ rand_pt()
Definition at line 57 of file StrokeBench.cpp.
57 {
59}
static constexpr SkPoint Make(float x, float y)
◆ cubic_
◆ cubic_1
◆ cubic_4
◆ quad_
◆ quad_1
◆ quad_4