diff options
| author | 2019-03-21 15:40:11 -0700 | |
|---|---|---|
| committer | 2019-03-27 13:27:32 -0700 | |
| commit | 03b02dda62e8d1dc8a07eb927b2f47189c2a926d (patch) | |
| tree | 9327b347fc96c5306cca634c1f87938acd5144cf /services/surfaceflinger/RegionSamplingThread.cpp | |
| parent | de3b67baeae88ffb719d2a0e7b209cf96a891348 (diff) | |
SurfaceFlinger: add Refresh Rate overlay
Add an overlay to indicate what is the current refresh rate.
Currently it is implemented by a ColorLayer:
- Red - Default refresh rate
- Green - Performance refresh rate
To enable the overlay:
adb shell service call SurfaceFlinger 1034 i32 1
To disable the overlay:
adb shell service call SurfaceFlinger 1034 i32 0
Test: manual
Change-Id: I851f2530e7accacd2cac446b30aa2e0b6d431a92
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions