Commit Graph

685 Commits

Author SHA1 Message Date
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
Rico Schüller f37302ed8a d3dx9: Fix light range spelling. 2011-06-27 13:31:20 -05:00
Francois Gouget 95d769a047 Assorted spelling fixes. 2011-06-27 13:09:47 -05:00
Francois Gouget 49484479bd d3dx9_36/tests: Add a trailing '\n' to an ok() call. 2011-06-27 13:09:47 -05:00
Francois Gouget bdadc5d056 d3dx9_36: Add a trailing '\n' to some TRACE() calls. 2011-06-27 13:09:47 -05:00
Francois Gouget 71e41b81dd d3dx9_36: Fix compilation on systems that don't support nameless structs/unions. 2011-06-27 13:09:21 -05:00
Dylan Smith f73e0f05ef d3dx9/tests: Avoid using FP_NAN for portability. 2011-06-24 13:25:48 -05:00
Travis Athougies 59e0573a7b d3dx9_36: Added stub implementation of D3DXSaveSurfaceToFileInMemoryA and D3DXSaveSurfaceToFileInMemoryW. 2011-06-24 13:17:37 -05:00
Travis Athougies 4434becd03 d3dx9_36: Added stub D3DXCreateCubeTextureFromFileInMemory. 2011-06-24 13:17:32 -05:00
Dylan Smith 01ff07e2e1 d3dx9/tests: Added tests for D3DXCreateSkinInfo. 2011-06-23 09:59:40 +02:00
Dylan Smith 69cf5e4d8e d3dx9: Implement GetBoneOffsetMatrix and SetBoneOffsetMatrix. 2011-06-23 09:59:37 +02:00
Dylan Smith 1a1fa9a42d d3dx9: Implement ID3DXSkinInfo::GetBoneName and SetBoneName. 2011-06-23 09:59:35 +02:00
Dylan Smith 209ce3233d d3dx9: Implement ID3DXSkinInfo bone influence getting and setting. 2011-06-23 09:59:33 +02:00
Dylan Smith 999d043e57 d3dx9: Implement D3DXCreateSkinInfo functions. 2011-06-23 09:59:31 +02:00
Dylan Smith 7e403aac73 d3dx9: Add stubs for D3DXCreateSkinInfo functions. 2011-06-23 09:59:16 +02:00
Travis Athougies 7a8a7b920e d3dx9_36/tests: Added tests for constant table samplers. 2011-06-23 09:47:34 +02:00
Travis Athougies a76ac0a894 d3dx9_36: Implemented support for samplers in ID3DXConstantTable. 2011-06-23 09:47:34 +02:00
Travis Athougies 4eeba43168 d3dx9_36/tests: Fixed constant table sizes in shader.c. 2011-06-23 09:47:33 +02:00
Travis Athougies ab5e8aed5a d3dx9_36/tests: Added tests for ID3DXConstantTable_Set* functions. 2011-06-22 16:13:51 +02:00
Travis Athougies 4a412c1b83 d3dx9_36: Implemented ID3DXConstantTable_SetMatrix and ID3DXConstantTable_SetMatrixArray. 2011-06-22 16:13:51 +02:00
Travis Athougies 9c138a182a d3dx9_36: Implemented ID3DXConstantTable_SetVector and ID3DXConstantTable_SetVectorArray. 2011-06-22 16:13:51 +02:00
Travis Athougies 73272d1664 d3dx9_36: Implemented ID3DXConstantTable_SetIntArray and ID3DXConstantTable_SetInt. 2011-06-22 16:13:51 +02:00
Travis Athougies 3fdcce1863 d3dx9_36: Implemented ID3DXConstantTable_SetFloatArray and ID3DXConstantTable_SetFloat. 2011-06-22 16:13:51 +02:00
Michael Mc Donnell 39d4656b2a d3dx9: Implement UpdateSemantics mesh method. 2011-06-22 11:29:23 +02:00
Michael Mc Donnell 4df270a8bd d3dx9/tests: Add UpdateSemantics test. 2011-06-22 11:28:37 +02:00
Charles Welton 754df82101 d3dx9/tests: Add tests for ID3DXLine_GetDevice and release methods. 2011-06-17 12:35:56 +02:00
Charles Welton 3993eef04f d3dx9: Implemented GetDevice method. 2011-06-17 12:35:48 +02:00
Gerald Pfeifer c69331c84a d3dx9_36: Fix the return value in error cases in d3dx9_parse_resource. 2011-06-16 11:17:28 +02:00
Rico Schüller 86d381a56b d3dx9: Parse resources in the effect parser. 2011-06-14 16:03:23 +02:00
Francois Gouget 07436dd465 d3dx9_36/tests: Add a '\n' to a trace() call. 2011-06-13 11:32:58 +02:00
Marcus Meissner 6c902b4201 d3dx9_36: Moved param NULL a bit forward (Coverity). 2011-06-13 11:31:49 +02:00
Rico Schüller 90154979a0 d3dx9: Implement ID3DXBaseEffect::GetBoolArray(). 2011-06-09 13:27:59 +02:00
Rico Schüller a93b40f0fc d3dx9: Implement ID3DXBaseEffect::GetIntArray(). 2011-06-09 13:27:56 +02:00
Rico Schüller ecf37efd82 d3dx9: Implement ID3DXBaseEffect::GetFloatArray(). 2011-06-09 13:27:53 +02:00
Rico Schüller 4f55c9eab1 d3dx9: Improve effect sampler parsing. 2011-06-08 17:15:52 +02:00
Dylan Smith 4a32062f28 d3dx9/tests: Add tests for D3DXLoadMeshFromXInMemory. 2011-06-08 17:08:58 +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 bbc009f452 d3dx9/tests: Add texture coordinates and vertex colors in X file. 2011-06-07 18:08:55 +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 42f9f15cd2 d3dx9/tests: Test effect generation and material loading for X files. 2011-06-07 18:07:15 +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 420947c531 d3dx9/tests: Add tests for D3DXLoadMeshHierarchyFromXInMemory. 2011-06-07 18:03:41 +02:00
Dylan Smith 39f94f3516 d3dx9: Respect the options parameter for mesh loading. 2011-06-07 18:02:24 +02:00
Rico Schüller 93ff2c319e d3dx9: Start effect state parsing. 2011-05-27 17:53:37 +02:00
Rico Schüller 7f426a51d1 d3dx9: Pass objects to functions instead of using the base effect in the parameter. 2011-05-25 17:54:40 +02:00
Rico Schüller 088ed09e94 d3dx9: Pass the device directly to d3dx9_parse_data(). 2011-05-25 17:54:35 +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
Rico Schüller 0858dee303 d3dx9: Parse effect samplers. 2011-05-20 12:44:05 +02:00
Dylan Smith f272fb2921 d3dx9/tests: Correct ok messages to be consistent with their test. 2011-05-20 12:36:17 +02:00
Dylan Smith c3201a4678 d3dx9: Implement D3DXFrameDestroy. 2011-05-20 12:35:46 +02:00
Dylan Smith 147e120049 d3dx9/tests: Fix a normal comparison for triangles with zero area. 2011-05-20 10:34:46 +02:00
Dylan Smith bf202cfdfd d3dx9: Implement ID3DXMesh::Optimize using OptimizeInplace. 2011-05-18 10:59:47 +02:00
Rico Schüller e9c4e501f4 d3dx9: Fix copy and paste mistake in ID3DXBaseEffect::GetPassDesc(). 2011-05-17 12:04:12 +02:00
Rico Schüller b7b9db00e3 d3dx9: Remove some checks for defines argument in D3DXCreateEffect* functions. 2011-05-17 12:04:11 +02:00
Marcus Meissner e550c537f3 d3dx9_36: Mark internal symbols as hidden. 2011-05-16 16:35:34 +02:00
Rico Schüller 041a651431 d3dx9: Implement ID3DXBaseEffect::GetTexture(). 2011-05-13 17:57:12 +02:00
Rico Schüller ca5b8e11cc d3dx9: Parse effect textures. 2011-05-13 17:57:05 +02:00
Rico Schüller ae2c6a164f d3dx9: Improve get_parameter_by_name(). 2011-05-13 17:57:02 +02:00
Rico Schüller 1ac8f4d472 d3dx9/tests: Add ID3DXEffect::Get/SetStateManager() test. 2011-05-11 18:02:27 +02:00
Rico Schüller 72d3ee3ab6 d3dx9: Implement ID3DXEffect::GetStateManager(). 2011-05-11 18:02:22 +02:00
Rico Schüller cd121b10d6 d3dx9: Implement ID3DXEffect::SetStateManager(). 2011-05-11 18:02:18 +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
Rico Schüller 3ef0a28faf d3dx9: Implement ID3DXBaseEffect::GetFloat(). 2011-05-06 15:18:20 +02:00
Rico Schüller 033439908d d3dx9: Implement ID3DXBaseEffect::GetInt(). 2011-05-06 15:18:19 +02:00
Rico Schüller 7f3ce799de d3dx9: Implement ID3DXBaseEffect::GetBool(). 2011-05-06 15:18:19 +02:00
Rico Schüller 18e4876245 d3dx9: Implement ID3DXBaseEffect::GetDesc() partially. 2011-05-06 15:18:19 +02:00
Rico Schüller 1ffad65698 d3dx9: Implement ID3DXBaseEffect::GetAnnotationByName(). 2011-05-05 11:46:45 +02:00
Rico Schüller 7858a6f8e6 d3dx9: Implement ID3DXBaseEffect::GetAnnotation(). 2011-05-05 11:46:41 +02:00
Rico Schüller f0da0f8066 d3dx9: Implement ID3DXBaseEffect::GetParameterBySemantic(). 2011-05-05 11:46:36 +02:00
Rico Schüller 35bff043f2 d3dx9: Implement ID3DXBaseEffect::GetVertexShader(). 2011-05-04 20:42:33 +02:00
Rico Schüller 59abf094cf d3dx9: Implement ID3DXBaseEffect::GetPixelShader(). 2011-05-04 20:42:33 +02:00
Rico Schüller f3f59d2cf8 d3dx9: Implement ID3DXBaseEffect::GetString(). 2011-05-03 19:34:29 +02:00
Rico Schüller 46b3727df3 d3dx9: Implement ID3DXBaseEffect::GetValue(). 2011-05-03 19:34:29 +02:00
Alexandre Julliard f9c75812e4 d3dx9_36: Specify arguments for stub entry points. 2011-05-03 19:34:24 +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 46a96b139e d3dx9/tests: Added tests for ID3DXMesh::GenerateAdjacency. 2011-04-27 11:49:36 +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
Matteo Bruni e1ac6078b5 d3dx9: Remove some redundant and compiler-unfriendly pixel format checking code.
Spotted by Gerald Pfeifer and Nicolas Le Cam.
2011-04-26 16:18:08 +02:00
Matteo Bruni b17fd2a3af d3dx9: Print a FIXME when encountering an unknown surface format. 2011-04-26 16:18:03 +02:00
Rico Schüller a5fbbbe4a9 d3dx9: Fix flags for annotation structures. 2011-04-26 15:31:28 +02:00
Rico Schüller 03204e99b7 d3dx9: Improve get_parameter_by_name(). 2011-04-26 15:31:27 +02:00
Rico Schüller dbfc4dfc8d d3dx9: Improve ID3DXBaseEffect::GetParameter(). 2011-04-26 15:31:27 +02:00
Francois Gouget b383111574 d3dx9_36: Make some is_valid_xxx() functions static. 2011-04-22 10:45:05 +02:00
Rico Schüller f296fe68ff d3dx9: Implement ID3DXBaseEffect::GetParameterElement(). 2011-04-21 16:53:41 +02:00
Rico Schüller 1ae414bc64 d3dx9: Implement ID3DXBaseEffect::GetParameterDesc(). 2011-04-21 16:53:40 +02:00
Rico Schüller b483ab8200 d3dx9: Implement ID3DXBaseEffect::GetParameterByName(). 2011-04-21 16:53:27 +02:00
Rico Schüller 0a23fc7b29 d3dx9: Implement ID3DXBaseEffect::GetPassByName(). 2011-04-20 16:32:10 +02:00
Rico Schüller 2e2b3c775b d3dx9: Implement ID3DXBaseEffect::GetPass(). 2011-04-20 16:32:06 +02:00
Rico Schüller f284dc77f2 d3dx9: Implement ID3DXBaseEffect::GetPassDesc(). 2011-04-20 16:32:02 +02:00
Rico Schüller 8afc8dc0c7 d3dx9: Fix ID3DXEffect*::GetVectorArray() forward. 2011-04-20 16:31:58 +02:00
Rico Schüller fa608e247a d3dx9: Implement ID3DXBaseEffect::GetTechniqueByName(). 2011-04-18 17:01:00 +02:00
Rico Schüller 6f824e171c d3dx9: Implement ID3DXBaseEffect::GetTechnique(). 2011-04-18 17:00:52 +02:00
Rico Schüller e798d0016b d3dx9: Implement ID3DXBaseEffect::GetParameter(). 2011-04-18 17:00:44 +02:00
Rico Schüller d64eb4699f d3dx9: Implement ID3DXBaseEffect::GetTechniqueDesc(). 2011-04-18 17:00:37 +02:00
Rico Schüller 4482ca41d0 d3dx9: Fix d3dx9_parse_effect_typedef for D3DXPC_STRUCT. 2011-04-18 16:59:40 +02:00
Rico Schüller 8ec21524ec d3dx9: Parse effect pass and technique. 2011-04-13 14:13:53 +02:00
Rico Schüller 4dcb3ea325 d3dx9: Make some functions inline. 2011-04-13 14:13:53 +02:00
Rico Schüller 0f10e1b344 d3dx9: Parse value data. 2011-04-12 12:50:19 +02:00
Rico Schüller 53d0a02c20 d3dx9: Parse name and semantics. 2011-04-12 12:50:15 +02:00
Rico Schüller e4a0ef69f5 d3dx9: Parse effect type D3DXPC_STRUCT. 2011-04-12 12:50:10 +02:00
Rico Schüller 20dc97296b d3dx9: Parse effect parameter type definition. 2011-04-12 12:50:06 +02:00
Francois Gouget 18e0e8c4c7 d3dx9_36: Make get_parameter_{handle,struct}() static. 2011-04-11 12:07:11 +02:00
Rico Schüller 9a7720fc1d d3dx9: Start effect parameter parsing. 2011-04-07 13:50:56 +02:00
Rico Schüller 651e044590 d3dx9: Fix return values. 2011-04-07 13:50:48 +02:00
Rico Schüller 670f0efe5c d3dx9: Add ID3DXBuffer test. 2011-04-04 13:43:15 +02:00
Rico Schüller 1fcce55894 d3dx9: Add argument check to D3DXCreateBuffer(). 2011-04-04 13:43:09 +02:00
Rico Schüller 22abfd6edc d3dx9: Use init function for ID3DXBuffer. 2011-03-30 14:56:49 +02:00
Rico Schüller 87f6f86ce9 d3dx9: Add a some TRACEs to ID3DXBufferImpl. 2011-03-30 14:56:46 +02:00
Rico Schüller 404de72fe0 d3dx9: Rename some variables. 2011-03-30 14:56:43 +02:00
Rico Schüller 62c1fb0941 d3dx9: Remove typedef from ID3DXBufferImpl. 2011-03-30 14:56:40 +02:00
Rico Schüller 98001ca8c8 d3dx9: Use variable instead of type in HeapAlloc. 2011-03-30 14:56:36 +02:00
Rico Schüller 41e34d77c5 d3dx9: Don't zero memory when it will be overridden. 2011-03-30 14:56:33 +02:00
Rico Schüller 9ea9a053b9 d3dx9/tests: Add ID3DXEffectCompiler test. 2011-03-29 18:05:57 +02:00
Rico Schüller f1bfecd616 d3dx9/tests: Add ID3DXEffect::GetPool() and ID3DXEffect::GetDevice() tests. 2011-03-29 18:05:53 +02:00
Rico Schüller dccbfe32ad d3dx9: ID3DXEffect::QueryInterface() does not support IID_ID3DXBaseEffect. 2011-03-29 18:05:47 +02:00
Rico Schüller adbfae9b2a d3dx9: Implement ID3DXEffect::GetDevice(). 2011-03-29 18:05:42 +02:00
Rico Schüller 96192306a0 d3dx9: Implement ID3DXEffect::GetPool(). 2011-03-29 18:05:38 +02:00
Rico Schüller 27209e6097 d3dx9: Fix some style issues. 2011-03-29 18:05:34 +02:00
Rico Schüller 2f3e9673a1 d3dx9: Add ID3DXEffectCompiler interface. 2011-03-29 18:05:29 +02:00
Rico Schüller 0dff8dd3ce d3dx9: Forward ID3DXEffect to ID3DXBaseEffect. 2011-03-29 18:05:18 +02:00
Rico Schüller aaa06cfba4 d3dx9: Add ID3DXBaseEffect interface. 2011-03-29 18:02:03 +02:00
Rico Schüller 68f11dabd7 d3dx9/tests: Add refcount test for the device. 2011-03-29 17:48:42 +02:00
Rico Schüller eb1faf6155 d3dx9: Handle pool and device in ID3DXEffect. 2011-03-29 17:48:37 +02:00
Rico Schüller bb88fada4b d3dx9: Use size of variable instead of type. 2011-03-29 17:48:19 +02:00
Rico Schüller be43a5c414 d3dx9: Fix HeapAlloc size in D3DXCreateEffectPool. 2011-03-29 17:48:10 +02:00
Francois Gouget cb5e480faf d3dx9_36/tests: Replace a malloc() with HeapAlloc()+HeapFree(). 2011-03-16 14:14:25 +01:00
Rico Schüller 0dc91c4975 d3dx9_36: Start effect parsing. 2011-03-15 17:14:07 +01:00
Dylan Smith ed3ce3c91b d3dx9/tests: Partially test front and back faces for D3DXCreateText. 2011-03-10 16:30:16 +01:00
Dylan Smith b06a6c84ac d3dx9/tests: Added outline comparison tests for D3DXCreateText. 2011-03-10 16:30:15 +01:00
Dylan Smith eec288a4c5 d3dx9/tests: Add basic tests for D3DXCreateText. 2011-03-10 16:30:15 +01: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
Francois Gouget 41663974ad d3dx9_36/tests: Add a trailing '\n' to ok() calls. 2011-03-07 11:08:56 +01:00
David Adam 68da568f16 d3dx9_36: Implement ID3DXMesh_GetNumBytesPerVertex. 2011-03-04 16:26:01 +01:00
David Adam 23faba7eb1 d3dx9_36: Add a test for D3DXCreateBox. 2011-03-04 16:26:01 +01:00
Alexandre Julliard 45ead7fe85 d3dx9_36: Cleanup the fixme_once handling. 2011-02-24 12:20:25 +01:00
Matteo Bruni 85a578f782 d3dx9: Fix memory access for images with less than 4 bytes per pixel (Valgrind). 2011-02-23 19:38:26 +01:00
Dylan Smith 5fe7522ba1 d3dx9: Add stubs for D3DXCreateText. 2011-02-21 16:25:58 +01:00
Matteo Bruni ffe65c2721 d3dx9/tests: Remove spurious assignment (LLVM/Clang). 2011-02-21 12:44:36 +01:00
Matteo Bruni 6505aed598 d3dx9: Remove an unnecessary initialization (LLVM/Clang). 2011-02-21 12:44:31 +01:00
Matteo Bruni ed1b396b66 d3dx9: Remove a couple of spurious assignments (LLVM/Clang). 2011-02-21 12:44:27 +01:00
Austin English e8a2fa28ea d3dx9_36/tests: Free memory after use (Valgrind). 2011-02-17 17:27:30 +01:00
David Adam e57bbaab91 d3dx9_36: Add a few tests for D3DXCreateBox. 2011-02-15 17:11:50 +01:00
Austin English 517f6aa526 d3dx9_36: Make sure return values are used (LLVM/Clang). 2011-02-09 14:24:52 -06:00
Austin English f9facad235 d3dx9_36/tests: Remove unused variable assignments (LLVM/Clang). 2011-02-07 10:13:46 -06:00
Michael Stefaniuc c2bf9a6b79 d3dx9_36: COM cleanup for the ID3DXSprite iface. 2011-01-27 14:15:22 +01:00
Michael Stefaniuc 697a9a1ac5 d3dx9_36: COM cleanup for the ID3DXMesh iface. 2011-01-27 14:15:17 +01:00
Michael Stefaniuc a9065082da d3dx9_36: COM cleanup for the ID3DXMatrixStack iface. 2011-01-27 14:15:13 +01:00
Michael Stefaniuc 7342f34ef7 d3dx9_36: COM cleanup for the ID3DXFont iface. 2011-01-27 14:15:08 +01:00
Michael Stefaniuc 7660526337 d3dx9_36: COM cleanup for the ID3DXBuffer iface. 2011-01-27 14:15:04 +01:00
Michael Stefaniuc c84b8dbd3e d3dx9_36: COM cleanup for the ID3DXInclude iface. 2011-01-27 14:14:59 +01:00
Michael Stefaniuc b88e09e221 d3dx9_36: COM cleanup for the ID3DXEffectPool iface. 2011-01-27 14:14:55 +01:00
Michael Stefaniuc 03321ad0fb d3dx9_36: COM cleanup for the ID3DXEffect iface. 2011-01-27 14:14:51 +01:00
Michael Stefaniuc 134cb5bfef d3dx9_36/tests: COM cleanup for the ID3DXInclude iface. 2011-01-26 15:00:13 +01:00
Michael Stefaniuc 303f84c409 d3dx9_36: Use an iface instead of an vtbl pointer in ID3DXConstantTableImpl. 2010-12-21 15:49:30 +01:00
Michael Stefaniuc cdf56820a0 d3dx9_36: Use an iface instead of an vtbl pointer in ID3DXLineImpl. 2010-12-21 00:20:02 +01:00
Travis Athougies d2055e6ea9 d3dx9_36/tests: Extended ID3DXConstantTable tests. 2010-12-02 12:47:42 +01:00
Travis Athougies ca7405a9a1 d3dx9_36: Improved constant table parsing. 2010-12-02 12:47:42 +01:00
Matteo Bruni 9867c39133 d3dx9/tests: Fix a D3DXCheckTextureRequirements test failing on Windows. 2010-11-24 18:27:31 +01:00
Matteo Bruni 9517305c03 d3dx9/tests: Fix some tests to take into account POW2 texture capability flags. 2010-11-24 17:59:59 +01:00
Michael Stefaniuc b6a1951925 d3dx9_36: Move 'static' to the beginning of the declaration. 2010-11-23 16:01:09 +01:00
Matteo Bruni 8c0a8ac514 d3dx9/tests: Remove a D3DXPlaneNormalize test. 2010-11-23 14:16:22 +01:00
Matteo Bruni 892502479c d3dx9: Implement D3DXFillVolumeTexture function. 2010-11-18 14:08:56 +01:00
Matteo Bruni 8f6cf460be d3dx9: Implement D3DXFillCubeTexture function. 2010-11-18 14:08:53 +01:00
Matteo Bruni bffbf3460b d3dx9: Implement D3DXFillTexture function. 2010-11-18 14:08:50 +01:00
Matteo Bruni 0b4969f841 d3dx9: Add color key support to D3DXLoadSurfaceFromMemory. 2010-11-15 14:51:47 +01:00
Louis Lenders aa75d068a4 d3dx9_36: Quiet a noisy fixme. 2010-11-12 15:43:08 +01:00
Matteo Bruni b4a90b0fe8 d3dx9: Implement D3DXCreateVolumeTexture. 2010-11-09 17:08:21 +01:00
Matteo Bruni c1843c8779 d3dx9: Implement D3DXCheckVolumeTextureRequirements. 2010-11-09 17:08:21 +01:00
Matteo Bruni 363d180a54 d3dx9: Skip D3DXCheckCubeTextureRequirement test if not supported. 2010-11-09 17:08:21 +01:00
Vincent Povirk 1d0f126d91 d3dx9_36: Fix an error path in D3DXLoadSurfaceFromFileInMemory.
If GetFrame fails, bitmapframe was not created and should not be released.
2010-11-09 11:44:39 +01:00
Vincent Povirk 31682b3dbe d3dx9_36: Don't check the image format in D3DXLoadSurfaceFromFileInMemory.
If the format is not supported, D3DXGetImageInfoFromFileInMemory will fail.
2010-11-09 11:44:32 +01:00
Matteo Bruni 390ba2c338 d3dx9: Implement D3DXCreateCubeTexture. 2010-11-04 16:29:59 +01:00
Matteo Bruni 6933766531 d3dx9: Implement D3DXCheckCubeTextureRequirements. 2010-11-04 16:29:57 +01:00
Matteo Bruni a875f38301 d3dx9: Implement D3DXFilterTexture for cube textures. 2010-11-04 16:29:52 +01:00
Vincent Povirk a2e5321b01 d3dx9_36: Check for the TGA container format. 2010-10-22 12:01:55 +02:00
Matteo Bruni d32a07a04b d3dx9: Initialize a variable in ID3DXSpriteImpl_Flush. 2010-10-19 17:05:13 +02:00
Matteo Bruni 454dce9162 d3dx9: Report usage of unsupported sprite flags. 2010-10-18 11:45:42 +02:00
Matteo Bruni 40d57b70ed d3dx9: Store transform matrix per-sprite. 2010-10-18 11:45:32 +02:00
Matteo Bruni 550abd41a2 d3dx9: Fix D3DXFilterTexture return value. 2010-10-18 11:45:26 +02:00
Matteo Bruni ebbf519b78 d3dx9: Search for a compatible pixel format in D3DXCheckTextureRequirements. 2010-10-18 11:45:21 +02:00
Christian Costa 128cf64371 d3dx9: Constant table parsing foundations. 2010-10-13 12:03:05 +02:00
Matteo Bruni b4736bd767 d3dx9/tests: Fix a shader test failure. 2010-10-13 12:01:03 +02:00
Misha Koshelev 09af2a2bf9 d3dx9_36: Implement D3DXCreateCylinder. 2010-09-28 17:33:17 +02:00
Misha Koshelev 63dbf6ee3f d3dx9_36/tests: Add tests for D3DXCreateCylinder. 2010-09-27 14:10:46 +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
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Misha Koshelev fffe37aa00 d3dx9_36: Implement D3DXGetDeclLength with tests. 2010-09-16 11:18:58 -05:00
Joris Huizer 5815b63979 d3dx9_36: D3DXPreprocessShaderFromFileW: remove unneeded code. 2010-09-14 15:33:54 -05:00
Matteo Bruni 8d7a0d5027 d3dx9: D3DXPreprocessShader implementation with tests. 2010-09-13 14:43:53 -05:00
Owen Rudge 0d6f4d2406 d3dx9/tests: Add D3DXCreateTextureFromResource tests. 2010-09-09 12:44:48 +02:00
Owen Rudge 78bd619c7c d3dx9: Implement D3DXCreateTextureFromResource*. 2010-09-09 12:44:43 +02:00
Matteo Bruni d82255575b d3dx9: Fix D3DXAssembleShader tests. 2010-09-08 19:54:29 +02:00
Matteo Bruni d6ead897e2 d3dx9: Fix D3DXCompileShaderFromFileW. 2010-09-08 19:54:14 +02:00
Misha Koshelev b9b9d7ccca d3dx9_36: Fix the D3DXCreateMesh() prototype. 2010-09-08 13:31:03 +02:00
Andrew Nguyen b42a243fec d3dx9_36: Fix D3DXCompileShader* spec file prototypes. 2010-09-07 16:01:18 +02:00
Misha Koshelev 5fa3a6cf78 d3dx9: Implement D3DXFVFFromDeclarator. 2010-09-06 19:45:47 +02:00
Matteo Bruni 5a5af75f04 d3dx9: Implement D3DXCompileShaderFromResource. 2010-09-02 18:05:23 +02:00
Matteo Bruni de8f35bba8 d3dx9: Implement D3DXCompileShaderFromFile. 2010-09-02 18:05:23 +02:00
Owen Rudge 258dba1a52 d3dx9: Implement D3DXLoadSurfaceFromFileInMemory. 2010-09-01 14:01:02 +02:00
Owen Rudge 3604671a3a d3dx9: Implement D3DXCreateTextureFromFileInMemoryEx. 2010-09-01 14:01:02 +02:00
Alexandre Julliard f161990eef d3dx9: Use float instead of long in the spec files for 32-bit floating point values. 2010-08-31 14:23:49 +02:00
Owen Rudge ae695bdfaa d3dx9: Implement missing D3DXCreateTextureFromFile functions. 2010-08-31 12:10:45 +02:00
Matteo Bruni 3a6050b6ab d3dx9: Forward D3DXCompileShader to d3dcompiler. 2010-08-30 11:26:28 +02:00
Henri Verbeet ff7dc44525 d3dx9_36: Implement D3DXDeclaratorFromFVF(). 2010-08-27 11:58:57 +02:00
Henri Verbeet 79e4f66090 d3dx9_36/tests: Add some more FVF position handling tests. 2010-08-27 11:58:50 +02:00
Henri Verbeet 6e518a1d06 d3dx9_36/tests: Cleanup / simplify test_fvf_decl_conversion(). 2010-08-27 11:58:43 +02:00
Francois Gouget 2f8f70bca7 d3dx9_36: Make {is,make}_pow2() static. 2010-08-26 13:40:34 +02:00
Henri Verbeet 1bfd89986c d3dx9_36/tests: Avoid a redundant vertex declaration copy in test_decl_to_fvf(). 2010-08-26 12:41:58 +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
Matteo Bruni 53a15436f8 d3dcompiler: Move D3DAssemble tests from d3dx9_36. 2010-08-25 17:35:19 +02:00
Matteo Bruni 5dcb2e4b7e d3dcompiler: Move shader assembler implementation from d3dx9_36. 2010-08-25 17:34:24 +02:00
Henri Verbeet 5655c6f0bb d3dx9_36/tests: Use the proper D3DFVF_PSIZE constant in test_fvf_decl_conversion(). 2010-08-25 11:56:59 +02:00
Henri Verbeet bcd452ab82 d3dx9_36/tests: Remove a (mostly) redundant test. 2010-08-25 11:56:50 +02:00
Henri Verbeet 31e8a20d88 d3dx9_36: Use a lookup table in D3DXGetDeclVertexSize(). 2010-08-25 11:56:35 +02:00
Tony Wasserka ecce9eebcf d3dx9: Fix an off by one error in point_filter_simple_data. 2010-08-23 13:37:03 +02:00
Tony Wasserka 18b8916942 d3dx9: Black out pixels which are outside the source rect in D3DXLoadSurfaceFromMemory if no stretching is used. 2010-08-23 13:37:03 +02:00
Gerald Pfeifer 0fed73ef4b d3dx9_36: Simplify instr_ps_1_0123_texld. 2010-08-23 11:52:34 +02:00
Misha Koshelev 46050fb377 d3dx9: Add tests for FVF <-> declaration conversion. 2010-08-19 17:32:18 +02:00