forked from Mirrors/wine-wine
include: Add IDXGIFactory6.
Signed-off-by: Philip Rebohle <philip.rebohle@tu-dortmund.de> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>feature/deterministic
parent
3d05e4da7d
commit
1a9830ade4
|
@ -34,6 +34,13 @@ typedef enum DXGI_HARDWARE_COMPOSITION_SUPPORT_FLAGS
|
|||
DXGI_HARDWARE_COMPOSITION_SUPPORT_FLAG_CURSOR_STRETCHED = 0x4,
|
||||
} DXGI_HARDWARE_COMPOSITION_SUPPORT_FLAGS;
|
||||
|
||||
typedef enum DXGI_GPU_PREFERENCE
|
||||
{
|
||||
DXGI_GPU_PREFERENCE_UNSPECIFIED = 0x0,
|
||||
DXGI_GPU_PREFERENCE_MINIMUM_POWER = 0x1,
|
||||
DXGI_GPU_PREFERENCE_HIGH_PERFORMANCE = 0x2,
|
||||
} DXGI_GPU_PREFERENCE;
|
||||
|
||||
typedef struct DXGI_ADAPTER_DESC3
|
||||
{
|
||||
WCHAR Description[128];
|
||||
|
@ -96,3 +103,19 @@ interface IDXGIOutput6 : IDXGIOutput5
|
|||
[out] UINT *flags
|
||||
);
|
||||
}
|
||||
|
||||
[
|
||||
object,
|
||||
uuid(c1b6694f-ff09-44a9-b03c-77900a0a1d17),
|
||||
local,
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface IDXGIFactory6 : IDXGIFactory5
|
||||
{
|
||||
HRESULT EnumAdapterByGpuPreference(
|
||||
[in] UINT adapter_idx,
|
||||
[in] DXGI_GPU_PREFERENCE gpu_preference,
|
||||
[in] REFIID iid,
|
||||
[out] void **adapter
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue