Commit Graph

178 Commits

Author SHA1 Message Date
Henri Verbeet 8a66164f89 ddraw/tests: Rewrite FindDevice().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-11 16:15:15 +02:00
Henri Verbeet 2470b0e447 ddraw/tests: Rewrite DeviceLoadTest().
Based on a patch by Alex Henrie.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:16:00 +02:00
Józef Kucia 110eecf7d4 ddraw/tests: Rewrite SetRenderState() tests.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-11 22:30:33 +01:00
Józef Kucia 4767991851 ddraw/tests: Rewrite LimitTest().
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-11 22:30:30 +01:00
Matteo Bruni 52512b3d01 ddraw/tests: Cleanup and extend d3d7 ComputeSphereVisibility() tests.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-14 17:14:19 +01:00
Francois Gouget d489a6db65 ddraw/tests: Spelling fixes in comments and an ok() message.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-13 19:27:42 +01:00
Stefan Dösinger cbb2f34a79 ddraw/tests: Move IDirect3DViewport::TransformVertices tests to ddraw1.c.
Signed-off-by: Stefan Dösinger <stefandoesinger@gmx.at>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-01 21:21:33 +09:00
Nikolay Sivov a4fabd283d ddraw: Fix its vs it's typos.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-02 06:08:44 -05:00
Michael Stefaniuc 3db08a49e1 ddraw: Use SetRectEmpty() instead of open coding it.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-03 22:29:02 +09:00
Frédéric Delanoy 3e53214092 ddraw/tests: Use todo_wine_if() in tests.
Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-18 01:17:24 +09:00
Erich E. Hoover 45147b82ef ddraw: Return empty D3D hardware flags for RGB device enumeration. 2014-08-11 12:51:43 +02:00
Erich E. Hoover a56ea6e5d9 ddraw/tests: Remove broken tests of D3DTRANSFORM_UNCLIPPED. 2014-08-11 12:51:39 +02:00
Henri Verbeet 9031adfd5c ddraw/tests: Properly declare matrices. 2014-06-16 14:00:16 +02:00
Henri Verbeet bddb0433f3 ddraw: Return DDERR_NOTONMIPMAPSUBLEVEL for ddraw_surface7_SetColorKey() on mipmap sub levels. 2014-01-09 17:39:47 +01:00
Frédéric Delanoy 6151371de3 ddraw/tests: Use BOOL type where appropriate. 2014-01-03 18:08:51 +01:00
Henri Verbeet 026dc11677 ddraw/tests: Use explicit A calls. 2013-10-31 09:58:44 +01:00
Frédéric Delanoy 3d30fb881a ddraw/tests: Use BOOL type where appropriate. 2013-10-10 10:44:40 +02:00
Henri Verbeet e02de5ff16 ddraw: Avoid VOID. 2013-09-23 20:38:18 +02:00
Henri Verbeet 87ef65ab7b ddraw: Avoid LPVOID. 2013-09-11 09:59:04 +02:00
Henri Verbeet 99dcfdf0ce ddraw: Avoid LPD3DDEVICEDESC7. 2012-12-12 11:58:55 +01:00
Henri Verbeet 0fa127b1fa ddraw: Avoid LPDIRECT3D7. 2012-11-16 11:39:42 +01:00
Henri Verbeet a24d59a1dd ddraw: Avoid LPDIRECT3DDEVICE7. 2012-11-14 11:27:30 +01:00
Henri Verbeet ea50cde939 ddraw: Avoid LPDIRECT3DVIEWPORT2. 2012-11-13 16:54:53 +01:00
Henri Verbeet 98dc4cd43c ddraw: Avoid LPDIRECT3DVERTEXBUFFER7. 2012-11-08 15:37:46 +01:00
Henri Verbeet 8fd29034d0 ddraw/tests: Avoid LPDIRECTDRAW7. 2012-11-07 11:57:13 +01:00
Henri Verbeet 1216eb577b ddraw: Avoid LPDIRECTDRAWSURFACE7. 2012-11-05 11:30:31 +01:00
Henri Verbeet 34c9586b60 ddraw/tests: Split up test_coop_level_surf_create(). 2012-06-01 17:46:43 +02:00
Henri Verbeet d61d842630 ddraw/tests: Split up test_initialize(). 2012-06-01 17:46:43 +02:00
Henri Verbeet 5227dfa8ef ddraw/tests: Move test_coop_level_mode_set() to ddraw7.c. 2012-05-31 18:05:15 +02:00
Henri Verbeet 5582e1c9fe ddraw/tests: Move test_redundant_mode_set() to ddraw7.c. 2012-05-30 17:17:59 +02:00
Henri Verbeet ec8a9df007 ddraw/tests: Move test_window_style() to ddraw7.c. 2012-05-29 10:44:56 +02:00
Henri Verbeet ef03ac0005 ddraw/tests: Move test_wndproc() to ddraw7.c. 2012-05-24 20:08:48 +02:00
Michael Stefaniuc 7fcbf0736e ddraw/tests: Remove some stray ok() calls. 2012-05-21 11:34:38 +02:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Henri Verbeet cf30899f1a ddraw: Version 1 devices are aggregated by the surface that created them. 2012-04-06 20:11:17 +02:00
Henri Verbeet fe4e2bf60e ddraw/tests: Fix a couple of test messages. 2011-12-22 10:08:07 +01:00
Henri Verbeet 5c3ba123de ddraw/tests: Move the Direct3D7 ProcessVertices() test to ddraw7.c. 2011-12-20 10:11:36 +01:00
Henri Verbeet cb8f26be02 ddraw/tests: Remove some error checking from ProcessVerticesTest(). 2011-12-20 10:10:39 +01:00
Henri Verbeet fb28e7f596 ddraw/tests: Introduce proper vector types. 2011-12-19 20:15:48 +01:00
Henri Verbeet bd09f63bff ddraw/tests: Remove a redundant IDirect3DDevice7_SetViewport() call. 2011-12-19 20:15:48 +01:00
Henri Verbeet 2db8688185 ddraw/tests: Introduce some functions for comparing floating-point vectors. 2011-12-19 20:15:48 +01:00
Stefan Dösinger 7ae81ba378 ddraw/tests: Add a IDirect3DDevice2 GetCaps test. 2011-12-06 17:07:15 +01:00
Stefan Dösinger ea151da3cd ddraw/tests: Update a copyright line. 2011-12-05 17:40:21 +01:00
Stefan Dösinger d4f504c698 ddraw/tests: Add a IDirect3DDevice7 GetCaps test. 2011-12-05 17:40:11 +01:00
Stefan Dösinger cc06d182fb ddraw: Size handling fixes for IDirect3DDevice::GetCaps. 2011-12-05 17:40:04 +01:00
Henri Verbeet 82dd612d50 ddraw: Resize the swapchain window on mode changes in exclusive mode. 2011-11-30 11:50:42 +01:00
Henri Verbeet 0f10ac9358 ddraw: Create the wined3d swapchain when setting the cooperative level. 2011-11-29 13:22:54 +01:00
Henri Verbeet f41ea4fefe ddraw/tests: Add tests for primary dimensions to test_coop_level_mode_set(). 2011-11-28 16:40:47 +01:00
Henri Verbeet bca0ec8182 ddraw: Fail surface creation if the cooperative level isn't set yet. 2011-11-24 17:09:57 +01:00
Stefan Dösinger 9e0baa55ce ddraw: Set correct HEL and HAL color models. 2011-11-15 19:37:28 +01:00