diff options
| author | 2023-01-11 15:24:03 -0800 | |
|---|---|---|
| committer | 2023-01-13 00:37:48 +0000 | |
| commit | 86ac5c5b0984078d122839adfdc633259bb051e3 (patch) | |
| tree | 3ac82202e1b20d0f4c932388db36ed529ce3f069 /libs/jpegrecoverymap/jpegencoderhelper.cpp | |
| 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
Diffstat (limited to 'libs/jpegrecoverymap/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions