-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[VRR] Add sysprop to allow disabling View VRR frame rate check
Bug: 343518413 Fixes: 335232645 Test: ran broken performance test Test: ran existing tests with View VRR disabled Change-Id: I59d110ae17ffd9f72e2a45f2a1af158e58379394
- Loading branch information
George Mount
committed
Jun 7, 2024
1 parent
a71e4b4
commit 64bab3e
Showing
6 changed files
with
171 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Copyright (C) 2024 The Android Open Source Project | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
module: "android.sysprop.ViewProperties" | ||
owner: Platform | ||
|
||
# On low-end devices, the cost of calculating frame rate can | ||
# have noticeable overhead. These devices don't benefit from | ||
# reduced frame rate as much as they benefit from reduced | ||
# work. By setting this to false, the device won't do any | ||
# VRR frame rate calculation for Views. | ||
prop { | ||
api_name: "vrr_enabled" | ||
type: Boolean | ||
prop_name: "ro.view.vrr.enabled" | ||
scope: Internal | ||
access: Readonly | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.