summaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglsurface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/egl/main/eglsurface.h')
-rw-r--r--src/egl/main/eglsurface.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/egl/main/eglsurface.h b/src/egl/main/eglsurface.h
index 5d69bf487cf..51e6792289c 100644
--- a/src/egl/main/eglsurface.h
+++ b/src/egl/main/eglsurface.h
@@ -41,6 +41,24 @@
extern "C" {
#endif
+struct _egl_xy
+{
+ EGLint x;
+ EGLint y;
+};
+
+struct _egl_hdr_metadata
+{
+ struct _egl_xy display_primary_r;
+ struct _egl_xy display_primary_g;
+ struct _egl_xy display_primary_b;
+ struct _egl_xy white_point;
+ EGLint max_luminance;
+ EGLint min_luminance;
+ EGLint max_cll;
+ EGLint max_fall;
+};
+
/**
* "Base" class for device driver surfaces.
*/
@@ -150,6 +168,8 @@ struct _egl_surface
EGLBoolean BoundToTexture;
EGLBoolean PostSubBufferSupportedNV;
+
+ struct _egl_hdr_metadata HdrMetadata;
};