diff options
author | der richter <der.richter@gmx.de> | 2023-09-30 16:01:04 +0200 |
---|---|---|
committer | der richter <der.richter@gmx.de> | 2023-10-14 18:39:56 +0200 |
commit | 78d43740f52db817d98bcf24fb30a76ab6fa13ff (patch) | |
tree | 4e50dcd3872d7935ca55ca547e8d26502e2c1bfc /osdep/macosx_application.m | |
parent | bc66de2834dcf69d4d05163350a219d2fbc47a56 (diff) | |
download | mpv-78d43740f52db817d98bcf24fb30a76ab6fa13ff.tar.bz2 mpv-78d43740f52db817d98bcf24fb30a76ab6fa13ff.tar.xz |
vo_gpu/vo_gpu_next: add vulkan support for macOS
add support for vulkan through metal and a translation layer like
MoltenVK. also add the possibility to use different render timing modes
for testing.
i still consider this experimental atm.
Diffstat (limited to 'osdep/macosx_application.m')
-rw-r--r-- | osdep/macosx_application.m | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/osdep/macosx_application.m b/osdep/macosx_application.m index fc1da01d39..bf60e05389 100644 --- a/osdep/macosx_application.m +++ b/osdep/macosx_application.m @@ -67,6 +67,9 @@ const struct m_sub_options macos_conf = { {"regular", 0}, {"accessory", 1}, {"prohibited", 2})}, {"macos-geometry-calculation", OPT_CHOICE(macos_geometry_calculation, {"visible", FRAME_VISIBLE}, {"whole", FRAME_WHOLE})}, + {"macos-render-timer", OPT_CHOICE(macos_render_timer, + {"callback", RENDER_TIMER_CALLBACK}, {"precise", RENDER_TIMER_PRECISE}, + {"system", RENDER_TIMER_SYSTEM})}, {"cocoa-cb-sw-renderer", OPT_CHOICE(cocoa_cb_sw_renderer, {"auto", -1}, {"no", 0}, {"yes", 1})}, {"cocoa-cb-10bit-context", OPT_BOOL(cocoa_cb_10bit_context)}, |