Lines Matching refs:SkCanvas
39 static void SK_MACRO_CONCAT(NAME,_GM_inner)(SkCanvas*); \
44 void SK_MACRO_CONCAT(NAME,_GM_inner)(SkCanvas* CANVAS)
51 static skiagm::DrawResult SK_MACRO_CONCAT(NAME,_GM)(SkCanvas*, SkString*); \
53 skiagm::DrawResult SK_MACRO_CONCAT(NAME,_GM)(SkCanvas* CANVAS, SkString* ERR_MSG)
61 static void SK_MACRO_CONCAT(NAME,_GM_inner)(GrContext*, GrRenderTargetContext*, SkCanvas*); \
68 GrContext* GR_CONTEXT, GrRenderTargetContext* RENDER_TARGET_CONTEXT, SkCanvas* CANVAS)
76 GrContext*, GrRenderTargetContext*, SkCanvas*, SkString*); \
80 GrContext* GR_CONTEXT, GrRenderTargetContext* RENDER_TARGET_CONTEXT, SkCanvas* CANVAS, \
109 DrawResult draw(SkCanvas* canvas) { in draw()
113 DrawResult draw(SkCanvas*, SkString* errorMsg);
115 void drawBackground(SkCanvas*);
116 DrawResult drawContent(SkCanvas* canvas) { in drawContent()
120 DrawResult drawContent(SkCanvas*, SkString* errorMsg);
138 void drawSizeBounds(SkCanvas*, SkColor);
157 virtual DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg);
158 virtual void onDraw(SkCanvas*);
187 DrawResult onDraw(SkCanvas*, SkString* errorMsg) final;
189 virtual DrawResult onDraw(GrContext* ctx, GrRenderTargetContext* rtc, SkCanvas* canvas,
191 virtual void onDraw(GrContext*, GrRenderTargetContext*, SkCanvas*);
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,
231 void MarkGMGood(SkCanvas*, SkScalar x, SkScalar y);
232 void MarkGMBad (SkCanvas*, SkScalar x, SkScalar y);