diff options
author | Dudemanguy <random342@airmail.cc> | 2022-10-26 23:23:49 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2022-10-28 02:36:46 +0000 |
commit | adb556bf15e9b09afce6c9cb0a0911c53cf27feb (patch) | |
tree | 06761b1b1ae91f1d7433855f645480e28d96300b /DOCS/man | |
parent | 31af37f87762e5e548fa234b30f6248d8d6c19e4 (diff) | |
download | mpv-adb556bf15e9b09afce6c9cb0a0911c53cf27feb.tar.bz2 mpv-adb556bf15e9b09afce6c9cb0a0911c53cf27feb.tar.xz |
vo_dmabuf_wayland: use special ra_ctx_create_by_name
vo_dmabuf_wayland has its own ra and context so it can handle all the
different hwdec correctly. Unfortunately, this API was pretty clearly
designed with vo_gpu/vo_gpu_next in mind and has a lot of concepts that
don't make sense for vo_dmabuf_wayland. We still want to bolt on a
ra_ctx, but instead let's rework the ra_ctx logic a little bit. First,
this introduces a hidden bool within the ra_ctx_fns that is used to hide
the wldmabuf context from users as an option (unlike the other usual
contexts). We also want to make sure that hidden contexts wouldn't be
autoprobed in the usual ra_ctx_create, so we be sure to skip those in
that function. Additionally, let's create a new ra_ctx_create_by_name
function which does exactly what says. It specifically selects a context
based on a passed string. This function has no probing or option logic
is simplified just for what vo_dmabuf_wayland needs. The api/context
validations functions are modified just a little bit to make sure hidden
contexts are skipped and the documentation is updated to remove this
entries. Fixes #10793.
Diffstat (limited to 'DOCS/man')
-rw-r--r-- | DOCS/man/options.rst | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index ed55dbfeae..278a5e4d87 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -6150,8 +6150,6 @@ them. X11/EGL android Android/EGL. Requires ``--wid`` be set to an ``android.view.Surface``. - wldmabuf - dmabuf buffers are rendered directly by Wayland compositor ``--gpu-api=<type>`` Controls which type of graphics APIs will be accepted: @@ -6164,9 +6162,6 @@ them. Allow only Vulkan (requires a valid/working ``--spirv-compiler``) d3d11 Allow only ``--gpu-context=d3d11`` - none - No graphics API is used - Wayland alone is used for rendering - (requires Wayland compositor) ``--opengl-es=<mode>`` Controls which type of OpenGL context will be accepted: |