Lines Matching refs:DrawResult
63 DrawResult GM::draw(SkCanvas* canvas, SkString* errorMsg) { in draw()
69 DrawResult GM::drawContent(SkCanvas* canvas, SkString* errorMsg) { in drawContent()
76 DrawResult drawResult = this->onDraw(canvas, errorMsg); in drawContent()
77 if (DrawResult::kOk != drawResult) { in drawContent()
78 if (DrawResult::kFail == drawResult) { in drawContent()
99 DrawResult GM::onDraw(SkCanvas* canvas, SkString* errorMsg) { in onDraw()
101 return DrawResult::kOk; in onDraw()
108 DrawResult SimpleGM::onDraw(SkCanvas* canvas, SkString* errorMsg) { in onDraw()
114 DrawResult SimpleGpuGM::onDraw(GrContext* ctx, GrRenderTargetContext* rtc, SkCanvas* canvas, in onDraw()
158 DrawResult GpuGM::onDraw(GrContext* ctx, GrRenderTargetContext* rtc, SkCanvas* canvas, in onDraw()
161 return DrawResult::kOk; in onDraw()
167 DrawResult GpuGM::onDraw(SkCanvas* canvas, SkString* errorMsg) { in onDraw()
172 return DrawResult::kSkip; in onDraw()
176 return DrawResult::kFail; in onDraw()