Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
21c7d89c
Commit
21c7d89c
authored
Oct 17, 2008
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 17, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dxgi: Add the IDXGIAdapter interface.
parent
94bd5c65
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
0 deletions
+36
-0
dxgi.idl
include/dxgi.idl
+36
-0
No files found.
include/dxgi.idl
View file @
21c7d89c
...
...
@@ -20,6 +20,10 @@ import "dxgitype.idl";
cpp_quote
(
"#if 0"
)
typedef
HANDLE
HMONITOR
;
typedef
struct
_LUID
{
DWORD
LowPart
;
LONG
HighPart
;
}
LUID
,
*
PLUID
;
cpp_quote
(
"#endif"
)
typedef
UINT
DXGI_USAGE
;
...
...
@@ -62,6 +66,18 @@ typedef struct DXGI_FRAME_STATISTICS {
LARGE_INTEGER
SyncGPUTime
;
}
DXGI_FRAME_STATISTICS
;
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
;
typedef
struct
DXGI_SWAP_CHAIN_DESC
{
DXGI_MODE_DESC
BufferDesc
;
DXGI_SAMPLE_DESC
SampleDesc
;
...
...
@@ -183,6 +199,26 @@ interface IDXGIOutput : IDXGIObject
[
object
,
local
,
uuid
(
2411
e7e1
-
12
ac
-
4
ccf
-
bd14
-
9798
e8534dc0
)
]
interface
IDXGIAdapter
:
IDXGIObject
{
HRESULT
EnumOutputs
(
[
in
]
UINT
output_idx
,
[
in
,
out
]
IDXGIOutput
**
output
)
;
HRESULT
GetDesc
(
[
out
]
DXGI_ADAPTER_DESC
*
desc
)
;
HRESULT
CheckInterfaceSupport
(
[
in
]
REFGUID
guid
,
[
out
]
LARGE_INTEGER
umd_version
)
;
}
[
object
,
local
,
uuid
(
310
d36a0
-
d2e7
-
4
c0a
-
aa04
-
6
a9d23b8886a
)
]
interface
IDXGISwapChain
:
IDXGIDeviceSubObject
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment