Flutter Engine
The Flutter Engine
|
Public Member Functions | |
ImageCacheratorGM (const char suffix[], FactoryFunc factory, bool useTexture) | |
Public Member Functions inherited from skiagm::GM | |
GM (SkColor backgroundColor=SK_ColorWHITE) | |
virtual | ~GM () |
void | setMode (Mode mode) |
Mode | getMode () const |
DrawResult | gpuSetup (SkCanvas *, SkString *errorMsg, GraphiteTestContext *=nullptr) |
void | gpuTeardown () |
void | onceBeforeDraw () |
DrawResult | draw (SkCanvas *canvas) |
DrawResult | draw (SkCanvas *, SkString *errorMsg) |
void | drawBackground (SkCanvas *) |
DrawResult | drawContent (SkCanvas *canvas) |
DrawResult | drawContent (SkCanvas *, SkString *errorMsg) |
virtual SkISize | getISize ()=0 |
virtual SkString | getName () const =0 |
virtual bool | runAsBench () const |
SkScalar | width () |
SkScalar | height () |
SkColor | getBGColor () const |
void | setBGColor (SkColor) |
void | drawSizeBounds (SkCanvas *, SkColor) |
bool | animate (double) |
virtual bool | onChar (SkUnichar) |
bool | getControls (SkMetaData *controls) |
void | setControls (const SkMetaData &controls) |
virtual void | modifyGrContextOptions (GrContextOptions *) |
virtual void | modifyGraphiteContextOptions (skgpu::graphite::ContextOptions *) const |
virtual bool | isBazelOnly () const |
virtual std::map< std::string, std::string > | getGoldKeys () const |
Protected Member Functions | |
SkString | getName () const override |
SkISize | getISize () override |
void | onOnceBeforeDraw () override |
bool | makeCaches (SkCanvas *canvas) |
void | drawRow (GrDirectContext *dContext, SkCanvas *canvas, float scale) const |
DrawResult | onDraw (SkCanvas *canvas, SkString *errorMsg) 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 void | draw_placeholder (SkCanvas *canvas, SkScalar x, SkScalar y, int w, int h) |
static void | draw_as_bitmap (GrDirectContext *dContext, SkCanvas *canvas, SkImage *image, SkScalar x, SkScalar y) |
static void | draw_as_tex (SkCanvas *canvas, SkImage *image, SkScalar x, SkScalar y) |
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 [] |
Definition at line 250 of file image_pict.cpp.
|
inline |
Definition at line 261 of file image_pict.cpp.
|
inlinestaticprotected |
Definition at line 344 of file image_pict.cpp.
|
inlinestaticprotected |
Definition at line 354 of file image_pict.cpp.
|
inlinestaticprotected |
Definition at line 335 of file image_pict.cpp.
|
inlineprotected |
Definition at line 379 of file image_pict.cpp.
|
inlineoverrideprotectedvirtual |
|
inlineoverrideprotectedvirtual |
|
inlineprotected |
Definition at line 278 of file image_pict.cpp.
|
inlineoverrideprotectedvirtual |
Reimplemented from skiagm::GM.
Definition at line 395 of file image_pict.cpp.
|
inlineoverrideprotectedvirtual |
Reimplemented from skiagm::GM.
Definition at line 271 of file image_pict.cpp.