Henri Verbeet
d3e2e84feb
ddraw/tests: Fix some failure messages.
2010-11-17 14:01:15 +01:00
Henri Verbeet
7a354177b3
wined3d: Don't unregister a window unless the window proc is what we expect it to be.
...
In particular, if we'd unregister a window when the application replaced our
window proc, but still forwards to us, we'd create a loop when we register
the same window again later.
2010-11-10 12:19:24 +01:00
Henri Verbeet
6fcb33f59f
ddraw: Window proc replacement depends on DDSCL_EXCLUSIVE, not DDSCL_FULLSCREEN.
2010-11-10 12:19:04 +01:00
Henri Verbeet
7e3985e1fe
ddraw: Setup the device window in SetCooperativeLevel().
2010-11-08 13:30:54 +01:00
Henri Verbeet
feaf81f60d
wined3d: Use SetWindowPos() to make the focus window active.
2010-11-05 17:15:37 +01:00
David Adam
7661e8986c
ddraw: Exclusive mode is the corner case for SetCooperative, not the normal mode.
2010-11-04 12:23:07 +01:00
Henri Verbeet
4c4a414596
ddraw/tests: Check for multiple expected messages in test_wndproc().
2010-11-04 12:12:33 +01:00
Francois Gouget
6fb3a0a032
ddraw/tests: Remove a space before a '\n'.
2010-11-02 13:16:09 +01:00
David Adam
e5e150a4d6
ddraw: Add tests for SetCooperativeLevel with a NULL window.
2010-11-02 12:03:03 +01:00
Francois Gouget
aa93d7b80d
ddraw/tests: Fix compilation on systems that don't support nameless unions.
2010-11-02 12:03:03 +01:00
David Adam
94f74a7caf
ddraw: Add tests for the foreground window set by SetCooperativeLevel.
2010-11-01 12:38:44 +01:00
Ričardas Barkauskas
78e4a096a3
ddraw: Surfaces with DDSCAPS_3DDEVICE and DDSCAPS_ZBUFFER can't be render targets.
2010-10-25 15:31:12 +02:00
Ričardas Barkauskas
ff659522f6
ddraw: Fix DDSCAPS_3DDEVICE surfaces always setting DDSCAPS_VISIBLE.
2010-10-25 15:31:07 +02:00
Ričardas Barkauskas
7402761e21
ddraw/tests: Test some more caps combinations.
2010-10-25 15:31:02 +02:00
Ričardas Barkauskas
c6bc9e01e3
ddraw/tests: Test if surface with DDSCAPS_ZBUFFER can be render target.
2010-10-25 15:30:51 +02:00
David Adam
0a90271d69
ddraw: SETFOCUSWINDOW lives independently of other flags.
2010-10-22 12:08:07 +02:00
David Adam
a8740a4667
ddraw/test: Add more combination tests for SetCooperativeLevels.
2010-10-12 11:44:13 +02:00
Austin English
b2a8b61dd5
ddraw/tests: Fix a few compiler warnings on clang.
2010-10-01 17:48:11 +02:00
Alexandre Julliard
730f01801f
tests: Make some variables static.
2010-10-01 13:41:42 +02:00
Alexandre Julliard
81b8ee863e
makefiles: Add a standard header for all makefiles to replace the common variable initializations.
2010-09-19 12:36:48 +02:00
Oldřich Jedlička
a6c3d0d6ac
ddraw: Add checking of SURFACEDESC type/nullness into CreateSurface methods.
2010-09-18 14:40:01 +02:00
Oldřich Jedlička
bec3b7692d
ddraw: Allow creating back buffer for DirectX 1 interfaces.
2010-09-16 13:38:03 -05:00
Oldřich Jedlička
7085a3f85b
ddraw/tests: New attachment tests for 3D back buffers.
2010-09-14 13:34:21 -05:00
Henri Verbeet
b1a385db11
ddraw: Remove some stray tabs.
2010-09-08 13:32:00 +02:00
Oldřich Jedlička
51332b7a03
ddraw/tests: New tests for CreateSurface for 3D DDSCAPS_BACKBUFFER.
2010-09-03 16:02:31 +02:00
Henri Verbeet
83ff5b5041
ddraw: Handle D3DRENDERSTATE_TEXTUREHANDLE and D3DRENDERSTATE_TEXTUREMAPBLEND in d3d7.
2010-09-03 11:05:35 +02:00
Oldřich Jedlička
964500a61a
ddraw/tests: New visual back buffer flipping tests.
2010-08-26 17:21:09 +02:00
Oldřich Jedlička
e474eb81e0
ddraw/tests: Add test for bad size of surface caps in CreateSurface.
2010-08-19 12:01:57 +02:00
Oldřich Jedlička
5c05b14167
ddraw/tests: New attachment/flipping tests for back buffers.
2010-08-04 12:27:11 +02:00
Oldřich Jedlička
109cb9fee4
ddraw/tests: New CreateSurface for DDSCAPS_BACKBUFFER tests.
2010-08-04 12:27:04 +02:00
Johan Gill
1fb67788b1
ddraw: Added a todo_wine test for SetCooperativeLevel.
2010-07-28 16:28:22 +02:00
Alexandre Julliard
b86d515ed6
dlls: Remove explicit imports of kernel32 and ntdll.
2010-07-21 17:38:36 +02:00
Andrew Nguyen
8b1c1edb6b
ddraw/tests: Test IDirect3D::FindDevice HAL enumeration.
2010-07-19 14:48:54 +02:00
Andrew Nguyen
14744c44b1
ddraw: Don't permit the enumeration of the Direct3D reference device in IDirect3D1::FindDevice.
2010-07-19 14:41:33 +02:00
Henri Verbeet
cf39adbaa2
ddraw: Avoid an integer overflow in IDirectDrawSurfaceImpl_BltFast().
...
Bug spotted by Iain Arnell, test by Iain Arnell.
2010-06-24 15:11:43 +02:00
Andrew Nguyen
bdc29f83bc
ddraw/tests: Add an observation regarding device color model criteria for IDirect3D3::FindDevice.
2010-06-22 11:47:39 +02:00
Andrew Nguyen
eb9227015a
ddraw: Allow the ddraw RGB device to be enumerated in IDirect3D3::FindDevice.
...
Partially based on a patch by David Adam.
2010-06-22 11:47:24 +02:00
Andrew Nguyen
10a076ad8d
ddraw: Validate structure pointers and sizes in IDirect3D3::FindDevice.
2010-06-22 11:24:59 +02:00
Johan Gill
7c90c1a0b5
ddraw: Do not restore the display mode from inside SetCooperativeLevel.
2010-04-19 16:06:01 +02:00
Johan Gill
15b959fba7
ddraw/tests: Added todo_wine test to verify resizing of fullscreen windows.
2010-04-07 18:13:05 +02:00
Roderick Colenbrander
2930f84961
ddraw: Add some DirectDraw Blt tests.
2010-03-30 13:55:05 +02:00
Henri Verbeet
914c8cb8ea
ddraw: Acquire/release the focus window from the correct location.
2010-03-18 10:24:15 +01:00
Stefan Dösinger
b5ddd6f0fc
ddraw: Use a D24X8 depth buffer.
2010-03-17 16:08:48 +01:00
Henri Verbeet
89fef0e669
ddraw: Fix IDirectDraw4Impl_GetSurfaceFromDC().
...
Perhaps interesting to note is that this returns an IDirectDrawSurface instead
of an IDirectDrawSurface4.
2010-03-17 10:06:29 +01:00
Henri Verbeet
4e48ae2629
ddraw: Implement IDirectDrawImpl_GetSurfaceFromDC().
...
This is a pretty naive implementation, should that become a performance
problem it's easy enough to speed up with a search tree of some kind.
2010-03-17 10:06:25 +01:00
Alexandre Julliard
bef5645eb1
makefiles: Remove the no longer needed explicit separators for dependencies.
2010-03-16 13:28:19 +01:00
Christian Costa
2e48bdd144
ddraw/tests: Fix typos.
2010-03-01 12:05:53 +01:00
Alexandre Julliard
6164ce2d82
makefiles: Use the standard C_SRCS variable as the list of test files.
...
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Paul Vriens
22fc1fe366
ddraw/tests: Fix a test failure on VMware and VirtualBox on W2K and below.
2010-02-15 16:09:31 +01:00
Christian Costa
e0213af9ab
ddraw: Enable GetViewport to retreive data set by SetViewport2 and vice-versa + tests.
2010-02-15 12:51:23 +01:00