Commit Graph

138 Commits

Author SHA1 Message Date
Nozomi Kodama 10d1253971 d3dx9: Simplify D3DXComputeBoundingSphere. 2012-09-25 11:32:15 +02:00
Christian Costa fcb9c5fadb d3dx9_36: Add stub for D3DXCleanMesh. 2012-09-24 16:38:16 +02:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Michael Mc Donnell 5a14f5b37e d3dx9: Added D3DXOptimizeFaces semi-stub. 2012-05-03 20:44:14 +02:00
Henri Verbeet 531818846a d3dx9: Don't return a pointer to the implementation in ID3DXMeshImpl_QueryInterface(). 2012-04-09 12:03:06 +02:00
Michael Mc Donnell f144626e81 d3dx9: Do not weld self. 2012-03-28 13:55:38 +02:00
Michael Mc Donnell 50f785ef11 d3dx9/tests: Add a D3DXValidMesh test. 2011-12-19 20:15:53 +01:00
Michael Mc Donnell 8f5543c34e d3dx9: Return error if D3DXMESH_VB_SHARE and new declaration. 2011-11-15 19:37:34 +01:00
Michael Mc Donnell 3b693143eb d3dx9: Implemented non-equal declaration support in CloneMesh. 2011-10-26 17:55:57 +02:00
Dylan Smith 8f8e86eaa3 d3dx9: Removed a duplicate NULL check. 2011-10-13 21:06:47 +02:00
Michael Mc Donnell 012986c79d d3dx9: Implemented D3DXWeldVertices. 2011-09-23 12:58:50 +02:00
Michael Stefaniuc 977308365d d3dx9_36: Remove casts to the type of the casted expression. 2011-09-20 16:21:43 +02:00
Andrew Talbot 22beb872f2 d3dx9_36: Eliminate comparisons of unsigned values about zero. 2011-09-12 10:07:11 +02:00
Alexandre Julliard 4cddd5ffdf d3dx9_36: Avoid using fminf/fmaxf. 2011-09-08 20:08:06 +02:00
Michael Mc Donnell 2f1917956b d3dx9: Use 0 instead of D3DLOCK_DISCARD in D3DXCreateTextW. 2011-08-31 19:43:07 +02:00
Michael Mc Donnell bae50905c5 d3dx9: Use 0 instead of D3DLOCK_DISCARD in D3DXCreateCylinder. 2011-08-31 19:43:07 +02:00
Michael Mc Donnell d6a7c2cce0 d3dx9: Use 0 instead of D3DLOCK_DISCARD in D3DXCreateSphere. 2011-08-31 19:43:07 +02:00
Michael Mc Donnell 1150c1558e d3dx9: Use 0 instead of D3DLOCK_DISCARD in D3DXLoadMeshFromXInMemory. 2011-08-31 19:43:06 +02:00
Michael Mc Donnell 41b6f4aec1 d3dx9: Use 0 instead of D3DLOCK_DISCARD in load_skin_mesh_from_xof. 2011-08-31 19:43:06 +02:00
Michael Mc Donnell 342faea035 d3dx9: Use 0 instead of D3DLOCK_DISCARD in OptimizeInPlace.
It does not make sense to use D3DLOCK_DISCARD for locking a newly created
vertex buffer because it will be allocated, freed, and then allocated again.
2011-08-31 19:43:06 +02:00
Michael Mc Donnell 507daa2154 d3dx9: Implemented ConvertPointRepsToAdjacency. 2011-08-02 21:16:38 +02:00
Matteo Bruni c4d29bdb18 d3dx9: Fix an error check in D3DXLoadMeshFromXResource. 2011-07-19 18:26:22 +02:00
Francois Gouget e0711b195d d3dx9_36: Add a trailing '\n' to an ERR() call. 2011-07-18 16:23:29 +02:00
Michael Mc Donnell ea5ed35edf d3dx9: Implemented ConvertAdjacencyToPointReps mesh method. 2011-07-15 14:45:21 +02:00
Frédéric Delanoy 67d10dfa53 d3dx9_36: Remove dead assignment (Clang). 2011-07-06 11:29:37 +02:00
Francois Gouget 95d769a047 Assorted spelling fixes. 2011-06-27 13:09:47 -05:00
Michael Mc Donnell 39d4656b2a d3dx9: Implement UpdateSemantics mesh method. 2011-06-22 11:29:23 +02:00
Dylan Smith c6f5f10434 d3dx9: Implement D3DXLoadMeshFromX and D3DXLoadMeshFromXResource. 2011-06-08 17:08:24 +02:00
Dylan Smith fe8615f889 d3dx9: Support optional parameters for D3DXLoadMeshFromXInMemory. 2011-06-08 17:08:03 +02:00
Dylan Smith 85307b6b49 d3dx9: Implement D3DXLoadMeshFromXInMemory. 2011-06-08 17:07:58 +02:00
Dylan Smith 66693a6e80 d3dx9: Implement D3DXLoadMeshHierarchyFromX. 2011-06-07 18:09:02 +02:00
Dylan Smith 19abc0d0fd d3dx9: Add support for loading vertex colors from X files. 2011-06-07 18:08:50 +02:00
Dylan Smith 05f09c0bf4 d3dx9: Add support for loading texture coords from X files. 2011-06-07 18:08:45 +02:00
Dylan Smith f5da523aef d3dx9: Generate effect instances from materials for mesh loading. 2011-06-07 18:06:54 +02:00
Dylan Smith 0e0581834c d3dx9: Add support for loading materials from X files. 2011-06-07 18:06:13 +02:00
Dylan Smith 39f94f3516 d3dx9: Respect the options parameter for mesh loading. 2011-06-07 18:02:24 +02:00
Dylan Smith 6c9cff2e3f d3dx9: Add support for loading mesh normals from X files. 2011-05-24 18:31:01 +02:00
Dylan Smith a9ac91054e d3dx9: Add support for loading basic meshes. 2011-05-24 18:30:24 +02:00
Dylan Smith bf0979f557 d3dx9: Implement D3DXLoadMeshHierarchy for only loading frames. 2011-05-24 18:29:27 +02:00
Dylan Smith c3201a4678 d3dx9: Implement D3DXFrameDestroy. 2011-05-20 12:35:46 +02:00
Dylan Smith bf202cfdfd d3dx9: Implement ID3DXMesh::Optimize using OptimizeInplace. 2011-05-18 10:59:47 +02:00
Dylan Smith f203aa1746 d3dx9: Implement D3DXMESHOPT_ATTRSORT|D3DXMESHOPT_IGNOREVERTS. 2011-05-11 17:51:21 +02:00
Dylan Smith 4ed3930e27 d3dx9: Create compact_mesh helper function for OptimizeInplace. 2011-05-11 17:50:38 +02:00
Dylan Smith 61ba38635b d3dx9: Implement D3DXMESHOPT_COMPACT for ID3DXMesh::OptimizeInplace. 2011-05-10 19:17:51 +02:00
Dylan Smith e62a4276ed d3dx9: Implement ID3DXMesh::CloneMesh without vertex buffer conversion. 2011-05-10 19:16:52 +02:00
Francois Gouget 5920de5ffb Assorted spelling and case fixes. 2011-05-09 12:09:27 +02:00
Dylan Smith 417534fdb7 d3dx9: Implement ID3DXMesh::DrawSubset. 2011-04-28 11:10:22 +02:00
Dylan Smith e2d7fdf1f9 d3dx9: Implement GetAttributeTable and SetAttributeTable. 2011-04-28 11:10:18 +02:00
Dylan Smith 8baf96bb22 d3dx9: Implement LockAttributeBuffer & UnlockAttributeBuffer. 2011-04-28 11:10:13 +02:00
Dylan Smith b2dac1df27 d3dx9: Implement GetNumBytesPerVertex using the vertex declaration.
If a declaration without a corresponding FVF is used to create the mesh,
then its declaration must be used to get the vertex size.
2011-04-28 11:10:00 +02:00
Dylan Smith 96d5d06f2b d3dx9: D3DXCreateMesh rejects declarations with non-zero streams. 2011-04-28 11:09:23 +02:00
Dylan Smith c8a8bc3a62 d3dx9: Implement ID3DXMesh::GenerateAdjacency. 2011-04-27 11:49:15 +02:00
Dylan Smith e4fd5d0a60 d3dx9: Support the option flags for D3DXCreateMesh. 2011-04-27 11:49:08 +02:00
Dylan Smith 8245b46e60 d3dx9: Support triangulation of complex glyphs in D3DXCreateText. 2011-03-10 16:30:15 +01:00
Dylan Smith 3eee5b7476 d3dx9: D3DXCreateText implementation for simple glyphs. 2011-03-10 16:30:15 +01:00
David Adam 68da568f16 d3dx9_36: Implement ID3DXMesh_GetNumBytesPerVertex. 2011-03-04 16:26:01 +01:00
Dylan Smith 5fe7522ba1 d3dx9: Add stubs for D3DXCreateText. 2011-02-21 16:25:58 +01:00
Matteo Bruni ed1b396b66 d3dx9: Remove a couple of spurious assignments (LLVM/Clang). 2011-02-21 12:44:27 +01:00
Michael Stefaniuc 697a9a1ac5 d3dx9_36: COM cleanup for the ID3DXMesh iface. 2011-01-27 14:15:17 +01:00
Misha Koshelev 09af2a2bf9 d3dx9_36: Implement D3DXCreateCylinder. 2010-09-28 17:33:17 +02:00
Misha Koshelev fe9db6faf7 d3dx9_36: Add stub for D3DXCreateCylinder. 2010-09-27 14:10:46 +02:00
Misha Koshelev d7d9cd5eb2 d3dx9_36: Implement D3DXCreateSphere. 2010-09-24 15:45:54 +02:00
Misha Koshelev 99e2aedbf7 d3dx9_36: Implement ID3DXMesh_Lock/UnlockVertexBuffer and ID3DXMesh_Lock/UnlockIndexBuffer. 2010-09-24 15:45:53 +02:00
Misha Koshelev 10af823fd5 d3dx9_36: Add stub for D3DXCreateTeapot. 2010-09-24 15:45:53 +02:00
Misha Koshelev e4182ead47 d3dx9_36: Implement D3DXCreateMeshFVF. 2010-09-23 19:22:41 +02:00
Misha Koshelev a6f2c003a3 d3dx9_36: D3DXDeclaratorFromFVF returns D3DERR_INVALIDCALL when an invalid declarator is passed. 2010-09-23 19:22:38 +02:00
Misha Koshelev af0c074d7b d3dx9_36: Implement D3DXCreateMesh and initial ID3DXMesh methods. 2010-09-21 20:16:16 +02:00
Misha Koshelev fffe37aa00 d3dx9_36: Implement D3DXGetDeclLength with tests. 2010-09-16 11:18:58 -05:00
Misha Koshelev b9b9d7ccca d3dx9_36: Fix the D3DXCreateMesh() prototype. 2010-09-08 13:31:03 +02:00
Misha Koshelev 5fa3a6cf78 d3dx9: Implement D3DXFVFFromDeclarator. 2010-09-06 19:45:47 +02:00
Henri Verbeet ff7dc44525 d3dx9_36: Implement D3DXDeclaratorFromFVF(). 2010-08-27 11:58:57 +02:00
Henri Verbeet 5ed9403c74 d3dx9_36: Fix the D3DXFVFFromDeclarator() prototype.
The current version matches MSDN, but not the actual SDK header.
2010-08-26 12:41:53 +02:00
Henri Verbeet 31e8a20d88 d3dx9_36: Use a lookup table in D3DXGetDeclVertexSize(). 2010-08-25 11:56:35 +02:00
Misha Koshelev 46050fb377 d3dx9: Add tests for FVF <-> declaration conversion. 2010-08-19 17:32:18 +02:00
Misha Koshelev bf46b4fdfc d3dx9: Add stub and tests for D3DXCreateMesh. 2010-08-04 13:19:00 +02:00
Misha Koshelev 242b4f3fe8 d3dx9: Add stub and basic test for D3DXCreateSphere. 2010-07-19 15:47:28 +02:00
Tony Wasserka a1945388f5 d3dx9: Add a stubbed D3DXDeclaratorFromFVF. 2010-04-20 18:13:41 +02:00
Christian Costa 83680cd094 d3dx9_36: Fix indentation. 2010-04-07 18:12:25 +02:00
Christian Costa 7444b682d0 d3dx9_36: Add stub for D3DXCreateBox. 2010-04-06 14:01:06 +02:00
Mikhail Maroukhine adf09ce66e d3dx9_36: Fix compiler warnings with flag -Wcast-qual. 2010-03-29 12:12:36 +02:00
Francois Gouget 74b5da9a47 d3dx9_36: Fix compilation on systems that don't support nameless unions. 2009-08-31 12:51:29 +02:00
David Adam 40c6cf77ce d3dx9: Merge d3dx8 mesh into d3dx9. 2009-07-13 10:51:51 +02:00
Henri Verbeet 56c8a82a04 d3dx9_36: Implement D3DXGetDeclVertexSize(). 2009-06-19 13:52:50 +02:00
David Adam ca469499bb d3dx9_36: Implement D3DXGetFVFVertexSize. 2009-02-11 15:56:02 +01:00
David Adam e5425fc17b d3dx9_36: Implement D3DXComputeBoundingSphere. 2009-02-11 15:56:02 +01:00
David Adam 00d14355db d3dx9_36: Implement D3DXComputeBoundingBox. 2009-02-11 15:56:02 +01:00
Francois Gouget eda0ec3fd2 d3dx9_36: The d3dx debug channel is unused so remove it. 2009-02-09 13:16:06 +01:00
David Adam 8716c62c6e d3dx9_36: Implement D3DXIntersectTri. 2009-02-03 14:19:44 +01:00