Flutter Engine
The Flutter Engine
|
Public Types | |
enum | { W = 200 , H = 200 , COUNT = 10 } |
typedef bool(* | Proc) (SkRegion &a, SkRegion &b) |
Public Types inherited from Benchmark | |
enum class | Backend { kNonRendering , kRaster , kGanesh , kGraphite , kPDF , kHWUI } |
Public Member Functions | |
SkIRect | randrect (SkRandom &rand, int i) |
RegionContainBench (Proc proc, const char name[]) | |
bool | isSuitableFor (Backend backend) override |
Public Member Functions inherited from Benchmark | |
Benchmark () | |
const char * | getName () |
const char * | getUniqueName () |
SkISize | getSize () |
virtual bool | isSuitableFor (Backend backend) |
virtual void | modifyGrContextOptions (GrContextOptions *) |
virtual bool | shouldLoop () const |
void | delayedSetup () |
void | perCanvasPreDraw (SkCanvas *) |
void | perCanvasPostDraw (SkCanvas *) |
void | preDraw (SkCanvas *) |
void | postDraw (SkCanvas *) |
void | draw (int loops, SkCanvas *) |
virtual void | getGpuStats (SkCanvas *, skia_private::TArray< SkString > *keys, skia_private::TArray< double > *values) |
virtual bool | getDMSAAStats (GrRecordingContext *) |
int | getUnits () const |
Public Member Functions inherited from SkRefCntBase | |
SkRefCntBase () | |
virtual | ~SkRefCntBase () |
bool | unique () const |
void | ref () const |
void | unref () const |
Public Attributes | |
SkRegion | fA |
SkRegion | fB |
Proc | fProc |
SkString | fName |
Protected Member Functions | |
const char * | onGetName () override |
void | onDraw (int loops, SkCanvas *) override |
Protected Member Functions inherited from Benchmark | |
void | setUnits (int units) |
virtual void | setupPaint (SkPaint *paint) |
virtual const char * | onGetName ()=0 |
virtual const char * | onGetUniqueName () |
virtual void | onDelayedSetup () |
virtual void | onPerCanvasPreDraw (SkCanvas *) |
virtual void | onPerCanvasPostDraw (SkCanvas *) |
virtual void | onPreDraw (SkCanvas *) |
virtual void | onPostDraw (SkCanvas *) |
virtual void | onDraw (int loops, SkCanvas *)=0 |
virtual SkISize | onGetSize () |
Definition at line 18 of file RegionContainBench.cpp.
Definition at line 20 of file RegionContainBench.cpp.
anonymous enum |
Enumerator | |
---|---|
W | |
H | |
COUNT |
Definition at line 25 of file RegionContainBench.cpp.
|
inline |
Definition at line 36 of file RegionContainBench.cpp.
|
inlineoverridevirtual |
Reimplemented from Benchmark.
Definition at line 48 of file RegionContainBench.cpp.
|
inlineoverrideprotectedvirtual |
Definition at line 31 of file RegionContainBench.cpp.
SkRegion RegionContainBench::fA |
Definition at line 21 of file RegionContainBench.cpp.
SkRegion RegionContainBench::fB |
Definition at line 21 of file RegionContainBench.cpp.
SkString RegionContainBench::fName |
Definition at line 23 of file RegionContainBench.cpp.
Proc RegionContainBench::fProc |
Definition at line 22 of file RegionContainBench.cpp.