diff options
author | Kacper Michajłow <kasper93@gmail.com> | 2024-03-06 06:41:53 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2024-03-17 14:28:00 +0100 |
commit | 2b0c7b1aa4a9fcc2cc44458bc00963675074748a (patch) | |
tree | 0841b0e5057a2a977afb8aaff55a7c61d8ef6fc8 /video/out/gpu/d3d11_helpers.h | |
parent | 3afcaeb71a01fbacbbd0208b14e5263165bf169b (diff) | |
download | mpv-2b0c7b1aa4a9fcc2cc44458bc00963675074748a.tar.bz2 mpv-2b0c7b1aa4a9fcc2cc44458bc00963675074748a.tar.xz |
d3d11: add mp_get_dxgi_output_desc
Diffstat (limited to 'video/out/gpu/d3d11_helpers.h')
-rw-r--r-- | video/out/gpu/d3d11_helpers.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/video/out/gpu/d3d11_helpers.h b/video/out/gpu/d3d11_helpers.h index 5ba013e747..6cc6818064 100644 --- a/video/out/gpu/d3d11_helpers.h +++ b/video/out/gpu/d3d11_helpers.h @@ -22,6 +22,7 @@ #include <windows.h> #include <d3d11.h> #include <dxgi1_2.h> +#include <dxgi1_6.h> #include "video/mp_image.h" @@ -69,6 +70,8 @@ IDXGIAdapter1 *mp_get_dxgi_adapter(struct mp_log *log, bstr requested_adapter_name, bstr *listing); +bool mp_get_dxgi_output_desc(IDXGISwapChain *swapchain, DXGI_OUTPUT_DESC1 *desc); + OPT_STRING_VALIDATE_FUNC(mp_dxgi_validate_adapter); bool mp_dxgi_list_or_verify_adapters(struct mp_log *log, |