Commit Graph

183 Commits

Author SHA1 Message Date
Stefan Dösinger 9329e996b4 d3d9/tests: Fix some ok() call style issues. 2014-07-09 14:43:56 +02:00
Stefan Dösinger 509c49bdb5 d3d9/tests: Add a test for SetPriority and GetPriority. 2014-07-09 14:43:40 +02:00
Henri Verbeet d50350886a d3d9: Check the device status in present calls. 2014-06-27 10:37:39 +02:00
Henri Verbeet 09fda3b805 d3d9: Improve d3d9_device_TestCooperativeLevel(). 2014-06-27 10:37:36 +02:00
Henri Verbeet 04acac207a d3d9/tests: Add some lost device tests. 2014-06-27 10:37:23 +02:00
Matteo Bruni b42fe709d6 wined3d: Validate and handle query size parameter. 2014-06-16 13:56:35 +02:00
Matteo Bruni 7162820845 d3d9/tests: Test GetData behavior with various size values. 2014-06-16 13:56:33 +02:00
Stefan Dösinger acf890e2b2 d3d9/tests: Add a test for D3DUSAGE_WRITEONLY.
This test seeks to demonstrate that readbacks of WRITEONLY resources
still work, even after a resource has been used for rendering.
2014-06-11 16:14:45 +02:00
Henri Verbeet 301a17d556 d3d9/tests: Merge vertexdeclaration.c into device.c. 2014-05-02 14:08:42 +02:00
Matteo Bruni cdedb06af7 d3d9/tests: Add a test for timestamp queries. 2014-04-17 13:52:49 +02:00
Henri Verbeet 3ae4889eeb d3d9/tests: Get rid of some pointless BeginScene() checks. 2014-04-14 20:19:00 +02:00
Stefan Dösinger 9177261a22 d3d9/tests: Test locking of mipmap textures. 2014-04-08 19:23:20 +02:00
Stefan Dösinger af51c679bf d3d9/tests: Add a test for (sub-) resource types. 2014-04-07 19:06:11 +02:00
Henri Verbeet 6f1b494a90 d3d9/tests: Move some stateblock tests to device.c. 2014-03-13 20:22:02 +01:00
Stefan Dösinger 2a95fa6831 d3d9/tests: Test GetPrivateData size behavior. 2014-03-12 19:01:15 +01:00
Stefan Dösinger 6ffbfc7c29 d3d9/tests: Use a custom GUID for the private data tests. 2014-03-12 19:01:13 +01:00
Stefan Dösinger 379c6564db d3d9/tests: Show that a failing SetPrivateData call does not clear the old contents. 2014-03-11 19:39:31 +01:00
Henri Verbeet 84faf3d8c2 d3d9/tests: Use create_device() in more tests. 2014-03-07 11:33:30 +01:00
Henri Verbeet b50235ab35 d3d9/tests: Don't bother handling Direct3DCreate9() failures, we verified it works earlier. 2014-03-06 12:01:29 +01:00
Francois Gouget e08c6947c2 d3d9/tests: Fix some test failures on Windows 2000. 2014-02-25 14:20:15 -06:00
Ken Thomases 995be892fa d3d9/tests: Test that Direct3D9 doesn't modify the pixel format of the window it targets. (try 4, resend). 2014-02-22 08:41:59 -06:00
Stefan Dösinger 442446cdc8 d3d9/tests: Add a test for sub resource private data. 2014-02-17 20:16:27 +01:00
Ken Thomases a6f00eb2b9 d3d9/tests: Ignore broken CheckDeviceType() behavior on 64-bit Windows 8. 2014-02-13 19:01:03 +01:00
Henri Verbeet a1b963490a d3d9/tests: Direct3DCreate9() is always available if we have d3d9. 2014-01-29 20:26:14 +01:00
Henri Verbeet 71d018b25b d3d9/tests: Cleanup test_display_formats() a bit. 2014-01-29 20:25:57 +01:00
Ken Thomases 6f498c4946 d3d9/tests: Improve testing of display formats and IDirect3D9_CheckDeviceType().
Tests every combination of display format and backbuffer format from
(D3DFMT_R5G6B5, D3DFMT_X1R5G5B5, D3DFMT_A1R5G5B5, D3DFMT_X8R8G8B8,
D3DFMT_A8R8G8B8, D3DFMT_A2R10G10B10, D3DFMT_UNKNOWN).

