Commit Graph

85 Commits

Author SHA1 Message Date
Christian Costa 0321e63641 d3dx9_36: Add DIB file support to D3DXSaveSurfaceToFileInMemory. 2013-04-25 20:25:07 +02:00
Christian Costa 792e2ee248 d3dx9_36: Add DIB file support to D3DXLoadSurfaceFromFileInMemory. 2013-04-25 20:25:07 +02:00
Christian Costa 4653b839e7 d3dx9_36: Add support for DIB file in D3DXGetImageInfoFromFileInMemory. 2013-04-25 20:25:06 +02:00
Christian Costa 4778a5e27d d3dx9_36: Add support for RT_BITMAP resource type since it is in DIB format D3DXIFF_DIB. 2013-01-07 19:33:09 +01:00
Andrew Talbot 1a45569f72 d3dx9_36: Avoid signed-unsigned integer comparisons. 2013-01-04 11:59:32 +01:00
Christian Costa dabde6a04f d3dx9_36: Check proper signature for DIB files. 2012-12-27 18:47:54 +01:00
Józef Kucia 4f50e751e1 d3dx9: A simple copy isn't enough when a color key is provided. 2012-10-29 10:47:04 +01:00
Józef Kucia 08a5dbbb8e d3dx9: Introduce a function for copying pixels. 2012-10-29 10:47:03 +01:00
Józef Kucia a4df391976 d3dx9: Rename point_filter_simple_data to point_filter_argb_pixels. 2012-10-29 10:47:03 +01:00
Józef Kucia a513da063f d3dx9: Rename copy_simple_data to convert_argb_pixels. 2012-10-29 10:47:03 +01:00
Józef Kucia 84935d4312 d3dx9: Introduce a separate pixel format type for compressed pixel formats. 2012-10-23 12:07:47 +02:00
Gerald Pfeifer f807666d2b d3dx9_36: Fix initialization of header in save_dds_surface_to_memory. save_dds_surface_to_memory. 2012-09-26 11:00:06 +02:00
Christian Costa 12d11833f7 d3dx9_36: Cube texture can be loaded as a simple texture. The first face texture is taken in that case. 2012-09-24 22:27:42 +02:00
Józef Kucia 934293c1ec d3dx9: Implement conversion from D3DFORMAT to DDS pixel format for RGB pixel formats. 2012-09-24 22:27:29 +02:00
Józef Kucia bf4201ea58 d3dx9: Implement the support for saving a surface to a DDS file. 2012-09-24 22:27:29 +02:00
Józef Kucia 8f00a63161 d3dx9: Use 4 spaces per indent level in get_image_info_from_dds(). 2012-09-24 22:27:29 +02:00
Józef Kucia 00ea54f64f d3dx9: Introduce a function for calculating the expected size of a DDS file. 2012-09-24 22:27:29 +02:00
Rico Schüller 8da8811615 d3dx9: Remove PixelFormatDesc typedef. 2012-09-03 15:51:57 +02:00
Rico Schüller 97ef9f9322 d3dx9: Add some traces to D3DXLoadSurfaceFromMemory(). 2012-08-28 20:24:18 +02:00
Jacek Caban 434b696c46 Fixed remaining wrong iface call helpers. 2012-08-28 14:41:12 +02:00
Józef Kucia e8bfaf1727 d3dx9: Use structure to pass volume size to pixel format conversion functions. 2012-07-16 16:56:08 +02:00
Józef Kucia 29acc31506 d3dx9: Implement point filtering for volume textures. 2012-07-16 16:55:56 +02:00
Józef Kucia 5d4bc53343 d3dx9: Implement pixel format conversion for volume textures. 2012-07-16 16:55:48 +02:00
Józef Kucia 18a2dde127 d3dx9: Implement D3DXLoadVolumeFromFileInMemory. 2012-07-09 15:44:01 -04:00
Józef Kucia 0ad6af9caa d3dx9: Validate the size of a volume texture in D3DXGetImageInfoFromFile. 2012-07-09 15:43:42 -04:00
Józef Kucia 07b0f25404 d3dx9: Implement D3DXCreateVolumeTextureFromFileInMemoryEx. 2012-07-02 11:59:13 +02:00
Józef Kucia 217c8b947e d3dx9: Recognize X8B8G8R8 pixel format in DDS files. 2012-06-19 11:12:34 +02:00
Nozomi Kodama 5523820b81 d3dx9_36: Recognize A8B8G8R8 format. 2012-06-18 10:57:04 +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 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