Flutter Engine
The Flutter Engine
|
Public Member Functions | |
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 |
Static Public Attributes | |
static constexpr int | kWidth = 1024 |
static constexpr int | kHeight = 1024 |
static constexpr int | kImageCount |
Protected Types | |
using | INHERITED = Benchmark |
Protected Member Functions | |
void | computeName () |
void | drawImagesBatch (SkCanvas *canvas) const |
void | drawImagesRef (SkCanvas *canvas) const |
void | drawSolidColorsBatch (SkCanvas *canvas) const |
void | drawSolidColorsRef (SkCanvas *canvas) const |
const char * | onGetName () override |
void | onDelayedSetup () override |
void | onPerCanvasPreDraw (SkCanvas *canvas) override |
void | onPerCanvasPostDraw (SkCanvas *canvas) override |
void | onDraw (int loops, SkCanvas *canvas) override |
SkISize | onGetSize () 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 () |
Protected Attributes | |
SkRect | fRects [kRectCount] |
sk_sp< SkImage > | fImages [kImageCount > 0 ? kImageCount :1] |
SkColor4f | fColors [kRectCount] |
SkString | fName |
Additional Inherited Members | |
Public Types inherited from Benchmark | |
enum class | Backend { kNonRendering , kRaster , kGanesh , kGraphite , kPDF , kHWUI } |
Definition at line 42 of file BulkRectBench.cpp.
|
protected |
Definition at line 269 of file BulkRectBench.cpp.
|
inlineprotected |
Definition at line 70 of file BulkRectBench.cpp.
|
inlineprotected |
Definition at line 94 of file BulkRectBench.cpp.
|
inlineprotected |
Definition at line 116 of file BulkRectBench.cpp.
|
inlineprotected |
Definition at line 133 of file BulkRectBench.cpp.
|
inlineprotected |
Definition at line 160 of file BulkRectBench.cpp.
|
inlineoverridevirtual |
Reimplemented from Benchmark.
Definition at line 54 of file BulkRectBench.cpp.
|
inlineoverrideprotectedvirtual |
Reimplemented from Benchmark.
Definition at line 184 of file BulkRectBench.cpp.
|
inlineoverrideprotectedvirtual |
Implements Benchmark.
Definition at line 247 of file BulkRectBench.cpp.
|
inlineoverrideprotectedvirtual |
Implements Benchmark.
Definition at line 177 of file BulkRectBench.cpp.
|
inlineoverrideprotectedvirtual |
Reimplemented from Benchmark.
Definition at line 265 of file BulkRectBench.cpp.
|
inlineoverrideprotectedvirtual |
Reimplemented from Benchmark.
Definition at line 238 of file BulkRectBench.cpp.
|
inlineoverrideprotectedvirtual |
Reimplemented from Benchmark.
Definition at line 219 of file BulkRectBench.cpp.
|
protected |
Definition at line 67 of file BulkRectBench.cpp.
|
protected |
Definition at line 66 of file BulkRectBench.cpp.
|
protected |
Definition at line 68 of file BulkRectBench.cpp.
|
protected |
Definition at line 65 of file BulkRectBench.cpp.
|
inlinestaticconstexpr |
Definition at line 48 of file BulkRectBench.cpp.
|
inlinestaticconstexpr |
Definition at line 51 of file BulkRectBench.cpp.
|
inlinestaticconstexpr |
Definition at line 47 of file BulkRectBench.cpp.