Tests the behavior of CheckDeviceType() with display formats for which there
are no adapter modes, rather than skipping those.

Tests windowed mode.
2014-01-28 19:38:48 +01:00
Andrey Gusev e7f0a8a081 Assorted spelling and typos fixes. 2014-01-27 17:00:11 +01:00
Stefan Dösinger 58f16ddd4e d3d9: shared_handle must be NULL in non-ex d3d9. 2013-12-10 17:32:22 +01:00
Henri Verbeet a17abf8d7d d3d9/tests: Use explicit A calls. 2013-10-30 11:21:32 +01:00
Henri Verbeet 3528393d64 d3d9/tests: Avoid windowsx.h. 2013-10-30 11:21:32 +01:00
Lasse Rasinen eeefed3dd0 d3d9: Update locked_rect only if wined3d_surface_map succeeds. 2013-10-28 19:31:12 +01:00
Stefan Dösinger 9c19266a24 d3d9/tests: Remove the rtpatch test.
It segfaults on Win7 + Nvidia Kepler and apparently returns different
return values on Windows 8. Since this functionality isn't supported on
any HW I doubt games will care.
2013-10-24 19:01:56 +02:00
Stefan Dösinger 708024f786 d3d9/tests: Read the caps from the device. 2013-09-19 19:49:40 +02:00
Stefan Dösinger 2f9d9b5032 d3d9/tests: Test invalid volume lock boxes. 2013-09-18 15:47:16 +02:00
Stefan Dösinger 50d2cdd0ea d3d9/tests: Add tests for block-based volume formats. 2013-09-18 15:47:11 +02:00
Stefan Dösinger b59418d75d d3d9/tests: Test the behavior of failing surface creation calls. 2013-09-10 17:00:46 +02:00
Stefan Dösinger b7b028ca4b d3d9/tests: Test blocked texture creation restrictions. 2013-09-06 17:25:08 +02:00
Stefan Dösinger 9dcca7ba8a d3d9/tests: Add UpdateTexture tests with volumes. 2013-08-27 21:30:03 +02:00
Stefan Dösinger 82b6c46006 d3d9/tests: Add a volume texture locking test. 2013-08-27 21:30:03 +02:00
Henri Verbeet c57913babb d3d9/tests: Make shader bytecode static const. 2013-07-01 19:51:23 +02:00
Stefan Dösinger 30e9a37bbb d3d9/tests: d3d9ex video memory accounting tests. 2013-05-21 19:41:39 +02:00
Stefan Dösinger 6c031274c3 d3d9/tests: Fix a test failure on cards that don't support mipmapped cube textures. 2013-04-16 17:49:08 +02:00
Stefan Dösinger 39e7248d71 d3d9/tests: Test NPOT texture creation. 2013-04-16 17:48:52 +02:00
Sam Edwards 33d31a3547 wined3d: Properly handle backbuffer_width/_height=0 in wined3d_device_reset. 2013-04-11 12:06:49 +02:00
Sam Edwards 8157aa143b d3d9/tests: Verify window style after exiting fullscreen mode. 2013-04-03 11:33:58 +02:00
Francois Gouget ce34094f5f d3d9/tests: CheckDeviceType() may also return D3DERR_NOTAVAILABLE for D3DFMT_X1R5G5B5.
Spice's QXL driver claims to support X1R5G5B5 but then returns
NOTAVAILABLE just like the Windows Standard VGA driver does for R5G6B5
and X8R8G8B8.
2013-02-21 18:03:03 +01:00
Stefan Dösinger ddc868c4a0 d3d9/tests: Add simple DrawRectPatch tests. 2013-01-25 11:31:15 +01:00
Stefan Dösinger ab36ab7d11 d3d9/tests: Create a plain DS surface in test_reset_resources.
r200 does not support depth textures.
2013-01-16 20:27:09 +01:00
Stefan Dösinger 4d5c8b6fe7 d3d9/tests: Add a software vertexprocessing buffer discard test. 2013-01-15 16:25:28 +01:00
Stefan Dösinger c57511ce4a d3d9: Return D3D_OK from the palette setters. 2013-01-14 17:29:59 +01:00