diff options
author | Jan Ekström <jeebjp@gmail.com> | 2019-04-20 01:28:03 +0300 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2019-09-29 19:39:26 +0300 |
commit | e6447e2e8913ee9666617464fc3fa0dfeb3dbb66 (patch) | |
tree | 1c817f6dd77ad0c2b78bd250a3e1d0b66814b20e /video/out/gpu | |
parent | 81639062997af9329de4aae8005735c1129e2fcd (diff) | |
download | mpv-e6447e2e8913ee9666617464fc3fa0dfeb3dbb66.tar.bz2 mpv-e6447e2e8913ee9666617464fc3fa0dfeb3dbb66.tar.xz |
vo_gpu/d3d11: add an option for the adapter name
Set it from the adapter name in the d3d11 options.
Diffstat (limited to 'video/out/gpu')
-rw-r--r-- | video/out/gpu/d3d11_helpers.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/video/out/gpu/d3d11_helpers.h b/video/out/gpu/d3d11_helpers.h index 996b93494f..c28afc5405 100644 --- a/video/out/gpu/d3d11_helpers.h +++ b/video/out/gpu/d3d11_helpers.h @@ -52,6 +52,11 @@ struct d3d11_device_opts { // not supported, device creation will fail. // If unset, defaults to D3D_FEATURE_LEVEL_9_1 int min_feature_level; + + // The adapter name to utilize if a specific adapter is required + // If unset, the default adapter will be utilized when creating + // a device. + char *adapter_name; }; bool mp_d3d11_create_present_device(struct mp_log *log, |