From 799b3d16d4bb0caa16dc35de66e11eca8517cd02 Mon Sep 17 00:00:00 2001 From: Tapani Pälli Date: Thu, 5 Apr 2018 13:02:36 +0300 Subject: egl: implement EXT_surface_SMPTE2086_metadata and EXT_surface_CTA861_3_metadata MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Patch implements common bits for EXT_surface_SMPTE2086_metadata and EXT_surface_CTA861_3_metadata extensions by adding new required attributes and eglQuerySurface + eglSurfaceAttrib changes. Currently none of the drivers are utilizing this data but this patch is enabler in getting there. v2: don't enable extension globally, should be only enabled by EGL drivers that can transfer metadata to the window system (Jason) use EGLint instead of uint16_t (Eric) Signed-off-by: Ville Syrjälä Signed-off-by: Tapani Pälli Reviewed-by: Eric Engestrom --- src/egl/main/egldisplay.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/egl/main/egldisplay.h') diff --git a/src/egl/main/egldisplay.h b/src/egl/main/egldisplay.h index 4a7f248e34c..50176bde887 100644 --- a/src/egl/main/egldisplay.h +++ b/src/egl/main/egldisplay.h @@ -105,6 +105,8 @@ struct _egl_extensions EGLBoolean EXT_image_dma_buf_import; EGLBoolean EXT_image_dma_buf_import_modifiers; EGLBoolean EXT_pixel_format_float; + EGLBoolean EXT_surface_CTA861_3_metadata; + EGLBoolean EXT_surface_SMPTE2086_metadata; EGLBoolean EXT_swap_buffers_with_damage; unsigned int IMG_context_priority; -- cgit v1.2.3