[client] wayland: implement HDR support

This commit is contained in:
Geoffrey McRae authored and Geoffrey McRae committed 2026-07-16 05:34:09 +10:00
1 parent 28973ac4b1
commit 364485ded8
16 files changed
+623 -30

No files matched your search

+7
View File
@@ -72,6 +72,13 @@ void app_setFullscreen(bool fs);
bool app_getFullscreen(void);
bool app_getProp(LG_DSProperty prop, void * ret);
/**
* Returns true if the last call to setHDRImageDescription() failed.
* When this returns true, the renderer should fall back to software
* tone-mapping even on a compositor that reports LG_DS_NATIVE_HDR.
*/
bool app_getHDRDescFailed(void);
#ifdef ENABLE_EGL
EGLDisplay app_getEGLDisplay(void);
EGLNativeWindowType app_getEGLNativeWindow(void);