Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
5f2b9faf
Commit
5f2b9faf
authored
Oct 22, 2008
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 23, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dxgi: Add the IDXGIDevice interface.
parent
d756cc73
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
0 deletions
+40
-0
dxgi.idl
include/dxgi.idl
+40
-0
No files found.
include/dxgi.idl
View file @
5f2b9faf
...
...
@@ -38,6 +38,12 @@ typedef enum DXGI_SWAP_EFFECT {
DXGI_SWAP_EFFECT_SEQUENTIAL
=
1
,
}
DXGI_SWAP_EFFECT
;
typedef
enum
DXGI_RESIDENCY
{
DXGI_RESIDENCY_FULLY_RESIDENT
=
1
,
DXGI_RESIDENCY_RESIDENT_IN_SHARED_MEMORY
=
2
,
DXGI_RESIDENCY_EVICTED_TO_DISK
=
3
,
}
DXGI_RESIDENCY
;
typedef
struct
DXGI_SURFACE_DESC
{
UINT
Width
;
UINT
Height
;
...
...
@@ -89,6 +95,10 @@ typedef struct DXGI_SWAP_CHAIN_DESC {
UINT
Flags
;
}
DXGI_SWAP_CHAIN_DESC
;
typedef
struct
DXGI_SHARED_RESOURCE
{
HANDLE
Handle
;
}
DXGI_SHARED_RESOURCE
;
[
object
,
local
,
...
...
@@ -294,3 +304,33 @@ interface IDXGIFactory : IDXGIObject
}
[
local
]
HRESULT
CreateDXGIFactory
(
REFIID
riid
,
void
**
factory
)
;
[
object
,
local
,
uuid
(
54
ec77fa
-
1377
-
44
e6
-
8
c32
-
88
fd5f44c84c
)
]
interface
IDXGIDevice
:
IDXGIObject
{
HRESULT
GetAdapter
(
[
out
]
IDXGIAdapter
**
adapter
)
;
HRESULT
CreateSurface
(
[
in
]
const
DXGI_SURFACE_DESC
*
desc
,
[
in
]
UINT
surface_count
,
[
in
]
DXGI_USAGE
usage
,
[
in
]
const
DXGI_SHARED_RESOURCE
*
shared_resource
,
[
out
]
IDXGISurface
**
surface
)
;
HRESULT
QueryResourceResidency
(
[
in
]
IUnknown
*
const
*
resources
,
[
out
]
DXGI_RESIDENCY
*
residency
,
[
in
]
UINT
resource_count
)
;
HRESULT
SetGPUThreadPriority
(
[
in
]
INT
priority
)
;
HRESULT
GetGPUThreadPriority
(
[
out
]
INT
*
priority
)
;
}
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