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
4de32753
Commit
4de32753
authored
Sep 11, 2013
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 11, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d11.idl: Added some missing declarations.
parent
0e5d64cc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
132 additions
and
0 deletions
+132
-0
d3d11.idl
include/d3d11.idl
+132
-0
No files found.
include/d3d11.idl
View file @
4de32753
...
...
@@ -49,9 +49,22 @@ const UINT D3D11_DEFAULT_VIEWPORT_TOPLEFTX = 0;
const
UINT
D3D11_DEFAULT_VIEWPORT_TOPLEFTY
=
0
;
const
UINT
D3D11_DEFAULT_VIEWPORT_WIDTH
=
0
;
cpp_quote
(
"#define D3D11_FLOAT32_MAX (3.402823466e+38f)"
)
const
unsigned
int
D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT
=
8
;
const
UINT
D3D11_REQ_TEXTURE2D_U_OR_V_DIMENSION
=
16384
;
const
UINT
D3D11_MAX_MAXANISOTROPY
=
16
;
const
UINT
D3D11_MAX_MULTISAMPLE_SAMPLE_COUNT
=
32
;
const
UINT
D3D11_VIEWPORT_BOUNDS_MAX
=
32767
;
const
INT
D3D11_VIEWPORT_BOUNDS_MIN
=
-
32768
;
const
UINT
D3D11_SHADER_MAJOR_VERSION
=
5
;
const
UINT
D3D11_SHADER_MAX_INSTANCES
=
65535
;
const
UINT
D3D11_SHADER_MAX_INTERFACES
=
253
;
const
UINT
D3D11_SHADER_MAX_INTERFACE_CALL_SITES
=
4096
;
const
UINT
D3D11_SHADER_MAX_TYPES
=
65535
;
const
UINT
D3D11_SHADER_MINOR_VERSION
=
0
;
const
UINT
D3D11_VS_OUTPUT_REGISTER_COUNT
=
32
;
cpp_quote
(
"#if !defined(D3D11_NO_HELPERS) && defined(__cplusplus)"
)
cpp_quote
(
"struct CD3D11_DEFAULT {};"
)
...
...
@@ -235,6 +248,47 @@ typedef enum D3D11_FILL_MODE
D3D11_FILL_SOLID
}
D3D11_FILL_MODE
;
typedef
enum
D3D11_FILTER_TYPE
{
D3D11_FILTER_TYPE_POINT
=
0
,
D3D11_FILTER_TYPE_LINEAR
=
1
}
D3D11_FILTER_TYPE
;
const
UINT
D3D11_MIN_FILTER_SHIFT
=
4
;
const
UINT
D3D11_MAG_FILTER_SHIFT
=
2
;
const
UINT
D3D11_MIP_FILTER_SHIFT
=
0
;
const
UINT
D3D11_FILTER_TYPE_MASK
=
0
x00000003
;
const
UINT
D3D11_COMPARISON_FILTERING_BIT
=
0
x00000080
;
const
UINT
D3D11_ANISOTROPIC_FILTERING_BIT
=
0
x00000040
;
cpp_quote
(
"#define D3D11_ENCODE_BASIC_FILTER(min, mag, mip, bComparison) \\"
)
cpp_quote
(
" ((D3D11_FILTER)(((bComparison) ? D3D11_COMPARISON_FILTERING_BIT : 0 ) | \\"
)
cpp_quote
(
" (((min)&D3D11_FILTER_TYPE_MASK) << D3D11_MIN_FILTER_SHIFT) | \\"
)
cpp_quote
(
" (((mag)&D3D11_FILTER_TYPE_MASK) << D3D11_MAG_FILTER_SHIFT) | \\"
)
cpp_quote
(
" (((mip)&D3D11_FILTER_TYPE_MASK) << D3D11_MIP_FILTER_SHIFT)))"
)
cpp_quote
(
"#define D3D11_ENCODE_ANISOTROPIC_FILTER(bComparison) \\"
)
cpp_quote
(
" ((D3D11_FILTER)(D3D11_ANISOTROPIC_FILTERING_BIT | \\"
)
cpp_quote
(
" D3D11_ENCODE_BASIC_FILTER(D3D11_FILTER_TYPE_LINEAR,D3D11_FILTER_TYPE_LINEAR, \\"
)
cpp_quote
(
" D3D11_FILTER_TYPE_LINEAR,bComparison)))"
)
cpp_quote
(
"#define D3D11_DECODE_MIN_FILTER(d3d11Filter) \\"
)
cpp_quote
(
" ((D3D11_FILTER_TYPE)(((d3d11Filter) >> D3D11_MIN_FILTER_SHIFT) & D3D11_FILTER_TYPE_MASK))"
)
cpp_quote
(
"#define D3D11_DECODE_MAG_FILTER(d3d11Filter) \\"
)
cpp_quote
(
" ((D3D11_FILTER_TYPE)(((d3d11Filter) >> D3D11_MAG_FILTER_SHIFT) & D3D11_FILTER_TYPE_MASK))"
)
cpp_quote
(
"#define D3D11_DECODE_MIP_FILTER(d3d11Filter) \\"
)
cpp_quote
(
" ((D3D11_FILTER_TYPE)(((d3d11Filter) >> D3D11_MIP_FILTER_SHIFT) & D3D11_FILTER_TYPE_MASK))"
)
cpp_quote
(
"#define D3D11_DECODE_IS_COMPARISON_FILTER(d3d11Filter) ((d3d11Filter) & D3D11_COMPARISON_FILTERING_BIT)"
)
cpp_quote
(
"#define D3D11_DECODE_IS_ANISOTROPIC_FILTER(d3d11Filter) \\"
)
cpp_quote
(
" (((d3d11Filter) & D3D11_ANISOTROPIC_FILTERING_BIT ) \\"
)
cpp_quote
(
" && (D3D11_FILTER_TYPE_LINEAR == D3D11_DECODE_MIN_FILTER(d3d11Filter)) \\"
)
cpp_quote
(
" && (D3D11_FILTER_TYPE_LINEAR == D3D11_DECODE_MAG_FILTER(d3d11Filter)) \\"
)
cpp_quote
(
" && (D3D11_FILTER_TYPE_LINEAR == D3D11_DECODE_MIP_FILTER(d3d11Filter)))"
)
typedef
enum
D3D11_FILTER
{
D3D11_FILTER_MIN_MAG_MIP_POINT
=
0
x00
,
...
...
@@ -316,6 +370,29 @@ typedef enum D3D11_QUERY
D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM3
,
}
D3D11_QUERY
;
typedef
enum
D3D11_ASYNC_GETDATA_FLAG
{
D3D11_ASYNC_GETDATA_DONOTFLUSH
=
0
x0001
,
}
D3D11_ASYNC_GETDATA_FLAG
;
typedef
enum
D3D11_RESOURCE_MISC_FLAG
{
D3D11_RESOURCE_MISC_GENERATE_MIPS
=
0
x00000001L
,
D3D11_RESOURCE_MISC_SHARED
=
0
x00000002L
,
D3D11_RESOURCE_MISC_TEXTURECUBE
=
0
x00000004L
,
D3D11_RESOURCE_MISC_DRAWINDIRECT_ARGS
=
0
x00000010L
,
D3D11_RESOURCE_MISC_BUFFER_ALLOW_RAW_VIEWS
=
0
x00000020L
,
D3D11_RESOURCE_MISC_BUFFER_STRUCTURED
=
0
x00000040L
,
D3D11_RESOURCE_MISC_RESOURCE_CLAMP
=
0
x00000080L
,
D3D11_RESOURCE_MISC_SHARED_KEYEDMUTEX
=
0
x00000100L
,
D3D11_RESOURCE_MISC_GDI_COMPATIBLE
=
0
x00000200L
,
D3D11_RESOURCE_MISC_SHARED_NTHANDLE
=
0
x00000800L
,
D3D11_RESOURCE_MISC_RESTRICTED_CONTENT
=
0
x00001000L
,
D3D11_RESOURCE_MISC_RESTRICT_SHARED_RESOURCE
=
0
x00002000L
,
D3D11_RESOURCE_MISC_RESTRICT_SHARED_RESOURCE_DRIVER
=
0
x00004000L
,
D3D11_RESOURCE_MISC_GUARDED
=
0
x00008000L
}
D3D11_RESOURCE_MISC_FLAG
;
typedef
struct
D3D11_QUERY_DESC
{
D3D11_QUERY
Query
;
...
...
@@ -415,6 +492,14 @@ typedef enum D3D11_STENCIL_OP
D3D11_STENCIL_OP_DECR
}
D3D11_STENCIL_OP
;
cpp_quote
(
"#if !defined(D3D11_NO_HELPERS) && defined(__cplusplus)"
)
cpp_quote
(
"}"
)
cpp_quote
(
"inline UINT D3D11CalcSubresource(UINT MipSlice, UINT ArraySlice, UINT MipLevels) {"
)
cpp_quote
(
" return MipSlice + ArraySlice * MipLevels;"
)
cpp_quote
(
"}"
)
cpp_quote
(
"extern \"
C
\
"{"
)
cpp_quote
(
"#endif"
)
typedef
struct
D3D11_SUBRESOURCE_DATA
{
const
void
*
pSysMem
;
...
...
@@ -673,6 +758,43 @@ typedef enum D3D11_COLOR_WRITE_ENABLE
(
D3D11_COLOR_WRITE_ENABLE_RED
|
D3D11_COLOR_WRITE_ENABLE_GREEN
|
D3D11_COLOR_WRITE_ENABLE_BLUE
|
D3D11_COLOR_WRITE_ENABLE_ALPHA
)
}
D3D11_COLOR_WRITE_ENABLE
;
typedef
enum
D3D11_FORMAT_SUPPORT
{
D3D11_FORMAT_SUPPORT_BUFFER
=
0
x00000001
,
D3D11_FORMAT_SUPPORT_IA_VERTEX_BUFFER
=
0
x00000002
,
D3D11_FORMAT_SUPPORT_IA_INDEX_BUFFER
=
0
x00000004
,
D3D11_FORMAT_SUPPORT_SO_BUFFER
=
0
x00000008
,
D3D11_FORMAT_SUPPORT_TEXTURE1D
=
0
x00000010
,
D3D11_FORMAT_SUPPORT_TEXTURE2D
=
0
x00000020
,
D3D11_FORMAT_SUPPORT_TEXTURE3D
=
0
x00000040
,
D3D11_FORMAT_SUPPORT_TEXTURECUBE
=
0
x00000080
,
D3D11_FORMAT_SUPPORT_SHADER_LOAD
=
0
x00000100
,
D3D11_FORMAT_SUPPORT_SHADER_SAMPLE
=
0
x00000200
,
D3D11_FORMAT_SUPPORT_SHADER_SAMPLE_COMPARISON
=
0
x00000400
,
D3D11_FORMAT_SUPPORT_SHADER_SAMPLE_MONO_TEXT
=
0
x00000800
,
D3D11_FORMAT_SUPPORT_MIP
=
0
x00001000
,
D3D11_FORMAT_SUPPORT_MIP_AUTOGEN
=
0
x00002000
,
D3D11_FORMAT_SUPPORT_RENDER_TARGET
=
0
x00004000
,
D3D11_FORMAT_SUPPORT_BLENDABLE
=
0
x00008000
,
D3D11_FORMAT_SUPPORT_DEPTH_STENCIL
=
0
x00010000
,
D3D11_FORMAT_SUPPORT_CPU_LOCKABLE
=
0
x00020000
,
D3D11_FORMAT_SUPPORT_MULTISAMPLE_RESOLVE
=
0
x00040000
,
D3D11_FORMAT_SUPPORT_DISPLAY
=
0
x00080000
,
D3D11_FORMAT_SUPPORT_CAST_WITHIN_BIT_LAYOUT
=
0
x00100000
,
D3D11_FORMAT_SUPPORT_MULTISAMPLE_RENDERTARGET
=
0
x00200000
,
D3D11_FORMAT_SUPPORT_MULTISAMPLE_LOAD
=
0
x00400000
,
D3D11_FORMAT_SUPPORT_SHADER_GATHER
=
0
x00800000
,
D3D11_FORMAT_SUPPORT_BACK_BUFFER_CAST
=
0
x01000000
,
D3D11_FORMAT_SUPPORT_TYPED_UNORDERED_ACCESS_VIEW
=
0
x02000000
,
D3D11_FORMAT_SUPPORT_SHADER_GATHER_COMPARISON
=
0
x04000000
}
D3D11_FORMAT_SUPPORT
;
typedef
enum
D3D11_CLEAR_FLAG
{
D3D11_CLEAR_DEPTH
=
0
x0001L
,
D3D11_CLEAR_STENCIL
=
0
x0002L
}
D3D11_CLEAR_FLAG
;
typedef
struct
D3D11_RENDER_TARGET_BLEND_DESC
{
BOOL
BlendEnable
;
...
...
@@ -1867,3 +1989,13 @@ cpp_quote("#include <d3d10misc.h>")
cpp_quote
(
"#include <d3d10shader.h>"
)
cpp_quote
(
"#include <d3d10effect.h>"
)
cpp_quote
(
"#include <d3d10_1shader.h>"
)
cpp_quote
(
"typedef HRESULT (WINAPI* PFN_D3D11_CREATE_DEVICE)(IDXGIAdapter*,D3D_DRIVER_TYPE,HMODULE,UINT,"
)
cpp_quote
(
" const D3D_FEATURE_LEVEL*,UINT,UINT,ID3D11Device**,D3D_FEATURE_LEVEL*,ID3D11DeviceContext**);"
)
cpp_quote
(
"HRESULT WINAPI D3D11CreateDevice(IDXGIAdapter*,D3D_DRIVER_TYPE,HMODULE,UINT,const D3D_FEATURE_LEVEL*,"
)
cpp_quote
(
" UINT,UINT,ID3D11Device**,D3D_FEATURE_LEVEL*,ID3D11DeviceContext**);"
)
cpp_quote
(
"typedef HRESULT (WINAPI *PFN_D3D11_CREATE_DEVICE_AND_SWAP_CHAIN)(IDXGIAdapter*,D3D_DRIVER_TYPE,HMODULE,UINT,"
)
cpp_quote
(
" const D3D_FEATURE_LEVEL*,UINT,UINT,const DXGI_SWAP_CHAIN_DESC*,IDXGISwapChain**,ID3D11Device**,"
)
cpp_quote
(
" D3D_FEATURE_LEVEL*,ID3D11DeviceContext**);"
)
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