Commit Graph

903 Commits

Author SHA1 Message Date
Józef Kucia caf1c1a775 d3dx9: Get rid of ID3DXFontImpl. 2012-06-19 11:12:02 +02:00
Nozomi Kodama 5523820b81 d3dx9_36: Recognize A8B8G8R8 format. 2012-06-18 10:57:04 +02:00
Nozomi Kodama 60a0fb30df d3dx9_36: Implementation of D3DXSHMultiply3. 2012-06-18 10:56:48 +02:00
Nozomi Kodama ed7c28353d d3dx9_36: Implementation of D3DXQuaternionSquadSetup. 2012-06-14 19:16:40 +02:00
Nozomi Kodama 4099eb8bbb d3dx9_36: D3DXQuaternionLn computes as if the norm of the input is 1. 2012-06-13 14:50:25 +02:00
Francois Gouget bebcce32b0 d3dx9_36/tests: Make a couple of test functions static. 2012-06-12 11:11:36 +02:00
Józef Kucia 0e532633e3 d3dx9/tests: Use inline functions instead of check_pixel_{1bpp, 2bpp, 4bpp} macros. 2012-06-11 12:37:40 +02:00
Józef Kucia cda4738f52 d3dx9/tests: Improve test failure messages for check_{ref, release}. 2012-06-11 12:37:30 +02:00
Józef Kucia 35c13b0879 d3dx9: Add ID3DXRenderToEnvMap interface stub. 2012-06-11 12:37:22 +02:00
Józef Kucia f072404f61 d3dx9/tests: Add tests for D3DXCreateRenderToEnvMap. 2012-06-11 12:37:16 +02:00
Józef Kucia cda45bca92 d3dx9/tests: Add tests for device state changes for ID3DXRenderToSurface interface. 2012-06-07 21:42:49 +02:00
Józef Kucia bccda19e8f d3dx9/tests: Add tests for ID3DXRenderToSurface interface. 2012-06-07 21:42:43 +02:00
Józef Kucia c0e583af6d d3dx9: Implement ID3DXRenderToSurface::BeginScene and ID3DXRenderToSurface::EndScene. 2012-06-07 21:42:36 +02:00
Józef Kucia de1f2ffd52 d3dx9: Implement ID3DXRenderToSurface::GetDevice. 2012-06-06 11:56:18 +02:00
Józef Kucia 0ed3eb0120 d3dx9: Implement ID3DXRenderToSurface::GetDesc. 2012-06-06 11:56:14 +02:00
Józef Kucia 5c6438e834 d3dx9: Add ID3DXRenderToSurface interface stub. 2012-06-06 11:56:09 +02:00
Józef Kucia 4200198355 d3dx9/tests: Add basic tests for D3DXCreateRenderToSurface. 2012-06-06 11:55:56 +02:00
Józef Kucia ad5a00b7f8 d3dx9: Add stub for D3DXCreateRenderToSurface. 2012-06-06 11:55:41 +02:00
Józef Kucia 6953865e8d d3dx9/tests: Fix indentation. 2012-06-06 11:55:01 +02:00
Józef Kucia 6fe841edde d3dx9/tests: Add tests for loading surfaces from non-lockable render targets. 2012-06-06 11:54:54 +02:00
Józef Kucia cbb9002aa6 d3dx9/tests: Add tests for DDS header handling. 2012-06-04 10:34:26 +02:00
Henri Verbeet 176d27e889 d3dx9: Use wine_dbgstr_rect() in some more places. 2012-06-01 17:46:44 +02:00
Józef Kucia 13b2a3b9bc d3dx9/tests: Add tests for D3DXSaveTextureToFileInMemory. 2012-05-31 12:37:27 +02:00
Józef Kucia 38b8949fea d3dx9: Implement D3DXSaveTextureToFileInMemory. 2012-05-31 12:37:26 +02:00
Józef Kucia dfc5ab140c d3dx9: Forward D3DXSaveTextureToFile to D3DXSaveTextureToFileInMemory. 2012-05-31 12:37:25 +02:00
Józef Kucia 70b1bff695 d3dx9: Implement D3DXSaveSurfaceToFileInMemory. 2012-05-31 12:37:25 +02:00
Rico Schüller f658aabfd5 d3dx9: Crop the input in ID3DXBaseEffect::SetBool(). 2012-05-30 17:17:57 +02:00
Henri Verbeet 372984e053 d3dx9: Don't use HEAP_ZERO_MEMORY if we're going to overwrite the memory anyway. 2012-05-25 16:24:03 +02:00
Józef Kucia ada5152650 d3dx9: Add support for luminance pixel formats. 2012-05-23 18:25:07 +02:00
Józef Kucia 3a94473802 d3dx9: Add a WARN to get_image_info_from_dds about too short DDS files. 2012-05-23 18:25:07 +02:00
Józef Kucia d313e4f9d3 d3dx9: Fix the expected_length computation for non-square DDS files. 2012-05-23 18:25:07 +02:00
Michael Stefaniuc 7446af76f4 d3dx9_36/tests: Check the correct return value. 2012-05-22 17:44:02 +02:00
Józef Kucia 5bd0070a1d d3dx9/tests: Remove d3d9 test from d3dx9 tests. 2012-05-22 17:43:58 +02:00
Józef Kucia e46d650d3f d3dx9/tests: Mark broken behavior of the debug version of d3d9. 2012-05-21 11:33:59 +02:00
Józef Kucia 8061bec3af d3dx9/tests: Do not release a texture when it wasn't created. 2012-05-21 11:33:58 +02:00
Józef Kucia 4d462adef9 d3dx9/tests: Use more common formats for surfaces in DXTn tests. 2012-05-21 11:33:58 +02:00
Józef Kucia 0da94d4985 d3dx9/tests: Add a test for D3DXLoadSurfaceFromSurface. 2012-05-21 11:33:58 +02:00
Józef Kucia d7a633a438 d3dx9/tests: Add more tests for D3DXFilterTexture. 2012-05-21 11:33:57 +02:00
Józef Kucia 480e4e5bfc d3dx9: Correctly check if a cube texture is dynamic in D3DXCreateCubeTextureFromFileInMemoryEx. 2012-05-21 11:33:57 +02:00
Józef Kucia eb55412f66 d3dx9: Correctly check if a texture is dynamic in D3DXCreateTextureFromFileInMemoryEx. 2012-05-21 11:33:56 +02:00
Józef Kucia 1a4f1edf32 d3dx9: Use actual level count for computing the number of loaded mipmaps. 2012-05-21 11:33:56 +02:00
Józef Kucia 7d07f1f2f6 d3dx9: Correctly handle D3DUSAGE_AUTOGENMIPMAP in D3DXCheckVolumeTextureRequirements. 2012-05-21 11:33:56 +02:00
Józef Kucia dfc085b684 d3dx9: Correctly handle D3DUSAGE_AUTOGENMIPMAP in D3DXCheckTextureRequirements. 2012-05-21 11:33:55 +02:00
Józef Kucia 091a4269ef d3dx9/tests: Fix messed up parameters. 2012-05-17 17:44:27 +02:00
Józef Kucia 5ab8c2fdf8 d3dx9/tests: Do not release a cube texture if it wasn't created. 2012-05-17 17:44:27 +02:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Józef Kucia 3728a88231 d3dx9: Properly check if a texture is lockable in D3DXCreateTextureFromFileInMemoryEx. 2012-05-14 17:52:23 +02:00
Józef Kucia b47c92bae3 d3dx9: Add traces. 2012-05-14 17:52:04 +02:00
Józef Kucia adc694b831 d3dx9/tests: Add tests for compressed pixel formats support in D3DXLoadSurface functions. 2012-05-14 17:51:53 +02:00
Józef Kucia 37ae580b84 d3dx9: Add DDS support in D3DXLoadSurfaceFromFile functions. 2012-05-14 17:51:40 +02:00
Józef Kucia 97987bed70 d3dx9: Add DDS support in D3DXCreateTextureFromFile functions. 2012-05-14 17:51:32 +02:00
Józef Kucia 69b94181f2 d3dx9: Implement D3DXCreateCubeTextureFromFileInMemoryEx. 2012-05-14 17:51:22 +02:00
Józef Kucia f53ce18163 d3dx9: Forward D3DXCreateCubeTextureFromFile functions to D3DXCreateCubeTextureFromFileInMemoryEx. 2012-05-14 17:50:53 +02:00
Józef Kucia e91300a318 d3dx9: Check the size of a DDS file in D3DXGetImageInfoFromFileInMemory. 2012-05-14 17:50:08 +02:00
Józef Kucia 42dd957c50 d3dx9: Add missing pixel formats. 2012-05-14 17:49:53 +02:00
Józef Kucia cf89638685 d3dx9/tests: Move tests for texture functions from surface.c to texture.c. 2012-05-11 15:51:08 +02:00
Józef Kucia 685be77251 d3dx9: Print a real pixel format in a FIXME message. 2012-05-11 15:50:56 +02:00
Józef Kucia ecb1c602f4 d3dx9/tests: Use consistent naming for DDS defines. 2012-05-08 09:41:21 +02:00
Józef Kucia 8b17b0f5c6 d3dx9/tests: Add tests for D3DXSaveSurfaceToFile. 2012-05-07 17:20:25 +02:00
Józef Kucia f0bb425516 d3dx9: Implement the pixel format conversion in D3DXSaveSurfaceToFileW. 2012-05-07 17:20:23 +02:00
Józef Kucia ec70b67b8d d3dx9: Implement D3DXSaveSurfaceToFileW. 2012-05-07 17:20:19 +02:00
Józef Kucia ea5f799a6b d3dx9: Forward D3DXSaveSurfaceToFileA to D3DXSaveSurfaceToFileW. 2012-05-07 17:20:16 +02:00
Józef Kucia ec51783494 d3dx9: Implement mapping from WICPixelFormat GUIDs to D3DFORMATs. 2012-05-07 17:20:12 +02:00
Francois Gouget 8036abe4da d3dx9_36/tests: Add a trailing '\n' to an ok() call. 2012-05-04 18:08:34 +02:00
Michael Mc Donnell 081b06c012 d3dx9: Added D3DXOptimizeFaces test. 2012-05-03 20:44:14 +02:00
Michael Mc Donnell 5a14f5b37e d3dx9: Added D3DXOptimizeFaces semi-stub. 2012-05-03 20:44:14 +02:00
Józef Kucia d3068976e5 d3dx9: Implement conversion from DDS pixel format to D3DFORMAT. 2012-05-01 14:46:59 +02:00
Józef Kucia 4618e388e6 d3dx9: Add partial DDS support implementation for D3DXGetImageInfo functions. 2012-05-01 14:46:37 +02:00
Henri Verbeet b8f6c9cdb1 d3dx9: Cleanup parameter names for D3DXLoadSurfaceFromMemory(). 2012-05-01 14:44:12 +02:00
Henri Verbeet c8ae37a9a9 d3dx9: Add a FIXME for unsupported filter types to D3DXLoadSurfaceFromMemory(). 2012-04-30 11:01:25 +02:00
Henri Verbeet 5ebd6652ca d3dx9: Use proper size types in D3DXLoadSurfaceFromMemory(). 2012-04-30 11:01:21 +02:00
Henri Verbeet b11d8db279 d3dx9: Add basic support for loading DXT formats to D3DXLoadSurfaceFromMemory(). 2012-04-27 11:59:35 +02:00
Henri Verbeet e925553072 d3dx9: Introduce a special case for simple loads in D3DXLoadSurfaceFromMemory(). 2012-04-27 11:59:30 +02:00
Józef Kucia b157bc7cfa d3dx9/tests: Add DDS pixel format tests for D3DXGetImageInfoFromFileInMemory. 2012-04-25 17:21:02 +02:00
Rico Schüller b09d195bf3 d3dx9/tests: Add tests for ID3DXBaseEffect::G/SetValue(). 2012-04-18 17:40:13 +02:00
Rico Schüller fcb5b6c32c d3dx9: Use param->bytes for copying the data in ID3DXBaseEffect::SetValue(). 2012-04-18 17:40:10 +02:00
Henri Verbeet 2b1da8c77f d3dx9: Don't return a pointer to the implementation in ID3DXBaseEffectImpl_QueryInterface(). 2012-04-13 10:48:56 +02:00
Henri Verbeet cdc2c53158 d3dx9: Don't return a pointer to the implementation in ID3DXEffectImpl_QueryInterface(). 2012-04-12 20:37:00 +02:00
Henri Verbeet 86b14209a0 d3dx9: Don't return a pointer to the implementation in ID3DXEffectCompilerImpl_QueryInterface(). 2012-04-12 20:36:57 +02:00
Henri Verbeet 6e05c14154 d3dx9: Don't return a pointer to the implementation in ID3DXEffectPoolImpl_QueryInterface(). 2012-04-11 18:14:50 +02:00
Henri Verbeet 74c2ddc908 d3dx9: Don't return a pointer to the implementation in ID3DXFontImpl_QueryInterface(). 2012-04-11 18:14:46 +02:00
Henri Verbeet 1718a6cf1c d3dx9: Don't return a pointer to the implementation in ID3DXLineImpl_QueryInterface(). 2012-04-10 16:21:27 +02:00
Henri Verbeet 4522b07c86 d3dx9: Don't return a pointer to the implementation in ID3DXMatrixStackImpl_QueryInterface(). 2012-04-10 16:21:26 +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
Henri Verbeet db18815147 d3dx9: Don't return a pointer to the implementation in ID3DXConstantTableImpl_QueryInterface(). 2012-04-09 12:03:02 +02:00
Henri Verbeet 45c7b47b06 d3dx9: Don't return a pointer to the implementation in ID3DXSpriteImpl_QueryInterface(). 2012-04-06 20:11:30 +02:00
Henri Verbeet f89d5d0503 d3dx9: Also print the format as FOURCC in get_format_info(). 2012-04-05 14:51:33 +02:00
Michael Mc Donnell f144626e81 d3dx9: Do not weld self. 2012-03-28 13:55:38 +02:00
Józef Kucia f8015cd235 d3dx9/tests: Add tests for D3DXCreateVolumeTextureFromFileInMemory. 2012-03-26 18:15:43 +02:00
Józef Kucia 7f3f5dd1eb d3dx9/tests: Add tests for D3DXCreateCubeTextureFromFileInMemory. 2012-03-26 18:15:42 +02:00
Józef Kucia e0f2d4cf91 d3dx9: Add stubs for D3DXCreateVolumeTextureFromFileInMemory functions. 2012-03-26 18:15:42 +02:00
Józef Kucia dfd66e5fe0 d3dx9: Forward D3DXCreateCubeTextureFromFileInMemory to D3DXCreateCubeTextureFromFileInMemoryEx. 2012-03-26 18:15:41 +02:00
Józef Kucia 3a210af107 d3dx9/tests: Test the DDS support in the D3DXGetImageInfo functions. 2012-03-26 18:15:41 +02:00
Michael Stefaniuc 60cf73d6fa d3dx9_36: Print the debug string and not the pointer to it. 2012-03-26 18:15:20 +02:00
Christian Costa a7692beb61 d3dx9_36: Make D3DXVec3Unproject support omission of world matrix + test. 2012-03-14 12:59:08 +01:00
Jozef Kucia c76743631d d3dx9/tests: Don't leak D3DXBuffer in D3DXWeldVertices tests. 2012-03-13 10:54:02 +01:00
Henri Verbeet db9e7836fa d3dx9/tests: Add some tests for loading luminance/alpha data. 2012-03-09 11:32:12 +01:00
Henri Verbeet 5380572057 d3dx9: Implement loading luminance/alpha data in D3DXLoadSurfaceFromMemory(). 2012-03-09 11:32:06 +01:00
Jozef Kucia fde2abbabf d3dx9/tests: Don't leak D3DXBuffer. 2012-03-09 11:29:32 +01:00
Christian Costa 39598b9c1e d3dx9_36: Detect and display message for all not yet supported file formats. 2012-02-11 14:50:05 +01:00
Christian Costa 17b1821825 d3dx9_36: Turn FIXME into TRACE since function is implemented. Not supported formats are caught by final FIXME. 2012-02-09 09:33:31 -06:00
Christian Costa 0a23797f1b d3dx9_36: Remove TGA from TODO since it is supported. 2012-01-30 11:59:54 +01:00
Rico Schüller 49ebbd0230 d3dx9/tests: Add invalid parameter test for ID3DXEffect. 2012-01-27 18:05:50 +01:00
Rico Schüller cf512fdf13 d3dx9/tests: Add effect parameter value SetMatrixTransposeArray() test. 2012-01-27 18:05:50 +01:00
Rico Schüller 0ae7c573b1 d3dx9/tests: Add effect parameter value SetMatrixTranspose() test. 2012-01-27 18:05:50 +01:00
Rico Schüller 3efd2f9a1b d3dx9/tests: Add effect parameter value SetMatrixArray() test. 2012-01-26 17:45:37 +01:00
Rico Schüller 52e1409111 d3dx9/tests: Add effect parameter value SetMatrix() test. 2012-01-26 17:45:34 +01:00
Rico Schüller d0fbe7f5a5 d3dx9/tests: Add effect parameter value SetVectorArray() test. 2012-01-26 17:45:29 +01:00
Rico Schüller 9c63b11372 d3dx9/tests: Add effect parameter value SetVector() test. 2012-01-26 17:45:25 +01:00
Rico Schüller 483ae58ef2 d3dx9/tests: Add effect parameter value SetFloatArray() test. 2012-01-24 16:57:32 +01:00
Rico Schüller 88c996b3c3 d3dx9/tests: Add effect parameter value SetFloat() test. 2012-01-24 16:57:32 +01:00
Rico Schüller e892f06175 d3dx9/tests: Add effect parameter value SetIntArray() test. 2012-01-24 16:57:32 +01:00
Rico Schüller 51b9699134 d3dx9/tests: Add effect parameter value SetInt() test. 2012-01-24 16:57:32 +01:00
Rico Schüller a90eacab1a d3dx9/tests: Add effect parameter value SetBoolArray() test. 2012-01-24 16:57:32 +01:00
Rico Schüller 7b3863fec0 d3dx9: Fix constant table trace. 2012-01-23 11:06:10 +01:00
Rico Schüller 6ad34b161f d3dx9: Reorder argument check in D3DXGetShaderConstantTableEx(). 2012-01-23 11:06:04 +01:00
Rico Schüller 59b365f9bb d3dx9: Get rid of ID3DXConstantTableImpl typedef. 2012-01-23 11:05:50 +01:00
Rico Schüller 4a6e06d7bb d3dx9: Introduce free_constant_table(). 2012-01-23 11:05:45 +01:00
Rico Schüller 7825fa833f d3dx9/tests: Reset effect parameter value data after each try. 2012-01-12 16:10:49 +01:00
Rico Schüller 5f01e93014 d3dx9/tests: Add effect parameter value SetBool() test. 2012-01-12 16:10:45 +01:00
Rico Schüller cb8c013366 d3dx9/tests: Add special handling test. 2012-01-12 16:10:40 +01:00
Rico Schüller 834d797339 d3dx9/tests: Add effect parameter value object test. 2012-01-12 16:10:34 +01:00
Rico Schüller a3d3834233 d3dx9/tests: Add effect parameter value int test. 2012-01-12 16:10:29 +01:00
Henri Verbeet bd3b0ba697 d3d9: Don't expose wined3d internal flags to the application. 2012-01-11 17:47:18 +01:00
Rico Schüller d0ede16ee4 d3dx9/tests: Add effect parameter value GetMatrixTransposeArray() test. 2011-12-27 16:55:05 +01:00
Rico Schüller c7d2159a78 d3dx9/tests: Add effect parameter value GetMatrixTranspose() test. 2011-12-27 16:55:05 +01:00
Rico Schüller 9be82e3175 d3dx9/tests: Add effect parameter value GetMatrixArray() test. 2011-12-27 16:55:04 +01:00
Rico Schüller f856afe336 d3dx9/tests: Add effect parameter value GetMatrix() test. 2011-12-27 16:55:04 +01:00
Rico Schüller a8f32acfed d3dx9: Fix variable sequence. 2011-12-27 16:55:04 +01:00
Rico Schüller 0c1574bd5e d3dx9/tests: Add effect parameter value GetVectorArray() test. 2011-12-22 17:19:18 +01:00
Rico Schüller fa93df1052 d3dx9/tests: Add effect parameter value GetVector() test. 2011-12-22 17:19:17 +01:00
Rico Schüller 828b82780d d3dx9/tests: Add effect parameter value GetFloatArray() test. 2011-12-22 17:19:17 +01:00
Rico Schüller 47ae7db16a d3dx9/tests: Add effect parameter value GetFloat() test. 2011-12-22 17:19:17 +01:00
Rico Schüller 9273ac0286 d3dx9: Use a loop in get_vector(). 2011-12-22 17:19:16 +01:00
Rico Schüller ed700553e0 d3dx9: Simplify ID3DXBaseEffect::SetInt(). 2011-12-22 17:19:16 +01:00
Rico Schüller 5341b5518b d3dx9/tests: Add effect parameter value GetIntArray() test. 2011-12-21 18:04:48 +01:00
Rico Schüller d984a524e7 d3dx9/tests: Add effect parameter value GetInt() test. 2011-12-21 18:04:45 +01:00
Rico Schüller cb664abfa0 d3dx9/tests: Add effect parameter value GetBoolArray() test. 2011-12-21 18:04:39 +01:00
Rico Schüller bdf8e4642a d3dx9/tests: Add effect parameter value GetBool() test. 2011-12-21 18:04:34 +01:00
Rico Schüller 8a58fb3c84 d3dx9/tests: Add effect parameter value GetValue() test. 2011-12-21 18:04:18 +01:00
Michael Mc Donnell 50f785ef11 d3dx9/tests: Add a D3DXValidMesh test. 2011-12-19 20:15:53 +01:00
Rico Schüller 940b50b2d8 d3dx9: Implement ID3DXBaseEffect::SetValue(). 2011-12-14 17:54:45 +01:00
Rico Schüller 165afd63ce d3dx9: Implement ID3DXBaseEffect::SetVectorArray(). 2011-12-14 17:54:45 +01:00
Rico Schüller 67591832a3 d3dx9: Implement ID3DXBaseEffect::SetVector(). 2011-12-14 17:54:45 +01:00
Rico Schüller e2b1f0cce9 d3dx9: Implement ID3DXBaseEffect::GetVector(). 2011-12-14 17:54:45 +01:00
Rico Schüller b83d322dba d3dx9: Implement D3DXSHAdd(). 2011-12-12 10:19:30 +01:00
Rico Schüller 90415ebdfa d3dx9: Implement ID3DXBaseEffect::SetMatrixTranspose(). 2011-12-01 14:18:51 +01:00
Rico Schüller 1e0f04e5cf d3dx9: Implement ID3DXBaseEffect::SetMatrixTransposeArray(). 2011-12-01 14:18:48 +01:00
Rico Schüller 84f158025b d3dx9: Implement ID3DXBaseEffect::SetMatrixArray(). 2011-11-29 13:55:40 +01:00
Rico Schüller cebdbb34ac d3dx9: Implement ID3DXBaseEffect::SetMatrix(). 2011-11-29 13:55:35 +01:00
Rico Schüller 0ca1efc578 d3dx9: Implement ID3DXBaseEffect::SetBoolArray(). 2011-11-29 13:55:28 +01:00
Rico Schüller 4b42b11303 d3dx9: Implement ID3DXBaseEffect::SetBool(). 2011-11-29 13:55:16 +01:00
Rico Schüller bb6f22d10e d3dx9: Implement ID3DXBaseEffect::SetIntArray(). 2011-11-28 16:40:51 +01:00
Rico Schüller 7998195f1c d3dx9: Implement ID3DXBaseEffect::SetInt(). 2011-11-28 16:40:51 +01:00
Rico Schüller d3ed67434e d3dx9: Implement ID3DXBaseEffect::SetFloatArray(). 2011-11-28 16:40:51 +01:00
Rico Schüller db6cf95a24 d3dx9: Implement ID3DXBaseEffect::SetFloat(). 2011-11-28 16:40:51 +01:00
Rico Schüller aaa593c094 d3dx9: Handle a special case in ID3DXBaseEffect::GetInt(). 2011-11-28 16:40:51 +01:00
Rico Schüller f7a4cabb46 d3dx9: Add count to trace in ID3DXBaseEffect::GetMatrixArray(). 2011-11-16 17:18:21 +01:00
Rico Schüller 7b902d2278 d3dx9: Allow setting texture to NULL. 2011-11-16 17:18:18 +01:00
Rico Schüller 5bd3c9161c d3dx9: Improve argument check in ID3DXBaseEffect::GetBool/Int/Float(). 2011-11-16 17:18:14 +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 be8dd2e876 d3dx9/tests: Show D3DXMESH_VB_SHARE with new declaration should fail. 2011-11-15 19:37:34 +01:00
Michael Mc Donnell 656e8a8726 d3dx9/tests: Test for D3DXMESH_VB_SHARE option. 2011-11-15 19:37:33 +01:00
Francois Gouget 9b5ed14bd8 d3dx9_36/tests: Add a trailing '\n' to an ok() call. 2011-10-27 14:20:05 +02:00
Michael Mc Donnell da6363e377 d3dx9/tests: Implemented CloneMesh test. 2011-10-26 17:57:06 +02:00
Michael Mc Donnell 3b693143eb d3dx9: Implemented non-equal declaration support in CloneMesh. 2011-10-26 17:55:57 +02:00
Rico Schüller 5b7834851f d3dx9/tests: Fix typo. 2011-10-25 16:57:26 +02:00
Rico Schüller be68d56efc d3dx9: Improve argument check in D3DXFindShaderComment(). 2011-10-25 16:57:26 +02:00
Dylan Smith 8f8e86eaa3 d3dx9: Removed a duplicate NULL check. 2011-10-13 21:06:47 +02:00
Michael Stefaniuc 4906486959 d3dx9_36/tests: Avoid using fmaxf. 2011-09-27 16:24:25 +02:00
Michael Mc Donnell 3ad5976407 d3dx9_36/tests: Fixed adjacency double free (valgrind). 2011-09-26 18:00:07 +02:00
Michael Mc Donnell 97e621bd53 d3dx9/test: Test for D3DXWeldVertices. 2011-09-23 12:59:16 +02:00
Michael Mc Donnell 012986c79d d3dx9: Implemented D3DXWeldVertices. 2011-09-23 12:58:50 +02:00
Stefan Dösinger 3b9f88555f d3dx9_36/tests: Account for NP2 limitations in a texture test. 2011-09-21 11:35:43 +02:00
Stefan Dösinger b97b577e9f d3dx9_36/tests: Make sure NaN and negative NaN have the correct sign bits. 2011-09-21 11:35:43 +02:00
Michael Stefaniuc 977308365d d3dx9_36: Remove casts to the type of the casted expression. 2011-09-20 16:21:43 +02:00
Rico Schüller a7df4958ab d3dx9: Use the variable instead of the type in HeapAlloc(). 2011-09-16 17:54:00 +02:00
Rico Schüller 7cfdaedd3e d3dx9: Use the original bytecode in D3DXGetShaderSamplers() instead of using a constant table. 2011-09-16 17:53:56 +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
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
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