commit | e5fbbbb2bcee52f2655e45474830782ca6bd4236 | [log] [tgz] |
---|---|---|
author | Drew Davenport <ddavenport@google.com> | Mon Oct 14 15:49:27 2024 -0600 |
committer | Drew Davenport <ddavenport@google.com> | Fri Oct 18 10:47:01 2024 -0600 |
tree | 32f898524eb45191a910d46dc1c64bd75cdddaec | |
parent | 71a8f02e9833267f72d26fbc2bd95f4aa92bc98d [diff] |
drm_hwcomposer: Stop using HWC2 for setting layer buffer Clean up HWC3 implementation around setting layer buffers a bit by duping the acquire fence rather than relying on const_cast. Set the layer buffer through LayerProperties instead of through the HWC2 SetLayerBuffer API. Change-Id: Ifd873423d5536cdb07f4d6d868ef3a9fd641fafe 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-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!