diff options
author | Steven Thomas <steventhomas@google.com> | 2020-01-31 18:50:02 -0800 |
---|---|---|
committer | Steven Thomas <steventhomas@google.com> | 2020-02-17 00:38:43 -0800 |
commit | dd7bf2fea566be919c7807b14833c3d3c1fa8458 (patch) | |
tree | 89c013c5a66aa787ba9c145c543f0395777f0ef9 /opengl/java | |
parent | 0d8fea17d31a49d8a4b7ecb3e5ce4421df45a84c (diff) |
Add compatibility param to setFrameRate() api
Add a compatiblity param to the setFrameRate() api, so the system has
more info to decide the device frame rate when there are multiple
competing preferences.
I also changed the plumbing for setFrameRate() to go directly to surface
flinger, instead of through buffer queue. We're trying to avoid changes
to buffer queue code, to avoid disturbing the prebuilts.
Bug: 137287430
Test: Added new cts tests to verify behavior of the compatibility param.
cts-tradefed run commandAndExit cts-dev --module CtsGraphicsTestCases --test android.graphics.cts.SetFrameRateTest
Test: /data/nativetest64/SurfaceFlinger_test/SurfaceFlinger_test --gtest_filter='SetFrameRateTest.*'
Change-Id: I9123afee2ba63d01ff35fb2b257a1ee0e4928ddd
Diffstat (limited to 'opengl/java')
0 files changed, 0 insertions, 0 deletions