summaryrefslogtreecommitdiffstats
path: root/osdep/macosx_application.m
diff options
context:
space:
mode:
authorder richter <der.richter@gmx.de>2019-05-25 19:29:34 +0200
committerder richter <der.richter@gmx.de>2019-09-26 00:02:02 +0200
commit41f290f54e385f28257bd24e8f399bcb7f3727b7 (patch)
tree582575468126b095b5dcb435b7b93bf283bf4716 /osdep/macosx_application.m
parentff2aed2b56e43665e2b10acf06fa107877799bec (diff)
downloadmpv-41f290f54e385f28257bd24e8f399bcb7f3727b7.tar.bz2
mpv-41f290f54e385f28257bd24e8f399bcb7f3727b7.tar.xz
cocoa-cb: add support for 10bit opengl rendering
this will request a 16bit half-float framebuffer instead if a 8bit integer framebuffer. Fixes #3613
Diffstat (limited to 'osdep/macosx_application.m')
-rw-r--r--osdep/macosx_application.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/osdep/macosx_application.m b/osdep/macosx_application.m
index 08b3fce901..a07f4f5db9 100644
--- a/osdep/macosx_application.m
+++ b/osdep/macosx_application.m
@@ -63,6 +63,7 @@ const struct m_sub_options macos_conf = {
({"default", -1})),
OPT_CHOICE("cocoa-cb-sw-renderer", cocoa_cb_sw_renderer, 0,
({"auto", -1}, {"no", 0}, {"yes", 1})),
+ OPT_FLAG("cocoa-cb-10bit-context", cocoa_cb_10bit_context, 0),
OPT_REMOVED("macos-title-bar-style", "Split into --macos-title-bar-appearance "
"and --macos-title-bar-material"),
{0}
@@ -72,6 +73,7 @@ const struct m_sub_options macos_conf = {
.macos_title_bar_color = {0, 0, 0, 0},
.macos_fs_animation_duration = -1,
.cocoa_cb_sw_renderer = -1,
+ .cocoa_cb_10bit_context = 1
},
};