mesa/src/egl/drivers/dri2
Varad Gautam 6f10e7c37a egl/dri2: Create EGLImages with dmabuf modifiers
Allow creating EGLImages with dmabuf format modifiers when target is
EGL_LINUX_DMA_BUF_EXT for EGL_EXT_image_dma_buf_import_modifiers.

v2:
- clear modifier assembling and error label name (Eric Engestrom)
v3:
- remove goto jumps within switch-case (Emil Velikov)
- treat zero as valid modifier (Daniel Stone)
- ensure same modifier across all dmabuf planes (Emil Velikov)
v4:
- allow modifiers to add extra planes (Louis-Francis Ratté-Boulianne)
v5:
- fix error checking, some cleanups (Jason Ekstrand)
- pass single copy of the modifier to createImageFromDmaBufs2

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Signed-off-by: Varad Gautam <varad.gautam@collabora.com>
Signed-off-by: Louis-Francis Ratté-Boulianne <lfrb@collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
2017-05-30 13:56:20 +01:00
..
egl_dri2.c egl/dri2: Create EGLImages with dmabuf modifiers 2017-05-30 13:56:20 +01:00
egl_dri2.h egl: refactor dri2_create_screen() into three separate functions 2017-05-29 16:50:06 +01:00
egl_dri2_fallbacks.h egl/dri2: consistently use ifndef guards over pragma once 2017-03-22 16:55:22 +00:00
platform_android.c egl/android: use the image_driver alongside the image_loader 2017-05-29 16:59:39 +01:00
platform_drm.c egl/drm: flatten codeflow 2017-05-29 16:59:19 +01:00
platform_surfaceless.c egl/surfaceless: use the image_driver for image_loader 2017-05-29 16:59:41 +01:00
platform_wayland.c egl/wayland: use the image_driver alongside the image_loader 2017-05-29 16:59:47 +01:00
platform_x11.c egl/x11: flatten codeflow 2017-05-29 16:59:38 +01:00
platform_x11_dri3.c egl: remove suprous header eglcompiler.h 2017-05-08 15:33:59 +01:00
platform_x11_dri3.h