Lines Matching refs:DrawResult
47 return skiagm::DrawResult::kOk; \
56 static skiagm::DrawResult SK_MACRO_CONCAT(NAME,_GM)(SkCanvas*, SkString*); \
58 skiagm::DrawResult SK_MACRO_CONCAT(NAME,_GM)(SkCanvas* CANVAS, SkString* ERR_MSG)
71 return skiagm::DrawResult::kOk; \
82 static skiagm::DrawResult SK_MACRO_CONCAT(NAME,_GM)( \
86 skiagm::DrawResult SK_MACRO_CONCAT(NAME,_GM)( \
92 enum class DrawResult { enum
100 using DrawResult = skiagm::DrawResult;
116 DrawResult gpuSetup(GrDirectContext* context, SkCanvas* canvas) { in gpuSetup()
120 DrawResult gpuSetup(GrDirectContext*, SkCanvas*, SkString* errorMsg);
130 DrawResult draw(SkCanvas* canvas) { in draw()
134 DrawResult draw(SkCanvas*, SkString* errorMsg);
137 DrawResult drawContent(SkCanvas* canvas) { in drawContent()
141 DrawResult drawContent(SkCanvas*, SkString* errorMsg);
173 virtual DrawResult onGpuSetup(GrDirectContext*, SkString*) { return DrawResult::kOk; } in onGpuSetup()
176 virtual DrawResult onDraw(SkCanvas*, SkString* errorMsg);
192 DrawResult fGpuSetupResult = DrawResult::kOk;
212 DrawResult onDraw(SkCanvas*, SkString* errorMsg) final;
214 virtual DrawResult onDraw(GrRecordingContext*, GrSurfaceDrawContext*, SkCanvas*,
223 using DrawProc = DrawResult(*)(SkCanvas*, SkString*);
230 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override;
239 using DrawProc = DrawResult (*)(GrRecordingContext*, GrSurfaceDrawContext*,
247 DrawResult onDraw(GrRecordingContext* ctx, GrSurfaceDrawContext* rtc, SkCanvas* canvas,