Commit Graph

525 Commits

Author SHA1 Message Date
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
André Hentschel 3ddda7b66b d3dx9_36/tests: Fix printing a NULL string. 2011-08-30 11:53:04 +02:00
Andrew Talbot 8e9fabfa87 d3dx9_36: Fix a logical operator typo. 2011-08-29 12:08:20 +02:00
Marcus Meissner 9ac18eabb9 d3dx9_36: Fixed memset of a -2 32bit value (Coverity). 2011-08-22 16:14:31 +02:00
Michael Mc Donnell 507daa2154 d3dx9: Implemented ConvertPointRepsToAdjacency. 2011-08-02 21:16:38 +02:00
Michael Mc Donnell 5552613b81 d3dx9/tests: Implemented ConvertPointRepsToAdjacency test. 2011-08-02 21:16:34 +02:00
Michael Mc Donnell d1e328a0f5 d3dx/tests: Fixed double free (valgrind). 2011-07-26 16:34:25 +02:00
Francois Gouget f87745d497 d3dx9_36: Fix compilation on systems that don't support nameless unions. 2011-07-24 12:33:27 +02:00
Rico Schüller 6865dac3fa d3dx9: Implement ID3DXBaseEffect::GetMatrixTransposeArray(). 2011-07-21 15:36:38 +02:00
Rico Schüller 75836b4789 d3dx9: Implement ID3DXBaseEffect::GetMatrixArray(). 2011-07-21 15:36:38 +02:00
Rico Schüller e9dc6c34a9 d3dx9: Fix ID3DXBaseEffect::GetFloat(). 2011-07-21 15:36:38 +02:00
Rico Schüller 6a2be190cd d3dx9: Implement ID3DXBaseEffect::GetMatrixTranspose(). 2011-07-21 15:36:38 +02:00
Rico Schüller 2731912c5a d3dx9: Implement ID3DXBaseEffect::GetVectorArray(). 2011-07-21 15:36:38 +02:00
Rico Schüller 66a820683e d3dx9: Implement ID3DXBaseEffect::GetMatrix(). 2011-07-20 19:23:05 +02:00
Rico Schüller f56af02f8c d3dx9: Introduce get_valid_parameter(). 2011-07-20 19:23:05 +02:00
Rico Schüller b0f2a49f42 d3dx9: Implement ID3DXBaseEffect::SetTexture(). 2011-07-20 19:23:05 +02:00
Matteo Bruni c4d29bdb18 d3dx9: Fix an error check in D3DXLoadMeshFromXResource. 2011-07-19 18:26:22 +02:00
Alexandre Julliard 5f484df06c Revert "d3dx9_36: Improved constant table handle support."
This reverts commit 48d03555a7.
It wasn't supposed to be committed.
2011-07-18 21:45:13 +02:00
Francois Gouget e0711b195d d3dx9_36: Add a trailing '\n' to an ERR() call. 2011-07-18 16:23:29 +02:00
Rico Schüller c42ee0339a d3dx9: Implement D3DXGetShaderSamplers(). 2011-07-18 16:23:29 +02:00
Travis Athougies 48d03555a7 d3dx9_36: Improved constant table handle support. 2011-07-18 16:23:28 +02:00
Travis Athougies c55caea1b3 d3dx9_36: Separate calculation of Bytes. 2011-07-18 16:23:28 +02:00
Michael Mc Donnell ea5ed35edf d3dx9: Implemented ConvertAdjacencyToPointReps mesh method. 2011-07-15 14:45:21 +02:00
Michael Mc Donnell 7a1b18a742 d3dx9/tests: Implemented ConvertAdjacencyToPointReps test. 2011-07-15 14:45:07 +02:00
Rico Schüller 340643af30 d3dx9: Parse elements in d3dx9_parse_resource(). 2011-07-13 18:39:56 +02:00
Francois Gouget a369b2bd63 d3dx9_36: Use copysignf() instead of signbit(). 2011-07-12 18:21:59 +02:00
Misha Koshelev 14e93e79d6 d3dx9_36: Use cross-platform versions of infinity and NaN. 2011-07-12 12:31:46 +02:00
Francois Gouget 076e1cf085 d3dx9_36/tests: Fix compilation on systems that don't support nameless structs/unions. 2011-07-11 18:32:16 +02:00
Charles Welton 84c50bdd33 d3dx9: Implemented tests for ID3DXLine's Begin and End methods. 2011-07-06 16:47:53 +02:00
Charles Welton 8ce0495359 d3dx9: Implement Begin and End methods. 2011-07-06 16:47:48 +02:00
Frédéric Delanoy 67d10dfa53 d3dx9_36: Remove dead assignment (Clang). 2011-07-06 11:29:37 +02:00
Dylan Smith d621accbea d3dx9/tests: Added tests for rounding of denormalized number for D3DXFloat32To16Array. 2011-07-04 13:39:24 +02:00
Dylan Smith cac35191b9 d3dx9: Implement D3DXFloat32To16Array.
Derived from patch submitted by Misha Koshelev.
Corrected rounding of denormalized numbers.
2011-07-04 13:39:15 +02:00
Rico Schüller 7e7549abc5 d3dx9: Handle ST_PARAMETER in d3dx9_parse resource(). 2011-07-01 14:39:37 +02:00
Rico Schüller 05eef50e22 d3dx9: Handle ST_FXLC in d3dx9_parse_resource(). 2011-07-01 14:39:37 +02:00
Misha Koshelev a6b40624db d3dx9_36: Implement and add tests for D3DXFloat16To32Array. 2011-07-01 14:39:22 +02:00
Rico Schüller 32bba812df d3dx9: Fix ID3DXEffect::SetStateManager(). 2011-06-28 16:52:28 -05:00
Dylan Smith 3d7af6a334 d3dx9/tests: Fix comparison that expects NAN, since NAN != NAN. 2011-06-27 16:41:05 -05:00
Rico Schüller bc59705aca d3dx9: Implement ID3DXEffect::EndPass(). 2011-06-27 13:32:14 -05:00
Rico Schüller b7919e65fd d3dx9: Implement ID3DXEffect::SetTechnique(). 2011-06-27 13:32:07 -05:00
Rico Schüller 69c3b4baf6 d3dx9: Implement ID3DXEffect::GetCurrentTechnique(). 2011-06-27 13:31:59 -05:00
Rico Schüller fb6c973b4b d3dx9: Implement ID3DXEffect::BeginPass(). 2011-06-27 13:31:49 -05:00
Rico Schüller a63be635fc d3dx9: Implement ID3DXEffect::Begin(). 2011-06-27 13:31:36 -05:00