Merge remote-tracking branch 'aosp/upstream-master' into HEAD

Re-sync w/ upstream freedesktop.org tree

Change-Id: I1af2047bdf601cae19e29b6106c2b57a37b324a6
Signed-off-by: John Stultz <john.stultz@linaro.org>
tree: 2ecce016531f184292a8fa23020527a15125cd6c
  1. .clang-format
  2. .gitlab-ci-checkcommit.sh
  3. .gitlab-ci.yml
  4. Android.mk
  5. MODULE_LICENSE_APACHE2
  6. NOTICE
  7. OWNERS
  8. README.md
  9. autofd.h
  10. autolock.cpp
  11. autolock.h
  12. drmconnector.cpp
  13. drmconnector.h
  14. drmcrtc.cpp
  15. drmcrtc.h
  16. drmdevice.cpp
  17. drmdevice.h
  18. drmdisplaycomposition.cpp
  19. drmdisplaycomposition.h
  20. drmdisplaycompositor.cpp
  21. drmdisplaycompositor.h
  22. drmencoder.cpp
  23. drmencoder.h
  24. drmeventlistener.cpp
  25. drmeventlistener.h
  26. drmframebuffer.h
  27. drmhwcgralloc.h
  28. drmhwcomposer.h
  29. drmhwctwo.cpp
  30. drmhwctwo.h
  31. drmmode.cpp
  32. drmmode.h
  33. drmplane.cpp
  34. drmplane.h
  35. drmproperty.cpp
  36. drmproperty.h
  37. hwcutils.cpp
  38. platform.cpp
  39. platform.h
  40. platformdrmgeneric.cpp
  41. platformdrmgeneric.h
  42. platformhisi.cpp
  43. platformhisi.h
  44. platformminigbm.cpp
  45. platformminigbm.h
  46. resourcemanager.cpp
  47. resourcemanager.h
  48. tests/
  49. vsyncworker.cpp
  50. vsyncworker.h
  51. worker.cpp
  52. worker.h
README.md

drm_hwcomposer

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!