Commit Graph

1168 Commits

Author SHA1 Message Date
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
Axel Davy c5d420b35a d3d8/tests: Fix test_3dc_formats getPixelColor check. 2015-01-13 19:53:56 +01:00
Axel Davy 58083dfb12 d3d8/tests: Fix volume_dxt5_test getPixelColor check.
getPixelColor should be called before Present, because the device
swapchain was created with discard mode.
2015-01-13 19:53:53 +01:00
Henri Verbeet ea534c9ab4 wined3d: Allow initial texture contents to be specified with wined3d_texture_create(). 2015-01-05 20:15:35 +01:00
Henri Verbeet 1a28c7c5cc d3d8: Calculate texture levels in d3d8 instead of wined3d. 2014-12-10 19:32:14 +01:00
Stefan Dösinger 19c860499a wined3d: Filter messages generated by focus handling. 2014-12-08 14:18:43 +01:00
Stefan Dösinger c37549ef5d d3d8/tests: Test WM_SYSCOMMAND handling. 2014-12-08 14:17:29 +01:00
Stefan Dösinger e8ce1085a9 d3d8/tests: Test focus loss message filtering. 2014-12-08 14:17:20 +01:00
Stefan Dösinger 8dd44e2801 d3d8: Refuse to reset a lost device. 2014-12-02 13:05:52 +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
Stefan Dösinger d1bd709471 d3d8/tests: Call TestCooperativeLevel after Present. 2014-11-27 11:09:45 +01:00
Stefan Dösinger 4e8da470f8 d3d8/tests: Fix test_cursor(). 2014-11-25 19:49:41 +01:00
Stefan Dösinger dd8bf9c87d d3d8: Only one fullscreen swapchain is allowed. 2014-11-25 19:49:31 +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 b30901415a d3d8/tests: Test mode restoration on focus loss. 2014-11-19 16:41:06 +09:00
Stefan Dösinger f6f4af46db d3d8/tests: Test style changes on focus loss. 2014-11-18 14:14:45 +09:00
Stefan Dösinger 33976b4f44 d3d8/tests: Test messages on focus loss. 2014-11-18 14:14:42 +09:00
Henri Verbeet 1c116c3527 d3d10core/tests: Port alpha_test() to d3d10core. 2014-11-17 19:30:40 +09:00
Stefan Dösinger 2b31cac692 d3d8/tests: Allow passing a resolution to reset_device. 2014-11-13 20:35:43 +09:00
Stefan Dösinger 38548df04b d3d/tests: Test fog interpolation. 2014-11-12 20:07:56 +09:00
Stefan Dösinger 7b7516189d d3d8/tests: Fix some wndproc comparison error messages. 2014-11-11 21:57:23 +09:00
Stefan Dösinger bd6a5de27d d3d8/tests: The device restores the mode settings from the registry. 2014-11-07 14:04:04 +09:00
Stefan Dösinger dcf7d294cc d3d8/tests: Check if the current display settings match the registry settings. 2014-11-04 21:16:16 +09:00
Matteo Bruni e16016227f d3d8/tests: Add an ATI1N entry to the test_volume_blocks test. 2014-11-04 21:16:00 +09:00
Matteo Bruni 8f3477e106 d3d8/tests: Add a test for ATI1N and ATI2N texture formats. 2014-11-04 21:15:58 +09:00
Henri Verbeet 875a7c5426 wined3d: Use the input signature to setup SM4 pixel shader input semantics. 2014-11-04 16:54:35 +09:00
Michael Stefaniuc 4a67e66a3d d3d8/tests: Remove an always false condition (PVS-Studio). 2014-11-03 16:34:14 +09:00
Stefan Dösinger 86168c4e90 d3d8/tests: Skip unsupported resources in test_resource_type. 2014-10-23 18:48:18 +09:00
Stefan Dösinger 94f20a6fff d3d8/tests: Use create_device in test_swvp_buffer. 2014-10-22 21:01:43 +09:00
Stefan Dösinger 1ae02b92e0 d3d8/tests: Use create_device for test_fpu_setup. 2014-10-22 21:01:41 +09:00
Stefan Dösinger f33aacd4d0 d3d8/tests: Update create_device to match d3d9. 2014-10-21 18:47:58 +09:00
Matteo Bruni 291c4f3b65 d3d8/tests: Port the applicable parts of the new unsupported shaders tests to d3d8. 2014-10-16 21:23:18 +09:00
Matteo Bruni 894298d502 d3d9/tests: Port the unsupported shaders test to D3D9Ex. 2014-10-16 21:23:07 +09:00
Henri Verbeet 62771c7dda d3d8/tests: Allow a width and height to be passed to create_device(). 2014-10-14 21:07:37 +09:00
Henri Verbeet d5365aae28 d3d8: Get rid of the format switching code in d3d8_device_CopyRects().
This can't possibly do anything, since we fail texture creation for
WINED3DFMT_UNKNOWN. If texture creation with D3DFMT_UNKNOWN is actually
supposed to work, we should probably pick an appropriate format at creation,
instead of during CopyRects(). This code has existed in some form or another
since the initial version in commit 850a9429db.
No tests, of course.
2014-09-29 10:37:12 +02:00
Francois Gouget 0dd5cb1cef Assorted spelling fixes. 2014-09-29 10:36:36 +02:00
Stefan Dösinger 92bcb74768 d3d8: Return the correct value in CreateAdditionalSwapChain. 2014-09-25 16:41:48 +02:00
Henri Verbeet 74ab8e8ce9 wined3d: Do not increment the reference count of the returned buffer in wined3d_device_get_stream_source().
None of the other getters increment the reference count either.
2014-09-18 13:06:32 +02:00
Henri Verbeet 07985a8c38 wined3d: Use rendertarget views for depth/stencil buffers instead of surfaces.
I don't think the difference between d3d10 depth/stencil and rendertarget
views is large enough to justify a separate type. Unfortunately that does make
the name "wined3d_rendertarget_view" slightly awkward.
2014-08-22 12:53:11 +02:00
Henri Verbeet b005ad6f90 wined3d: Use rendertarget views for color output instead of surfaces. 2014-08-21 12:24:42 +02:00
Henri Verbeet 8fe8495908 d3d8: wined3d_device_get_available_texture_mem() returns a UINT. 2014-08-18 12:47:07 +02:00
Henri Verbeet 599f018c81 d3d8: The "forwardReference" field in struct d3d8_surface is always a texture, if set. 2014-08-15 17:04:13 +02:00
Henri Verbeet 515c1acf29 d3d8: Volumes are always part of a texture. 2014-08-15 17:04:09 +02:00
Henri Verbeet ca95dd2c82 d3d8: Return E_OUTOFMEMORY on HeapAlloc() failure in device_parent_surface_created(). 2014-08-15 17:04:00 +02:00