diff options
author | 2014-04-24 21:53:13 +0000 | |
---|---|---|
committer | 2014-04-24 21:53:13 +0000 | |
commit | e2cb12a82ad924f7b134a9459b190213485c6a50 (patch) | |
tree | f9527651ee8bdfa3975eed15b7a1b15d5f607805 /tools | |
parent | d70fa2013adccaa52d1f3e6ca501a4d4ab1520f3 (diff) |
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
Diffstat (limited to 'tools')
-rw-r--r-- | tools/skpinfo.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/skpinfo.cpp b/tools/skpinfo.cpp index 087d7a3565..6b5eded2b3 100644 --- a/tools/skpinfo.cpp +++ b/tools/skpinfo.cpp @@ -14,6 +14,7 @@ DEFINE_string2(input, i, "", "skp on which to report"); 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 @@ int tool_main(int argc, char** argv) { 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 |