commit | bb37569e6647c92bcdee7a4be42bb5fb003ce0b7 | [log] [tgz] |
---|---|---|
author | Roman Kovalivskyi <roman.kovalivskyi@globallogic.com> | Wed Dec 11 17:48:44 2019 +0200 |
committer | Roman Kovalivskyi <roman.kovalivskyi@globallogic.com> | Mon Dec 16 17:54:03 2019 +0200 |
tree | 103eeb44e4aeae8e107adfcc16e4fcfab39f2b29 | |
parent | f67c365de917512608cdc6cb3109d1a9cb3ac32b [diff] |
drm_hwcomposer: Add simplistic SetLayerColor implementation VTS tests for SET_LAYER_COLOR fails for now since SetLayerColor is unsupported function. Tis commit tries to address this issue. We can't fully implement it for now, therefore simplistic implementation that just saves argument for future uses and satisfies the interface could be used instead, for now. Commit da5839cf9258 ("drm_hwcomposer: Add support for GetColorModes & SetCursorPosition") implements GetColorModes and SetCursorPosition in the same fashion, simply by adding fields that store this values for future uses, therefore we assume that it is okay to use this approach here too. Signed-off-by: Roman Kovalivskyi <roman.kovalivskyi@globallogic.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!