diff options
author | Jan Ekström <jeebjp@gmail.com> | 2019-09-29 18:21:59 +0300 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2019-09-29 19:39:26 +0300 |
commit | 1f76e6914596868e53b5ed4f50353ba44177ab4c (patch) | |
tree | 6fa257365f34b0aae5607a078c0fbe3cddf05112 /video/out/gpu/d3d11_helpers.h | |
parent | bca6e14702998220b5744546f17da5e3e75d2f06 (diff) | |
download | mpv-1f76e6914596868e53b5ed4f50353ba44177ab4c.tar.bz2 mpv-1f76e6914596868e53b5ed4f50353ba44177ab4c.tar.xz |
vo_gpu/d3d11: add adapter name validation and listing with "help"
Not the prettiest way to get it done, but seems to work.
Diffstat (limited to 'video/out/gpu/d3d11_helpers.h')
-rw-r--r-- | video/out/gpu/d3d11_helpers.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/video/out/gpu/d3d11_helpers.h b/video/out/gpu/d3d11_helpers.h index c28afc5405..705c5a59cb 100644 --- a/video/out/gpu/d3d11_helpers.h +++ b/video/out/gpu/d3d11_helpers.h @@ -59,6 +59,10 @@ struct d3d11_device_opts { char *adapter_name; }; +bool mp_d3d11_list_or_verify_adapters(struct mp_log *log, + bstr *adapter_name, + bstr *listing); + bool mp_d3d11_create_present_device(struct mp_log *log, struct d3d11_device_opts *opts, ID3D11Device **dev_out); |