diff options
author | Brian Orr <brianorr@google.com> | 2021-05-13 09:29:52 -0700 |
---|---|---|
committer | Brian Orr <brianorr@google.com> | 2021-05-13 09:29:52 -0700 |
commit | 2002595eeaa15527bedfee55f7cf1be1e53a96cd (patch) | |
tree | 03b73f8bc1eb66ba48150e179382440597539085 /libs/gui/LayerDebugInfo.cpp | |
parent | e06752e28f70267b23356c511130da74b3e9f40f (diff) | |
parent | d253621149976855feed18e51ed504be145fa1c4 (diff) |
Merge SP1A.210510.001
Change-Id: Id17825b5c1611b4a2e80450a412b06082d854ae1
Diffstat (limited to 'libs/gui/LayerDebugInfo.cpp')
-rw-r--r-- | libs/gui/LayerDebugInfo.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libs/gui/LayerDebugInfo.cpp b/libs/gui/LayerDebugInfo.cpp index e707684618..0827bbe3ee 100644 --- a/libs/gui/LayerDebugInfo.cpp +++ b/libs/gui/LayerDebugInfo.cpp @@ -119,9 +119,11 @@ std::string to_string(const LayerDebugInfo& info) { info.mSurfaceDamageRegion.dump(result, "SurfaceDamageRegion"); if (info.mStretchEffect.hasEffect()) { const auto& se = info.mStretchEffect; - StringAppendF(&result, " StretchEffect area=[%f, %f, %f, %f] vec=(%f, %f) maxAmount=%f\n", - se.area.left, se.area.top, se.area.right, se.area.bottom, se.vectorX, - se.vectorY, se.maxAmount); + StringAppendF(&result, + " StretchEffect width = %f, height = %f vec=(%f, %f) " + "maxAmount=(%f, %f)\n", + se.width, se.height, + se.vectorX, se.vectorY, se.maxAmountX, se.maxAmountY); } StringAppendF(&result, " layerStack=%4d, z=%9d, pos=(%g,%g), size=(%4d,%4d), ", |