aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/skpinfo.cpp
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2018-01-03 11:32:13 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-01-03 18:13:39 +0000
commitd1c65d6708de536a5971575809d7172fa4f54b37 (patch)
tree33853164c19762d89e3a1ce7e1a48f81ac77d9a0 /tools/skpinfo.cpp
parent314d7c267f968643966d0e9678db9ef4e53456a4 (diff)
remove unneeded readbuffer flags
- buffers are always 'cross-process' - readbuffer is always validating Bug:796107 Change-Id: I59614e9c29490c0b029c60d2aafe2806671bc9e1 Reviewed-on: https://skia-review.googlesource.com/90560 Reviewed-by: Mike Klein <mtklein@google.com> Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'tools/skpinfo.cpp')
-rw-r--r--tools/skpinfo.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/tools/skpinfo.cpp b/tools/skpinfo.cpp
index 11b1bb6585..865492d58c 100644
--- a/tools/skpinfo.cpp
+++ b/tools/skpinfo.cpp
@@ -64,28 +64,6 @@ int main(int argc, char** argv) {
info.fCullRect.fLeft, info.fCullRect.fTop,
info.fCullRect.fRight, info.fCullRect.fBottom);
}
- if (FLAGS_flags && !FLAGS_quiet) {
- SkDebugf("Flags: ");
- bool needsSeparator = false;
- if (info.fFlags & SkPictInfo::kCrossProcess_Flag) {
- SkDebugf("kCrossProcess");
- needsSeparator = true;
- }
- if (info.fFlags & SkPictInfo::kScalarIsFloat_Flag) {
- if (needsSeparator) {
- SkDebugf("|");
- }
- SkDebugf("kScalarIsFloat");
- needsSeparator = true;
- }
- if (info.fFlags & SkPictInfo::kPtrIs64Bit_Flag) {
- if (needsSeparator) {
- SkDebugf("|");
- }
- SkDebugf("kPtrIs64Bit");
- }
- SkDebugf("\n");
- }
if (!stream.readBool()) {
// If we read true there's a picture playback object flattened