commit | f7e88331249c8f5a5fcf4427868a0ef44c78b788 | [log] [tgz] |
---|---|---|
author | Drew Davenport <ddavenport@google.com> | Fri Sep 06 12:54:38 2024 -0600 |
committer | Drew Davenport <ddavenport@google.com> | Fri Sep 13 10:59:13 2024 -0600 |
tree | 6af3b0a6f4c178e44a51f2197a674bfee27fcf24 | |
parent | 7f1761b7c773a7e867f3ef412f685b839f406650 [diff] |
drm_hwcomposer: Implement getDisplayConfigurations This deprecates calls like getDisplayConfigs and getDisplayAttribute. Once HWC2 support has been removed from drm_hwcomposer, the legacy calls could be implemented by calling getDisplayConfigurations. The main different between the two is that in HWC3, the dpi is in dots-per-inch and its unit is float. In HWC2, the dpi is in dots-per-1000-inches and its unit is int32. Change-Id: I9eed17d6f575bc05f1794dc0575f268fe1fc297d Signed-off-by: Drew Davenport <ddavenport@google.com>
Patches to drm_hwcomposer are very much welcome, we really want this to be the universal HW composer implementation for Android and similar platforms. So please bring on porting patches, bugfixes, improvements for documentation and new features.
A short list of contribution guidelines:
Submit changes via gitlab merge requests on gitlab.freedesktop.org.
drm_hwcomposer is Apache 2.0 Licensed and we require contributions to follow the developer's certificate of origin: http://developercertificate.org/.
When submitting new code please follow the naming conventions documented in the generated documentation. Also please make full use of all the helpers and convenience macros provided by drm_hwcomposer. The below command can help you with formatting of your patches:
git diff | clang-format-diff-15 -p 1 -style=file
Hardware specific changes should be tested on relevant platforms before committing.
If you need inspiration, please checkout our TODO issues.
Happy hacking!