summaryrefslogtreecommitdiff
path: root/opengl/libagl/array.cpp
diff options
context:
space:
mode:
author Steven Thomas <steventhomas@google.com> 2020-03-24 16:02:53 -0700
committer Steven Thomas <steventhomas@google.com> 2020-04-06 12:55:16 -0700
commitd407190b3691b8b404143281840b805ee21d7f8f (patch)
tree6f5ea79535e90f0c42940db76f4ef57d2b368c8d /opengl/libagl/array.cpp
parent4e2936c2d1d9fa231da596c4288a612574a194e8 (diff)
Add frame rate flexibility token
Add support for temporarily relaxing frame rate restrictions in surface flinger. This is used by CTS tests to get a consistent device state while running frame rate tests. Bug: 148033900 Test: - On a Pixel 4, I turned the brightness down and covered the ambient light sensor, causing the display manager to set a frame rate restriction. I ran the frame rate CTS test without these CLs applied, and confirmed the test failed because surface flinger couldn't switch frame rates, as expected. Then I ran the tests with the CLs applied, and confirmed the tests pass. - I confirmed that, without adopting shell permission identity, the CTS test is denied the request to acquire a frame rate flexibility token. So normal apps won't be able to access this. Change-Id: I6685edc4bc07c7888b79a9dd72a90f56b74e7604
Diffstat (limited to 'opengl/libagl/array.cpp')
0 files changed, 0 insertions, 0 deletions