commit | 4e15bfc9481019f98e34aa5458537ca467b7e11b | [log] [tgz] |
---|---|---|
author | Roman Stratiienko <r.stratiienko@gmail.com> | Thu Jan 23 01:55:21 2025 +0200 |
committer | Roman Stratiienko <r.stratiienko@gmail.com> | Wed Feb 05 22:39:35 2025 +0200 |
tree | 8dfbe3cf24ee5e2b0af1f3deb1e3a93789c484aa | |
parent | 9161828015939c2bb0fc6b184e52692e7e902bbd [diff] |
drm_hwcomposer: Support default values for Rect structures This commit introduces two improvements: 1. Introduces frontend-agnostic structures for rects. 2. Support default values in them so that the backend can handle cases where rects are not specified by the client, like the client layer display frame, etc. This reduces the complexity of the Internal layer, making it feasible to use a single Frontend<->Internal layer API for regular layers, as well as for the Client and Output layers. Change-Id: Iab5030ad523d36ea4c5af142f6f628952467d6ab Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.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!