Henri Verbeet
79a2045395
wined3d: NULL vertex declarations are captured, but not applied.
2009-12-21 15:01:22 +01:00
Alexandre Julliard
506a62776c
d3d9/tests: Fix some pointer cast warnings on 64-bit.
2009-12-09 12:04:27 +01:00
Henri Verbeet
5f8e6cb5e0
d3d9/tests: Don't require dynamic usage for textures in the stateblock tests.
2009-11-12 13:13:37 +01:00
Henri Verbeet
aa96a4559e
d3d9: Add some stateblock tests for device resources.
2009-10-13 11:38:28 +02:00
Henri Verbeet
803eab27c7
d3d9: Cleanup the stateblock test callbacks a bit.
2009-10-12 12:36:05 +02:00
Henri Verbeet
8f91327b89
d3d9: Only run the vertex/pixel shader constant apply tests when the implementation supports them.
2009-10-12 12:35:47 +02:00
Henri Verbeet
de45a38003
d3d9: Add tests for D3DSBT_PIXELSTATE stateblocks.
2009-10-09 11:50:30 +02:00
Henri Verbeet
489264d495
d3d9: Add tests for D3DSBT_VERTEXSTATE stateblocks.
2009-10-09 11:50:30 +02:00
Henri Verbeet
50e1106eca
d3d9: Add some tests for CreateStateBlock().
2009-10-08 13:53:59 +02:00
Henri Verbeet
dfe07023c4
d3d9: Don't test D3DRS_DEBUGMONITORTOKEN in the stateblock tests.
2009-10-08 13:53:39 +02:00
Henri Verbeet
ffcfbc2aeb
d3d8: Rename abort_stateblock() to release_stateblock() in the stateblock tests.
2009-10-08 13:53:24 +02:00
Henri Verbeet
3cb7e87284
d3d9: Use separate fields for data to check/apply in the stateblock tests.
2009-10-07 12:24:21 +02:00
Henri Verbeet
063d3d181b
d3d9: Get rid of the unused "return_data_buffer" in the stateblock tests.
2009-10-07 12:24:09 +02:00
Henri Verbeet
7d0d8c0245
d3d9: Make the individual stateblock tests responsible for checking data.
2009-10-06 12:02:41 +02:00
Henri Verbeet
54e28991fc
d3d9: Always pass "struct event_data" to "event_fn" in the stateblock tests.
2009-10-05 13:46:01 +02:00
Henri Verbeet
9f4f29fd03
d3d9: Remove useless typedefs from the stateblock tests.
2009-10-05 13:46:01 +02:00
Henri Verbeet
3caba01ec9
d3d9: Remove D3D9_RENDER_STATES from the stateblock tests.
2009-10-05 13:46:01 +02:00
Henri Verbeet
e7d14d02d0
d3d9: Remove trailing spaces.
2009-08-28 11:54:50 +02:00
Michael Stefaniuc
bca813a5a6
d3d9: Remove superfluous pointer casts.
2009-01-29 14:06:18 +01:00
Marcus Meissner
7111ca5506
d3d9: Remove useless NULL check in stateblock test (Coverity).
2009-01-28 12:30:48 +01:00
Henri Verbeet
1d9c8a2df7
d3d9: Use a HAL device for the stateblock tests.
2008-12-29 12:16:47 +01:00
Henri Verbeet
de494ffe3c
wined3d: The initial value for D3DRS_POINTSIZE_MAX depends on the pointsize limit.
2008-12-29 12:16:42 +01:00
Henri Verbeet
664b58dc6f
d3d: Make sure the device is properly released when exiting the tests.
2008-12-29 12:16:35 +01:00
Henri Verbeet
c889bab8e6
d3d9: Add a test for shader constant application through IDirect3DStateBlock9_Apply().
...
We already behave correctly here, the test just verifies it.
2008-12-18 13:16:38 +01:00
Henri Verbeet
1e1cf78073
d3d9: Fix the shader constant test.
...
Using the same values for the test data and the default data masks
potential failures.
2008-12-17 14:02:17 +01:00
Huw Davies
12b9d37120
d3d9/tests: Skip tests if we can't create the D3D9 object.
2008-12-04 12:51:20 +01:00
Detlef Riekenberg
7cfaf4aca0
d3d9/tests: Fix test for old gfx-card.
2008-10-13 12:03:43 +02:00
Dmitry Timoshkov
1c8994247e
d3d9: Avoid a not needed address-of operator.
2008-06-06 10:29:18 +02:00
Michael Karcher
a6e515af83
d3d9/tests: Keep swapchain while its backbuffer is in use.
2008-06-03 11:11:20 +02:00
Francois Gouget
e6196f9ae7
d3d9/tests: Fix the Visual C++ double to float conversion warnings.
2007-05-29 13:47:01 +02:00
Francois Gouget
354b9e7aae
d3d9/tests: Warn that tests were skipped if we could not load d3d9.dll.
...
But report a failed test if a mandatory function is missing from it.
Also warn if the hardware capabilities force us to skip some tests.
2007-01-12 11:25:24 +01:00
Ivan Gyurdiev
2d8aed6b03
d3d9: Make the "Tests executed" counter stable.
2006-10-30 11:38:03 +01:00
Ivan Gyurdiev
3160ad76f7
d3d9: Pass test as argument to print handler.
2006-10-30 11:37:29 +01:00
Francois Gouget
22288de732
Fix compilation with gcc 2.95.
2006-10-19 13:35:19 +02:00
Ivan Gyurdiev
365852c083
d3d9/tests: Printf format fixes for d3d9 tests.
2006-10-09 20:26:09 +02:00
Ivan Gyurdiev
1eea5c2119
d3d9/tests: Make d3d9 tests Wcast-qual compliant.
2006-10-09 20:25:39 +02:00
Ivan Gyurdiev
8f21b6f682
d3d9/tests: Remove unused device parameter.
2006-10-09 20:24:11 +02:00
Ivan Gyurdiev
401835fcb7
d3d9/tests: Add init/teardown handlers for state tests.
2006-10-09 20:23:59 +02:00
Ivan Gyurdiev
cbfc4090d4
d3d9/tests: Clean up get/set handler arguments.
2006-10-09 20:23:20 +02:00
Francois Gouget
2c82c707da
d3d9: Tweak a buffer declaration to fix the compilation with Visual C++.
2006-10-02 11:54:49 +02:00
Alexandre Julliard
dba338f2e6
d3d9/tests: Don't test texture states beyond the supported maximum.
2006-09-27 20:53:01 +02:00
Ivan Gyurdiev
84d6bd0469
d3d9: State management test framework for d3d9.
2006-07-21 10:55:23 +02:00
Francois Gouget
9eb81363ad
Add trailing '\n's to ok() calls.
...
Remove spaces before '\n'.
2006-06-16 11:32:42 +02:00
Ivan Gyurdiev
5bb0eebc95
d3d9: Test missing light recording.
...
When a light does not exist, and the app attempts to capture it in the
stateblock, a disabled light with the default light parameters is
written instead.
2006-06-07 15:16:25 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
H. Verbeet
75ac954cf5
d3d9: Use an invisible window for tests.
2006-02-10 14:52:10 +01:00
Paul Vriens
636cb19ad0
d3d9: Don't crash on NULL device_ptr.
2005-12-19 10:00:08 +01:00
Paul Vriens
9a1bc10f5d
d3d9: Don't treat missing d3d9.dll as a failure.
2005-12-14 10:50:52 +01:00
H. Verbeet
c26ad82e75
d3d9: Add a test for BeginStateBlock and EndStateBlock.
2005-12-09 14:53:28 +01:00