commit | a2f3efa162f8d8b4a65700bd3b95e8f35fd3b093 | [log] [tgz] |
---|---|---|
author | Tim Van Patten <timvp@google.com> | Tue Oct 15 17:44:54 2024 -0600 |
committer | Tim Van Patten <timvp@google.com> | Tue Oct 22 12:05:49 2024 -0600 |
tree | 5cc1082d18b2237e3090668832e1e506352e3835 | |
parent | d36bbb85283880859d3f1f018dd36196d4c497b7 [diff] |
drm_hwcomposer: Implement getDisplayPhysicalOrientation() Implement ComposerClient::getDisplayPhysicalOrientation() by querying the DRM display panel orientation property and translating the result to the correct common::Transform enum value. The result is used by SurfaceFlinger to correctly rotate the image before displaying it to the user. Signed-off-by: Tim Van Patten <timvp@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-19 -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!