commit | 86ac5c5b0984078d122839adfdc633259bb051e3 | [log] [tgz] |
---|---|---|
author | Ady Abraham <adyabr@google.com> | Wed Jan 11 15:24:03 2023 -0800 |
committer | Ady Abraham <adyabr@google.com> | Fri Jan 13 00:37:48 2023 +0000 |
tree | 3ac82202e1b20d0f4c932388db36ed529ce3f069 | |
parent | 4079d69adeb0c9a55e8b2651775470a8dc2ab0bb [diff] |
SF: tune infrequent layers for animations Classify a layer as frequent or not based the last buffer pattern. When unknown (e.g. the first buffer after inactivity), return the last known state of the layer. This change helps to correctly classify animating layers that were inactive and now posts the first buffer. Bug: 264952266 Test: atest libsurfaceflinger_unittest Change-Id: Ie6a1a21c00f7bb58468da033e98d5e35eb0c4c8d