Home
last modified time | relevance | path

Searched refs:CANVAS (Results 1 – 2 of 2) sorted by relevance

/external/skia/gm/
Dgm.h39 #define DEF_SIMPLE_GM(NAME, CANVAS, W, H) \ argument
40 DEF_SIMPLE_GM_BG_NAME(NAME, CANVAS, W, H, SK_ColorWHITE, SkString(#NAME))
41 #define DEF_SIMPLE_GM_BG(NAME, CANVAS, W, H, BGCOLOR) \ argument
42 DEF_SIMPLE_GM_BG_NAME(NAME, CANVAS, W, H, BGCOLOR, SkString(#NAME))
43 #define DEF_SIMPLE_GM_BG_NAME(NAME, CANVAS, W, H, BGCOLOR, NAME_STR) \ argument
45 DEF_SIMPLE_GM_BG_NAME_CAN_FAIL(NAME, CANVAS,, W, H, BGCOLOR, NAME_STR) { \
46 SK_MACRO_CONCAT(NAME,_GM_inner)(CANVAS); \
49 void SK_MACRO_CONCAT(NAME,_GM_inner)(SkCanvas* CANVAS)
51 #define DEF_SIMPLE_GM_CAN_FAIL(NAME, CANVAS, ERR_MSG, W, H) \ argument
52 DEF_SIMPLE_GM_BG_NAME_CAN_FAIL(NAME, CANVAS, ERR_MSG, W, H, SK_ColorWHITE, SkString(#NAME))
[all …]
/external/skqp/gm/
Dgm.h35 #define DEF_SIMPLE_GM(NAME, CANVAS, W, H) \ argument
36 DEF_SIMPLE_GM_BG_NAME(NAME, CANVAS, W, H, SK_ColorWHITE, SkString(#NAME))
37 #define DEF_SIMPLE_GM_BG(NAME, CANVAS, W, H, BGCOLOR)\ argument
38 DEF_SIMPLE_GM_BG_NAME(NAME, CANVAS, W, H, BGCOLOR, SkString(#NAME))
39 #define DEF_SIMPLE_GM_BG_NAME(NAME, CANVAS, W, H, BGCOLOR, NAME_STR) \ argument
40 static void SK_MACRO_CONCAT(NAME, _GM)(SkCanvas * CANVAS); \
43 void SK_MACRO_CONCAT(NAME, _GM)(SkCanvas * CANVAS)