Commit Graph

58 Commits

Author SHA1 Message Date
Rico Schüller
25ce3a4220 d3dx9: Add support for D3DFMT_A32B32G32R32F. 2013-01-16 12:20:23 +01:00
Rico Schüller
43f30fe8d6 d3dx9: Add support for D3DFMT_A16B16G16R16F. 2013-01-11 11:58:16 +01:00
Rico Schüller
f7d877061d d3dx9: Use all 32 bits as mask. 2013-01-10 19:22:36 +01:00
Rico Schüller
98ef0ca8e6 d3dx9: Shift only as much as needed. 2013-01-10 19:21:31 +01:00
Rico Schüller
275f784009 d3dx9: Introduce a function for filling a texture. 2013-01-10 19:19:49 +01: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
Henri Verbeet
4ba6974345 d3dx9: Avoid LPDIRECT3DDEVICE9. 2012-10-29 10:47:03 +01:00
Henri Verbeet
c4f7bcc653 d3dx9: Avoid LPDIRECT3DBASETEXTURE9. 2012-10-25 22:27:29 +02:00
Henri Verbeet
3280939563 d3dx9: Avoid LPDIRECT3DTEXTURE9. 2012-10-25 11:48:39 +02:00
Henri Verbeet
9b19d75519 d3dx9: Avoid LPDIRECT3DCUBETEXTURE9. 2012-10-25 11:48:35 +02:00
Henri Verbeet
80382486aa d3dx9: Avoid LPDIRECT3DVOLUMETEXTURE9. 2012-10-24 11:24:31 +02:00
Józef Kucia
2c19f22c8a d3dx9: Do not try to fill textures other than ARGB in fill texture functions. 2012-10-23 12:07:53 +02:00
Rico Schüller
8da8811615 d3dx9: Remove PixelFormatDesc typedef. 2012-09-03 15:51:57 +02:00
Józef Kucia
2c1968aef9 d3dx9: Allow D3DX_DEFAULT to be passed as srclevel to D3DXFilterTexture. 2012-07-23 14:55:45 +02:00
Józef Kucia
ffe36a3894 d3dx9: Implement volume texture filtering in D3DXFilterTexture. 2012-07-16 16:56:17 +02:00
Józef Kucia
fde802a04d d3dx9: Forward D3DXCreateVolumeTextureFromFile functions to D3DXCreateVolumeTextureFromFileInMemoryEx. 2012-07-02 11:59:24 +02:00
Józef Kucia
07b0f25404 d3dx9: Implement D3DXCreateVolumeTextureFromFileInMemoryEx. 2012-07-02 11:59:13 +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
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
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
3728a88231 d3dx9: Properly check if a texture is lockable in D3DXCreateTextureFromFileInMemoryEx. 2012-05-14 17:52:23 +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
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
Michael Stefaniuc
60cf73d6fa d3dx9_36: Print the debug string and not the pointer to it. 2012-03-26 18:15:20 +02:00
Travis Athougies
4434becd03 d3dx9_36: Added stub D3DXCreateCubeTextureFromFileInMemory. 2011-06-24 13:17:32 -05:00
Matteo Bruni
6505aed598 d3dx9: Remove an unnecessary initialization (LLVM/Clang). 2011-02-21 12:44:31 +01:00
Michael Stefaniuc
b6a1951925 d3dx9_36: Move 'static' to the beginning of the declaration. 2010-11-23 16:01:09 +01:00
Matteo Bruni
892502479c d3dx9: Implement D3DXFillVolumeTexture function. 2010-11-18 14:08:56 +01:00
Matteo Bruni
8f6cf460be d3dx9: Implement D3DXFillCubeTexture function. 2010-11-18 14:08:53 +01:00
Matteo Bruni
bffbf3460b d3dx9: Implement D3DXFillTexture function. 2010-11-18 14:08:50 +01:00
Matteo Bruni
b4a90b0fe8 d3dx9: Implement D3DXCreateVolumeTexture. 2010-11-09 17:08:21 +01:00
Matteo Bruni
c1843c8779 d3dx9: Implement D3DXCheckVolumeTextureRequirements. 2010-11-09 17:08:21 +01:00
Matteo Bruni
390ba2c338 d3dx9: Implement D3DXCreateCubeTexture. 2010-11-04 16:29:59 +01:00
Matteo Bruni
6933766531 d3dx9: Implement D3DXCheckCubeTextureRequirements. 2010-11-04 16:29:57 +01:00
Matteo Bruni
a875f38301 d3dx9: Implement D3DXFilterTexture for cube textures. 2010-11-04 16:29:52 +01:00
Matteo Bruni
550abd41a2 d3dx9: Fix D3DXFilterTexture return value. 2010-10-18 11:45:26 +02:00
Matteo Bruni
ebbf519b78 d3dx9: Search for a compatible pixel format in D3DXCheckTextureRequirements. 2010-10-18 11:45:21 +02:00
Owen Rudge
78bd619c7c d3dx9: Implement D3DXCreateTextureFromResource*. 2010-09-09 12:44:43 +02:00
Owen Rudge
3604671a3a d3dx9: Implement D3DXCreateTextureFromFileInMemoryEx. 2010-09-01 14:01:02 +02:00
Owen Rudge
ae695bdfaa d3dx9: Implement missing D3DXCreateTextureFromFile functions. 2010-08-31 12:10:45 +02:00
Francois Gouget
2f8f70bca7 d3dx9_36: Make {is,make}_pow2() static. 2010-08-26 13:40:34 +02:00
Owen Rudge
54f049a656 d3dx9: Add basic implementation of D3DXFilterTexture, plus tests. 2010-07-24 11:16:43 +02:00