diff options
Diffstat (limited to 'src/egl/main/eglimage.h')
-rw-r--r-- | src/egl/main/eglimage.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/egl/main/eglimage.h b/src/egl/main/eglimage.h index 9cc86d58b2d..1b4d6cd0bb1 100644 --- a/src/egl/main/eglimage.h +++ b/src/egl/main/eglimage.h @@ -34,6 +34,11 @@ #include "egltypedefs.h" #include "egldisplay.h" +struct _egl_image_attrib_int +{ + EGLint Value; + EGLBoolean IsPresent; +}; struct _egl_image_attribs { @@ -53,6 +58,16 @@ struct _egl_image_attribs /* EGL_WL_bind_wayland_display */ EGLint PlaneWL; + + /* EGL_EXT_image_dma_buf_import */ + struct _egl_image_attrib_int DMABufFourCC; + struct _egl_image_attrib_int DMABufPlaneFds[3]; + struct _egl_image_attrib_int DMABufPlaneOffsets[3]; + struct _egl_image_attrib_int DMABufPlanePitches[3]; + struct _egl_image_attrib_int DMABufYuvColorSpaceHint; + struct _egl_image_attrib_int DMABufSampleRangeHint; + struct _egl_image_attrib_int DMABufChromaHorizontalSiting; + struct _egl_image_attrib_int DMABufChromaVerticalSiting; }; /** |