summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/RegionSamplingThread.cpp
diff options
context:
space:
mode:
author Ady Abraham <adyabr@google.com> 2019-03-21 15:40:11 -0700
committer Ady Abraham <adyabr@google.com> 2019-03-27 13:27:32 -0700
commit03b02dda62e8d1dc8a07eb927b2f47189c2a926d (patch)
tree9327b347fc96c5306cca634c1f87938acd5144cf /services/surfaceflinger/RegionSamplingThread.cpp
parentde3b67baeae88ffb719d2a0e7b209cf96a891348 (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