diff options
author | 2017-11-03 10:12:19 -0700 | |
---|---|---|
committer | 2017-11-03 10:57:44 -0700 | |
commit | 1bcacfdcab0eaa0cee92bd7f5a1b5e271dd68e52 (patch) | |
tree | 4a1366cf2d1cf50b5ec4ed1a8cf0f437053cd0d7 /libs/hwui/OpDumper.cpp | |
parent | 30ec71c0fe194a551d2e4abaff2159e0730488e0 (diff) |
Format the world (or just HWUI)
Test: No code changes, just ran through clang-format
Change-Id: Id23aa4ec7eebc0446fe3a30260f33e7fd455bb8c
Diffstat (limited to 'libs/hwui/OpDumper.cpp')
-rw-r--r-- | libs/hwui/OpDumper.cpp | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/libs/hwui/OpDumper.cpp b/libs/hwui/OpDumper.cpp index f4b7ee0fe430..5d2ccc77e82f 100644 --- a/libs/hwui/OpDumper.cpp +++ b/libs/hwui/OpDumper.cpp @@ -34,14 +34,13 @@ void OpDumper::dump(const RecordedOp& op, std::ostream& output, int level) { op.localMatrix.mapRect(localBounds); output << sOpNameLut[op.opId] << " " << localBounds; - if (op.localClip - && (!op.localClip->rect.contains(localBounds) || op.localClip->intersectWithRoot)) { - output << std::fixed << std::setprecision(0) - << " clip=" << op.localClip->rect - << " mode=" << (int)op.localClip->mode; + if (op.localClip && + (!op.localClip->rect.contains(localBounds) || op.localClip->intersectWithRoot)) { + output << std::fixed << std::setprecision(0) << " clip=" << op.localClip->rect + << " mode=" << (int)op.localClip->mode; if (op.localClip->intersectWithRoot) { - output << " iwr"; + output << " iwr"; } } } @@ -50,5 +49,5 @@ const char* OpDumper::opName(const RecordedOp& op) { return sOpNameLut[op.opId]; } -} // namespace uirenderer -} // namespace android +} // namespace uirenderer +} // namespace android |