• Home
  • Raw
  • Download

Lines Matching refs:SkString

35     DEF_SIMPLE_GM_BG_NAME(NAME, CANVAS, W, H, SK_ColorWHITE, SkString(#NAME))
37 DEF_SIMPLE_GM_BG_NAME(NAME, CANVAS, W, H, BGCOLOR, SkString(#NAME))
47 DEF_SIMPLE_GM_BG_NAME_CAN_FAIL(NAME, CANVAS, ERR_MSG, W, H, SK_ColorWHITE, SkString(#NAME))
49 DEF_SIMPLE_GM_BG_NAME_CAN_FAIL(NAME, CANVAS, ERR_MSG, W, H, BGCOLOR, SkString(#NAME))
51 static skiagm::DrawResult SK_MACRO_CONCAT(NAME,_GM)(SkCanvas*, SkString*); \
53 skiagm::DrawResult SK_MACRO_CONCAT(NAME,_GM)(SkCanvas* CANVAS, SkString* ERR_MSG)
76 GrContext*, GrRenderTargetContext*, SkCanvas*, SkString*); \
77 DEF_GM(return new skiagm::SimpleGpuGM(BGCOLOR, SkString(#NAME), {W,H}, \
81 SkString* ERR_MSG)
110 SkString errorMsg; in draw()
113 DrawResult draw(SkCanvas*, SkString* errorMsg);
117 SkString errorMsg; in drawContent()
120 DrawResult drawContent(SkCanvas*, SkString* errorMsg);
157 virtual DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg);
161 virtual SkString onShortName() = 0;
170 SkString fShortName;
187 DrawResult onDraw(SkCanvas*, SkString* errorMsg) final;
190 SkString* errorMsg);
198 using DrawProc = DrawResult(*)(SkCanvas*, SkString*);
199 SimpleGM(SkColor bgColor, const SkString& name, const SkISize& size, DrawProc drawProc) in SimpleGM()
204 SkString onShortName() override;
205 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override;
207 const SkString fName;
214 using DrawProc = DrawResult(*)(GrContext*, GrRenderTargetContext*, SkCanvas*, SkString*);
215 SimpleGpuGM(SkColor bgColor, const SkString& name, const SkISize& size, DrawProc drawProc) in SimpleGpuGM()
220 SkString onShortName() override;
222 SkString* errorMsg) override;
224 const SkString fName;