mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
video/d3d11: add adapter selection by name into d3d11 options
This lets the user define an adapter name that can then be passed further into the internals.
This commit is contained in:
@@ -4675,6 +4675,16 @@ The following video options are currently all specific to ``--vo=gpu`` and
|
||||
Schedule each frame to be presented for this number of VBlank intervals.
|
||||
(default: 1) Setting to 1 will enable VSync, setting to 0 will disable it.
|
||||
|
||||
``--d3d11-adapter=<adapter name>``
|
||||
Select a specific D3D11 adapter to utilize for D3D11 rendering.
|
||||
Will pick the default adapter if unset. Alternatives are listed
|
||||
when the d3d11 back-end is initialized with verbosity level verbose
|
||||
or higher.
|
||||
|
||||
Hardware decoders utilizing the D3D11 rendering abstraction's helper
|
||||
functionality to receive a device, such as D3D11VA or DXVA2's DXGI
|
||||
mode, will be affected by this choice.
|
||||
|
||||
``--d3d11va-zero-copy=<yes|no>``
|
||||
By default, when using hardware decoding with ``--gpu-api=d3d11``, the
|
||||
video image will be copied (GPU-to-GPU) from the decoder surface to a
|
||||
|
||||
Reference in New Issue
Block a user