Lines Matching refs:GM
31 constexpr char GM::kErrorMsg_DrawSkippedGpuOnly[];
66 GM::GM(SkColor bgColor) { in GM() function in GM
73 GM::~GM() {} in ~GM()
75 DrawResult GM::draw(SkCanvas* canvas, SkString* errorMsg) { in draw()
81 DrawResult GM::drawContent(SkCanvas* canvas, SkString* errorMsg) { in drawContent()
101 void GM::drawBackground(SkCanvas* canvas) { in drawBackground()
111 DrawResult GM::onDraw(SkCanvas* canvas, SkString* errorMsg) { in onDraw()
115 void GM::onDraw(SkCanvas*) { SK_ABORT("Not implemented."); } in onDraw()
131 const char* GM::getName() { in getName()
138 void GM::setBGColor(SkColor color) { in setBGColor()
142 bool GM::animate(double nanos) { return this->onAnimate(nanos); } in animate()
144 bool GM::runAsBench() const { return false; } in runAsBench()
145 void GM::modifyGrContextOptions(GrContextOptions* options) {} in modifyGrContextOptions()
147 void GM::onOnceBeforeDraw() {} in onOnceBeforeDraw()
149 bool GM::onAnimate(double /*nanos*/) { return false; } in onAnimate()
151 bool GM::onChar(SkUnichar uni) { return false; } in onChar()
153 bool GM::onGetControls(SkMetaData*) { return false; } in onGetControls()
155 void GM::onSetControls(const SkMetaData&) {} in onSetControls()
159 void GM::drawSizeBounds(SkCanvas* canvas, SkColor color) { in drawSizeBounds()