Commit Graph

80 Commits

Author SHA1 Message Date
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