summaryrefslogtreecommitdiff
path: root/libs/gui/FrameRateUtils.cpp
AgeCommit message (Collapse)Author
2024-12-16[Native] FRAME_RATE_COMPATIBILITY_GTE renamed to ↵ ramindani
FRAME_RATE_COMPATIBILITY_AT_LEAST Test: atest LayerHistoryIntegrationTest Test: atest SetFrameRateTest Test: atest SurfaceControlTest Test: atest ViewRootImplTest BUG: 383309509 Flag: com.android.graphics.surfaceflinger.flags.arr_setframerate_gte_enum Change-Id: I52ef062cfc05be9bf7bdfdcaf6b6ef7cb2e236b7
2024-11-30Add GTE compatibility enum to ANativeWindow. Rachel Lee
This moves and renames the enum into ANativeWindow where it is accessible in the public NDK. Test: atest SetFrameRateTest Test: atest libsurfaceflinger_unittest Test: atest LayerHistoryIntegrationTest Bug: 380949716 Flag: EXEMPT ndk Change-Id: I5216c3ceb223f7b9a0571be14544e83d7f8859ea
2024-02-26GTE frame rate compatibility needs validation Rachel Lee
Validate the GTE frame rate compatibility value, otherwise it does not reach SF. Bug: 327013543 Test: atest FrameRateUtilsTest Test: atest CtsSurfaceControlTestsStaging Change-Id: I3cb7fc7c9cbd32eb8db8e07718a89c3918b72a9f
2023-10-27libgui: use flag MACRO for BQ_SETFRAMERATE Ady Abraham
Bug: 281695725 Test: presubmit Change-Id: I644dadbfc72cd50d80c50d36da96078253bbc009
2023-09-14libgui: plumb setFrameRate thru BufferQueue Ady Abraham
The current implementation just assumes that the Surface and BLASTBufferQueue lives in the same process and rely on inheritance to handle setFrameRate. This doesn't work for any usecase that the Surface is Parceled to a diffrent process. Bug: 281695725 Test: atest CtsGraphicsTestCases --test-filter SetFrameRateTest* Change-Id: I4e08b92b618fa7b863ca3ef4f7b46d9f1c30c775