commit | f7f6b3c7cdb7f331f16021aeda903fc68ab1f672 | [log] [tgz] |
---|---|---|
author | Marin Shalamanov <shalamanov@google.com> | Wed Dec 09 13:19:38 2020 +0100 |
committer | Marin Shalamanov <shalamanov@google.com> | Wed Dec 16 20:18:20 2020 +0100 |
tree | 85b2701dd7c5acf617191b39c70369a6571f8954 | |
parent | 9cf9e51cf20a1d907b1fecd6dd59b6071b011f47 [diff] |
SF: RefreshRateOverlay: Create buffers on demand Currently RefreshRateOverlay precomputes the buffers for all available refresh rates on startup. Since the refresh rates can change (e.g. on AndroidTV) it's better to create the buffers on demand. Bug: 159590486 Test: adb shell service call SurfaceFlinger 1034 i32 1 Change-Id: I49732f4b62b41750c5a3cf4020b2dc23b8f3730b