Commit Graph

81 Commits

Author SHA1 Message Date
Paul Gofman 61e7e6ec1b d3dx9/tests: Add test for D3DXFillVolumeTexture() with default pool texture.
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-23 16:31:38 +01:00
Paul Gofman 4e44d74afb d3dx9: Use temporary surface in D3DXFillTexture() for unmappable textures.
Fixes a regression triggered by commit 949dbbd31f.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46453
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-23 16:31:31 +01:00
Matteo Bruni ae519aff95 d3dx9/tests: Add a few missing surface Release() calls.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-13 20:58:09 +01:00
Matteo Bruni 9682095a3b d3dx9/tests: Fix checking for D3DUSAGE_AUTOGENMIPMAP support.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-13 20:58:09 +01:00
Francois Gouget 6e92cdacf1 d3dx9_36/tests: Make test_texture_shader() static.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-09 20:49:11 +01:00
Matteo Bruni a7a89b8b00 d3dx9/tests: Add a test for texture shaders.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-05 14:49:12 -05:00
Frédéric Delanoy 2d9659d311 d3dx9/tests: Use todo_wine_if() in tests.
Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-01 12:05:57 +09:00
Stefan Dösinger 7109bebd02 wined3d: Move volume DXTn handling to apply_format_fixups. 2015-04-27 15:07:42 +09:00
Matteo Bruni 1569698d9e d3dx9: Use an alpha-capable format when creating textures with a color key. 2014-11-11 14:21:07 +09:00
Matteo Bruni 770eaec561 d3dx9: Properly evaluate fallbacks for luminance texture formats in D3DXCheckTextureRequirements. 2014-08-25 22:02:21 +02:00
Matteo Bruni c1bf61e56c d3dx9/tests: Take MaxVolumeExtent into account in some tests. 2014-05-01 20:36:40 +02:00
Matteo Bruni 2a8dae52aa d3dx9/tests: Fix expected values when mipmaps on cube maps are not supported. 2014-05-01 20:36:37 +02:00
Matteo Bruni 9295ee0c0b d3dx9/tests: Mark a test todo_wine when DXTn textures aren't supported by the GL driver. 2014-03-13 20:22:18 +01:00
Matteo Bruni d6a919af89 d3dx9/tests: Skip a test if DXTn texture formats are not supported. 2014-03-13 20:22:17 +01:00
Rico Schüller 9809a3670c d3dx9/tests: Check if D3DFMT_X1R5G5B5 is supported. 2014-03-11 19:39:27 +01:00
Matteo Bruni 596557a57a d3dx9: Support skipping mip levels in D3DXCreateTextureFromFileInMemoryEx. 2014-03-05 19:18:17 +01:00
Matteo Bruni df3c573f63 d3dx9: Allow loading DDS volume textures into 2D textures. 2014-03-03 17:53:53 +01:00
Matteo Bruni 190877422e d3dx9: Enforce minimum texture dimensions for block-based pixel formats. 2014-02-17 20:16:21 +01:00
Stefan Dösinger f85f733c79 d3dx9_36/tests: Use a window with a non-zero size. 2014-01-16 21:04:19 +01:00
Henri Verbeet 3e5dd54971 d3dx9/tests: Use explicit A calls. 2013-10-31 09:58:44 +01: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
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 792e2ee248 d3dx9_36: Add DIB file support to D3DXLoadSurfaceFromFileInMemory. 2013-04-25 20:25:07 +02: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
Francois Gouget f963f93964 Assorted spelling fixes. 2013-01-07 11:10:40 +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
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 cdc9f283fb d3dx9/tests: Only release a texture when it was created. 2012-10-23 12:07:39 +02:00
Detlef Riekenberg a695062447 d3dx9_36/tests: Fix copy & paste error in ok messages. 2012-09-26 10:59:00 +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 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 07b0f25404 d3dx9: Implement D3DXCreateVolumeTextureFromFileInMemoryEx. 2012-07-02 11:59:13 +02:00
Józef Kucia 13b2a3b9bc d3dx9/tests: Add tests for D3DXSaveTextureToFileInMemory. 2012-05-31 12:37:27 +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 8061bec3af d3dx9/tests: Do not release a texture when it wasn't created. 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 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
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