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> |
||
|---|---|---|
| .. | ||
| legacy | ||
| BufferInfo.h | ||
| BufferInfoGetter.cpp | ||
| BufferInfoGetter.h | ||
| BufferInfoMapperMetadata.cpp | ||
| BufferInfoMapperMetadata.h | ||
| meson.build | ||