commit | 0369cf731fb88aa9b6aa74a20b69b751351db529 | [log] [tgz] |
---|---|---|
author | Roman Stratiienko <r.stratiienko@gmail.com> | Thu Jan 23 15:50:45 2025 +0200 |
committer | Roman Stratiienko <r.stratiienko@gmail.com> | Fri Jan 24 23:33:35 2025 +0200 |
tree | 62b2a7777dcaa5465b8a90d99b4e102812f495c6 | |
parent | b864ccf845e5a228367c7dcd75ea8e16c6154b52 [diff] |
drm_hwcomposer: Enable performance-inefficient-vector-operation tidy check ... and fix the following warning: hwc3/ComposerClient.cpp:1492:5: error: 'push_back' is called inside a loop; consider pre-allocating the container capacity before the loop [performance-inefficient-vector-operation,-warnings-as-errors] Change-Id: Ie3e8d2a56e12d09a3c40791bebb198f5f9e631ec 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!