Chromium Code Reviews| Index: gm/gm.h |
| =================================================================== |
| --- gm/gm.h (revision 8115) |
| +++ gm/gm.h (working copy) |
| @@ -16,6 +16,9 @@ |
| #include "SkString.h" |
| #include "SkTRegistry.h" |
| +// Prefix we use for each stderr line, so we can see where the messages are coming from. |
| +#define GM_PREAMBLE "GM: " |
| + |
| #define DEF_GM(code) \ |
| static skiagm::GM* SK_MACRO_APPEND_LINE(F_)(void*) { code; } \ |
| static skiagm::GMRegistry SK_MACRO_APPEND_LINE(R_)(SK_MACRO_APPEND_LINE(F_)); |