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
d9c68bd1
Commit
d9c68bd1
authored
Oct 25, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 25, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9: Avoid LPDIRECT3DINDEXBUFFER9.
parent
c4f7bcc6
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
9 deletions
+15
-9
mesh.c
dlls/d3dx9_36/mesh.c
+2
-1
skin.c
dlls/d3dx9_36/skin.c
+2
-1
d3dx9mesh.h
include/d3dx9mesh.h
+11
-7
No files found.
dlls/d3dx9_36/mesh.c
View file @
d9c68bd1
...
...
@@ -784,7 +784,8 @@ static HRESULT WINAPI ID3DXMeshImpl_GetVertexBuffer(ID3DXMesh *iface, LPDIRECT3D
return
D3D_OK
;
}
static
HRESULT
WINAPI
ID3DXMeshImpl_GetIndexBuffer
(
ID3DXMesh
*
iface
,
LPDIRECT3DINDEXBUFFER9
*
index_buffer
)
static
HRESULT
WINAPI
ID3DXMeshImpl_GetIndexBuffer
(
struct
ID3DXMesh
*
iface
,
struct
IDirect3DIndexBuffer9
**
index_buffer
)
{
ID3DXMeshImpl
*
This
=
impl_from_ID3DXMesh
(
iface
);
...
...
dlls/d3dx9_36/skin.c
View file @
d9c68bd1
...
...
@@ -210,7 +210,8 @@ static HRESULT WINAPI ID3DXSkinInfoImpl_FindBoneVertexInfluenceIndex(ID3DXSkinIn
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
ID3DXSkinInfoImpl_GetMaxFaceInfluences
(
ID3DXSkinInfo
*
iface
,
LPDIRECT3DINDEXBUFFER9
index_buffer
,
DWORD
num_faces
,
DWORD
*
max_face_influences
)
static
HRESULT
WINAPI
ID3DXSkinInfoImpl_GetMaxFaceInfluences
(
struct
ID3DXSkinInfo
*
iface
,
struct
IDirect3DIndexBuffer9
*
index_buffer
,
DWORD
num_faces
,
DWORD
*
max_face_influences
)
{
ID3DXSkinInfoImpl
*
This
=
impl_from_ID3DXSkinInfo
(
iface
);
...
...
include/d3dx9mesh.h
View file @
d9c68bd1
...
...
@@ -323,7 +323,7 @@ DECLARE_INTERFACE_(ID3DXBaseMesh, IUnknown)
STDMETHOD
(
CloneMesh
)(
THIS_
DWORD
options
,
CONST
D3DVERTEXELEMENT9
*
declaration
,
LPDIRECT3DDEVICE9
device
,
LPD3DXMESH
*
clone_mesh
)
PURE
;
STDMETHOD
(
GetVertexBuffer
)(
THIS_
LPDIRECT3DVERTEXBUFFER9
*
vertex_buffer
)
PURE
;
STDMETHOD
(
GetIndexBuffer
)(
THIS_
LPDIRECT3DINDEXBUFFER9
*
index_buffer
)
PURE
;
STDMETHOD
(
GetIndexBuffer
)(
THIS_
struct
IDirect3DIndexBuffer9
**
index_buffer
)
PURE
;
STDMETHOD
(
LockVertexBuffer
)(
THIS_
DWORD
flags
,
LPVOID
*
data
)
PURE
;
STDMETHOD
(
UnlockVertexBuffer
)(
THIS
)
PURE
;
STDMETHOD
(
LockIndexBuffer
)(
THIS_
DWORD
flags
,
LPVOID
*
data
)
PURE
;
...
...
@@ -356,7 +356,7 @@ DECLARE_INTERFACE_(ID3DXMesh, ID3DXBaseMesh)
STDMETHOD
(
CloneMesh
)(
THIS_
DWORD
options
,
CONST
D3DVERTEXELEMENT9
*
declaration
,
LPDIRECT3DDEVICE9
device
,
LPD3DXMESH
*
clone_mesh
)
PURE
;
STDMETHOD
(
GetVertexBuffer
)(
THIS_
LPDIRECT3DVERTEXBUFFER9
*
vertex_buffer
)
PURE
;
STDMETHOD
(
GetIndexBuffer
)(
THIS_
LPDIRECT3DINDEXBUFFER9
*
index_buffer
)
PURE
;
STDMETHOD
(
GetIndexBuffer
)(
THIS_
struct
IDirect3DIndexBuffer9
**
index_buffer
)
PURE
;
STDMETHOD
(
LockVertexBuffer
)(
THIS_
DWORD
flags
,
LPVOID
*
data
)
PURE
;
STDMETHOD
(
UnlockVertexBuffer
)(
THIS
)
PURE
;
STDMETHOD
(
LockIndexBuffer
)(
THIS_
DWORD
flags
,
LPVOID
*
data
)
PURE
;
...
...
@@ -397,7 +397,7 @@ DECLARE_INTERFACE_(ID3DXPMesh, ID3DXBaseMesh)
STDMETHOD
(
CloneMesh
)(
THIS_
DWORD
options
,
CONST
D3DVERTEXELEMENT9
*
declaration
,
LPDIRECT3DDEVICE9
device
,
LPD3DXMESH
*
clone_mesh
)
PURE
;
STDMETHOD
(
GetVertexBuffer
)(
THIS_
LPDIRECT3DVERTEXBUFFER9
*
vertex_buffer
)
PURE
;
STDMETHOD
(
GetIndexBuffer
)(
THIS_
LPDIRECT3DINDEXBUFFER9
*
index_buffer
)
PURE
;
STDMETHOD
(
GetIndexBuffer
)(
THIS_
struct
IDirect3DIndexBuffer9
**
index_buffer
)
PURE
;
STDMETHOD
(
LockVertexBuffer
)(
THIS_
DWORD
flags
,
LPVOID
*
data
)
PURE
;
STDMETHOD
(
UnlockVertexBuffer
)(
THIS
)
PURE
;
STDMETHOD
(
LockIndexBuffer
)(
THIS_
DWORD
flags
,
LPVOID
*
data
)
PURE
;
...
...
@@ -475,7 +475,7 @@ DECLARE_INTERFACE_(ID3DXPatchMesh, IUnknown)
STDMETHOD
(
GetDevice
)(
THIS_
LPDIRECT3DDEVICE9
*
device
)
PURE
;
STDMETHOD
(
GetPatchInfo
)(
THIS_
LPD3DXPATCHINFO
patch_info
)
PURE
;
STDMETHOD
(
GetVertexBuffer
)(
THIS_
LPDIRECT3DVERTEXBUFFER9
*
vertex_buffer
)
PURE
;
STDMETHOD
(
GetIndexBuffer
)(
THIS_
LPDIRECT3DINDEXBUFFER9
*
index_buffer
)
PURE
;
STDMETHOD
(
GetIndexBuffer
)(
THIS_
struct
IDirect3DIndexBuffer9
**
index_buffer
)
PURE
;
STDMETHOD
(
LockVertexBuffer
)(
THIS_
DWORD
flags
,
LPVOID
*
data
)
PURE
;
STDMETHOD
(
UnlockVertexBuffer
)(
THIS
)
PURE
;
STDMETHOD
(
LockIndexBuffer
)(
THIS_
DWORD
flags
,
LPVOID
*
data
)
PURE
;
...
...
@@ -513,7 +513,8 @@ DECLARE_INTERFACE_(ID3DXSkinInfo, IUnknown)
STDMETHOD
(
GetMaxVertexInfluences
)(
THIS_
DWORD
*
max_vertex_influences
)
PURE
;
STDMETHOD_
(
DWORD
,
GetNumBones
)(
THIS
)
PURE
;
STDMETHOD
(
FindBoneVertexInfluenceIndex
)(
THIS_
DWORD
bone_num
,
DWORD
vertex_num
,
DWORD
*
influence_index
)
PURE
;
STDMETHOD
(
GetMaxFaceInfluences
)(
THIS_
LPDIRECT3DINDEXBUFFER9
index_buffer
,
DWORD
num_faces
,
DWORD
*
max_face_influences
)
PURE
;
STDMETHOD
(
GetMaxFaceInfluences
)(
THIS_
struct
IDirect3DIndexBuffer9
*
index_buffer
,
DWORD
num_faces
,
DWORD
*
max_face_influences
)
PURE
;
STDMETHOD
(
SetMinBoneInfluence
)(
THIS_
FLOAT
min_influence
)
PURE
;
STDMETHOD_
(
FLOAT
,
GetMinBoneInfluence
)(
THIS
)
PURE
;
STDMETHOD
(
SetBoneName
)(
THIS_
DWORD
bone
,
LPCSTR
name
)
PURE
;
...
...
@@ -736,8 +737,11 @@ HRESULT WINAPI D3DXComputeIMTFromTexture(struct ID3DXMesh *mesh, struct IDirect3
HRESULT
WINAPI
D3DXComputeNormals
(
LPD3DXBASEMESH
,
CONST
DWORD
*
);
HRESULT
WINAPI
D3DXComputeTangentFrameEx
(
LPD3DXMESH
,
DWORD
,
DWORD
,
DWORD
,
DWORD
,
DWORD
,
DWORD
,
DWORD
,
DWORD
,
DWORD
,
CONST
DWORD
*
,
FLOAT
,
FLOAT
,
FLOAT
,
LPD3DXMESH
*
,
LPD3DXBUFFER
*
);
HRESULT
WINAPI
D3DXComputeTangent
(
LPD3DXMESH
,
DWORD
,
DWORD
,
DWORD
,
DWORD
,
CONST
DWORD
*
);
HRESULT
WINAPI
D3DXConvertMeshSubsetToSingleStrip
(
LPD3DXBASEMESH
,
DWORD
,
DWORD
,
LPDIRECT3DINDEXBUFFER9
*
,
DWORD
*
);
HRESULT
WINAPI
D3DXConvertMeshSubsetToStrips
(
LPD3DXBASEMESH
,
DWORD
,
DWORD
,
LPDIRECT3DINDEXBUFFER9
,
DWORD
*
,
LPD3DXBUFFER
*
,
DWORD
*
);
HRESULT
WINAPI
D3DXConvertMeshSubsetToSingleStrip
(
struct
ID3DXBaseMesh
*
mesh_in
,
DWORD
attribute_id
,
DWORD
ib_flags
,
struct
IDirect3DIndexBuffer9
**
index_buffer
,
DWORD
*
index_count
);
HRESULT
WINAPI
D3DXConvertMeshSubsetToStrips
(
struct
ID3DXBaseMesh
mesh_in
,
DWORD
attribute_id
,
DWORD
ib_flags
,
struct
IDirect3DIndexBuffer9
**
index_buffer
,
DWORD
*
index_count
,
struct
ID3DXBuffer
**
strip_lengths
,
DWORD
*
strip_count
);
HRESULT
WINAPI
D3DXDeclaratorFromFVF
(
DWORD
,
D3DVERTEXELEMENT9
[
MAX_FVF_DECL_SIZE
]);
HRESULT
WINAPI
D3DXFVFFromDeclarator
(
const
D3DVERTEXELEMENT9
*
decl
,
DWORD
*
fvf
);
HRESULT
WINAPI
D3DXGenerateOutputDecl
(
D3DVERTEXELEMENT9
*
,
CONST
D3DVERTEXELEMENT9
*
);
...
...
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