summaryrefslogtreecommitdiffstats
path: root/osdep/mac/app_bridge.h
diff options
context:
space:
mode:
Diffstat (limited to 'osdep/mac/app_bridge.h')
-rw-r--r--osdep/mac/app_bridge.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/osdep/mac/app_bridge.h b/osdep/mac/app_bridge.h
index db03c8ebad..cc77c2f4dd 100644
--- a/osdep/mac/app_bridge.h
+++ b/osdep/mac/app_bridge.h
@@ -35,6 +35,24 @@ enum {
RENDER_TIMER_PRECISE,
};
+enum {
+ MAC_CSP_AUTO = -1,
+ MAC_CSP_DISPLAY_P3,
+ MAC_CSP_DISPLAY_P3_HLG,
+ MAC_CSP_DISPLAY_P3_PQ,
+ MAC_CSP_DISPLAY_P3_LINEAR,
+ MAC_CSP_DCI_P3,
+ MAC_CSP_BT_2020,
+ MAC_CSP_BT_2020_LINEAR,
+ MAC_CSP_BT_2100_HLG,
+ MAC_CSP_BT_2100_PQ,
+ MAC_CSP_BT_709,
+ MAC_CSP_SRGB,
+ MAC_CSP_SRGB_LINEAR,
+ MAC_CSP_RGB_LINEAR,
+ MAC_CSP_ADOBE,
+};
+
struct macos_opts {
int macos_title_bar_appearance;
int macos_title_bar_material;
@@ -46,6 +64,7 @@ struct macos_opts {
int macos_render_timer;
int cocoa_cb_sw_renderer;
bool cocoa_cb_10bit_context;
+ int cocoa_cb_output_csp;
};
void cocoa_init_media_keys(void);