[client] hdr: refactor name to clean up log output

This commit is contained in:
Geoffrey McRae
2026-07-29 10:13:02 +10:00
parent 737614bc69
commit 61f00ae625
8 changed files with 28 additions and 28 deletions

View File

@@ -89,7 +89,7 @@ bool app_getFullscreen(void);
bool app_getProp(LG_DSProperty prop, void * ret);
/**
* Returns true if the last call to setHDRImageDescription() failed.
* Returns true if the last call to setHDRImageDesc() failed.
* When this returns true, the renderer should fall back to software
* tone-mapping even on a compositor that reports LG_DS_NATIVE_HDR.
*/

View File

@@ -56,7 +56,7 @@ typedef enum LG_DSProperty
/**
* returns true if the display server supports native HDR via
* setHDRImageDescription (i.e., the compositor actually has the
* setHDRImageDesc (i.e., the compositor actually has the
* required color-management features to process HDR content).
* return data type: bool
*/
@@ -241,7 +241,7 @@ struct LG_DisplayServerOps
* Returns true on success, false if the description could not be applied
* (e.g., compositor doesn't support the required transfer function or
* primaries, or the image description creation failed). */
bool (*setHDRImageDescription)(const void * rendererFormat);
bool (*setHDRImageDesc)(const void * rendererFormat);
/* clipboard support, optional, if not supported set to NULL */
bool (*cbInit)(void);