Commit Graph

732 Commits

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