Commit Graph

219 Commits

Author SHA1 Message Date
Stefan Dösinger 7109bebd02 wined3d: Move volume DXTn handling to apply_format_fixups. 2015-04-27 15:07:42 +09:00
Henri Verbeet dc53f6c2e6 wined3d: Use the display format if WINED3DFMT_UNKNOWN is passed as backbuffer format for windowed mode resets. 2015-04-15 22:21:58 +09:00
Henri Verbeet 3ccac1a71f d3d9: Update the backbuffer D3DPRESENT_PARAMETERS after a successful reset. 2015-04-14 17:26:44 +09:00
Henri Verbeet af438d451c d3d9/tests: Test D3DPRESENT_PARAMETERS after a successful reset. 2015-04-14 17:26:36 +09:00
Michael Stefaniuc 148d6e3c10 d3d9/tests: Actually test some return values (PVS-Studio). 2015-03-04 21:50:41 +09:00
Stefan Dösinger 28a9d6324a d3d9/tests: Extend the FPU setup test.
Games created by GameMaker modify the FPU control word to enable
division by zero exceptions. The game Risk of Rain, which is written
with GameMaker, furthermore sets fogstart == fogend, which triggers an
exception when the GL driver attempts to calculate 1 / (fogend -
fogstart). This test adds some evidence that we are not supposed to
temporarily restore the FPU CW if D3DCREATE_FPU_PRESERVE is used.
2015-02-27 21:53:33 +09:00
Stefan Dösinger 63d52c7317 d3d/tests: Show that WM_SYSCOMMAND(SC_RESTORE) is delivered only once. 2015-01-28 11:06:56 +01:00
Stefan Dösinger 3ef1d6bcd9 wined3d: Pass WM_SYSCOMMAND(SC_RESTORE) to DefWindowProc. 2015-01-28 11:06:48 +01:00
Michael Stefaniuc 51406b471a d3d9: Don't assert for shaders with the wrong vtbl. 2014-12-16 11:39:40 +01:00
Stefan Dösinger 19c860499a wined3d: Filter messages generated by focus handling. 2014-12-08 14:18:43 +01:00
Stefan Dösinger f217636e2d d3d9/test: Test WM_SYSCOMMAND handling. 2014-12-08 14:17:22 +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
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
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
Matteo Bruni 894298d502 d3d9/tests: Port the unsupported shaders test to D3D9Ex. 2014-10-16 21:23:07 +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 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