mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
tests: Print adapter info on Windows.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
committed by
Alexandre Julliard
parent
09f667ce4e
commit
b4d2306b9b
@@ -38,7 +38,6 @@ typedef enum DXGI_MODE_ROTATION
|
||||
DXGI_MODE_ROTATION_ROTATE270 = 0x4,
|
||||
} DXGI_MODE_ROTATION;
|
||||
|
||||
interface IDXGIAdapter;
|
||||
interface IDXGIAdapter1;
|
||||
interface IDXGIOutput;
|
||||
typedef struct DXGI_SWAP_CHAIN_DESC DXGI_SWAP_CHAIN_DESC;
|
||||
@@ -54,6 +53,19 @@ const DXGI_USAGE DXGI_USAGE_READ_ONLY = 0x00000100ul;
|
||||
const DXGI_USAGE DXGI_USAGE_DISCARD_ON_PRESENT = 0x00000200ul;
|
||||
const DXGI_USAGE DXGI_USAGE_UNORDERED_ACCESS = 0x00000400ul;
|
||||
|
||||
typedef struct DXGI_ADAPTER_DESC
|
||||
{
|
||||
WCHAR Description[128];
|
||||
UINT VendorId;
|
||||
UINT DeviceId;
|
||||
UINT SubSysId;
|
||||
UINT Revision;
|
||||
SIZE_T DedicatedVideoMemory;
|
||||
SIZE_T DedicatedSystemMemory;
|
||||
SIZE_T SharedSystemMemory;
|
||||
LUID AdapterLuid;
|
||||
} DXGI_ADAPTER_DESC;
|
||||
|
||||
[
|
||||
local,
|
||||
object,
|
||||
@@ -79,6 +91,18 @@ interface IDXGIDeviceSubObject : IDXGIObject
|
||||
HRESULT GetDevice(REFIID riid, void **device);
|
||||
}
|
||||
|
||||
[
|
||||
object,
|
||||
local,
|
||||
uuid(2411e7e1-12ac-4ccf-bd14-9798e8534dc0)
|
||||
]
|
||||
interface IDXGIAdapter : IDXGIObject
|
||||
{
|
||||
HRESULT EnumOutputs(UINT output_idx, IDXGIOutput **output);
|
||||
HRESULT GetDesc(DXGI_ADAPTER_DESC *desc);
|
||||
HRESULT CheckInterfaceSupport(REFGUID guid, void *umd_version);
|
||||
}
|
||||
|
||||
[
|
||||
local,
|
||||
object,
|
||||
|
Reference in New Issue
Block a user