Commit Graph

418 Commits

Author SHA1 Message Date
Christian Costa edb01d2662 d3dx9_36: Add support for D3DFMT_P8 and conversion to other ARGB formats + tests. 2013-05-23 20:51:23 +02:00
Christian Costa 635f76b085 d3dx9_36: Fix ID3DXFileDataImpl_GetName + add some tests. 2013-05-16 12:11:00 +02:00
Christian Costa a131d714ff d3dx9_36: Fix D3DXCheckTextureRequirements to return D3DFMT_A8R8G8B8 when d3d doesn't support D3DFMT_P8 + tests. 2013-05-14 22:00:14 +02:00
Christian Costa aa1d24f09b d3dx9_36: Report D3DFMT_P8 for image with indexed colors in D3DGetImageInfoFromFileInMemory. 2013-05-14 22:00:06 +02:00
Christian Costa 2fc4b953d8 d3dx9_36: Add tests for D3DXGetImageInfoFromFileInMemory with bmp with 1 to 8 bpp. 2013-05-10 17:53:09 +02:00
Christian Costa 5966a087d3 d3dx9_36/tests: Add dump function for X files. 2013-05-10 17:53:08 +02:00
Christian Costa 1bd5bfebae d3dxof: Only parse templates for object files, but with RegisterTemplates parse the whole file. 2013-04-30 12:32:41 +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
Matteo Bruni 3fd07694c4 d3dx9/tests: Don't use an arbitrary number in relative_error macro. 2013-04-10 11:43:27 +02:00
Matteo Bruni 7802ab15ce d3dx9/tests: Raise admitted error a bit in D3DXSHEvalSphericalLight tests. 2013-04-10 11:43:14 +02:00
Nozomi Kodama 574d4cfba9 d3dx9: Floatify fabs into fabsf. 2013-04-09 12:24:10 +02:00
Nozomi Kodama 6d6603b495 d3dx9: Implement D3DXSHEvalHemisphereLight. 2013-04-04 19:27:52 +02:00
Nozomi Kodama 6247dae2ac d3dx9: Implement D3DXSHEvalSphericalLight. 2013-04-04 19:27:23 +02:00
Nozomi Kodama 9731752831 d3dx9: Do not use relative error for small numbers. 2013-04-04 19:27:06 +02:00
Nozomi Kodama 9085f1d27f d3dx9: Implement D3DXSHEvalConeLight. 2013-03-07 17:33:13 +01:00
Nozomi Kodama 5038a7d915 d3dx9: Use const instead of CONST. 2013-02-14 17:32:22 +01:00
Michael Stefaniuc 18b2a38ba2 d3dx9_36/tests: Use assignment instead of memcpy to copy a struct. 2013-01-24 15:38:42 +01:00
Alexandre Julliard d72394e7fa d3dx9_36/tests: Remove useless casts. 2013-01-18 13:28:56 +01:00
Christian Costa 64a88a2d83 d3dx9_36: Make variables static in xfile tests. 2013-01-18 13:28:56 +01:00
Christian Costa 45e43dc5d0 d3dx9_36: Implement ID3DXFileDataImpl_Lock and ID3DXFileDataImpl_Unlock + tests. 2013-01-18 13:28:55 +01:00
Rico Schüller 2fb6dcb3f2 d3dx9/tests: Use D3DXFloat16To32Array() instead of a custom function. 2013-01-17 12:16:13 +01:00
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 6cb4301021 d3dx9: Handle invalid byte code in D3DXGetShaderConstantTableEx(). 2013-01-08 16:35:32 +01:00
Rico Schüller a847b9dddb d3dx9: Always set the table = NULL in D3DXGetShaderConstantTableEx(). 2013-01-08 16:35:32 +01:00
Rico Schüller bc4a4f5f3b d3dx9: Handle invalid byte code in D3DXFindShaderComment(). 2013-01-08 16:35:31 +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
Francois Gouget a41f63dfcb d3dx9_36: Make error_dxfile_to_d3dxfile() and test_templates() static. 2013-01-07 13:38:21 +01:00
Francois Gouget f963f93964 Assorted spelling fixes. 2013-01-07 11:10:40 +01:00
Christian Costa b742b98c55 d3dx9_36: Implement ID3DXFileImpl_RegisterTemplates + tests. 2013-01-04 12:14:07 +01:00
Christian Costa 95433ccd3c d3dx9_36: Implement D3DXFileCreate with stubbed ID3DXFile interface + basic tests. 2012-12-27 18:47:54 +01:00
Francois Gouget 7b2d297d3e d3dx9_36/tests: Use software vertex processing so the tests can run on Intel GM950 graphics cards. 2012-12-14 17:37:43 +01:00
Francois Gouget a20db48dae d3dx9_36/tests: Skip some tests when DXT5 textures are not supported. 2012-12-14 11:49:54 +01:00
Henri Verbeet 36ac98df73 d3dx9: Avoid LPD3DXBUFFER. 2012-12-03 12:37:26 +01:00
Henri Verbeet d856b3a6d2 d3dx9: Avoid LPD3DXLINE. 2012-12-03 12:37:20 +01:00
Detlef Riekenberg 8b98b6a532 d3dx9_36/tests: Fix broken line test. 2012-11-30 11:43:38 +01:00
Henri Verbeet c109249445 d3dx9: Avoid LPD3DXEFFECTSTATEMANAGER. 2012-11-30 11:42:37 +01:00
Henri Verbeet 361cf636cc d3dx9: Avoid LPD3DXSKININFO. 2012-11-28 14:42:03 +01:00
Henri Verbeet 63acbcbf8a d3dx9: Avoid LPD3DXCONSTANTTABLE. 2012-11-23 14:40:24 +01:00
Nozomi Kodama 965e27149a d3dx9_36: Fix the case out = in for D3DXSHRotate. 2012-11-13 19:27:04 +01:00
Józef Kucia 3e264ced0f d3dx9: Handle NULL arguments in D3DXVec3Unproject. 2012-11-08 17:21:18 +01:00
Józef Kucia a5d5650730 d3dx9: Handle NULL arguments in D3DXVec3Project. 2012-11-08 17:21:15 +01:00
Nozomi Kodama c59efbed77 d3dx9_36: Add tests for D3DXSHRotateZ. 2012-11-01 19:14:53 +01:00
Józef Kucia 7bfd634286 d3dx9: Handle NULL viewport in D3DXVec3Unproject. 2012-10-29 10:47:04 +01:00
Henri Verbeet 4ba6974345 d3dx9: Avoid LPDIRECT3DDEVICE9. 2012-10-29 10:47:03 +01:00
André Hentschel 472010911d d3dx9_36/tests: Fix sizeof to be more portable (coverity). 2012-10-24 11:33:40 +02:00
Henri Verbeet 4704e78337 d3dx9: Avoid LPDIRECT3DPIXELSHADER9. 2012-10-23 12:11:30 +02:00
Józef Kucia 0146b5568a d3dx9/tests: Add a simple test for filling compressed textures. 2012-10-23 12:08:10 +02:00
Józef Kucia 15d642803b d3dx9/tests: Add tests for filling floating-point textures. 2012-10-23 12:08:06 +02:00