Commit Graph

1269 Commits

Author SHA1 Message Date
Stefan Dösinger 9e3ef4abc6 d3dx9_36/tests: Fix calling convention specification.
Msvc wants __stdcall after the type, otherwise it generates an error.
2014-01-02 17:29:16 +01:00
Stefan Dösinger aa2baf8c58 d3dx9_36: Add explicit casts in type conversion functions. 2014-01-02 17:29:06 +01:00
Stefan Dösinger 6bc4ebd516 d3dx9_36: Floatify some constants. 2014-01-02 17:28:47 +01:00
Stefan Dösinger f06fc7f858 d3dx9_36: Use float math functions. 2014-01-02 17:28:24 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Stefan Dösinger 4734771f28 d3dx9_36: Make NUM_ELEM a define. 2014-01-01 20:45:29 +01:00
Stefan Dösinger dcb101666b d3dx9_36: Use SIZE_T for some iterators. 2014-01-01 20:45:28 +01:00
Stefan Dösinger ebfdcc9c9a d3dx9_36/tests: Use D3DX_PI instead of M_PI. 2014-01-01 20:45:27 +01:00
Stefan Dösinger f6c90ec59f d3dx9_36: Use D3DX_PI instead of M_PI. 2014-01-01 20:45:26 +01:00
Andrey Gusev 9970e29589 d3dx9_36: Add one more missing f suffix. 2013-12-20 17:09:12 +01:00
Stefan Dösinger af3a59cbd0 d3dx9_36: Add missing f suffixes. 2013-12-19 17:30:30 +01:00
Frédéric Delanoy 57d7f74d34 Assorted spelling fixes. 2013-11-21 19:44:46 +01:00
Rico Schüller c1a0fbd146 d3dx9/tests: Fix variable names. 2013-11-11 17:06:46 +01:00
Henri Verbeet 3e5dd54971 d3dx9/tests: Use explicit A calls. 2013-10-31 09:58:44 +01:00
Rico Schüller bc1d6e5098 d3dx9: Don't allocate the state parameter. 2013-10-07 14:44:35 +02:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Rico Schüller e615c67bc7 d3dx9: Handle FX/TX blobs in D3DXFindShaderComment(). 2013-09-30 20:35:03 +02:00
Henri Verbeet c174a993b0 d3dx9: Get rid of the SPRITE typedef. 2013-09-30 20:34:52 +02:00
Henri Verbeet be2e845cb3 d3dx9: Get rid of the SPRITEVERTEX typedef. 2013-09-27 10:33:45 +02:00
Henri Verbeet be1dbc0dbb d3dx9: Get rid of the ID3DXFileDataImpl typedef. 2013-09-27 10:33:44 +02:00
Henri Verbeet 38871d842f d3dx9: Get rid of the ID3DXFileEnumObjectImpl typedef. 2013-09-26 10:45:56 +02:00
Henri Verbeet 177aa5c26f d3dx9: Get rid of the ID3DXFileImpl typedef. 2013-09-26 10:45:54 +02:00
Rico Schüller f7ba8e1472 d3dx9: Use struct d3dx_object for objects. 2013-09-25 13:33:25 +02:00
Henri Verbeet 0f965d16f0 d3dx9: Get rid of the ID3DXSpriteImpl typedef. 2013-09-25 11:49:16 +02:00
Henri Verbeet 0a993f14b4 d3dx9: Get rid of the ID3DXSkinInfoImpl typedef. 2013-09-25 11:49:14 +02:00
Henri Verbeet 778b644fc6 d3dx9: Get rid of the ID3DXMeshImpl typedef. 2013-09-24 12:57:31 +02:00
Henri Verbeet ffc66f471c d3dx9: Get rid of the ID3DXLineImpl typedef. 2013-09-24 12:57:29 +02:00
Henri Verbeet 49a3dbc453 d3dx9: Avoid CONST. 2013-09-20 11:27:49 +02:00
Rico Schüller 196766cb77 d3dx9/tests: Add matrix column register count clamp test. 2013-09-19 09:30:56 +02:00
Rico Schüller ae95176c0d d3dx9: Clamp register count for D3DXPC_MATRIX_COLUMNS. 2013-09-19 09:30:54 +02:00
Stefan Dösinger 7aa17eaa5c d3dx9_36/tests: Create*TextureFromFileInMemory doesn't fail.
If the format is unsupported it picks a replacement format. Our d3dx9
cannot handle d3dx9 decompression yet, so mark the tests todo_wine in
this case.
2013-09-17 16:22:29 +02:00
Henri Verbeet 871967d0fb d3dx9: Avoid LPVOID. 2013-09-04 11:37:06 +02:00
Matteo Bruni 686f0a62df d3dx9/tests: Add some more tests for D3DX[Assemble|Preprocess]ShaderFromFile. 2013-09-03 16:58:39 +02:00
Matteo Bruni 613d27ebeb d3dx9: Use the ID3DXInclude object to open the initial file in D3DX[Assemble|Compile|Preprocess]ShaderFromFile. 2013-09-03 16:58:37 +02:00
Matteo Bruni 1f6173a69f d3dx9: Add / improve traces in some shader-related functions. 2013-09-03 16:58:34 +02:00
Henri Verbeet 76e35a2939 d3dx9: Avoid LPCVOID. 2013-09-03 16:58:18 +02:00
Henri Verbeet 77ee90b59f d3dx9: Avoid LPSTR. 2013-09-03 16:58:17 +02:00
Henri Verbeet 75511e351c d3dx9: Avoid LPCSTR. 2013-09-02 18:02:48 +02:00
Henri Verbeet 2a24b11af5 d3dx9: Avoid LPWSTR. 2013-09-02 18:02:46 +02:00
Henri Verbeet 82710124e3 d3dx9: Avoid LPCWSTR. 2013-08-30 11:19:05 +02:00
Henri Verbeet 7175367ad5 d3dx9: Avoid some needless casts. 2013-08-30 11:18:57 +02:00
Henri Verbeet d35c67becd d3dx9: Simplify D3DXCreateTextureFromResourceExW(). 2013-08-29 19:56:17 +02:00
Henri Verbeet 4b56eae0f1 d3dx9: Simplify D3DXCreateTextureFromResourceExA(). 2013-08-29 19:56:17 +02:00
Henri Verbeet 9595dd873e d3dx9: Simplify D3DXLoadSurfaceFromResourceW(). 2013-08-28 11:17:09 +02:00
Henri Verbeet d16402b10c d3dx9: Simplify D3DXLoadSurfaceFromResourceA(). 2013-08-28 11:17:09 +02:00
Henri Verbeet 4c850f0e79 d3dx9: Simplify D3DXGetImageInfoFromResourceW(). 2013-08-27 11:50:53 +02:00
Henri Verbeet aaff163ae0 d3dx9: Simplify D3DXGetImageInfoFromResourceA(). 2013-08-27 11:50:53 +02:00
Stefan Dösinger 421b7a17ad wined3d: Enforce volume mapping restrictions. 2013-08-26 19:01:23 +02:00
Henri Verbeet 34c7024790 d3dx9: Simplify D3DXCreateEffectCompilerFromResourceW(). 2013-08-26 10:50:51 +02:00
Henri Verbeet 1be05ff731 d3dx9: Simplify D3DXCreateEffectCompilerFromResourceA(). 2013-08-26 10:50:49 +02:00
Henri Verbeet 37d67eb629 d3dx9: Simplify D3DXCreateEffectFromResourceExW(). 2013-08-23 10:41:40 +02:00
Henri Verbeet f60b28138e d3dx9: Simplify D3DXCreateEffectFromResourceExA(). 2013-08-23 10:41:38 +02:00
Henri Verbeet 6ea59b9157 d3dx9: Get rid of the ID3DXMatrixStack_Vtbl forward declaration. 2013-08-22 10:26:53 +02:00
Henri Verbeet c2eabf9e68 d3dx9: Get rid of some unused vtbl forward declarations. 2013-08-22 10:26:51 +02:00
Henri Verbeet 1cb70eb07a d3dx9: ID3DXBaseEffectImpl doesn't need to be a COM implementation. 2013-08-21 12:13:56 +02:00
Henri Verbeet 3b4b61f03a d3dx9: Avoid LPD3DXMATRIX. 2013-08-21 12:13:56 +02:00
Rico Schüller e5a9dcf945 d3dx9: Introduce a helper function for the annotations. 2013-08-16 11:55:24 +02:00
Rico Schüller b9b6b0585f d3dx9/tests: Test all registers set by the constant table. 2013-08-02 11:38:51 +02:00
Rico Schüller fab44cbbfb d3dx9: Use d3dx_parameter instead of D3DXHANDLE. 2013-08-02 11:38:35 +02:00
Rico Schüller d3b4dc92d9 d3dx9: Warn when submitting invalid flags to ID3DXEffect::Begin(). 2013-08-02 11:37:25 +02:00
Rico Schüller 3ff2255a83 d3dx9: Track ID3DXEffect::Begin/End(). 2013-08-02 11:37:18 +02:00
Rico Schüller a6d3883211 d3dx9/tests: Add ID3DXConstantTable big vector test. 2013-07-29 15:01:42 +02:00
Rico Schüller faf7dd3131 d3dx9/tests: Add ID3DXConstantTable RegisterCount test for D3DXRS_INT4. 2013-07-29 15:01:40 +02:00
Rico Schüller 4dc11cc3aa d3dx9/tests: Add ID3DXConstantTable::SetDefaults() test. 2013-07-29 15:01:36 +02:00
Rico Schüller 1099bb5e76 d3dx9: Improve ID3DXConstantTable::SetDefaults(). 2013-07-29 15:01:31 +02:00
Rico Schüller c76f6085b2 d3dx9/tests: Add ID3DXConstantTable struct struct test. 2013-07-29 15:01:25 +02:00
Christian Costa a8728893b7 d3dx9_36: Release shader if getting constant table fails in D3DXCompileShader. 2013-07-29 14:11:08 +02:00
Rico Schüller b196d0ccdc d3dx9/tests: Add ID3DXConstantTable struct array test. 2013-07-27 11:49:27 -05:00
Rico Schüller cf5a2b6417 d3dx9/tests: Add ID3DXConstantTable struct test. 2013-07-27 11:49:16 -05:00
Rico Schüller bdec3f951b d3dx9: Add support for structs to ID3DXConstantTable. 2013-07-27 11:49:07 -05:00
Rico Schüller 6705073016 d3dx9/tests: Add ID3DXConstantTable matrix row array test. 2013-07-27 11:48:59 -05:00
Rico Schüller 4e925d7d31 d3dx9/tests: Add ID3DXConstantTable matrix row test. 2013-07-27 11:48:48 -05:00
Rico Schüller cb47245585 d3dx9: Use d3dx_pass instead of D3DXHANDLE. 2013-07-27 11:46:38 -05:00
Rico Schüller 695921564b d3dx9: Use d3dx_technique instead of D3DXHANDLE. 2013-07-27 11:46:35 -05:00
Rico Schüller 55a4be12f8 d3dx9: Fix initialization of D3DXPC_OBJECTs. 2013-07-27 11:46:29 -05:00
Rico Schüller b7702177bc d3dx9/tests: Add ID3DXConstantTable matrix column array test. 2013-07-24 11:10:58 -05:00
Rico Schüller 2bfd3e9867 d3dx9/tests: Add ID3DXConstantTable matrix column test. 2013-07-24 11:10:51 -05:00
Rico Schüller 787707025f d3dx9/tests: Add ID3DXConstantTable vector array test. 2013-07-24 11:10:44 -05:00
Rico Schüller 89ecbde31d d3dx9/tests: Add ID3DXConstantTable vector test. 2013-07-24 11:10:38 -05:00
Rico Schüller 833c0ce18d d3dx9/tests: Add ID3DXConstantTable scalar array test. 2013-07-24 11:10:32 -05:00
Rico Schüller 0a2085f502 d3dx9/tests: Add ID3DXConstantTable scalar test. 2013-07-22 17:17:29 +02:00
Rico Schüller 8231c8ef50 d3dx9: Improve ID3DXConstantTable::Set*(). 2013-07-22 17:17:15 +02:00
Rico Schüller 918abfef6a d3dx9: Merge get/is_valid_constant(). 2013-07-22 17:16:28 +02:00
Rico Schüller e6e09eb465 d3dx9: Improve shader constant table parsing. 2013-07-22 17:16:22 +02:00
Christian Costa 61bf3d45dc d3dx9_36: Show object number in traces. 2013-07-22 17:16:03 +02:00
Christian Costa a119f2666a d3dx9_36: Add trace to D3DAssembleShader and D3DCompileShader. 2013-07-22 17:16:03 +02:00
Christian Costa 582945faac d3dx9_36: Display bpp in decimal in traces. 2013-07-22 17:16:03 +02:00
Christian Costa c6106428f6 d3dxof: Add support for case sensitive legacy type indexColor. 2013-06-24 11:57:52 +02:00
Rico Schüller ee66470477 d3dx9: Apply rotationcenter only when a rotation is done. 2013-06-17 19:30:38 +02:00
Christian Costa fcb72f399d d3dx9_36: Set compilation_errors to NULL when no error encountered + tests. 2013-06-13 17:14:06 +02:00
Christian Costa 66414c46c9 d3dxof/tests: Add test for case sensitive 'indexColor' type. 2013-06-12 12:12:10 +02:00
Nozomi Kodama b3dff5b354 d3dx9: Fix the case output = input in D3DXVec3Cross. 2013-06-10 14:24:47 +02:00
Christian Costa cfe08e719b d3dx9_36: Simplify code + fix typo. 2013-06-07 12:26:15 +02:00
Christian Costa 550415ec78 d3dx9_36: Remove 'relay' in traces for functions that do not forward to another ones. 2013-06-04 10:14:05 +02:00
Christian Costa 539d28a112 d3dx9_36: Fix typo. 2013-06-04 10:13:56 +02:00
Christian Costa e558925d75 d3dx9_36: Implement skin mesh loading. 2013-05-28 19:46:42 +02:00
Christian Costa 31ae8b6a12 d3dx9_36: Port mesh code to use ID3DXFile instead of IDirectXFile and enable D3DXLoadSkinMeshFromXof. 2013-05-28 19:45:38 +02:00
Marcus Meissner 64fb92ab38 d3dx9_36: Allocate the right size (Coverity). 2013-05-27 19:02:25 +02:00
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 bdc5c3211c d3dx9_36: Add stub for DisassembleEffect. 2013-05-06 15:55:23 +02:00
Rico Schüller ae0d8b5e59 d3dx9: Remove unneeded variables. 2013-05-01 16:00:56 +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
Marcus Meissner 563f3cbc92 d3dx9_36: Use correct loop index (Coverity). 2013-04-30 11:48:50 +02:00
Christian Costa 9d18b3de14 d3dx9_36: Use more appropriate function names. 2013-04-26 16:28:02 +02:00
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
Michael Stefaniuc 938b62079c d3dx9_36: Remove left over "stub" from a TRACE calls. 2013-04-19 16:16:16 +02:00
Francois Gouget 2dc0235272 d3dx9_36: Add a trailing '\n' to a TRACE(). 2013-04-18 19:13:00 +02:00
Alexandre Julliard f02cdd877f Remove empty DLL_PROCESS_DETACH case statements. 2013-04-15 16:45:35 +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 e2d3553642 d3dx9: Floatify sqrt into sqrtf. 2013-04-09 12:24:18 +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 479195ea41 d3dx9: Save multiplications for better performance. 2013-03-07 17:35:40 +01:00
Nozomi Kodama 9085f1d27f d3dx9: Implement D3DXSHEvalConeLight. 2013-03-07 17:33:13 +01:00
Nozomi Kodama bb3549fc2f d3dx9: Explicit computations in D3DXMatrixInverse to speed them up. 2013-02-28 21:37:19 +01:00
Nozomi Kodama c66d9eb2fe d3dx9: Explicit computations in D3DXMatrixDeterminant to speed them up. 2013-02-28 21:37:18 +01:00
Rico Schüller a3277ed666 d3dx9: Fix typos. 2013-02-25 13:03:30 +01:00
Nozomi Kodama de852879d1 d3dx9: Avoid useless computations. 2013-02-20 20:43:46 +01:00
Nozomi Kodama f9347a8f0e d3dx9: Add a missing trace. 2013-02-20 20:43:40 +01:00
Nozomi Kodama bd59218140 d3dx9: Specify arguments in trace to ease debugging. 2013-02-20 20:43:35 +01:00
Nozomi Kodama 5038a7d915 d3dx9: Use const instead of CONST. 2013-02-14 17:32:22 +01:00
Michael Stefaniuc 20f1016bc8 d3dx9_36: Remove ERR() on HeapAlloc failure for small sizes known at compile time. 2013-02-07 15:48:26 +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
Christian Costa 8f6eee5a73 d3dx9_36: Implement ID3DXFileDataImpl_IsReference. 2013-01-22 12:14:14 +01:00
Christian Costa 5db342168d d3dx9_36: Implement ID3DXFileData_GetChildren and ID3DXFileData_GetChild. 2013-01-22 12:14:09 +01:00
Christian Costa 5880ff01be d3dx9_36: Fill children info into ID3DXFileData object. 2013-01-21 12:51:19 +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
Christian Costa 8aa700e7ba d3dx9_36: Initialize properly object in CreateEnumObject. 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 7c5517da6f d3dx9: Add support for D3DFMT_A16B16G16R16. 2013-01-16 12:20:27 +01:00
Rico Schüller 25ce3a4220 d3dx9: Add support for D3DFMT_A32B32G32R32F. 2013-01-16 12:20:23 +01:00
Christian Costa fc8dfe60ea d3dx9_36: Implement ID3DXFileDataImpl_GetId. 2013-01-14 11:04:08 +01:00
Christian Costa f8d908938a d3dx9_36: Implement ID3DXFileDataImpl_GetName. 2013-01-14 11:04:03 +01:00
Rico Schüller c1d1d74614 d3dx9: Use lowercase hexadecimal values. 2013-01-11 11:58:34 +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 8113346d3a d3dx9_36: Implement ID3DXFileDataImpl_GetType. 2013-01-10 12:23:40 +01:00
Christian Costa c5d96f40d2 d3dx9_36: Implement ID3DXFileEnumObjectImpl_GetChildren and ID3DXFileEnumObjectImpl_GetChild. 2013-01-10 12:23:36 +01:00
Christian Costa ba6932459a d3dx9_36: Finish implementation of ID3DXFileImpl_CreateEnumObject and add stubbed interface for ID3DXFileData. 2013-01-09 17:39:35 +01:00
Christian Costa 5c5deb34c8 d3dx9_36: Implement partially ID3DXFileImpl_CreateEnumObject with stubbed ID3DXFileEnumObject interface. 2013-01-08 19:08:48 +01:00
Rico Schüller 7ff6afd091 d3dx9: Remove unused variable. 2013-01-08 16:35:33 +01:00
Rico Schüller e7cd340e8a d3dx9: Constify some variables. 2013-01-08 16:35:33 +01:00
Rico Schüller 87ef00fc34 d3dx9: Use sizeof variable, not type. 2013-01-08 16:35:33 +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
Andrew Talbot 1a45569f72 d3dx9_36: Avoid signed-unsigned integer comparisons. 2013-01-04 11:59:32 +01:00
Andrew Talbot 2cf00836ef d3dx9_36: Avoid signed-unsigned integer comparisons. 2013-01-03 11:52:08 +01:00
Christian Costa dabde6a04f d3dx9_36: Check proper signature for DIB files. 2012-12-27 18:47:54 +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
Rico Schüller 2cb1372350 d3dx9: Improve D3DXMatrixRotationYawPitchRoll(). 2012-12-05 12:44:47 +01:00
Henri Verbeet c4ef74bd19 d3dx9: Avoid LPD3DXALLOCATEHIERARCHY. 2012-12-05 12:43:31 +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 8678e890e6 d3dx9: Avoid LPD3DXEFFECTPOOL. 2012-11-30 11:42:32 +01:00
Henri Verbeet 8c94757c2b d3dx9: Avoid LPD3DXMATRIXSTACK. 2012-11-29 00:16:38 +01:00
Henri Verbeet d480f9e1a8 d3dx9: Avoid LPD3DXMESH. 2012-11-29 00:16:26 +01:00
Henri Verbeet 361cf636cc d3dx9: Avoid LPD3DXSKININFO. 2012-11-28 14:42:03 +01:00
Henri Verbeet 69eeb35e51 d3dx9: Avoid LPD3DXINCLUDE. 2012-11-26 11:50:15 +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
Nozomi Kodama 1ca9ed90e3 d3dx9_36: Implement handy computations for small orders in D3DXSHRotate. 2012-11-13 19:25:29 +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
André Hentschel 7d1fa526e6 d3dx9_36: D3DXCreateFontIndirectW seems no longer to be a stub. 2012-11-05 11:40:05 +01:00
André Hentschel e15618a896 d3dx9_36: Return on error (coverity). 2012-11-05 11:14:17 +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
Józef Kucia d1a99feee6 d3dx9: Correct the FIXME message in ID3DXFont::GetGlyphData. 2012-10-29 10:47:04 +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
Henri Verbeet 4ba6974345 d3dx9: Avoid LPDIRECT3DDEVICE9. 2012-10-29 10:47:03 +01:00
André Hentschel 904cdc46eb d3dx9_36: Free object on error (coverity). 2012-10-26 11:48:18 +02:00
Henri Verbeet fff88819d0 d3dx9: Avoid LPDIRECT3DVERTEXBUFFER9. 2012-10-25 22:27:37 +02:00
Henri Verbeet d9c68bd191 d3dx9: Avoid LPDIRECT3DINDEXBUFFER9. 2012-10-25 22:27:34 +02: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
André Hentschel 8f6b6303ec d3dx9_36: Fix free of address-of expression (coverity). 2012-10-25 11:47:43 +02:00
André Hentschel 472010911d d3dx9_36/tests: Fix sizeof to be more portable (coverity). 2012-10-24 11:33:40 +02:00
Henri Verbeet 80382486aa d3dx9: Avoid LPDIRECT3DVOLUMETEXTURE9. 2012-10-24 11:24:31 +02:00
Henri Verbeet 0c84de4455 d3dx9: Avoid LPDIRECT3DVERTEXSHADER9. 2012-10-24 11:24:28 +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
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
Józef Kucia 84935d4312 d3dx9: Introduce a separate pixel format type for compressed pixel formats. 2012-10-23 12:07:47 +02:00
Józef Kucia cdc9f283fb d3dx9/tests: Only release a texture when it was created. 2012-10-23 12:07:39 +02:00
Rico Schüller e74a99b71a d3dx9: Fix calculation when in and out overlap in D3DXSHRotateZ(). 2012-10-18 19:34:12 +02:00
Nozomi Kodama 80b73ffcef d3dx9_36: Remove useless casts. 2012-10-11 21:20:27 +02:00
Nozomi Kodama 46fca31c4f d3dx9_36/tests: Remove useless casts. 2012-10-03 13:10:46 +02:00
Nozomi Kodama 3d5c61cdcd d3dx9_36/tests: Relax an equality between floats. 2012-10-03 13:10:45 +02:00
Nozomi Kodama 9c823d04b6 d3dx9_36/tests: Avoid a potential out of bound access. 2012-10-03 13:10:45 +02:00
Nozomi Kodama 584c24050e d3dx9_36/tests: Speed up some tests. 2012-10-03 13:10:45 +02:00
Nozomi Kodama b8cfe42326 d3dx9_36: Implement D3DXSHMultiply4. 2012-10-03 13:10:45 +02:00
Rico Schüller ec9db0a11f d3dx9: Fix D3DXMatrixAffineTransformation() and add some tests. 2012-10-01 18:49:11 +02:00
Rico Schüller effdcf98d6 d3dx9: Improve traces for D3DXSHMultiply2/3(). 2012-09-28 11:27:40 +02:00
Rico Schüller 3e24dc642b d3dx9: Use float functions in D3DXMatrixRotationAxis(). 2012-09-28 11:27:34 +02:00
Rico Schüller 945e81b341 d3dx9: Improve D3DXMatrixAffineTransformation(). 2012-09-28 11:27:21 +02:00
Rico Schüller c131bee4fc d3dx9: Improve D3DXMatrixAffineTransformation2D(). 2012-09-28 11:27:13 +02:00
Rico Schüller aa344fc88d d3dx9: Use float function in D3DXFresnelTerm(). 2012-09-28 11:27:08 +02:00
Rico Schüller e420409b8d d3dx9: Use float function in D3DXPlaneNormalize(). 2012-09-28 11:27:01 +02:00
Rico Schüller ef65fddaf9 d3dx9: Use float functions in D3DXQuaternionExp(). 2012-09-27 13:12:57 +02:00
Rico Schüller 9a281e5dd2 d3dx9: Use float functions in D3DXQuaternionRotationMatrix(). 2012-09-27 13:12:48 +02:00
Rico Schüller e921953374 d3dx9: Use float functions in D3DXQuaternionLn(). 2012-09-27 13:12:44 +02:00
Rico Schüller 5accb12c12 d3dx9: Avoid variable assignment in D3DXQuaternionNormalize(). 2012-09-26 14:40:53 +02:00
Rico Schüller db8df8bc7c d3dx9: Use float functions in D3DXQuaternionRotationAxis(). 2012-09-26 14:40:53 +02:00
Rico Schüller 7d75ad8230 d3dx9: Use float functions in D3DXQuaternionRotationYawPitchRoll(). 2012-09-26 14:40:52 +02:00
Rico Schüller ce319e9d53 d3dx9: Use float functions in D3DXQuaternionSlerp(). 2012-09-26 14:40:52 +02:00
Rico Schüller 398eb27538 d3dx9: Use float functions in D3DXSHRotateZ(). 2012-09-26 14:40:51 +02:00
Rico Schüller 82a800c128 d3dx9: Improve RegisterCount calculation for D3DXRS_INT4/BOOL. 2012-09-26 14:40:51 +02:00
Rico Schüller 3eb26010d8 d3dx9: Fix shader constant byte calculation. 2012-09-26 14:40:50 +02:00
Rico Schüller e817bc3f04 d3dx9: Handle D3DXPT_VOID in get_float/bool/int(). 2012-09-26 14:40:50 +02:00
Francois Gouget 91c7dca35f d3dx9_36/tests: Remove spaces before '\n's in ok() calls. 2012-09-26 14:40:49 +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
Detlef Riekenberg a695062447 d3dx9_36/tests: Fix copy & paste error in ok messages. 2012-09-26 10:59:00 +02:00
Nozomi Kodama 1f85d64b19 d3dx9: Implement D3DXSHRotate. 2012-09-25 11:39:28 +02:00
Nozomi Kodama c69a496461 d3dx9: Implement D3DXSHEvalDirectionalLight. 2012-09-25 11:38:53 +02:00
Nozomi Kodama 7c5d93b504 d3dx9: Simplify D3DXVector*Normalize. 2012-09-25 11:32:45 +02:00
Nozomi Kodama 10d1253971 d3dx9: Simplify D3DXComputeBoundingSphere. 2012-09-25 11:32:15 +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 94ab09a226 d3dx9/tests: Add a more detailed test for saving a surface to a DDS file. 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