diff options
author | Christopher Michael <cmichael@igalia.com> | 2024-02-15 08:49:06 -0500 |
---|---|---|
committer | Christopher Michael <cmichael@igalia.com> | 2024-02-26 07:06:28 -0500 |
commit | 6ab022fdfcfedd28f4b5dbd8d3299414a367746f (patch) | |
tree | ed2ad5fd39aae111018a98e0aa1e9e1c6a926eac /common.h | |
parent | 96d63eb59e34c647cda1cbb489265f8c536ae055 (diff) |
When importing an egl image from a linux dma buf fd, we need to pass
the proper image attributes to eglCreateImageKHR. The modifier check
here should not ignore DRM_FORMAT_MOD_LINEAR when setting
EGL_DMA_BUF_PLANE0_MODIFIER_LO/HI_EXT else the ordering of
samples within a plane will be incorrect, resulting in
incorrect/garbled pixels being presented.
v2: Update code changes to set EGL_DMA_BUF_PLANE0_MODIFIER_LO/HI
whenever an extension exposes modifiers so that INVALID modifiers are
accepted (Daniel Stone)
Diffstat (limited to 'common.h')
0 files changed, 0 insertions, 0 deletions