diff options
author | Marin Shalamanov <shalamanov@google.com> | 2021-02-23 15:39:43 +0100 |
---|---|---|
committer | Marin Shalamanov <shalamanov@google.com> | 2021-03-02 18:49:21 +0100 |
commit | 09b6e32c1d812bbbf869826ea2cfecdd53d4b6bb (patch) | |
tree | 17f70c4e87e11c419342ac2e47b01524632352d8 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | f51c6d573efe412ec986a5c90d01344273b36dbb (diff) |
DisplayModeDirector: Prefer the default mode if available
We should prefer the default display mode if it's available.
Currently we select the default only if there are no available
modes after filtering, or if the default happens to be the first
on the list of filtered modes.
This fixes a bug where a TV with default display mode of 60Hz
boots in 24 Hz.
Fixes: 181010496
Test: atest DisplayModeDirectorTest
Change-Id: I06a7133ea23c36443f48903eccb6623da7fd93ea
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions