Christian Costa
a30fd8c0e4
d3dx9/tests: Add tests for 32 bpp BMP with alpha.
...
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-04 17:24:14 +02:00
Matteo Bruni
64b6bb4d4a
d3dx9/tests: Expect plain render target creation to work.
...
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-24 17:33:37 +01:00
Paul Gofman
092c14b9d8
d3dx9: Use temporary surface in D3DXSaveSurfaceToFileInMemory() for unmappable textures.
...
Fixes a regression triggered by commit
949dbbd31f
.
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:43 +01:00
Henri Verbeet
6c7c777f8d
d3dx9: Use intermediate surfaces for loading from unmappable source surfaces in D3DXLoadSurfaceFromSurface().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-21 17:00:47 +01:00
Henri Verbeet
9ab14dff87
d3dx9: Use a staging texture to update unmappable surfaces in D3DXLoadSurfaceFromMemory().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-19 22:42:41 +01:00
Paul Gofman
f9f6f42749
d3dx9/tests: Add tests for using D3DXLoadSurfaceFromSurface() with default render target.
...
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-16 16:32:57 +01:00
Michael Stefaniuc
1a5339346f
d3dx9/tests: Use the available ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-05 23:49:56 +02:00
Matteo Bruni
e8bef37c57
d3dx9/tests: Disable a test crashing on Win10.
...
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-13 20:58:09 +01:00
Michael Stefaniuc
bb79ca5b54
d3dx9/tests: Use SetRectEmpty() instead of open coding it.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-04 18:42:05 +09:00
Michael Stefaniuc
46b6f60de1
d3dx9/tests: Avoid using an empty rect for a test.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-04 18:41:57 +09:00
Alistair Leslie-Hughes
2b0278c703
d3dx9/tests: DDS magic isn't part of the DDS header.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-18 14:08:44 +09:00
Christian Costa
d2307b1ffc
d3dx9: Improve generated DDS file header.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-08 21:37:32 +09:00
Alistair Leslie-Hughes
54ebbfdc63
d3dx9/tests: Add D3DXSaveSurfaceToFileInMemory DDS header tests.
...
Also update the structure dds_header to be the same as d3dx9_36/surface.c.
Use (DDS_CAPS_TEXTURE | DDSCAPS_ALPHA) with a todo.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-08 21:37:20 +09:00
Józef Kucia
ece3af7855
d3dx9: Use D3DFMT constants instead of MAKEFOURCC codes.
2015-08-25 16:57:55 +09:00
Józef Kucia
520deb14d2
d3dx9/tests: Add tests for DDS file format size validation.
2015-08-25 16:57:55 +09:00
André Hentschel
09761309ad
d3dx9_36/tests: Remove unused function (Clang).
2014-12-01 11:00:19 +01:00
André Hentschel
67ee1faba2
d3dx9_36/tests: Remove unused functions (Clang).
2014-11-25 19:49:37 +01:00
Matteo Bruni
fb9c01f1dc
d3dx9: Handle GUID_WICPixelFormat8bppGray format.
2014-11-11 14:21:00 +09:00
Matteo Bruni
e5d9be5eaf
d3dx9/tests: Create A8L8 and DXTn textures instead of plain surfaces.
...
Creating them as plain surfaces fails on my Nvidia Win7 system.
2014-02-20 13:25:28 +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
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
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
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
18b2a38ba2
d3dx9_36/tests: Use assignment instead of memcpy to copy a struct.
2013-01-24 15:38:42 +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
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
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
0ad6af9caa
d3dx9: Validate the size of a volume texture in D3DXGetImageInfoFromFile.
2012-07-09 15:43:42 -04: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
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
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
Józef Kucia
70b1bff695
d3dx9: Implement D3DXSaveSurfaceToFileInMemory.
2012-05-31 12:37:25 +02:00
Józef Kucia
ada5152650
d3dx9: Add support for luminance pixel formats.
2012-05-23 18:25:07 +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
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
adc694b831
d3dx9/tests: Add tests for compressed pixel formats support in D3DXLoadSurface functions.
2012-05-14 17:51: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
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
d3068976e5
d3dx9: Implement conversion from DDS pixel format to D3DFORMAT.
2012-05-01 14:46:59 +02:00