Commit Graph

106 Commits

Author SHA1 Message Date
Józef Kucia 70b1bff695 d3dx9: Implement D3DXSaveSurfaceToFileInMemory. 2012-05-31 12:37:25 +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 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
Józef Kucia b47c92bae3 d3dx9: Add traces. 2012-05-14 17:52:04 +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 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 685be77251 d3dx9: Print a real pixel format in a FIXME message. 2012-05-11 15:50:56 +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
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
Henri Verbeet 5380572057 d3dx9: Implement loading luminance/alpha data in D3DXLoadSurfaceFromMemory(). 2012-03-09 11:32:06 +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
Andrew Talbot 8e9fabfa87 d3dx9_36: Fix a logical operator typo. 2011-08-29 12:08:20 +02:00
Travis Athougies 59e0573a7b d3dx9_36: Added stub implementation of D3DXSaveSurfaceToFileInMemoryA and D3DXSaveSurfaceToFileInMemoryW. 2011-06-24 13:17:37 -05: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
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
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
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
Vincent Povirk a2e5321b01 d3dx9_36: Check for the TGA container format. 2010-10-22 12:01:55 +02:00
Owen Rudge 258dba1a52 d3dx9: Implement D3DXLoadSurfaceFromFileInMemory. 2010-09-01 14:01:02 +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 f781be07fc d3dx9_36: minwidth and minheight are set but not used in point_filter_simple_data; remove them. 2010-08-16 17:28:55 +02:00
Alexandre Julliard 277040d924 d3dx9: Fix some incorrect const typecasts. 2010-08-04 17:53:14 +02:00
Tony Wasserka 1905e93b54 d3dx9: Implement ARGB point filtering in D3DXLoadSurfaceFromMemory. 2010-08-04 17:49:43 +02:00
Tony Wasserka 5bdfd877a7 d3dx9: Return D3DERR_INVALIDCALL in D3DXLoadSurfaceFromMemory if pDestRect is invalid. 2010-08-04 17:48:45 +02:00
Tony Wasserka 295d2a6777 d3dx9: Move pixel sampling and recombination in copy_simple_data to separate helper functions. 2010-08-04 17:48:21 +02:00
Christian Costa 9e67f954f1 d3dx9_36: Add support for 32-bit BGRA in D3DXGetImageInfoFromFileInMemory. 2010-04-12 15:39:57 +02:00
Christian Costa 3a98a6295a d3dx9_36: Implement D3DXGetImageInfoFromFileInMemory using WindowsCodecs (based on work from Tony Wasserka). 2010-04-09 11:42:10 +02:00
Christian Costa 24b37eaca0 d3dx9_36: Improve FIXMEs and TRACEs for surface. 2010-04-06 14:09:31 +02:00
Christian Costa 6b6db0dcb2 d3dx9_36: Improve some stubs. 2010-02-15 12:50:45 +01:00
Tony Wasserka 56e86b3df1 d3dx9: Implement converting and copying ARGB surface data in D3DXLoadSurfaceFromMemory. 2009-10-16 17:32:37 +02:00
Tony Wasserka 9777bb1bec d3dx9: Implement D3DXLoadSurfaceFromSurface. 2009-06-26 14:39:21 +02:00
Tony Wasserka db29bfc386 d3dx9: Add a stub for D3DXLoadSurfaceFromMemory. 2009-06-26 14:39:07 +02:00
Tony Wasserka 88cea6c1cd d3dx9: Implement D3DXLoadSurfaceFromResource. 2009-06-26 14:38:45 +02:00
Tony Wasserka 2a9c43fb35 d3dx9: Implement D3DXLoadSurfaceFromFile. 2009-06-26 14:38:35 +02:00
Tony Wasserka 818223e75e d3dx9: Add a stub for D3DXLoadSurfaceFromFileInMemory. 2009-06-26 14:38:24 +02:00
Tony Wasserka f193889815 d3dx9: Redirect D3DXGetImageInfo functions to the FromFileInMemory variant. 2009-06-02 12:03:08 +02:00
Tony Wasserka bf353f180d d3dx9: Add stubs for the D3DXGetImageInfo function group. 2009-05-26 15:37:35 +02:00