1
0
Fork 0
No description
Find a file
Drew Davenport f638348b22 drm_hwcomposer: Support DisplayCommand.expectedPresentTime
DisplayCommand.expectedPresentTime indicates that the HWC should present
the composition as close to the desired time as possible. It may be that
the desired time is some number of vsync periods in the future.

A drm atomic commit will always present at the next vsync, and there is
no mechanism for userspace to indicate a desired present time.

Lacking a kernel uAPI to support this, an alternative is to sleep in
userspace until the next expected vsync aligns with the expected present
time.

Change-Id: Iad703eed9b0e459194f895339dd604990875f157
Signed-off-by: Drew Davenport <ddavenport@google.com>
2025-03-14 11:38:40 -06:00
.ci drm_hwcomposer: Use clang thread-safety analysis in VSyncWorker 2025-02-21 10:51:42 -07:00
backend drm_hwcomposer: Presentation to cursor plane 2025-03-14 13:33:39 +00:00
bufferinfo drm_hwcomposer: Add adjustments for cursor plane commits 2025-03-14 13:33:39 +00:00
compositor drm_hwcomposer: Presentation to cursor plane 2025-03-14 13:33:39 +00:00
drm drm_hwcomposer: Add VSyncWorker::GetNextVsyncTimestamp 2025-03-14 11:38:40 -06:00
hwc2_device drm_hwcomposer: Support DisplayCommand.expectedPresentTime 2025-03-14 11:38:40 -06:00
hwc3 drm_hwcomposer: Support DisplayCommand.expectedPresentTime 2025-03-14 11:38:40 -06:00
tests drm_hwcomposer: Enable performance-avoid-endl clang-tidy check 2025-01-24 23:44:00 +02:00
utils drm_hwcomposer: Fix HDR metadata handling 2025-03-12 15:00:52 -04:00
.clang-format drm_hwcomposer: clang-format: Preserve header blocks 2024-10-14 14:23:24 -06:00
.clang-tidy drm_hwcomposer: CI: Use aospext to provide headers for clang-tidy 2023-11-21 18:50:58 +02:00
.gitignore Add .gitignore 2024-10-14 12:32:10 -06:00
.gitlab-ci.yml drm_hwcomposer: CI: Use fdo ci-templates 2025-02-18 15:57:34 -08:00
Android.bp drm_hwcomposer: HWC3: Remove HWC2 ComposerResources dependencies 2025-02-07 00:21:15 +02:00
Makefile drm_hwcomposer: Fix build_deploy script and switch it to hwc3 2024-11-27 23:23:57 +02:00
meson.build drm_hwcomposer: Set HDR metadata on the connector 2025-01-30 23:09:52 -05:00
MODULE_LICENSE_APACHE2 drm_hwcomposer: License NOTICE file and metadata from AOSP 2018-05-04 10:46:10 -07:00
NOTICE drm_hwcomposer: License NOTICE file and metadata from AOSP 2018-05-04 10:46:10 -07:00
README.md drm_hwcomposer: CI: Upgrade Ubuntu and clang version 2024-10-17 02:13:14 +03:00

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-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!