diff options
author | mtklein <mtklein@chromium.org> | 2014-09-11 12:30:12 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-11 12:30:12 -0700 |
commit | 0b36e6b65f8c124f2ef2601294288219b3c3a1f0 (patch) | |
tree | 62c07c66beca97e2f1ebf9d09d47e53d61f647e3 /dm/DMUtil.h | |
parent | 56b00d9e7aecce7ffc6b915972cc3cbfbe051d7e (diff) |
Add --matrix to DM, to play around with and maybe use on a bot.
BUG=skia:
R=reed@google.com, mtklein@google.com
Author: mtklein@chromium.org
Review URL: https://codereview.chromium.org/563723005
Diffstat (limited to 'dm/DMUtil.h')
-rw-r--r-- | dm/DMUtil.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dm/DMUtil.h b/dm/DMUtil.h index fa29c76757..49da857edb 100644 --- a/dm/DMUtil.h +++ b/dm/DMUtil.h @@ -2,6 +2,7 @@ #define DMUtil_DEFINED #include "SkBitmap.h" +#include "SkCanvas.h" #include "SkString.h" #include "gm.h" @@ -36,6 +37,9 @@ unsigned MaxComponentDifference(const SkBitmap& a, const SkBitmap& b); // Are these identical bitmaps? bool BitmapsEqual(const SkBitmap& a, const SkBitmap& b); +// Hook to modify canvas using global flag values (e.g. --matrix). +void CanvasPreflight(SkCanvas*); + } // namespace DM #endif // DMUtil_DEFINED |