From d1c65d6708de536a5971575809d7172fa4f54b37 Mon Sep 17 00:00:00 2001 From: Mike Reed Date: Wed, 3 Jan 2018 11:32:13 -0500 Subject: 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 Commit-Queue: Mike Reed --- tools/skpinfo.cpp | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'tools/skpinfo.cpp') 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 -- cgit v1.2.3