commit | e5514a7bf2da6d82aa9166edb359c6806bb4dcc9 | [log] [tgz] |
---|---|---|
author | Rachel Lee <rnlee@google.com> | Wed Oct 25 16:20:29 2023 -0700 |
committer | Rachel Lee <rnlee@google.com> | Wed Nov 29 16:12:57 2023 -0800 |
tree | 4b3fe2666954da6ff68133e8bc145280fc2c6226 | |
parent | 791b234ccf11e7ee347eb8f881baff88cfc4fc63 [diff] [blame] |
Add frame rate compatibility GTE logic Bug: 306080972 Test: atest libsurfaceflinger_unittest Test: atest SetFrameRateTest Change-Id: I65551be0f96fd7d4137e49259436e1a9c74bfe90
diff --git a/services/surfaceflinger/Scheduler/LayerHistory.cpp b/services/surfaceflinger/Scheduler/LayerHistory.cpp index d309adc..9c00302 100644 --- a/services/surfaceflinger/Scheduler/LayerHistory.cpp +++ b/services/surfaceflinger/Scheduler/LayerHistory.cpp
@@ -278,6 +278,8 @@ return LayerVoteType::NoVote; case Layer::FrameRateCompatibility::Exact: return LayerVoteType::ExplicitExact; + case Layer::FrameRateCompatibility::Gte: + return LayerVoteType::ExplicitGte; } }();