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
a285a080
Commit
a285a080
authored
Jun 29, 2011
by
Jacek Caban
Committed by
Alexandre Julliard
Jun 29, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d10.idl: Added CD3D10_TEXTURE2D_DESC and CD3D10_BUFFER_DESC declarations.
parent
1522b3ca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
60 additions
and
10 deletions
+60
-10
d3d10.idl
include/d3d10.idl
+60
-10
No files found.
include/d3d10.idl
View file @
a285a080
...
...
@@ -459,6 +459,16 @@ typedef enum D3D10_USAGE {
D3D10_USAGE_STAGING
,
}
D3D10_USAGE
;
typedef
enum
D3D10_BIND_FLAG
{
D3D10_BIND_VERTEX_BUFFER
=
0
x1
,
D3D10_BIND_INDEX_BUFFER
=
0
x2
,
D3D10_BIND_CONSTANT_BUFFER
=
0
x4
,
D3D10_BIND_SHADER_RESOURCE
=
0
x8
,
D3D10_BIND_STREAM_OUTPUT
=
0
x10
,
D3D10_BIND_RENDER_TARGET
=
0
x20
,
D3D10_BIND_DEPTH_STENCIL
=
0
x40
}
D3D10_BIND_FLAG
;
typedef
struct
D3D10_BUFFER_DESC
{
UINT
ByteWidth
;
D3D10_USAGE
Usage
;
...
...
@@ -467,6 +477,24 @@ typedef struct D3D10_BUFFER_DESC {
UINT
MiscFlags
;
}
D3D10_BUFFER_DESC
;
cpp_quote
(
"#if !defined(D3D10_NO_HELPERS) && defined(__cplusplus)"
)
cpp_quote
(
"struct CD3D10_BUFFER_DESC : public D3D10_BUFFER_DESC {"
)
cpp_quote
(
" CD3D10_BUFFER_DESC() {}"
)
cpp_quote
(
" explicit CD3D10_BUFFER_DESC(const D3D10_BUFFER_DESC &o) : D3D10_BUFFER_DESC(o) {}"
)
cpp_quote
(
" explicit CD3D10_BUFFER_DESC(UINT byteWidth, UINT bindFlags, D3D10_USAGE usage = D3D10_USAGE_DEFAULT, UINT cpuaccessFlags = 0, UINT miscFlags = 0 ) {"
)
cpp_quote
(
" ByteWidth = byteWidth;"
)
cpp_quote
(
" Usage = usage;"
)
cpp_quote
(
" BindFlags = bindFlags;"
)
cpp_quote
(
" CPUAccessFlags = cpuaccessFlags;"
)
cpp_quote
(
" MiscFlags = miscFlags;"
)
cpp_quote
(
" }"
)
cpp_quote
(
" ~CD3D10_BUFFER_DESC() {}"
)
cpp_quote
(
" operator const D3D10_BUFFER_DESC&() const {"
)
cpp_quote
(
" return *this;"
)
cpp_quote
(
" }"
)
cpp_quote
(
"};"
)
cpp_quote
(
"#endif"
)
typedef
enum
D3D10_MAP
{
D3D10_MAP_READ
=
1
,
D3D10_MAP_WRITE
,
...
...
@@ -499,6 +527,38 @@ typedef struct D3D10_TEXTURE2D_DESC {
UINT
MiscFlags
;
}
D3D10_TEXTURE2D_DESC
;
cpp_quote
(
"#if !defined(D3D10_NO_HELPERS) && defined(__cplusplus)"
)
cpp_quote
(
"struct CD3D10_TEXTURE2D_DESC : public D3D10_TEXTURE2D_DESC {"
)
cpp_quote
(
" CD3D10_TEXTURE2D_DESC() {}"
)
cpp_quote
(
" explicit CD3D10_TEXTURE2D_DESC(const D3D10_TEXTURE2D_DESC &o) : D3D10_TEXTURE2D_DESC(o) {}"
)
cpp_quote
(
" explicit CD3D10_TEXTURE2D_DESC(DXGI_FORMAT format, UINT width, UINT height,"
)
cpp_quote
(
" UINT arraySize = 1,"
)
cpp_quote
(
" UINT mipLevels = 0,"
)
cpp_quote
(
" UINT bindFlags = D3D10_BIND_SHADER_RESOURCE,"
)
cpp_quote
(
" D3D10_USAGE usage = D3D10_USAGE_DEFAULT,"
)
cpp_quote
(
" UINT cpuaccessFlags = 0,"
)
cpp_quote
(
" UINT sampleCount = 1,"
)
cpp_quote
(
" UINT sampleQuality = 0,"
)
cpp_quote
(
" UINT miscFlags = 0) {"
)
cpp_quote
(
" Width = width;"
)
cpp_quote
(
" Height = height;"
)
cpp_quote
(
" MipLevels = mipLevels;"
)
cpp_quote
(
" ArraySize = arraySize;"
)
cpp_quote
(
" Format = format;"
)
cpp_quote
(
" SampleDesc.Count = sampleCount;"
)
cpp_quote
(
" SampleDesc.Quality = sampleQuality;"
)
cpp_quote
(
" Usage = usage;"
)
cpp_quote
(
" BindFlags = bindFlags;"
)
cpp_quote
(
" CPUAccessFlags = cpuaccessFlags;"
)
cpp_quote
(
" MiscFlags = miscFlags;"
)
cpp_quote
(
" }"
)
cpp_quote
(
" ~CD3D10_TEXTURE2D_DESC() {}"
)
cpp_quote
(
" operator const D3D10_TEXTURE2D_DESC&() const {"
)
cpp_quote
(
" return *this;"
)
cpp_quote
(
" }"
)
cpp_quote
(
"};"
)
cpp_quote
(
"#endif"
)
typedef
struct
D3D10_TEXTURE3D_DESC
{
UINT
Width
;
UINT
Height
;
...
...
@@ -777,16 +837,6 @@ typedef struct D3D10_MAPPED_TEXTURE3D {
UINT
DepthPitch
;
}
D3D10_MAPPED_TEXTURE3D
;
typedef
enum
D3D10_BIND_FLAG
{
D3D10_BIND_VERTEX_BUFFER
=
0
x1
,
D3D10_BIND_INDEX_BUFFER
=
0
x2
,
D3D10_BIND_CONSTANT_BUFFER
=
0
x4
,
D3D10_BIND_SHADER_RESOURCE
=
0
x8
,
D3D10_BIND_STREAM_OUTPUT
=
0
x10
,
D3D10_BIND_RENDER_TARGET
=
0
x20
,
D3D10_BIND_DEPTH_STENCIL
=
0
x40
}
D3D10_BIND_FLAG
;
typedef
enum
D3D10_CPU_ACCESS_FLAG
{
D3D10_CPU_ACCESS_WRITE
=
0
x10000
,
D3D10_CPU_ACCESS_READ
=
0
x20000
...
...
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