First pass at GPU veto
As a short term solution this CL collects information during the recording process for use in suitableForGpuRasterization.
BUG=366495
R=bsalomon@google.com, reed@google.com, alokp@chromium.org
Author: robertphillips@google.com
Review URL: https://codereview.chromium.org/251533004
git-svn-id: http://skia.googlecode.com/svn/trunk@14368 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tools/skpinfo.cpp b/tools/skpinfo.cpp
index 087d7a3..6b5eded 100644
--- a/tools/skpinfo.cpp
+++ b/tools/skpinfo.cpp
@@ -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