dxgi1_2.idl: Added IDXGIAdapter2 declaration.
This commit is contained in:
parent
a79621a689
commit
3c5387da05
|
@ -190,3 +190,45 @@ interface IDXGIFactory2 : IDXGIFactory1
|
|||
[in] IDXGIOutput *pRestrictToOutput,
|
||||
[out] IDXGISwapChain1 **ppSwapChain);
|
||||
}
|
||||
|
||||
typedef enum DXGI_GRAPHICS_PREEMPTION_GRANULARITY {
|
||||
DXGI_GRAPHICS_PREEMPTION_DMA_BUFFER_BOUNDARY,
|
||||
DXGI_GRAPHICS_PREEMPTION_PRIMITIVE_BOUNDARY,
|
||||
DXGI_GRAPHICS_PREEMPTION_TRIANGLE_BOUNDARY,
|
||||
DXGI_GRAPHICS_PREEMPTION_PIXEL_BOUNDARY,
|
||||
DXGI_GRAPHICS_PREEMPTION_INSTRUCTION_BOUNDARY
|
||||
} DXGI_GRAPHICS_PREEMPTION_GRANULARITY;
|
||||
|
||||
typedef enum DXGI_COMPUTE_PREEMPTION_GRANULARITY {
|
||||
DXGI_COMPUTE_PREEMPTION_DMA_BUFFER_BOUNDARY,
|
||||
DXGI_COMPUTE_PREEMPTION_DISPATCH_BOUNDARY,
|
||||
DXGI_COMPUTE_PREEMPTION_THREAD_GROUP_BOUNDARY,
|
||||
DXGI_COMPUTE_PREEMPTION_THREAD_BOUNDARY,
|
||||
DXGI_COMPUTE_PREEMPTION_INSTRUCTION_BOUNDARY
|
||||
} DXGI_COMPUTE_PREEMPTION_GRANULARITY;
|
||||
|
||||
typedef struct DXGI_ADAPTER_DESC2 {
|
||||
WCHAR Description[128];
|
||||
UINT VendorId;
|
||||
UINT DeviceId;
|
||||
UINT SubSysId;
|
||||
UINT Revision;
|
||||
SIZE_T DedicatedVideoMemory;
|
||||
SIZE_T DedicatedSystemMemory;
|
||||
SIZE_T SharedSystemMemory;
|
||||
LUID AdapterLuid;
|
||||
UINT Flags;
|
||||
DXGI_GRAPHICS_PREEMPTION_GRANULARITY GraphicsPreemptionGranularity;
|
||||
DXGI_COMPUTE_PREEMPTION_GRANULARITY ComputePreemptionGranularity;
|
||||
} DXGI_ADAPTER_DESC2;
|
||||
|
||||
[
|
||||
object,
|
||||
uuid(0aa1ae0a-fa0e-4b84-8644-e05ff8e5acb5),
|
||||
local,
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface IDXGIAdapter2 : IDXGIAdapter1
|
||||
{
|
||||
HRESULT GetDesc2([out] DXGI_ADAPTER_DESC2 *pDesc);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue