Commit graph

30 commits

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