Commit Graph

885 Commits

Author SHA1 Message Date
Stefan Dösinger 0c55b9d2b3 d3d9/tests: Test focus loss message filtering in d3d9ex. 2014-12-08 14:17:13 +01:00
Stefan Dösinger 36553d862b d3d9/tests: Test focus loss message filtering. 2014-12-08 14:17:09 +01:00
Stefan Dösinger aa9bc4c509 d3d9: Refuse to reset a lost device. 2014-12-02 13:05:48 +01:00
Stefan Dösinger 871fc4a38f d3d/tests: Rename fog_interpolation_test for consistency. 2014-11-27 13:27:24 +01:00
Stefan Dösinger 96519f9be9 d3d/tests: Table fog does not abs the fog coordinate. 2014-11-27 13:27:21 +01:00
Stefan Dösinger cfd741c6b6 d3d/tests: Show that the vfog abs is not a property of D3DFOG_LINEAR. 2014-11-27 13:27:17 +01:00
Stefan Dösinger c9b10beb36 wined3d: Vertex fog uses the absolute eye position z. 2014-11-27 13:27:13 +01:00
Alexandre Julliard 099bc21df7 d3d9/tests: Don't require a WM_MOVE message. 2014-11-26 20:40:49 +01:00
Stefan Dösinger abf44708a4 d3d9/tests: Fix test_cursor(). 2014-11-25 19:49:42 +01:00
Stefan Dösinger 8b6a7a9c02 d3d9: Only one fullscreen swapchain is allowed. 2014-11-25 19:49:30 +01:00
Stefan Dösinger f4d520d6e2 wined3d: Don't minimize hidden windows. 2014-11-20 22:31:26 +09:00
Stefan Dösinger 09a91231a6 wined3d: Set the device window size on focus window activation. 2014-11-20 22:31:13 +09:00
Stefan Dösinger f6dde70624 wined3d: Restore the display mode on focus change. 2014-11-19 17:56:44 +09:00
Stefan Dösinger 1851e2618b d3d9/tests: Test mode restoration on focus loss. 2014-11-19 16:41:03 +09:00
Stefan Dösinger ef60604d44 d3d9/tests: Test style changes on focus loss. 2014-11-18 14:14:37 +09:00
Stefan Dösinger 9bcd9722f1 d3d9/tests: Test messages on focus loss. 2014-11-18 14:14:32 +09:00
Henri Verbeet 1c116c3527 d3d10core/tests: Port alpha_test() to d3d10core. 2014-11-17 19:30:40 +09:00
Stefan Dösinger 32450ee61d d3d9/tests: Allow passing a resolution to reset_device in d3d9ex. 2014-11-12 20:07:56 +09:00
Stefan Dösinger 38548df04b d3d/tests: Test fog interpolation. 2014-11-12 20:07:56 +09:00
Stefan Dösinger 6ad7d50958 d3d9/tests: Allow passing a resolution to reset_device. 2014-11-11 21:57:27 +09:00
Stefan Dösinger 5e369853f1 d3d9/tests: Fix some wndproc comparison error messages. 2014-11-11 21:57:19 +09:00
Stefan Dösinger 7fb22f502e d3d9/tests: The device restores the mode settings from the registry. 2014-11-07 14:04:00 +09:00
Stefan Dösinger 40c2fc215d d3d9/tests: Check if the current display settings match the registry settings. 2014-11-04 21:16:13 +09:00
Matteo Bruni d690aaeeb6 d3d9/tests: Add an ATI1N entry to the test_volume_blocks test. 2014-11-04 21:15:59 +09:00
Matteo Bruni da54670a94 d3d9/tests: Add a test for ATI1N and ATI2N texture formats. 2014-11-04 21:15:58 +09:00
Stefan Dösinger 6334bf09b7 d3d9/tests: Skip unsupported resources in test_resource_type. 2014-10-23 18:48:20 +09:00
Stefan Dösinger 8633f7f123 d3d9/tests: Use create_device for test_swvp_buffer. 2014-10-22 21:01:39 +09:00
Stefan Dösinger d5b2e8af39 d3d9/tests: Use create_device in test_fpu_setup (v2). 2014-10-22 21:01:35 +09:00
Stefan Dösinger ee0733863e d3d9/tests: Add style and size tests for D3DCREATE_NOWINDOWCHANGES. 2014-10-21 18:47:42 +09:00
Stefan Dösinger 80cbd276e0 d3d9/tests: Port test_window_style to d3d9ex. 2014-10-17 15:50:11 +09:00
Stefan Dösinger 5c33ffaf67 d3d9/tests: Port wndproc tests to d3d9ex. 2014-10-17 15:50:04 +09:00
Matteo Bruni 894298d502 d3d9/tests: Port the unsupported shaders test to D3D9Ex. 2014-10-16 21:23:07 +09:00
Stefan Dösinger a426d335a4 d3d9/tests: Allow a width and height to be passed to create_device() in the d3d9ex tests. 2014-10-15 21:29:29 +09:00
Matteo Bruni d897db7605 d3d9/tests: Add some tests for shaders using more than the maximum number of supported constants. 2014-10-14 14:00:50 +09:00
Henri Verbeet 1bec6ab0bc d3d9/tests: Use create_device() in test_scissor_size(). 2014-10-09 17:36:22 +02:00
Henri Verbeet 2291c72caf d3d9/tests: Allow a width and height to be passed to create_device(). 2014-10-09 17:36:22 +02:00
Stefan Dösinger 537febf2e8 d3d9/tests: Don't load user32 functions at runtime. 2014-10-07 20:22:08 +02:00
Henri Verbeet 30437f9fe4 d3d9/tests: Get rid of struct vertex_floatcolor. 2014-07-16 11:56:01 +02:00
Henri Verbeet 0cae65d494 d3d9/tests: Get rid of struct vertex_shortcolor. 2014-07-16 11:55:59 +02:00
Henri Verbeet 1ccf7f5e74 d3d9/tests: Get rid of struct nvertex. 2014-07-16 11:55:57 +02:00
Henri Verbeet 86ba5b604e d3d9/tests: Get rid of struct tvertex. 2014-07-16 11:55:55 +02:00
Henri Verbeet 51f5bc903a d3d9/tests: Get rid of struct vertex. 2014-07-16 11:55:52 +02:00
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 ae25b1eca5 d3d9: Improve d3d9_device_CheckDeviceState() a little. 2014-06-30 22:04:53 +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
Henri Verbeet 23eed88fde wined3d: Implement support for per-stage texture stage constants.
This patch is loosely based on an earlier patch by Christian Costa.
2014-04-23 15:00:43 +02:00
Matteo Bruni cdedb06af7 d3d9/tests: Add a test for timestamp queries. 2014-04-17 13:52:49 +02:00
Henri Verbeet b97570fe1c d3d9/tests: Properly declare matrices. 2014-04-14 20:19:01 +02:00
Henri Verbeet 3ae4889eeb d3d9/tests: Get rid of some pointless BeginScene() checks. 2014-04-14 20:19:00 +02:00
Henri Verbeet 74a2bd084f d3d9/tests: Make the sanity test a normal test. 2014-04-11 10:42:06 +02:00
Henri Verbeet 9f6765f759 d3d9/tests: Use a separate device for depth_clamp_test(). 2014-04-11 10:42:04 +02:00
Henri Verbeet 7273d52bcd d3d9/tests: Use a separate device for stretchrect_test(). 2014-04-11 10:42:01 +02:00
Henri Verbeet a8f3708322 d3d9/tests: Use a separate device for lighting_test(). 2014-04-11 10:41:59 +02:00
Henri Verbeet 32919f40d0 d3d9/tests: Use a separate device for clear_test(). 2014-04-11 10:41:55 +02:00
Henri Verbeet 9595526932 d3d9/tests: Use a separate device for color_fill_test(). 2014-04-10 13:53:46 +02:00
Henri Verbeet b7f323e8c6 d3d9/tests: Use a separate device for fog_test(). 2014-04-10 13:53:44 +02:00
Henri Verbeet 0453e4e44a d3d9/tests: Use a separate device for test_cube_wrap(). 2014-04-10 13:53:41 +02:00
Henri Verbeet 8a170e9d48 d3d9/tests: Use a separate device for z_range_test(). 2014-04-10 13:53:39 +02:00
Henri Verbeet f329a2b586 d3d9/tests: Use a separate device for maxmip_test(). 2014-04-10 13:53:37 +02:00
Henri Verbeet 80c3e07c96 d3d9/tests: Use a separate device for offscreen_test(). 2014-04-09 09:23:03 +02:00
Henri Verbeet 0513d79526 d3d9/tests: Use a separate device for ds_size_test(). 2014-04-09 09:23:01 +02:00
Henri Verbeet e41a6c827f d3d9/tests: Use a separate device for alpha_test(). 2014-04-09 09:22:59 +02:00
Henri Verbeet b7977c9f6b d3d9/tests: Use a separate device for shademode_test(). 2014-04-09 09:22:57 +02:00
Henri Verbeet 91e9ca7070 d3d9/tests: Use a separate device for srgbtexture_test(). 2014-04-09 09:22:54 +02:00
Stefan Dösinger 9177261a22 d3d9/tests: Test locking of mipmap textures. 2014-04-08 19:23:20 +02:00
Henri Verbeet 813ae272b0 d3d9/tests: Use a separate device for release_buffer_test(). 2014-04-08 09:47:08 +02:00
Henri Verbeet 1abd58edea d3d9/tests: Use a separate device for float_texture_test(). 2014-04-08 09:47:07 +02:00
Henri Verbeet 63c679e651 d3d9/tests: Use a separate device for g16r16_texture_test(). 2014-04-08 09:47:06 +02:00
Henri Verbeet 9d756e0905 d3d9/tests: Use a separate device for pixelshader_blending_test(). 2014-04-08 09:47:05 +02:00
Henri Verbeet 230b910a34 d3d9/tests: Use a separate device for texture_transform_flags_test(). 2014-04-08 09:47:05 +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 f4f066ca28 d3d9/tests: Use a separate device for autogen_mipmap_test(). 2014-04-07 15:34:42 +02:00
Henri Verbeet 93a37ed548 d3d9/tests: Use a separate device for fixed_function_decl_test(). 2014-04-07 15:34:42 +02:00
Henri Verbeet e5589b74a7 d3d9/tests: Use a separate device for conditional_np2_repeat_test(). 2014-04-07 15:34:41 +02:00
Henri Verbeet 3d78a77f74 d3d9/tests: Use a separate device for fixed_function_bumpmap_test(). 2014-04-07 15:34:40 +02:00
Henri Verbeet f3a898a87d d3d9/tests: Use a separate device for pointsize_test(). 2014-04-07 15:34:39 +02:00
Henri Verbeet 7980b8d833 d3d9/tests: Use a separate device for tssargtemp_test(). 2014-04-04 10:46:24 +02:00
Henri Verbeet 12743d5709 d3d9/tests: Use a separate device for np2_stretch_rect_test(). 2014-04-04 10:46:22 +02:00
Henri Verbeet 2e0e4f91ff d3d9/tests: Use a separate device for yuv_color_test(). 2014-04-04 10:46:20 +02:00
Henri Verbeet 09be75d2b8 d3d9/tests: Use a separate device for yuv_layout_test(). 2014-04-04 10:46:19 +02:00
Henri Verbeet e13a785723 d3d9/tests: Use a separate device for zwriteenable_test(). 2014-04-04 10:46:16 +02:00
Henri Verbeet dbb7386208 d3d9/tests: Use a separate device for alphatest_test(). 2014-04-03 13:22:34 +02:00
Henri Verbeet 15a2817d8d d3d9/tests: Use a separate device for viewport_test(). 2014-04-03 13:22:32 +02:00
Henri Verbeet 9d9f580b8c d3d9/tests: Use a separate device for test_constant_clamp_vs(). 2014-04-03 13:22:31 +02:00
Henri Verbeet 1e772e5d89 d3d9/tests: Use a separate device for test_compare_instructions(). 2014-04-03 13:22:28 +02:00
Henri Verbeet 9c705180b6 d3d9/tests: Use a separate device for test_mova(). 2014-04-03 13:22:23 +02:00
Henri Verbeet f350774c77 d3d9/tests: Use a separate device for loop_index_test(). 2014-04-02 10:58:12 +02:00
Henri Verbeet 47786eb64a d3d9/tests: Use a separate device for sincos_test(). 2014-04-02 10:58:10 +02:00
Henri Verbeet 94e337df19 d3d9/tests: Use a separate device for sgn_test(). 2014-04-02 10:58:08 +02:00
Henri Verbeet f237f86397 d3d9/tests: Use a separate device for clip_planes_test(). 2014-04-02 10:58:06 +02:00
Henri Verbeet 779b8b53e8 d3d9/tests: Use a separate device for test_vshader_input(). 2014-04-02 10:58:02 +02:00
Henri Verbeet ef292a1a96 d3d9/tests: Handle the Windows 8 testbot results in test_vshader_input(). 2014-04-01 13:30:58 +02:00
Henri Verbeet 7641980a9e d3d9/tests: Use an easier to debug texture in generate_bumpmap_textures().
This makes it much easier to determine what went wrong if an implementation
samples from the wrong location.
2014-04-01 13:30:57 +02:00
Henri Verbeet 7f9c0d45e7 d3d9/tests: Handle the Windows 8 testbot results in cnd_test(). 2014-04-01 13:30:56 +02:00
Henri Verbeet f11f913ab0 d3d9/tests: Handle the Windows 8 testbot results in fp_special_test(). 2014-04-01 13:30:55 +02:00
Henri Verbeet f174ca74c8 d3d9/tests: Handle the Windows 8 testbot results in zenable_test(). 2014-04-01 13:30:54 +02:00
Henri Verbeet ad306ce41a d3d9/tests: Use a separate device for test_vshader_float16(). 2014-03-24 11:49:40 +01:00
Henri Verbeet 63609b3418 d3d9/tests: Use a separate device for stream_test(). 2014-03-24 11:49:37 +01:00
Henri Verbeet 0be10d6050 d3d9/tests: Use a separate device for fog_with_shader_test(). 2014-03-24 11:49:35 +01:00
Henri Verbeet aded2bb23c d3d9/tests: Use a separate device for texbem_test(). 2014-03-24 11:49:33 +01:00
Henri Verbeet 65c9b48de6 d3d9/tests: Use a separate device for texdepth_test(). 2014-03-24 11:49:31 +01:00
Henri Verbeet b175891182 d3d9/tests: Use a separate device for texkill_test(). 2014-03-21 13:59:22 +01:00
Henri Verbeet 3cc2d639bb d3d9/tests: Use a separate device for x8l8v8u8_test(). 2014-03-21 13:59:22 +01:00
Henri Verbeet d1d40bfa55 d3d9/tests: Use a separate device for volume_v16u16_test(). 2014-03-21 13:59:21 +01:00
Henri Verbeet 4a2e38953e d3d9/tests: Use a separate device for constant_clamp_ps_test(). 2014-03-21 13:59:20 +01:00
Henri Verbeet 7f302ac4c4 d3d9/tests: Use a separate device for cnd_test(). 2014-03-21 13:59:19 +01:00
Henri Verbeet cd93070bfd d3d9/tests: Use a separate device for dp2add_ps_test(). 2014-03-20 10:44:03 +01:00
Henri Verbeet c0fdad52c2 d3d9/tests: Use a separate device for unbound_sampler_test(). 2014-03-20 10:44:01 +01:00
Henri Verbeet 07c42c9eda d3d9/tests: Use a separate device for nested_loop_test(). 2014-03-20 10:43:58 +01:00
Henri Verbeet f1d4d8c49d d3d9/tests: Use a separate device for pretransformed_varying_test(). 2014-03-20 10:43:56 +01:00
Henri Verbeet c11904b86d d3d9/tests: Use a separate device for vface_register_test(). 2014-03-20 10:43:54 +01:00
Henri Verbeet 3ec514382f d3d9/tests: Use a separate device for vpos_register_test(). 2014-03-19 11:33:21 +01:00
Henri Verbeet 7df9eb08fb d3d9/tests: Use a separate device for multiple_rendertargets_test(). 2014-03-19 11:33:20 +01:00
Henri Verbeet ad45d2c233 d3d9/tests: Use a separate device for texop_test(). 2014-03-19 11:33:19 +01:00
Henri Verbeet 91d3dcffd7 d3d9/tests: Use a separate device for texop_range_test(). 2014-03-19 11:33:19 +01:00
Henri Verbeet 33b32c9dd5 d3d9/tests: Use a separate device for alphareplicate_test(). 2014-03-19 11:33:18 +01:00
Henri Verbeet ad81149953 d3d9/tests: Use a separate device for dp3_alpha_test(). 2014-03-18 11:42:35 +01:00
Henri Verbeet 34e9d94d81 d3d9/tests: Use a separate device for depth_buffer_test(). 2014-03-18 11:42:33 +01:00
Henri Verbeet 38e2f4ca05 d3d9/tests: Use a separate device for depth_buffer2_test(). 2014-03-18 11:42:31 +01:00
Henri Verbeet 421f925d5e d3d9/tests: Use a separate device for depth_blit_test(). 2014-03-18 11:42:24 +01:00
Henri Verbeet 424e069edc d3d9/tests: Use a separate device for intz_test(). 2014-03-18 11:42:21 +01:00
Henri Verbeet 7071bf199f d3d9/tests: Use a separate device for shadow_test(). 2014-03-17 17:34:11 +01:00
Henri Verbeet b1fbee3340 d3d9/tests: Use a separate device for fp_special_test(). 2014-03-17 17:34:11 +01:00
Henri Verbeet f281ca2214 d3d9/tests: Use a separate device for depth_bounds_test(). 2014-03-17 17:34:11 +01:00
Henri Verbeet e93ff4063f d3d9/tests: Use a separate device for srgbwrite_format_test(). 2014-03-17 17:34:11 +01:00
Henri Verbeet cfbb16ad49 d3d9/tests: Use a separate device for update_surface_test(). 2014-03-17 17:34:11 +01:00
Henri Verbeet 0ee5fae929 d3d9/tests: Use a separate device for multisample_get_rtdata_test(). 2014-03-14 16:14:24 +01:00
Henri Verbeet af63977750 d3d9/tests: Use a separate device for zenable_test(). 2014-03-14 16:14:23 +01:00
Henri Verbeet 55e669265d d3d9/tests: Use a separate device for fog_special_test(). 2014-03-14 16:14:23 +01:00
Henri Verbeet f9c46fb77a d3d9/tests: Use a separate device for volume_srgb_test(). 2014-03-14 16:14:22 +01:00
Henri Verbeet c868f2d3a7 d3d9/tests: Use a separate device for volume_dxt5_test(). 2014-03-14 16:14:21 +01:00
Henri Verbeet b02129aa90 d3d9/tests: Give add_dirty_rect_test() its own device.
We want to avoid tests accidentally depending on state set by previous
tests. For example, add_dirty_rect_test() had a dependency on D3DRS_CULLMODE
being D3DCULL_NONE, set by lighting_test().
2014-03-13 20:22:05 +01:00
Henri Verbeet cac52b4b10 d3d9/tests: Don't share the D3D object either in visual.c tests that have their own device. 2014-03-13 20:22:04 +01: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 ad86da8cd0 d3d9/tests: Handle failure to create a device in the stateblock tests with skip(). 2014-03-07 11:33:49 +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
Henri Verbeet 1168948764 d3d9/tests: Get rid of "skip_once" in yuv_layout_test(). 2014-03-03 17:02:19 +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