Lines Matching refs:DrawResult
69 static void handle_gm_failure(SkCanvas* canvas, DrawResult result, const SkString& errorMsg) { in handle_gm_failure()
70 if (DrawResult::kFail == result) { in handle_gm_failure()
86 DrawResult GM::gpuSetup(GrDirectContext* context, SkCanvas* canvas, SkString* errorMsg) { in gpuSetup()
94 if (DrawResult::kOk != fGpuSetupResult) { in gpuSetup()
109 DrawResult GM::draw(SkCanvas* canvas, SkString* errorMsg) { in draw()
115 DrawResult GM::drawContent(SkCanvas* canvas, SkString* errorMsg) { in drawContent()
119 DrawResult drawResult = this->onDraw(canvas, errorMsg); in drawContent()
120 if (DrawResult::kOk != drawResult) { in drawContent()
132 DrawResult GM::onDraw(SkCanvas* canvas, SkString* errorMsg) { in onDraw()
134 return DrawResult::kOk; in onDraw()
141 DrawResult SimpleGM::onDraw(SkCanvas* canvas, SkString* errorMsg) { in onDraw()
147 DrawResult SimpleGpuGM::onDraw(GrRecordingContext* ctx, GrSurfaceDrawContext* rtc, in onDraw()
192 DrawResult GpuGM::onDraw(GrRecordingContext* ctx, GrSurfaceDrawContext* rtc, SkCanvas* canvas, in onDraw()
195 return DrawResult::kOk; in onDraw()
201 DrawResult GpuGM::onDraw(SkCanvas* canvas, SkString* errorMsg) { in onDraw()
207 return DrawResult::kSkip; in onDraw()
211 return DrawResult::kSkip; in onDraw()