Lines Matching refs:DrawResult
45 return skiagm::DrawResult::kOk; \
54 static skiagm::DrawResult SK_MACRO_CONCAT(NAME,_GM)(SkCanvas*, SkString*); \
56 skiagm::DrawResult SK_MACRO_CONCAT(NAME,_GM)(SkCanvas* CANVAS, SkString* ERR_MSG)
68 return skiagm::DrawResult::kOk; \
78 static skiagm::DrawResult SK_MACRO_CONCAT(NAME,_GM)( \
82 skiagm::DrawResult SK_MACRO_CONCAT(NAME,_GM)( \
88 enum class DrawResult { enum
96 using DrawResult = skiagm::DrawResult;
112 DrawResult draw(SkCanvas* canvas) { in draw()
116 DrawResult draw(SkCanvas*, SkString* errorMsg);
119 DrawResult drawContent(SkCanvas* canvas) { in drawContent()
123 DrawResult drawContent(SkCanvas*, SkString* errorMsg);
158 virtual DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg);
187 DrawResult onDraw(SkCanvas*, SkString* errorMsg) final;
189 virtual DrawResult onDraw(GrContext* ctx, GrRenderTargetContext* rtc, SkCanvas* canvas,
198 using DrawProc = DrawResult(*)(SkCanvas*, SkString*);
205 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override;
214 using DrawProc = DrawResult(*)(GrContext*, GrRenderTargetContext*, SkCanvas*, SkString*);
221 DrawResult onDraw(GrContext* ctx, GrRenderTargetContext* rtc, SkCanvas* canvas,