summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Evan Laird <evanlaird@google.com> 2023-06-08 13:34:20 -0400
committer Evan Laird <evanlaird@google.com> 2023-06-08 13:44:36 -0400
commitd8e648ee834a2dd2a424fec7591efab77ab6c69c (patch)
tree699e80a25119049cb22cff797ccfdbd00f7dc258 /libs/hwui/FrameInfoVisualizer.cpp
parenteba0b0f0dfd77caa7bcda7dd2994e972418d4ab9 (diff)
[Decor] Add DebugRoundedCornerDelegate
This CL introduces the ability to have debug rounded corners in ScreenDecorations. It does this by creating a DebugRoundedCornerDelegate that maintains the debug state for rounded corners, and modifying ScreenDecorations to read from that delegate when in debug mode AND the delegate has providers. This means that debug mode actually has 2 stages: 1. simply turning on debug mode and providing no extra rounded corner information will change the device-default corners to show up in screenshots and display in color. 2. Secondly, providing a debug corner path spec will switch from using the rounded corner delegate to the new debug delegate. This switching is to-be-defined in a future CL, but it will involve re-solving for the providers and overlays. Test: manual Test: ScreenDecorationsTest Bug: 285941724 Change-Id: Ia0ce4c06117a2877cc930a1c1683912a383a968c
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions