commit | 32819fe45972e0c706423d71075788a5885f7b86 | [log] [tgz] |
---|---|---|
author | Roman Stratiienko <r.stratiienko@gmail.com> | Fri Oct 30 13:53:00 2020 +0200 |
committer | Roman Stratiienko <r.stratiienko@gmail.com> | Tue Nov 03 08:32:35 2020 +0200 |
tree | 9d36d126e5e7dd4ec1a3cbe772df4dc7c755789d | |
parent | f2e03b76f06a61f8998a578782bdec68f06495ec [diff] |
drm_hwcomposer: libdrmgetter: fix RGB565 format translation FOSS graphic components (gbm_gralloc, mesa3d) are translating HAL_PIXEL_FORMAT_RGB_565 to DRM_FORMAT_RGB565 without swapping the R and B components. Same must be done here. Fixes wrong colors in some games (i.e. Pixel Wheels). 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-5.0 -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!