Flutter Engine
The Flutter Engine
|
Protected Types | |
enum | ShapeType { kCircle_ShapeType , kRoundRect_ShapeType , kRect_ShapeType , kConvexPath_ShapeType , kConcavePath_ShapeType , kText_ShapeType , kNumShapeTypes } |
Protected Member Functions | |
SkString | getName () const override |
SkISize | getISize () override |
void | drawShape (SkCanvas *canvas, SkPaint *paint, ShapeType type) |
void | onDraw (SkCanvas *canvas) override |
Protected Member Functions inherited from skiagm::GM | |
virtual DrawResult | onGpuSetup (SkCanvas *, SkString *, GraphiteTestContext *) |
virtual void | onGpuTeardown () |
virtual void | onOnceBeforeDraw () |
virtual DrawResult | onDraw (SkCanvas *, SkString *errorMsg) |
virtual void | onDraw (SkCanvas *) |
virtual bool | onAnimate (double) |
virtual bool | onGetControls (SkMetaData *) |
virtual void | onSetControls (const SkMetaData &) |
GraphiteTestContext * | graphiteTestContext () const |
Static Protected Member Functions | |
static SkColor | GetColor (SkRandom *random) |
static void | DrawHairlines (SkCanvas *canvas) |
Additional Inherited Members | |
Public Types inherited from skiagm::GM | |
enum | Mode { kGM_Mode , kSample_Mode , kBench_Mode } |
using | DrawResult = skiagm::DrawResult |
using | GraphiteTestContext = skiatest::graphite::GraphiteTestContext |
Static Public Attributes inherited from skiagm::GM | |
static constexpr char | kErrorMsg_DrawSkippedGpuOnly [] |
Renders overlapping shapes with colorburn against a checkerboard.
Definition at line 36 of file dstreadshuffle.cpp.
|
protected |
Enumerator | |
---|---|
kCircle_ShapeType | |
kRoundRect_ShapeType | |
kRect_ShapeType | |
kConvexPath_ShapeType | |
kConcavePath_ShapeType | |
kText_ShapeType | |
kNumShapeTypes |
Definition at line 41 of file dstreadshuffle.cpp.
|
inline |
Definition at line 38 of file dstreadshuffle.cpp.
|
inlinestaticprotected |
Definition at line 115 of file dstreadshuffle.cpp.
|
inlineprotected |
Definition at line 55 of file dstreadshuffle.cpp.
Definition at line 110 of file dstreadshuffle.cpp.
|
inlineoverrideprotectedvirtual |
|
inlineoverrideprotectedvirtual |
|
inlineoverrideprotectedvirtual |
Reimplemented from skiagm::GM.
Definition at line 138 of file dstreadshuffle.cpp.