summaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
authorChristopher Michael <cmichael@igalia.com>2024-02-15 08:49:06 -0500
committerChristopher Michael <cmichael@igalia.com>2024-02-26 07:06:28 -0500
commit6ab022fdfcfedd28f4b5dbd8d3299414a367746f (patch)
treeed2ad5fd39aae111018a98e0aa1e9e1c6a926eac /common.h
parent96d63eb59e34c647cda1cbb489265f8c536ae055 (diff)
kmscube: Fix incorrect modifier check in create_framebuffer functionHEADmaster
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