Commit Graph

861 Commits

Author SHA1 Message Date
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
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
Christian Costa fcb9c5fadb d3dx9_36: Add stub for D3DXCleanMesh. 2012-09-24 16:38:16 +02:00
Francois Gouget ae3a919ba0 d3dx9_36/tests: Fix compilation on systems that don't support nameless structs or unions. 2012-09-24 10:03:37 +02:00
Rico Schüller 8fb16c955b d3dx9: Move transpose matrix into get_matrix(). 2012-09-14 11:52:02 +02:00
Rico Schüller 5b06a2d113 d3dx9: Move transpose matrix into set_matrix(). 2012-09-14 11:51:58 +02:00
Rico Schüller 26914eb337 d3dx9: Use set_number instead of get_bool/int/float. 2012-09-14 11:51:55 +02:00
Rico Schüller 823d1fbc38 d3dx9: Move bool cropping into helper function. 2012-09-06 15:45:14 +02:00
Rico Schüller 65c651e376 d3dx9: Move D3DXPARAMETER_TYPE conversion helpers to util. 2012-09-06 15:44:39 +02:00