Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tayshawnna Jackson
wine
Commits
ae1f015d
Commit
ae1f015d
authored
10 years ago
by
Jacek Caban
Committed by
Alexandre Julliard
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
dxgi1_2.idl: Added IDXGISwapChain1 declaration.
parent
37d5149e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/dxgi1_2.idl
+85
-0
85 additions, 0 deletions
include/dxgi1_2.idl
include/dxgitype.h
+12
-0
12 additions, 0 deletions
include/dxgitype.h
with
97 additions
and
0 deletions
include/dxgi1_2.idl
+
85
−
0
View file @
ae1f015d
...
...
@@ -24,6 +24,14 @@ typedef enum _DXGI_OFFER_RESOURCE_PRIORITY {
DXGI_OFFER_RESOURCE_PRIORITY_HIGH
}
DXGI_OFFER_RESOURCE_PRIORITY
;
typedef
enum
DXGI_ALPHA_MODE
{
DXGI_ALPHA_MODE_UNSPECIFIED
=
0
,
DXGI_ALPHA_MODE_PREMULTIPLIED
=
1
,
DXGI_ALPHA_MODE_STRAIGHT
=
2
,
DXGI_ALPHA_MODE_IGNORE
=
3
,
DXGI_ALPHA_MODE_FORCE_DWORD
=
0
xffffffff
}
DXGI_ALPHA_MODE
;
[
object
,
uuid
(
05008617
-
fbfd
-
4051
-
a790
-
144884b4
f6a9
),
...
...
@@ -45,3 +53,80 @@ interface IDXGIDevice2 : IDXGIDevice1
HRESULT
EnqueueSetEvent
(
[
in
]
HANDLE
hEvent
)
;
}
typedef
enum
DXGI_SCALING
{
DXGI_SCALING_STRETCH
=
0
,
DXGI_SCALING_NONE
=
1
}
DXGI_SCALING
;
typedef
struct
DXGI_SWAP_CHAIN_DESC1
{
UINT
Width
;
UINT
Height
;
DXGI_FORMAT
Format
;
BOOL
Stereo
;
DXGI_SAMPLE_DESC
SampleDesc
;
DXGI_USAGE
BufferUsage
;
UINT
BufferCount
;
DXGI_SCALING
Scaling
;
DXGI_SWAP_EFFECT
SwapEffect
;
DXGI_ALPHA_MODE
AlphaMode
;
UINT
Flags
;
}
DXGI_SWAP_CHAIN_DESC1
;
typedef
struct
DXGI_SWAP_CHAIN_FULLSCREEN_DESC
{
DXGI_RATIONAL
RefreshRate
;
DXGI_MODE_SCANLINE_ORDER
ScanlineOrdering
;
DXGI_MODE_SCALING
Scaling
;
BOOL
Windowed
;
}
DXGI_SWAP_CHAIN_FULLSCREEN_DESC
;
typedef
struct
DXGI_PRESENT_PARAMETERS
{
UINT
DirtyRectsCount
;
RECT
*
pDirtyRects
;
RECT
*
pScrollRect
;
POINT
*
pScrollOffset
;
}
DXGI_PRESENT_PARAMETERS
;
[
object
,
uuid
(
790
a45f7
-
0
d42
-
4876
-
983
a
-
0
a55cfe6f4aa
),
local
,
pointer_default
(
unique
)
]
interface
IDXGISwapChain1
:
IDXGISwapChain
{
HRESULT
GetDesc1
(
[
out
]
DXGI_SWAP_CHAIN_DESC1
*
pDesc
)
;
HRESULT
GetFullscreenDesc
(
[
out
]
DXGI_SWAP_CHAIN_FULLSCREEN_DESC
*
pDesc
)
;
HRESULT
GetHwnd
(
[
out
]
HWND
*
pHwnd
)
;
HRESULT
GetCoreWindow
(
[
in
]
REFIID
refiid
,
[
out
]
void
**
ppUnk
)
;
HRESULT
Present1
(
[
in
]
UINT
SyncInterval
,
[
in
]
UINT
PresentFlags
,
[
in
]
const
DXGI_PRESENT_PARAMETERS
*
pPresentParameters
)
;
BOOL
IsTemporaryMonoSupported
()
;
HRESULT
GetRestrictToOutput
(
[
out
]
IDXGIOutput
**
ppRestrictToOutput
)
;
HRESULT
SetBackgroundColor
(
[
in
]
const
DXGI_RGBA
*
pColor
)
;
HRESULT
GetBackgroundColor
(
[
out
]
DXGI_RGBA
*
pColor
)
;
HRESULT
SetRotation
(
[
in
]
DXGI_MODE_ROTATION
Rotation
)
;
HRESULT
GetRotation
(
[
out
]
DXGI_MODE_ROTATION
*
pRotation
)
;
}
This diff is collapsed.
Click to expand it.
include/dxgitype.h
+
12
−
0
View file @
ae1f015d
...
...
@@ -21,6 +21,18 @@
#include
"dxgiformat.h"
#ifndef D3DCOLORVALUE_DEFINED
typedef
struct
_D3DCOLORVALUE
{
float
r
;
float
g
;
float
b
;
float
a
;
}
D3DCOLORVALUE
;
#define D3DCOLORVALUE_DEFINED
#endif
typedef
D3DCOLORVALUE
DXGI_RGBA
;
typedef
struct
DXGI_SAMPLE_DESC
{
UINT
Count
;
UINT
Quality
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment