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
3 files changed