diff options
author | 2021-04-08 20:35:39 -0700 | |
---|---|---|
committer | 2021-05-04 10:43:06 -0700 | |
commit | 2dfc98b6f563ac7041fd705a8dbcda12cf32fa76 (patch) | |
tree | d321d127b41e515587411936a879c3060c9fb2d4 /libs/gui/LayerDebugInfo.cpp | |
parent | a0e37d286b55bab43ce2c295f98885c9bf77dc95 (diff) |
Update SurfaceFlinger to handle stretching
of surfaces that are part of a scrolling container
Bug: 184297961
Test: In progress
Change-Id: I959df097ae1fc833fb755f1fb2d759d79f260963
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), ", |