commit | 4793d1473ba5b3593643c0e2bf4e109af9c422fd | [log] [tgz] |
---|---|---|
author | Sergey Volk <servolk@google.com> | Mon Dec 04 20:27:38 2023 +0000 |
committer | Sergey Volk <servolk@google.com> | Mon Dec 11 20:15:19 2023 +0000 |
tree | 7435383658c892a9747d8420756d8ba4d89d006a | |
parent | adce874c7984b310b42dde98f7ee579b9f6629cf [diff] |
libhwc2.1: Add getDcDisplayType function Currently HWC uses the getDisplayTypeFromIndex function in a number of places in common/gs101 code, but that function is defined only for primary displays. This CL introduces the getDcDisplayType function, which has the same behavior as getDisplayTypeFromIndex, but will also handle external display properly. Bug: 299682821 Test: presubmit Change-Id: If8d6050bdabef39b8caef5560db32fb579fe1821