Commit Graph

1059 Commits

Author SHA1 Message Date
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
Rico Schüller 6268414cab d3dx9: Remove ID3DXMatrixStackImpl typedef. 2012-09-04 15:04:40 +02:00
Rico Schüller 27b7fdf663 d3dx9: Use sizeof variable instead of type. 2012-09-04 15:04:34 +02:00
Rico Schüller 7d08ae9b29 d3dx9: Make '\0' the default case in get_constant_by_name(). 2012-09-04 15:04:23 +02:00
Rico Schüller b999ab16b3 d3dx9: Fix ID3DXConstantTable::GetConstantElement() for structs. 2012-09-04 15:04:09 +02:00
Rico Schüller 792cd67bf1 d3dx9: Don't use memcpy in ID3DXConstantTable::GetDesc(). 2012-09-03 15:52:07 +02:00
Rico Schüller 587468dc6d d3dx9: Remove FormatType typedef. 2012-09-03 15:52:01 +02:00
Rico Schüller 8da8811615 d3dx9: Remove PixelFormatDesc typedef. 2012-09-03 15:51:57 +02:00
Rico Schüller bfec155345 d3dx9: Improve traces in set_number(). 2012-08-29 11:43:39 +02:00
Rico Schüller 396af0dac3 d3dx9: Optimize set_matrix(). 2012-08-29 11:43:20 +02:00
Rico Schüller 77632f0880 d3dx9: Avoid desc copy in ID3DXConstantTable::GetSamplerIndex(). 2012-08-28 20:24:35 +02:00
Rico Schüller edb802a847 d3dx9: Remove min() in set_matrix_array(), uses always the desc value. 2012-08-28 20:24:34 +02:00
Rico Schüller b5b0520723 d3dx9: Handle D3DXPC_VECTOR in set_matrix_array(). 2012-08-28 20:24:34 +02:00
Rico Schüller a4dde8151b d3dx9: Improve set_matrix_array(). 2012-08-28 20:24:33 +02:00
Rico Schüller 97ef9f9322 d3dx9: Add some traces to D3DXLoadSurfaceFromMemory(). 2012-08-28 20:24:18 +02:00
Jacek Caban 434b696c46 Fixed remaining wrong iface call helpers. 2012-08-28 14:41:12 +02:00
Rico Schüller 42d28e0d34 d3dx9/tests: Fix typo. 2012-08-27 13:42:31 +02:00
Rico Schüller 8c8b4c356c d3dx9: Remove "too many constants" fixme. 2012-08-27 13:42:31 +02:00
Rico Schüller 3dc48141d1 d3dx9: Add debug helper function for RegisterSet. 2012-08-27 13:42:30 +02:00
Rico Schüller 24ab70906b d3dx9: Use debug_d3dxparameter_class/type in traces. 2012-08-27 13:42:30 +02:00
Rico Schüller 68508ed581 d3dx9/tests: Add tests for ID3DXConstantTable::GetConstant/ByName/Element(). 2012-08-27 13:42:29 +02:00
Rico Schüller fdbcbb0c91 d3dx9/tests: Add tests for ID3DXConstantTable::GetConstantDesc(). 2012-08-27 13:42:20 +02:00
Rico Schüller 053e5b59ec d3dx9: Fix RegisterCount calculation. 2012-08-27 11:33:11 +02:00
Rico Schüller 4d59b503de d3dx9: Implement ID3DXConstantTable::GetConstantElement(). 2012-08-27 11:32:52 +02:00
Rico Schüller fa7422bc4e d3dx9: Improve ID3DXConstantTable::GetConstantDesc(). 2012-08-27 11:32:47 +02:00
Rico Schüller ea4f402164 d3dx9: Improve ID3DXConstantTable::GetConstant(). 2012-08-27 11:32:42 +02:00
Rico Schüller 2204986797 d3dx9: Improve ID3DXConstantTable::GetConstantByName(). 2012-08-27 11:32:38 +02:00
Rico Schüller 1278843643 d3dx9: Improve is_valid_constant(). 2012-08-24 11:13:52 +02:00
Rico Schüller b565e8fb4f d3dx9: Parse structs and sub constants in ID3DXConstantTable. 2012-08-24 11:12:43 +02:00
Rico Schüller 8f83681723 d3dx9: Don't use an index as variable handle, it's not useable for subvariables. 2012-08-24 11:12:36 +02:00
Rico Schüller 0968331524 d3dx9: Add a fixme for flags in D3DXGetShaderConstantTableEx(). 2012-08-24 10:26:08 +02:00
Rico Schüller 6676a729b4 d3dx9: Remove ctab_constant typedef. 2012-08-24 10:26:04 +02:00
Francois Gouget e282d418e3 d3dx9_36: Add a trailing '\n' to a couple of Wine traces. 2012-08-21 17:47:49 +02:00
Józef Kucia cda7633775 d3dx9: Implement ID3DXConstantTable::SetMatrixTransposePointerArray. 2012-08-21 17:47:43 +02:00
Józef Kucia 9fec159abc d3dx9: Implement ID3DXConstantTable::SetMatrixPointerArray. 2012-08-21 17:47:41 +02:00
Józef Kucia 51f4f01308 d3dx9: Implement ID3DXConstantTable::SetMatrixTranspose. 2012-08-21 17:47:40 +02:00
Józef Kucia edbd09fb45 d3dx9: Implement ID3DXConstantTable::SetMatrixTransposeArray. 2012-08-21 17:47:39 +02:00
Józef Kucia aaac25dc67 d3dx9: ID3DXConstantTable::SetFloat shouldn't change the value of matrix and vector constants. 2012-08-21 17:47:37 +02:00
Józef Kucia 2f73fd6ed5 d3dx9: ID3DXConstantTable::SetVector shouldn't change the value of matrix constants. 2012-08-21 17:47:36 +02:00
Józef Kucia 978971e1ac d3dx9: ID3DXConstantTable::SetMatrix should set scalar constants. 2012-08-21 17:47:34 +02:00
Rico Schüller 77993a610e d3dx9: Avoid TRUE : FALSE conditional expression. 2012-08-21 17:32:11 +02:00
Rico Schüller becf83fd86 d3dx9: Remove not needed TRACE. 2012-08-21 17:32:02 +02:00
Rico Schüller 892308fdb6 d3dx9: Identify D3DTSS_CONSTANT and FVF states. 2012-08-21 17:31:58 +02:00
Rico Schüller f9a4a9db1b d3dx9: Don't double check the technique. 2012-08-21 17:31:54 +02:00
Rico Schüller 98d196a808 d3dx9/tests: Add variable name test. 2012-08-20 14:58:45 +02:00
Rico Schüller c1193ab79b d3dx9: Move technique name handling to technique handle validation. 2012-08-20 14:58:39 +02:00
Rico Schüller 05818a3056 d3dx9: Use a separate function for the technique name. 2012-08-20 14:58:34 +02:00
Rico Schüller 9c1c964139 d3dx9: Silence missing function handling in the effect interface. 2012-08-20 14:58:30 +02:00
Rico Schüller 24ee16de09 d3dx9: Make annotation handling more generic for techniques and passes. 2012-08-20 14:58:22 +02:00
Rico Schüller 607c76a165 d3dx9: Improve check for empty braces for elements. 2012-08-20 14:58:10 +02:00
Rico Schüller 07ae14ad4c d3dx9: Return NULL if name is not given. 2012-08-20 14:58:05 +02:00
Józef Kucia b31b9864d9 d3dx9: Fix ID3DXConstantTable::SetMatrix. 2012-08-16 19:37:09 +02:00
Józef Kucia 53ce2a240b d3dx9: Fix ID3DXConstantTable::SetVector. 2012-08-16 19:37:04 +02:00
Józef Kucia 5fd7d9826c d3dx9/tests: Add tests for ID3DXConstantTable::SetValue. 2012-08-16 19:37:00 +02:00
Józef Kucia c2c9959bb8 d3dx9: Implement ID3DXConstantTable::SetValue. 2012-08-16 19:36:54 +02:00
Józef Kucia 6fff4b9e87 d3dx9/tests: Add tests for setting matrix shader constants. 2012-08-16 19:36:47 +02:00
Józef Kucia fbba743484 d3dx9: Implement ID3DXConstantTable::SetBoolArray. 2012-08-16 19:36:39 +02:00
Józef Kucia d2bbbc712e d3dx9: Implement ID3DXConstantTable::SetBool. 2012-08-16 19:36:28 +02:00
Józef Kucia 35dd7034cf d3dx9/tests: Add tests for ID3DXConstantTable::SetDefaults. 2012-08-14 12:48:01 +02:00
Józef Kucia 367ff5efc9 d3dx9/tests: Add tests for constant tables with default values. 2012-08-14 12:48:00 +02:00
Józef Kucia fea0b7dcbe d3dx9: Implement ID3DXConstantTable::SetDefaults. 2012-08-14 12:48:00 +02:00
Józef Kucia 711ee8a792 d3dx9: Correctly handle constants without default values in D3DXGetShaderConstantTableEx. 2012-08-14 12:48:00 +02:00
Józef Kucia e67920f12f d3dx9: Introduce a helper function for setting float shader constants. 2012-08-14 12:47:59 +02:00
Józef Kucia c9f9025633 d3dx9: Introduce helper functions to operate on constant handles. 2012-08-14 12:47:59 +02:00
Detlef Riekenberg feea459238 d3dx9_36/tests: Fix failures on vista x64. 2012-08-14 11:57:57 +02:00
Józef Kucia dcc09efe80 d3dx9/tests: Add cube texture tests for ID3DXRenderToEnvMap. 2012-08-13 17:28:12 +02:00
Józef Kucia 5a99be321b d3dx9/tests: Add basic tests for ID3DXRenderToEnvMap. 2012-08-13 17:28:09 +02:00
Józef Kucia 17d92f3b8f d3dx9: Implement rendering to cube textures in ID3DXRenderToEnvMap. 2012-08-13 17:28:05 +02:00
Józef Kucia 8c4adc0617 d3dx9: Introduce separate functions for restoring and capturing device state. 2012-08-13 17:28:00 +02:00
Józef Kucia c51bf7b082 d3dx9/tests: Clean up device state after tests. 2012-08-13 17:27:54 +02:00
Rico Schüller c178b61bb9 d3dx9/tests: Check all elements in the effect parameter value test. 2012-08-13 11:51:18 +02:00
Rico Schüller 3bd55d0b62 d3dx9/tests: Reduce effect parameter value test count. 2012-08-13 11:51:11 +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
Nozomi Kodama c7bf5e09d5 d3dx9_36: Add more traces. 2012-07-23 12:33:25 +02:00
Nozomi Kodama 3c278d7ec3 d3dx9_36: Add some traces. 2012-07-20 13:59:04 +02:00
Nozomi Kodama f5714cccbd d3dx9_36: Implementation of D3DXSHRotateZ. 2012-07-19 17:02:01 +02:00
Józef Kucia ffe36a3894 d3dx9: Implement volume texture filtering in D3DXFilterTexture. 2012-07-16 16:56:17 +02:00
Józef Kucia e8bfaf1727 d3dx9: Use structure to pass volume size to pixel format conversion functions. 2012-07-16 16:56:08 +02:00
Józef Kucia 29acc31506 d3dx9: Implement point filtering for volume textures. 2012-07-16 16:55:56 +02:00
Józef Kucia 5d4bc53343 d3dx9: Implement pixel format conversion for volume textures. 2012-07-16 16:55:48 +02:00
Nozomi Kodama c957f8a921 d3dx9_36: Implementation of D3DXSHEvalDirection. 2012-07-16 16:28:47 +02:00
Nozomi Kodama f757f3fb7d d3dx9: Implementation of D3DXSHMultiply2. 2012-07-16 14:33:43 +02:00
Rico Schüller e0d5c35054 d3dx9/tests: Fix array increment in SetMatrix*PointerArray() test. 2012-07-10 11:16:44 -05:00
Rico Schüller 617a2ccee6 d3dx9/tests: Add effect parameter value GetMatrixTransposePointerArray() test. 2012-07-10 11:16:39 -05:00
Rico Schüller a7f1d93f01 d3dx9/tests: Add effect parameter value GetMatrixPointerArray() test. 2012-07-10 11:16:33 -05:00
Rico Schüller 9428317336 d3dx9: Implement ID3DXBaseEffect::GetMatrixTransposePointerArray(). 2012-07-10 11:16:24 -05:00
Rico Schüller d0fd8f4d88 d3dx9: Implement ID3DXBaseEffect::GetMatrixPointerArray(). 2012-07-10 11:16:16 -05:00
Józef Kucia b267cc2927 d3dx9: Implement D3DXLoadVolumeFromFile. 2012-07-09 15:44:17 -04:00
Józef Kucia f5fd7fe3e1 d3dx9/tests: Add tests for D3DXLoadVolumeFromFileInMemory. 2012-07-09 15:44:08 -04:00
Józef Kucia 18a2dde127 d3dx9: Implement D3DXLoadVolumeFromFileInMemory. 2012-07-09 15:44:01 -04:00
Józef Kucia 83c7fed1b0 d3dx9: Fix D3DXLoadVolumeFromVolume so it works for subsets of volumes. 2012-07-09 15:43:50 -04:00
Józef Kucia 0ad6af9caa d3dx9: Validate the size of a volume texture in D3DXGetImageInfoFromFile. 2012-07-09 15:43:42 -04:00
Rico Schüller 18126eeb4f d3dx9/tests: Add effect parameter value SetMatrixTransposePointerArray() test. 2012-07-03 14:56:18 +02:00
Rico Schüller 1ae494a9bb d3dx9/tests: Add effect parameter value SetMatrixPointerArray() test. 2012-07-03 14:56:13 +02:00
Rico Schüller 929c669b4f d3dx9: Implement ID3DXBaseEffect::SetMatrixTransposePointerArray(). 2012-07-03 14:56:08 +02:00
Rico Schüller e5953b6b17 d3dx9: Implement ID3DXBaseEffect::SetMatrixPointerArray(). 2012-07-03 14:56:01 +02:00
Francois Gouget 691b9b6443 d3dx9_36/tests: Add a trailing '\n' to ok() calls. 2012-07-03 12:03:42 +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 9e262e1a9b d3dx9: Implement D3DXLoadVolumeFromVolume. 2012-07-02 11:58:53 +02:00
Józef Kucia 09519eece1 d3dx9/tests: Add tests for D3DXLoadVolumeFromMemory. 2012-07-02 11:58:45 +02:00
Józef Kucia ee44f33e85 d3dx9: Implement D3DXLoadVolumeFromMemory. 2012-07-02 11:58:21 +02:00
Nozomi Kodama e3888ec87c d3dx9_36: Implementation of D3DXSHScale. 2012-06-29 20:41:47 +02:00
Nozomi Kodama b56227cbf1 d3dx9_36: Implementation of D3DXSHDot. 2012-06-28 11:35:25 +02:00
Francois Gouget b2e3e2e943 d3dx9_36/tests: Simplify test_D3DXSHMultiply3(). 2012-06-25 10:33:30 +02:00
Józef Kucia 95b822d672 d3dx9/tests: Improve test failure messages for check_dds_pixel_format. 2012-06-19 11:12:39 +02:00
Józef Kucia 217c8b947e d3dx9: Recognize X8B8G8R8 pixel format in DDS files. 2012-06-19 11:12:34 +02:00
Józef Kucia 720dfb9b95 d3dx9/tests: Add tests for ID3DXFont::GetGlyphData. 2012-06-19 11:12:17 +02:00
Józef Kucia 4f68916600 d3dx9/tests: Add tests for ID3DXFont::PreloadText. 2012-06-19 11:12:11 +02:00
Józef Kucia caf1c1a775 d3dx9: Get rid of ID3DXFontImpl. 2012-06-19 11:12:02 +02:00
Nozomi Kodama 5523820b81 d3dx9_36: Recognize A8B8G8R8 format. 2012-06-18 10:57:04 +02:00
Nozomi Kodama 60a0fb30df d3dx9_36: Implementation of D3DXSHMultiply3. 2012-06-18 10:56:48 +02:00
Nozomi Kodama ed7c28353d d3dx9_36: Implementation of D3DXQuaternionSquadSetup. 2012-06-14 19:16:40 +02:00
Nozomi Kodama 4099eb8bbb d3dx9_36: D3DXQuaternionLn computes as if the norm of the input is 1. 2012-06-13 14:50:25 +02:00
Francois Gouget bebcce32b0 d3dx9_36/tests: Make a couple of test functions static. 2012-06-12 11:11:36 +02:00
Józef Kucia 0e532633e3 d3dx9/tests: Use inline functions instead of check_pixel_{1bpp, 2bpp, 4bpp} macros. 2012-06-11 12:37:40 +02:00
Józef Kucia cda4738f52 d3dx9/tests: Improve test failure messages for check_{ref, release}. 2012-06-11 12:37:30 +02:00
Józef Kucia 35c13b0879 d3dx9: Add ID3DXRenderToEnvMap interface stub. 2012-06-11 12:37:22 +02:00
Józef Kucia f072404f61 d3dx9/tests: Add tests for D3DXCreateRenderToEnvMap. 2012-06-11 12:37:16 +02:00
Józef Kucia cda45bca92 d3dx9/tests: Add tests for device state changes for ID3DXRenderToSurface interface. 2012-06-07 21:42:49 +02:00
Józef Kucia bccda19e8f d3dx9/tests: Add tests for ID3DXRenderToSurface interface. 2012-06-07 21:42:43 +02:00
Józef Kucia c0e583af6d d3dx9: Implement ID3DXRenderToSurface::BeginScene and ID3DXRenderToSurface::EndScene. 2012-06-07 21:42:36 +02:00
Józef Kucia de1f2ffd52 d3dx9: Implement ID3DXRenderToSurface::GetDevice. 2012-06-06 11:56:18 +02:00
Józef Kucia 0ed3eb0120 d3dx9: Implement ID3DXRenderToSurface::GetDesc. 2012-06-06 11:56:14 +02:00
Józef Kucia 5c6438e834 d3dx9: Add ID3DXRenderToSurface interface stub. 2012-06-06 11:56:09 +02:00
Józef Kucia 4200198355 d3dx9/tests: Add basic tests for D3DXCreateRenderToSurface. 2012-06-06 11:55:56 +02:00
Józef Kucia ad5a00b7f8 d3dx9: Add stub for D3DXCreateRenderToSurface. 2012-06-06 11:55:41 +02:00
Józef Kucia 6953865e8d d3dx9/tests: Fix indentation. 2012-06-06 11:55:01 +02:00
Józef Kucia 6fe841edde d3dx9/tests: Add tests for loading surfaces from non-lockable render targets. 2012-06-06 11:54:54 +02:00
Józef Kucia cbb9002aa6 d3dx9/tests: Add tests for DDS header handling. 2012-06-04 10:34:26 +02:00
Henri Verbeet 176d27e889 d3dx9: Use wine_dbgstr_rect() in some more places. 2012-06-01 17:46:44 +02:00
Józef Kucia 13b2a3b9bc d3dx9/tests: Add tests for D3DXSaveTextureToFileInMemory. 2012-05-31 12:37:27 +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
Józef Kucia 70b1bff695 d3dx9: Implement D3DXSaveSurfaceToFileInMemory. 2012-05-31 12:37:25 +02:00
Rico Schüller f658aabfd5 d3dx9: Crop the input in ID3DXBaseEffect::SetBool(). 2012-05-30 17:17:57 +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 ada5152650 d3dx9: Add support for luminance pixel formats. 2012-05-23 18:25:07 +02:00
Józef Kucia 3a94473802 d3dx9: Add a WARN to get_image_info_from_dds about too short DDS files. 2012-05-23 18:25:07 +02:00
Józef Kucia d313e4f9d3 d3dx9: Fix the expected_length computation for non-square DDS files. 2012-05-23 18:25:07 +02:00
Michael Stefaniuc 7446af76f4 d3dx9_36/tests: Check the correct return value. 2012-05-22 17:44:02 +02:00
Józef Kucia 5bd0070a1d d3dx9/tests: Remove d3d9 test from d3dx9 tests. 2012-05-22 17:43:58 +02:00
Józef Kucia e46d650d3f d3dx9/tests: Mark broken behavior of the debug version of d3d9. 2012-05-21 11:33:59 +02:00
Józef Kucia 8061bec3af d3dx9/tests: Do not release a texture when it wasn't created. 2012-05-21 11:33:58 +02:00
Józef Kucia 4d462adef9 d3dx9/tests: Use more common formats for surfaces in DXTn tests. 2012-05-21 11:33:58 +02:00
Józef Kucia 0da94d4985 d3dx9/tests: Add a test for D3DXLoadSurfaceFromSurface. 2012-05-21 11:33:58 +02:00
Józef Kucia d7a633a438 d3dx9/tests: Add more tests for D3DXFilterTexture. 2012-05-21 11:33:57 +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 091a4269ef d3dx9/tests: Fix messed up parameters. 2012-05-17 17:44:27 +02:00
Józef Kucia 5ab8c2fdf8 d3dx9/tests: Do not release a cube texture if it wasn't created. 2012-05-17 17:44:27 +02:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +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 b47c92bae3 d3dx9: Add traces. 2012-05-14 17:52:04 +02:00
Józef Kucia adc694b831 d3dx9/tests: Add tests for compressed pixel formats support in D3DXLoadSurface functions. 2012-05-14 17:51:53 +02:00
Józef Kucia 37ae580b84 d3dx9: Add DDS support in D3DXLoadSurfaceFromFile functions. 2012-05-14 17:51:40 +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 e91300a318 d3dx9: Check the size of a DDS file in D3DXGetImageInfoFromFileInMemory. 2012-05-14 17:50:08 +02:00
Józef Kucia 42dd957c50 d3dx9: Add missing pixel formats. 2012-05-14 17:49:53 +02:00
Józef Kucia cf89638685 d3dx9/tests: Move tests for texture functions from surface.c to texture.c. 2012-05-11 15:51:08 +02:00
Józef Kucia 685be77251 d3dx9: Print a real pixel format in a FIXME message. 2012-05-11 15:50:56 +02:00
Józef Kucia ecb1c602f4 d3dx9/tests: Use consistent naming for DDS defines. 2012-05-08 09:41:21 +02:00
Józef Kucia 8b17b0f5c6 d3dx9/tests: Add tests for D3DXSaveSurfaceToFile. 2012-05-07 17:20:25 +02:00
Józef Kucia f0bb425516 d3dx9: Implement the pixel format conversion in D3DXSaveSurfaceToFileW. 2012-05-07 17:20:23 +02:00
Józef Kucia ec70b67b8d d3dx9: Implement D3DXSaveSurfaceToFileW. 2012-05-07 17:20:19 +02:00
Józef Kucia ea5f799a6b d3dx9: Forward D3DXSaveSurfaceToFileA to D3DXSaveSurfaceToFileW. 2012-05-07 17:20:16 +02:00
Józef Kucia ec51783494 d3dx9: Implement mapping from WICPixelFormat GUIDs to D3DFORMATs. 2012-05-07 17:20:12 +02:00
Francois Gouget 8036abe4da d3dx9_36/tests: Add a trailing '\n' to an ok() call. 2012-05-04 18:08:34 +02:00
Michael Mc Donnell 081b06c012 d3dx9: Added D3DXOptimizeFaces test. 2012-05-03 20:44:14 +02:00
Michael Mc Donnell 5a14f5b37e d3dx9: Added D3DXOptimizeFaces semi-stub. 2012-05-03 20:44:14 +02:00
Józef Kucia d3068976e5 d3dx9: Implement conversion from DDS pixel format to D3DFORMAT. 2012-05-01 14:46:59 +02:00
Józef Kucia 4618e388e6 d3dx9: Add partial DDS support implementation for D3DXGetImageInfo functions. 2012-05-01 14:46:37 +02:00
Henri Verbeet b8f6c9cdb1 d3dx9: Cleanup parameter names for D3DXLoadSurfaceFromMemory(). 2012-05-01 14:44:12 +02:00
Henri Verbeet c8ae37a9a9 d3dx9: Add a FIXME for unsupported filter types to D3DXLoadSurfaceFromMemory(). 2012-04-30 11:01:25 +02:00
Henri Verbeet 5ebd6652ca d3dx9: Use proper size types in D3DXLoadSurfaceFromMemory(). 2012-04-30 11:01:21 +02:00
Henri Verbeet b11d8db279 d3dx9: Add basic support for loading DXT formats to D3DXLoadSurfaceFromMemory(). 2012-04-27 11:59:35 +02:00
Henri Verbeet e925553072 d3dx9: Introduce a special case for simple loads in D3DXLoadSurfaceFromMemory(). 2012-04-27 11:59:30 +02:00
Józef Kucia b157bc7cfa d3dx9/tests: Add DDS pixel format tests for D3DXGetImageInfoFromFileInMemory. 2012-04-25 17:21:02 +02:00
Rico Schüller b09d195bf3 d3dx9/tests: Add tests for ID3DXBaseEffect::G/SetValue(). 2012-04-18 17:40:13 +02:00
Rico Schüller fcb5b6c32c d3dx9: Use param->bytes for copying the data in ID3DXBaseEffect::SetValue(). 2012-04-18 17:40:10 +02:00
Henri Verbeet 2b1da8c77f d3dx9: Don't return a pointer to the implementation in ID3DXBaseEffectImpl_QueryInterface(). 2012-04-13 10:48:56 +02:00
Henri Verbeet cdc2c53158 d3dx9: Don't return a pointer to the implementation in ID3DXEffectImpl_QueryInterface(). 2012-04-12 20:37:00 +02:00
Henri Verbeet 86b14209a0 d3dx9: Don't return a pointer to the implementation in ID3DXEffectCompilerImpl_QueryInterface(). 2012-04-12 20:36:57 +02:00
Henri Verbeet 6e05c14154 d3dx9: Don't return a pointer to the implementation in ID3DXEffectPoolImpl_QueryInterface(). 2012-04-11 18:14:50 +02:00
Henri Verbeet 74c2ddc908 d3dx9: Don't return a pointer to the implementation in ID3DXFontImpl_QueryInterface(). 2012-04-11 18:14:46 +02:00
Henri Verbeet 1718a6cf1c d3dx9: Don't return a pointer to the implementation in ID3DXLineImpl_QueryInterface(). 2012-04-10 16:21:27 +02:00
Henri Verbeet 4522b07c86 d3dx9: Don't return a pointer to the implementation in ID3DXMatrixStackImpl_QueryInterface(). 2012-04-10 16:21:26 +02:00
Henri Verbeet 531818846a d3dx9: Don't return a pointer to the implementation in ID3DXMeshImpl_QueryInterface(). 2012-04-09 12:03:06 +02:00
Henri Verbeet db18815147 d3dx9: Don't return a pointer to the implementation in ID3DXConstantTableImpl_QueryInterface(). 2012-04-09 12:03:02 +02:00
Henri Verbeet 45c7b47b06 d3dx9: Don't return a pointer to the implementation in ID3DXSpriteImpl_QueryInterface(). 2012-04-06 20:11:30 +02:00
Henri Verbeet f89d5d0503 d3dx9: Also print the format as FOURCC in get_format_info(). 2012-04-05 14:51:33 +02:00
Michael Mc Donnell f144626e81 d3dx9: Do not weld self. 2012-03-28 13:55:38 +02:00
Józef Kucia f8015cd235 d3dx9/tests: Add tests for D3DXCreateVolumeTextureFromFileInMemory. 2012-03-26 18:15:43 +02:00
Józef Kucia 7f3f5dd1eb d3dx9/tests: Add tests for D3DXCreateCubeTextureFromFileInMemory. 2012-03-26 18:15:42 +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
Józef Kucia 3a210af107 d3dx9/tests: Test the DDS support in the D3DXGetImageInfo functions. 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