commit | b0054a2646e2031b9e55230f6e511e00171601f7 | [log] [tgz] |
---|---|---|
author | Dominik Laskowski <domlaskowski@google.com> | Thu Mar 03 09:03:06 2022 -0800 |
committer | Dominik Laskowski <domlaskowski@google.com> | Tue Mar 15 14:40:44 2022 -0700 |
tree | 9a12d9a61cadf61990158af8841f2689e3848496 | |
parent | 6c7b36e812413a8fb0ada8e287a648dcedfbb107 [diff] |
SF: Unify data types for display modes Remove the RefreshRateConfigs::RefreshRate wrapper around DisplayMode. Store DisplayModes as a SmallMap, so that RefreshRateConfigs uses the same data structure for lookup by ID. Use iterators into that map for all bookkeeping in RefreshRateConfigs. Bug: 182939859 Bug: 185535769 Test: libsurfaceflinger_unittest Change-Id: I7708fa997089802c45d906b17b7a073f5c82105e