Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
6dfc0fb1
Commit
6dfc0fb1
authored
Jul 16, 2017
by
Christian Costa
Committed by
Vitaly Lipatov
Jul 30, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9_36: Add semi-stub for D3DXOptimizeVertices.
parent
fb05bfa2
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
69 additions
and
20 deletions
+69
-20
d3dx9_24.spec
dlls/d3dx9_24/d3dx9_24.spec
+1
-1
d3dx9_25.spec
dlls/d3dx9_25/d3dx9_25.spec
+1
-1
d3dx9_26.spec
dlls/d3dx9_26/d3dx9_26.spec
+1
-1
d3dx9_27.spec
dlls/d3dx9_27/d3dx9_27.spec
+1
-1
d3dx9_28.spec
dlls/d3dx9_28/d3dx9_28.spec
+1
-1
d3dx9_29.spec
dlls/d3dx9_29/d3dx9_29.spec
+1
-1
d3dx9_30.spec
dlls/d3dx9_30/d3dx9_30.spec
+1
-1
d3dx9_31.spec
dlls/d3dx9_31/d3dx9_31.spec
+1
-1
d3dx9_32.spec
dlls/d3dx9_32/d3dx9_32.spec
+1
-1
d3dx9_33.spec
dlls/d3dx9_33/d3dx9_33.spec
+1
-1
d3dx9_34.spec
dlls/d3dx9_34/d3dx9_34.spec
+1
-1
d3dx9_35.spec
dlls/d3dx9_35/d3dx9_35.spec
+1
-1
d3dx9_36.spec
dlls/d3dx9_36/d3dx9_36.spec
+1
-1
mesh.c
dlls/d3dx9_36/mesh.c
+27
-0
mesh.c
dlls/d3dx9_36/tests/mesh.c
+22
-0
d3dx9_37.spec
dlls/d3dx9_37/d3dx9_37.spec
+1
-1
d3dx9_38.spec
dlls/d3dx9_38/d3dx9_38.spec
+1
-1
d3dx9_39.spec
dlls/d3dx9_39/d3dx9_39.spec
+1
-1
d3dx9_40.spec
dlls/d3dx9_40/d3dx9_40.spec
+1
-1
d3dx9_41.spec
dlls/d3dx9_41/d3dx9_41.spec
+1
-1
d3dx9_42.spec
dlls/d3dx9_42/d3dx9_42.spec
+1
-1
d3dx9_43.spec
dlls/d3dx9_43/d3dx9_43.spec
+1
-1
No files found.
dlls/d3dx9_24/d3dx9_24.spec
View file @
6dfc0fb1
...
...
@@ -226,7 +226,7 @@
@ stdcall D3DXMatrixTranslation(ptr float float float)
@ stdcall D3DXMatrixTranspose(ptr ptr)
@ stdcall D3DXOptimizeFaces(ptr long long long ptr)
@ st
ub
D3DXOptimizeVertices(ptr long long long ptr)
@ st
dcall
D3DXOptimizeVertices(ptr long long long ptr)
@ stdcall D3DXPlaneFromPointNormal(ptr ptr ptr)
@ stdcall D3DXPlaneFromPoints(ptr ptr ptr ptr)
@ stdcall D3DXPlaneIntersectLine(ptr ptr ptr ptr)
...
...
dlls/d3dx9_25/d3dx9_25.spec
View file @
6dfc0fb1
...
...
@@ -226,7 +226,7 @@
@ stdcall D3DXMatrixTranslation(ptr float float float)
@ stdcall D3DXMatrixTranspose(ptr ptr)
@ stdcall D3DXOptimizeFaces(ptr long long long ptr)
@ st
ub
D3DXOptimizeVertices(ptr long long long ptr)
@ st
dcall
D3DXOptimizeVertices(ptr long long long ptr)
@ stdcall D3DXPlaneFromPointNormal(ptr ptr ptr)
@ stdcall D3DXPlaneFromPoints(ptr ptr ptr ptr)
@ stdcall D3DXPlaneIntersectLine(ptr ptr ptr ptr)
...
...
dlls/d3dx9_26/d3dx9_26.spec
View file @
6dfc0fb1
...
...
@@ -230,7 +230,7 @@
@ stdcall D3DXMatrixTranslation(ptr float float float)
@ stdcall D3DXMatrixTranspose(ptr ptr)
@ stdcall D3DXOptimizeFaces(ptr long long long ptr)
@ st
ub
D3DXOptimizeVertices(ptr long long long ptr)
@ st
dcall
D3DXOptimizeVertices(ptr long long long ptr)
@ stdcall D3DXPlaneFromPointNormal(ptr ptr ptr)
@ stdcall D3DXPlaneFromPoints(ptr ptr ptr ptr)
@ stdcall D3DXPlaneIntersectLine(ptr ptr ptr ptr)
...
...
dlls/d3dx9_27/d3dx9_27.spec
View file @
6dfc0fb1
...
...
@@ -230,7 +230,7 @@
@ stdcall D3DXMatrixTranslation(ptr float float float)
@ stdcall D3DXMatrixTranspose(ptr ptr)
@ stdcall D3DXOptimizeFaces(ptr long long long ptr)
@ st
ub
D3DXOptimizeVertices(ptr long long long ptr)
@ st
dcall
D3DXOptimizeVertices(ptr long long long ptr)
@ stdcall D3DXPlaneFromPointNormal(ptr ptr ptr)
@ stdcall D3DXPlaneFromPoints(ptr ptr ptr ptr)
@ stdcall D3DXPlaneIntersectLine(ptr ptr ptr ptr)
...
...
dlls/d3dx9_28/d3dx9_28.spec
View file @
6dfc0fb1
...
...
@@ -230,7 +230,7 @@
@ stdcall D3DXMatrixTranslation(ptr float float float)
@ stdcall D3DXMatrixTranspose(ptr ptr)
@ stdcall D3DXOptimizeFaces(ptr long long long ptr)
@ st
ub
D3DXOptimizeVertices(ptr long long long ptr)
@ st
dcall
D3DXOptimizeVertices(ptr long long long ptr)
@ stdcall D3DXPlaneFromPointNormal(ptr ptr ptr)
@ stdcall D3DXPlaneFromPoints(ptr ptr ptr ptr)
@ stdcall D3DXPlaneIntersectLine(ptr ptr ptr ptr)
...
...
dlls/d3dx9_29/d3dx9_29.spec
View file @
6dfc0fb1
...
...
@@ -230,7 +230,7 @@
@ stdcall D3DXMatrixTranslation(ptr float float float)
@ stdcall D3DXMatrixTranspose(ptr ptr)
@ stdcall D3DXOptimizeFaces(ptr long long long ptr)
@ st
ub
D3DXOptimizeVertices(ptr long long long ptr)
@ st
dcall
D3DXOptimizeVertices(ptr long long long ptr)
@ stdcall D3DXPlaneFromPointNormal(ptr ptr ptr)
@ stdcall D3DXPlaneFromPoints(ptr ptr ptr ptr)
@ stdcall D3DXPlaneIntersectLine(ptr ptr ptr ptr)
...
...
dlls/d3dx9_30/d3dx9_30.spec
View file @
6dfc0fb1
...
...
@@ -230,7 +230,7 @@
@ stdcall D3DXMatrixTranslation(ptr float float float)
@ stdcall D3DXMatrixTranspose(ptr ptr)
@ stdcall D3DXOptimizeFaces(ptr long long long ptr)
@ st
ub
D3DXOptimizeVertices(ptr long long long ptr)
@ st
dcall
D3DXOptimizeVertices(ptr long long long ptr)
@ stdcall D3DXPlaneFromPointNormal(ptr ptr ptr)
@ stdcall D3DXPlaneFromPoints(ptr ptr ptr ptr)
@ stdcall D3DXPlaneIntersectLine(ptr ptr ptr ptr)
...
...
dlls/d3dx9_31/d3dx9_31.spec
View file @
6dfc0fb1
...
...
@@ -227,7 +227,7 @@
@ stdcall D3DXMatrixTranslation(ptr float float float)
@ stdcall D3DXMatrixTranspose(ptr ptr)
@ stdcall D3DXOptimizeFaces(ptr long long long ptr)
@ st
ub
D3DXOptimizeVertices(ptr long long long ptr)
@ st
dcall
D3DXOptimizeVertices(ptr long long long ptr)
@ stdcall D3DXPlaneFromPointNormal(ptr ptr ptr)
@ stdcall D3DXPlaneFromPoints(ptr ptr ptr ptr)
@ stdcall D3DXPlaneIntersectLine(ptr ptr ptr ptr)
...
...
dlls/d3dx9_32/d3dx9_32.spec
View file @
6dfc0fb1
...
...
@@ -227,7 +227,7 @@
@ stdcall D3DXMatrixTranslation(ptr float float float)
@ stdcall D3DXMatrixTranspose(ptr ptr)
@ stdcall D3DXOptimizeFaces(ptr long long long ptr)
@ st
ub
D3DXOptimizeVertices(ptr long long long ptr)
@ st
dcall
D3DXOptimizeVertices(ptr long long long ptr)
@ stdcall D3DXPlaneFromPointNormal(ptr ptr ptr)
@ stdcall D3DXPlaneFromPoints(ptr ptr ptr ptr)
@ stdcall D3DXPlaneIntersectLine(ptr ptr ptr ptr)
...
...
dlls/d3dx9_33/d3dx9_33.spec
View file @
6dfc0fb1
...
...
@@ -227,7 +227,7 @@
@ stdcall D3DXMatrixTranslation(ptr float float float)
@ stdcall D3DXMatrixTranspose(ptr ptr)
@ stdcall D3DXOptimizeFaces(ptr long long long ptr)
@ st
ub
D3DXOptimizeVertices(ptr long long long ptr)
@ st
dcall
D3DXOptimizeVertices(ptr long long long ptr)
@ stdcall D3DXPlaneFromPointNormal(ptr ptr ptr)
@ stdcall D3DXPlaneFromPoints(ptr ptr ptr ptr)
@ stdcall D3DXPlaneIntersectLine(ptr ptr ptr ptr)
...
...
dlls/d3dx9_34/d3dx9_34.spec
View file @
6dfc0fb1
...
...
@@ -227,7 +227,7 @@
@ stdcall D3DXMatrixTranslation(ptr float float float)
@ stdcall D3DXMatrixTranspose(ptr ptr)
@ stdcall D3DXOptimizeFaces(ptr long long long ptr)
@ st
ub
D3DXOptimizeVertices(ptr long long long ptr)
@ st
dcall
D3DXOptimizeVertices(ptr long long long ptr)
@ stdcall D3DXPlaneFromPointNormal(ptr ptr ptr)
@ stdcall D3DXPlaneFromPoints(ptr ptr ptr ptr)
@ stdcall D3DXPlaneIntersectLine(ptr ptr ptr ptr)
...
...
dlls/d3dx9_35/d3dx9_35.spec
View file @
6dfc0fb1
...
...
@@ -227,7 +227,7 @@
@ stdcall D3DXMatrixTranslation(ptr float float float)
@ stdcall D3DXMatrixTranspose(ptr ptr)
@ stdcall D3DXOptimizeFaces(ptr long long long ptr)
@ st
ub
D3DXOptimizeVertices(ptr long long long ptr)
@ st
dcall
D3DXOptimizeVertices(ptr long long long ptr)
@ stdcall D3DXPlaneFromPointNormal(ptr ptr ptr)
@ stdcall D3DXPlaneFromPoints(ptr ptr ptr ptr)
@ stdcall D3DXPlaneIntersectLine(ptr ptr ptr ptr)
...
...
dlls/d3dx9_36/d3dx9_36.spec
View file @
6dfc0fb1
...
...
@@ -229,7 +229,7 @@
@ stdcall D3DXMatrixTranslation(ptr float float float)
@ stdcall D3DXMatrixTranspose(ptr ptr)
@ stdcall D3DXOptimizeFaces(ptr long long long ptr)
@ st
ub
D3DXOptimizeVertices(ptr long long long ptr)
@ st
dcall
D3DXOptimizeVertices(ptr long long long ptr)
@ stdcall D3DXPlaneFromPointNormal(ptr ptr ptr)
@ stdcall D3DXPlaneFromPoints(ptr ptr ptr ptr)
@ stdcall D3DXPlaneIntersectLine(ptr ptr ptr ptr)
...
...
dlls/d3dx9_36/mesh.c
View file @
6dfc0fb1
...
...
@@ -7214,6 +7214,33 @@ cleanup:
return
hr
;
}
/*************************************************************************
* D3DXOptimizeVertices (D3DX9_36.@)
*/
HRESULT
WINAPI
D3DXOptimizeVertices
(
const
void
*
indices
,
UINT
num_faces
,
UINT
num_vertices
,
BOOL
indices_are_32bit
,
DWORD
*
vertex_remap
)
{
UINT
i
;
FIXME
(
"indices %p, num_faces %u, num_vertices %u, indices_are_32bit %#x, vertex_remap %p semi-stub.
\n
"
,
indices
,
num_faces
,
num_vertices
,
indices_are_32bit
,
vertex_remap
);
if
(
!
vertex_remap
)
{
WARN
(
"vertex remap pointer is NULL.
\n
"
);
return
D3DERR_INVALIDCALL
;
}
for
(
i
=
0
;
i
<
num_vertices
;
i
++
)
{
vertex_remap
[
i
]
=
i
;
}
return
D3D_OK
;
}
/*************************************************************************
* D3DXOptimizeFaces (D3DX9_36.@)
*
...
...
dlls/d3dx9_36/tests/mesh.c
View file @
6dfc0fb1
...
...
@@ -10391,6 +10391,27 @@ cleanup:
free_test_context
(
test_context
);
}
static
void
test_optimize_vertices
(
void
)
{
HRESULT
hr
;
DWORD
vertex_remap
[
3
];
const
DWORD
indices
[]
=
{
0
,
1
,
2
};
const
UINT
num_faces
=
1
;
const
UINT
num_vertices
=
3
;
hr
=
D3DXOptimizeVertices
(
indices
,
num_faces
,
num_vertices
,
FALSE
,
vertex_remap
);
ok
(
hr
==
D3D_OK
,
"D3DXOptimizeVertices failed. Got %x, expected D3D_OK.
\n
"
,
hr
);
/* vertex_remap must not be NULL */
hr
=
D3DXOptimizeVertices
(
indices
,
num_faces
,
num_vertices
,
FALSE
,
NULL
);
ok
(
hr
==
D3DERR_INVALIDCALL
,
"D3DXOptimizeVertices passed NULL vertex_remap "
"pointer. Got %x, expected D3DERR_INVALIDCALL.
\n
"
,
hr
);
}
static
void
test_optimize_faces
(
void
)
{
HRESULT
hr
;
...
...
@@ -11479,6 +11500,7 @@ START_TEST(mesh)
test_weld_vertices
();
test_clone_mesh
();
test_valid_mesh
();
test_optimize_vertices
();
test_optimize_faces
();
test_compute_normals
();
test_D3DXFrameFind
();
...
...
dlls/d3dx9_37/d3dx9_37.spec
View file @
6dfc0fb1
...
...
@@ -229,7 +229,7 @@
@ stdcall D3DXMatrixTranslation(ptr float float float)
@ stdcall D3DXMatrixTranspose(ptr ptr)
@ stdcall D3DXOptimizeFaces(ptr long long long ptr)
@ st
ub
D3DXOptimizeVertices(ptr long long long ptr)
@ st
dcall
D3DXOptimizeVertices(ptr long long long ptr)
@ stdcall D3DXPlaneFromPointNormal(ptr ptr ptr)
@ stdcall D3DXPlaneFromPoints(ptr ptr ptr ptr)
@ stdcall D3DXPlaneIntersectLine(ptr ptr ptr ptr)
...
...
dlls/d3dx9_38/d3dx9_38.spec
View file @
6dfc0fb1
...
...
@@ -229,7 +229,7 @@
@ stdcall D3DXMatrixTranslation(ptr float float float)
@ stdcall D3DXMatrixTranspose(ptr ptr)
@ stdcall D3DXOptimizeFaces(ptr long long long ptr)
@ st
ub
D3DXOptimizeVertices(ptr long long long ptr)
@ st
dcall
D3DXOptimizeVertices(ptr long long long ptr)
@ stdcall D3DXPlaneFromPointNormal(ptr ptr ptr)
@ stdcall D3DXPlaneFromPoints(ptr ptr ptr ptr)
@ stdcall D3DXPlaneIntersectLine(ptr ptr ptr ptr)
...
...
dlls/d3dx9_39/d3dx9_39.spec
View file @
6dfc0fb1
...
...
@@ -229,7 +229,7 @@
@ stdcall D3DXMatrixTranslation(ptr float float float)
@ stdcall D3DXMatrixTranspose(ptr ptr)
@ stdcall D3DXOptimizeFaces(ptr long long long ptr)
@ st
ub
D3DXOptimizeVertices(ptr long long long ptr)
@ st
dcall
D3DXOptimizeVertices(ptr long long long ptr)
@ stdcall D3DXPlaneFromPointNormal(ptr ptr ptr)
@ stdcall D3DXPlaneFromPoints(ptr ptr ptr ptr)
@ stdcall D3DXPlaneIntersectLine(ptr ptr ptr ptr)
...
...
dlls/d3dx9_40/d3dx9_40.spec
View file @
6dfc0fb1
...
...
@@ -229,7 +229,7 @@
@ stdcall D3DXMatrixTranslation(ptr float float float)
@ stdcall D3DXMatrixTranspose(ptr ptr)
@ stdcall D3DXOptimizeFaces(ptr long long long ptr)
@ st
ub
D3DXOptimizeVertices(ptr long long long ptr)
@ st
dcall
D3DXOptimizeVertices(ptr long long long ptr)
@ stdcall D3DXPlaneFromPointNormal(ptr ptr ptr)
@ stdcall D3DXPlaneFromPoints(ptr ptr ptr ptr)
@ stdcall D3DXPlaneIntersectLine(ptr ptr ptr ptr)
...
...
dlls/d3dx9_41/d3dx9_41.spec
View file @
6dfc0fb1
...
...
@@ -229,7 +229,7 @@
@ stdcall D3DXMatrixTranslation(ptr float float float)
@ stdcall D3DXMatrixTranspose(ptr ptr)
@ stdcall D3DXOptimizeFaces(ptr long long long ptr)
@ st
ub
D3DXOptimizeVertices(ptr long long long ptr)
@ st
dcall
D3DXOptimizeVertices(ptr long long long ptr)
@ stdcall D3DXPlaneFromPointNormal(ptr ptr ptr)
@ stdcall D3DXPlaneFromPoints(ptr ptr ptr ptr)
@ stdcall D3DXPlaneIntersectLine(ptr ptr ptr ptr)
...
...
dlls/d3dx9_42/d3dx9_42.spec
View file @
6dfc0fb1
...
...
@@ -222,7 +222,7 @@
@ stdcall D3DXMatrixTranslation(ptr float float float)
@ stdcall D3DXMatrixTranspose(ptr ptr)
@ stdcall D3DXOptimizeFaces(ptr long long long ptr)
@ st
ub
D3DXOptimizeVertices(ptr long long long ptr)
@ st
dcall
D3DXOptimizeVertices(ptr long long long ptr)
@ stdcall D3DXPlaneFromPointNormal(ptr ptr ptr)
@ stdcall D3DXPlaneFromPoints(ptr ptr ptr ptr)
@ stdcall D3DXPlaneIntersectLine(ptr ptr ptr ptr)
...
...
dlls/d3dx9_43/d3dx9_43.spec
View file @
6dfc0fb1
...
...
@@ -222,7 +222,7 @@
@ stdcall D3DXMatrixTranslation(ptr float float float)
@ stdcall D3DXMatrixTranspose(ptr ptr)
@ stdcall D3DXOptimizeFaces(ptr long long long ptr)
@ st
ub
D3DXOptimizeVertices(ptr long long long ptr)
@ st
dcall
D3DXOptimizeVertices(ptr long long long ptr)
@ stdcall D3DXPlaneFromPointNormal(ptr ptr ptr)
@ stdcall D3DXPlaneFromPoints(ptr ptr ptr ptr)
@ stdcall D3DXPlaneIntersectLine(ptr ptr ptr ptr)
...
...
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