summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Steven Thomas <steventhomas@google.com> 2020-01-31 12:04:03 -0800
committer Steven Thomas <steventhomas@google.com> 2020-02-18 16:49:54 -0800
commit62a4cf8c48647de3442808264005e093ab7704f0 (patch)
treee11edbf1ffcdba13993ecde3fff1f4e4b24a1908 /libs/gui/BufferQueueThreadState.cpp
parentb0d738af0fe2874416cecac9eb7f931d01a12a31 (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: Ibe75a778fb459d4138a1446c1b38b44798b56a99
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions