Index: tools/skpinfo.cpp |
=================================================================== |
--- tools/skpinfo.cpp (revision 14349) |
+++ tools/skpinfo.cpp (working copy) |
@@ -14,6 +14,7 @@ |
DEFINE_bool2(version, v, true, "version"); |
DEFINE_bool2(width, w, true, "width"); |
DEFINE_bool2(height, h, true, "height"); |
+DEFINE_bool2(flags, f, true, "flags"); |
DEFINE_bool2(tags, t, true, "tags"); |
DEFINE_bool2(quiet, q, false, "quiet"); |
@@ -64,6 +65,9 @@ |
if (FLAGS_height && !FLAGS_quiet) { |
SkDebugf("Height: %d\n", info.fHeight); |
} |
+ if (FLAGS_flags && !FLAGS_quiet) { |
+ SkDebugf("Flags: 0x%x\n", info.fFlags); |
+ } |
if (!stream.readBool()) { |
// If we read true there's a picture playback object flattened |