Flutter Engine
The Flutter Engine
|
Protected Member Functions | |
SkString | getName () const override |
SkISize | getISize () override |
bool | runAsBench () const override |
void | onOnceBeforeDraw () override |
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 |
Protected Attributes | |
SkRegion | fRegion |
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 [] |
This is very similar to the RectGrid macrobench in Android.
Definition at line 19 of file drawregion.cpp.
|
inline |
Definition at line 21 of file drawregion.cpp.
|
inlineoverrideprotectedvirtual |
|
inlineoverrideprotectedvirtual |
|
inlineoverrideprotectedvirtual |
Reimplemented from skiagm::GM.
Definition at line 40 of file drawregion.cpp.
|
inlineoverrideprotectedvirtual |
|
inlineoverrideprotectedvirtual |
Reimplemented from skiagm::GM.
Definition at line 28 of file drawregion.cpp.
|
protected |
Definition at line 52 of file drawregion.cpp.