commit | 1b0d8b747be23720dec51177900cd8942f94fd4a | [log] [tgz] |
---|---|---|
author | Drew Davenport <ddavenport@google.com> | Tue Sep 24 15:31:38 2024 -0600 |
committer | Drew Davenport <ddavenport@google.com> | Mon Oct 14 14:23:24 2024 -0600 |
tree | 7d606baf248b56792b2d127833bff1665ac83b82 | |
parent | 1afb579b50d4cd3af2fa3b5e57ec22c695d51acb [diff] |
drm_hwcomposer: Stop using HWC2 hooks for CompositionType Add a member to LayerProperties for composition_type, and set composition type along with other layer properties. If the client requests an unsupported CompositionType, it's expected that the HWC will detect this and return an error, and not proceed with further validation of LayerCommand parameters. Change-Id: Icf6d4becb53267f470226ed63b311ac7704d9e12 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!