1
0
Fork 0
android_external_drm_hwcomp.../bufferinfo
Andrew Wolfers e5ca88ba86 drm_hwcomposer: Add adjustments for cursor plane commits
This change adds special handling for buffers that may be committed to the
cursor plane. Some drivers may enforce size constraints on cursor plane
commits, which can be satisfied by padding the buffer beyond its nominal
width and height. This change adds behavior to extract that padding
(i.e. the aligned dimensions) by analyzing the buffer pitch, size, and
format.

When the cursor usage flag is set on a buffer, the aligned dimensions
should be used in place of the nominal dimensions for creating the
framebuffer, checking compatibility to the cursor plane, and for setting
the display and crop rects during commit.

Change-Id: I1cc2aa2f9cd23173cae87ae6e486c3b140b78ad5
Signed-off-by: Andrew Wolfers <aswolfers@google.com>
2025-03-14 13:33:39 +00:00
..
legacy drm_hwcomposer: Replace LOG_TAG with drmhwc 2024-07-19 17:42:41 +00:00
BufferInfo.h drm_hwcomposer: Rework HWC frontends buffer management 2025-02-07 00:20:09 +02:00
BufferInfoGetter.cpp drm_hwcomposer: Replace LOG_TAG with drmhwc 2024-07-19 17:42:41 +00:00
BufferInfoGetter.h drm_hwcomposer: Use pragma once instead of include guards 2022-12-10 20:37:34 +02:00
BufferInfoMapperMetadata.cpp drm_hwcomposer: Add adjustments for cursor plane commits 2025-03-14 13:33:39 +00:00
BufferInfoMapperMetadata.h drm_hwcomposer: CI: Use aospext to provide headers for clang-tidy 2023-11-21 18:50:58 +02:00
meson.build drm_hwcomposer: Add meson.build file 2023-01-04 16:58:14 +02:00