summaryrefslogtreecommitdiff
path: root/libs/gui/LayerDebugInfo.cpp
diff options
context:
space:
mode:
author Nader Jawad <njawad@google.com> 2021-05-05 02:59:18 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2021-05-05 02:59:18 +0000
commit2644034f6be9f685f1abbdf7bb375e2fbc7d2db9 (patch)
tree157b4776b05c18c8f59fb771e85a22cc4b629e9b /libs/gui/LayerDebugInfo.cpp
parent40c89dd02d68db446d1d43913d68602157a54a96 (diff)
parent2dfc98b6f563ac7041fd705a8dbcda12cf32fa76 (diff)
Merge "Update SurfaceFlinger to handle stretching of surfaces that are part of a scrolling container" into sc-dev
Diffstat (limited to 'libs/gui/LayerDebugInfo.cpp')
-rw-r--r--libs/gui/LayerDebugInfo.cpp8
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), ",