mirror of
https://github.com/labwc/labwc.git
synced 2026-04-17 06:46:28 -04:00
chase wlroots: Add support for HDR10 output
v2: Switch XRGB to XBGR
v3: Rewrite HDR mode checking and setting
v4: Restructure HDR support detection
v5: Fix code style
v6: Fix old style function declaration
v7: This function should be declared static
v8: This helper function can accept a const struct on input
v9: Rebase now that 0.20 is merged
v10: Rewrite with multiple color format attempts
v11: Add in the parts that accidentally got left in my
original color-management-v1 patch
v12: Add missing function prototype
This commit is contained in:
parent
c5ea41e876
commit
be94b60834
5 changed files with 211 additions and 0 deletions
|
|
@ -36,6 +36,17 @@ enum tearing_mode {
|
|||
LAB_TEARING_FULLSCREEN_FORCED,
|
||||
};
|
||||
|
||||
enum hdr_mode {
|
||||
LAB_HDR_DISABLED = 0,
|
||||
LAB_HDR_ENABLED,
|
||||
};
|
||||
|
||||
enum render_bit_depth {
|
||||
LAB_RENDER_BIT_DEPTH_DEFAULT = 0,
|
||||
LAB_RENDER_BIT_DEPTH_8,
|
||||
LAB_RENDER_BIT_DEPTH_10,
|
||||
};
|
||||
|
||||
enum tiling_events_mode {
|
||||
LAB_TILING_EVENTS_NEVER = 0,
|
||||
LAB_TILING_EVENTS_REGION = 1 << 0,
|
||||
|
|
@ -74,6 +85,7 @@ struct rcxml {
|
|||
int gap;
|
||||
enum adaptive_sync_mode adaptive_sync;
|
||||
enum tearing_mode allow_tearing;
|
||||
enum hdr_mode hdr;
|
||||
bool auto_enable_outputs;
|
||||
bool reuse_output_mode;
|
||||
uint32_t allowed_interfaces;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue