summaryrefslogtreecommitdiffstats
path: root/DOCS/man/options.rst
diff options
context:
space:
mode:
authorder richter <der.richter@gmx.de>2023-09-30 16:01:04 +0200
committerder richter <der.richter@gmx.de>2023-10-14 18:39:56 +0200
commit78d43740f52db817d98bcf24fb30a76ab6fa13ff (patch)
tree4e50dcd3872d7935ca55ca547e8d26502e2c1bfc /DOCS/man/options.rst
parentbc66de2834dcf69d4d05163350a219d2fbc47a56 (diff)
downloadmpv-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 'DOCS/man/options.rst')
-rw-r--r--DOCS/man/options.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index bee5aa0b10..5b57d4d2c9 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -6273,6 +6273,18 @@ them.
macOS only.
+``--macos-render-timer=<timer>``
+ Sets the mode (default: callback) for syncing the rendering of frames to the display's
+ vertical refresh rate.
+ macOS and Vulkan (macvk) only.
+
+ ``<timer>`` can be one of the following:
+
+ :callback: Syncs to the CVDisplayLink callback
+ :precise: Syncs to the time of the next vertical display refresh reported by the
+ CVDisplayLink callback provided information
+ :system: No manual syncing, depend on the layer mechanic and the next drawable
+
``--android-surface-size=<WxH>``
Set dimensions of the rendering surface used by the Android gpu context.
Needs to be set by the embedding application if the dimensions change during
@@ -6324,6 +6336,8 @@ them.
X11/EGL
android
Android/EGL. Requires ``--wid`` be set to an ``android.view.Surface``.
+ macvk
+ Vulkan on macOS with a metal surface through a translation layer (experimental)
``--gpu-api=<type>``
Controls which type of graphics APIs will be accepted: