commit | ea1c5e5a1bd4830b7c8b8da230e816e5efda1acb | [log] [tgz] |
---|---|---|
author | Alexandru Gheorghe <alexandru-cosmin.gheorghe@arm.com> | Mon Sep 17 10:48:54 2018 +0100 |
committer | Alexandru Gheorghe <alexandru-cosmin.gheorghe@arm.com> | Tue Oct 09 17:05:09 2018 +0100 |
tree | 0280feb109d9403474c386fe8d073852ecacbb0b | |
parent | 2234d3770463adca2be1a8bd9496c28e50bb3dd1 [diff] |
drm_hwcomposer: Add z order support Currently, the planner just pops the first available drm plane and if that can't be used for the DrmHwcLayer it just returns error. This proposes a slighlty smarter way to do that by trying to see if any of the DrmPlane can be used for the DrmHwcLayer in question. More, if the drm_plane doesn't have a fix zorder then we could re-add him to the list of unused planes, so it could be used for hosting other less demanding DrmHwcLayers. Signed-off-by: Alexandru Gheorghe <alexandru-cosmin.gheorghe@arm.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!