Definition at line 18 of file simplerect.cpp.
◆ SimpleRectGM()
SimpleRectGM::SimpleRectGM |
( |
| ) |
|
|
inline |
◆ getISize()
|
inlineoverrideprotectedvirtual |
◆ getName()
SkString SimpleRectGM::getName |
( |
| ) |
const |
|
inlineoverrideprotectedvirtual |
Implements skiagm::GM.
Definition at line 23 of file simplerect.cpp.
23 {
25 name.printf(
"simplerect");
27 }
DEF_SWITCHES_START aot vmservice shared library name
◆ onAnimate()
bool SimpleRectGM::onAnimate |
( |
double |
nanos | ) |
|
|
inlineoverrideprotectedvirtual |
◆ onDraw()
void SimpleRectGM::onDraw |
( |
SkCanvas * |
canvas | ) |
|
|
inlineoverrideprotectedvirtual |
Reimplemented from skiagm::GM.
Definition at line 31 of file simplerect.cpp.
31 {
33
37
40 for (
int i = 0;
i < 10000;
i++) {
47 }
48 }
void drawRect(const SkRect &rect, const SkPaint &paint)
void translate(SkScalar dx, SkScalar dy)
SkScalar nextRangeScalar(SkScalar min, SkScalar max)
static float max(float r, float g, float b)
static float min(float r, float g, float b)
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
static constexpr SkRect MakeXYWH(float x, float y, float w, float h)
The documentation for this class was generated from the following file: