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
46050fb3
Commit
46050fb3
authored
Aug 18, 2010
by
Misha Koshelev
Committed by
Alexandre Julliard
Aug 19, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9: Add tests for FVF <-> declaration conversion.
parent
e474eb81
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
1 deletion
+14
-1
d3dx9_36.spec
dlls/d3dx9_36/d3dx9_36.spec
+1
-1
mesh.c
dlls/d3dx9_36/mesh.c
+12
-0
mesh.c
dlls/d3dx9_36/tests/mesh.c
+0
-0
d3dx9mesh.h
include/d3dx9mesh.h
+1
-0
No files found.
dlls/d3dx9_36/d3dx9_36.spec
View file @
46050fb3
...
@@ -139,7 +139,7 @@
...
@@ -139,7 +139,7 @@
@ stub D3DXFrameNumNamedMatrices
@ stub D3DXFrameNumNamedMatrices
@ stub D3DXFrameRegisterNamedMatrices
@ stub D3DXFrameRegisterNamedMatrices
@ stdcall D3DXFresnelTerm(long long)
@ stdcall D3DXFresnelTerm(long long)
@ st
ub D3DXFVFFromDeclarator
@ st
dcall D3DXFVFFromDeclarator(ptr ptr)
@ stub D3DXGatherFragments
@ stub D3DXGatherFragments
@ stub D3DXGatherFragmentsFromFileA
@ stub D3DXGatherFragmentsFromFileA
@ stub D3DXGatherFragmentsFromFileW
@ stub D3DXGatherFragmentsFromFileW
...
...
dlls/d3dx9_36/mesh.c
View file @
46050fb3
/*
/*
* Mesh operations specific to D3DX9.
* Mesh operations specific to D3DX9.
*
*
* Copyright (C) 2005 Henri Verbeet
* Copyright (C) 2006 Ivan Gyurdiev
* Copyright (C) 2009 David Adam
* Copyright (C) 2009 David Adam
* Copyright (C) 2010 Tony Wasserka
* Copyright (C) 2010 Tony Wasserka
*
*
...
@@ -178,6 +180,16 @@ HRESULT WINAPI D3DXDeclaratorFromFVF(DWORD fvf, D3DVERTEXELEMENT9 Declaration[MA
...
@@ -178,6 +180,16 @@ HRESULT WINAPI D3DXDeclaratorFromFVF(DWORD fvf, D3DVERTEXELEMENT9 Declaration[MA
}
}
/*************************************************************************
/*************************************************************************
* D3DXFVFFromDeclarator
*/
HRESULT
WINAPI
D3DXFVFFromDeclarator
(
const
LPD3DVERTEXELEMENT9
*
declaration
,
DWORD
*
fvf
)
{
FIXME
(
"(%p, %p): stub
\n
"
,
declaration
,
fvf
);
return
E_NOTIMPL
;
}
/*************************************************************************
* D3DXGetFVFVertexSize
* D3DXGetFVFVertexSize
*/
*/
static
UINT
Get_TexCoord_Size_From_FVF
(
DWORD
FVF
,
int
tex_num
)
static
UINT
Get_TexCoord_Size_From_FVF
(
DWORD
FVF
,
int
tex_num
)
...
...
dlls/d3dx9_36/tests/mesh.c
View file @
46050fb3
This diff is collapsed.
Click to expand it.
include/d3dx9mesh.h
View file @
46050fb3
...
@@ -159,6 +159,7 @@ BOOL WINAPI D3DXSphereBoundProbe(CONST D3DXVECTOR3 *,FLOAT,CONST D3DXVECTOR3
...
@@ -159,6 +159,7 @@ BOOL WINAPI D3DXSphereBoundProbe(CONST D3DXVECTOR3 *,FLOAT,CONST D3DXVECTOR3
HRESULT
WINAPI
D3DXComputeBoundingBox
(
CONST
D3DXVECTOR3
*
,
DWORD
,
DWORD
,
D3DXVECTOR3
*
,
D3DXVECTOR3
*
);
HRESULT
WINAPI
D3DXComputeBoundingBox
(
CONST
D3DXVECTOR3
*
,
DWORD
,
DWORD
,
D3DXVECTOR3
*
,
D3DXVECTOR3
*
);
HRESULT
WINAPI
D3DXComputeBoundingSphere
(
CONST
D3DXVECTOR3
*
,
DWORD
,
DWORD
,
D3DXVECTOR3
*
,
FLOAT
*
);
HRESULT
WINAPI
D3DXComputeBoundingSphere
(
CONST
D3DXVECTOR3
*
,
DWORD
,
DWORD
,
D3DXVECTOR3
*
,
FLOAT
*
);
HRESULT
WINAPI
D3DXDeclaratorFromFVF
(
DWORD
,
D3DVERTEXELEMENT9
[
MAX_FVF_DECL_SIZE
]);
HRESULT
WINAPI
D3DXDeclaratorFromFVF
(
DWORD
,
D3DVERTEXELEMENT9
[
MAX_FVF_DECL_SIZE
]);
HRESULT
WINAPI
D3DXFVFFromDeclarator
(
const
LPD3DVERTEXELEMENT9
*
,
DWORD
*
);
BOOL
WINAPI
D3DXIntersectTri
(
CONST
D3DXVECTOR3
*
,
CONST
D3DXVECTOR3
*
,
CONST
D3DXVECTOR3
*
,
CONST
D3DXVECTOR3
*
,
CONST
D3DXVECTOR3
*
,
FLOAT
*
,
FLOAT
*
,
FLOAT
*
);
BOOL
WINAPI
D3DXIntersectTri
(
CONST
D3DXVECTOR3
*
,
CONST
D3DXVECTOR3
*
,
CONST
D3DXVECTOR3
*
,
CONST
D3DXVECTOR3
*
,
CONST
D3DXVECTOR3
*
,
FLOAT
*
,
FLOAT
*
,
FLOAT
*
);
#ifdef __cplusplus
#ifdef __cplusplus
...
...
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