Commit Graph

47 Commits

Author SHA1 Message Date
Francois Gouget a006296dca ddraw/tests: Fix compilation on systems that don't support nameless unions. 2011-05-16 16:35:28 +02:00
Ričardas Barkauskas a7bd11afb0 ddraw: Fix filtering of enumerated display modes. 2011-05-12 18:22:25 +02:00
Henri Verbeet 7e3985e1fe ddraw: Setup the device window in SetCooperativeLevel(). 2010-11-08 13:30:54 +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
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
David Adam 94f74a7caf ddraw: Add tests for the foreground window set by SetCooperativeLevel. 2010-11-01 12:38:44 +01: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
Johan Gill 1fb67788b1 ddraw: Added a todo_wine test for SetCooperativeLevel. 2010-07-28 16:28:22 +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
Alexandre Julliard 6d1ba98f5b ddraw/tests: Fix a test that fails on Win2k. 2010-02-05 11:54:51 +01:00
Nicolas Le Cam bf64bbd1fb ddraw/tests: Get rid of a carriage return in a trace. 2009-12-14 12:04:06 +01:00
Paul Vriens 8a1f0eed8e ddraw/tests: Fix a test failure on systems with no DirectDraw7. 2009-11-03 21:26:46 +01:00
Markus Stockhausen f222a1654e ddraw: Avoid memory overwrite in GetDeviceIdentifier(). 2009-10-30 16:32:53 +01:00
Paul Vriens 72fab20ffe ddraw/tests: Don't crash on older ddraw. 2009-10-12 12:14:03 +02:00
Andrew Nguyen 7211f7ce18 ddraw: Implement and test DirectDrawEnumerateExW. 2009-10-09 11:50:28 +02:00
Andrew Nguyen 3496fe5f43 ddraw: More fully implement and test DirectDrawEnumerateExA. 2009-10-09 11:50:28 +02:00
Andrew Nguyen bab8f7e557 ddraw: Implement and test DirectDrawEnumerateW. 2009-10-09 11:50:14 +02:00
Andrew Nguyen 4c61c2ff63 ddraw: Simplify and test DirectDrawEnumerateA. 2009-10-09 11:40:16 +02:00
Henri Verbeet ee60e5fd71 ddraw: Remove trailing spaces. 2009-09-01 14:06:03 +02:00
Francois Gouget 82b7fc6855 ddraw/tests: Replace malloc() with HeapAlloc(). 2009-05-13 12:45:36 +02:00
Andrew Nguyen e1a1ae5e1b ddraw/tests: Skip some cooperative level tests on NT4/Win95.
The DirectX SDK reports that cooperative level flags
DDSCL_SETDEVICEWINDOW and DDSCL_SETFOCUSWINDOW are only
available on Windows 98 and higher.
2009-03-23 18:21:06 +01:00
Stefan Dösinger 6ef2b65531 ddraw: Reject IDirectDraw3 QI in ddraw.dll. 2009-01-03 15:14:51 +01:00
Michael Stefaniuc 176c8eb333 ddraw: Remove two superfluous casts. 2008-12-05 12:36:34 +01:00
Paul Vriens a12509532c ddraw/tests: Fix a test on a Win98 box. 2008-09-22 12:16:53 +02:00
Paul Vriens f076d79c6c ddraw/tests: Don't crash on win9x. 2008-05-28 11:32:24 +02:00
Stefan Dösinger 8ad3a1f49e ddraw: Some drivers return a refresh rate of 0. 2008-02-06 12:43:53 +01:00
Francois Gouget 7478d9c44d ddraw/tests: Fix compilation on systems that don't support nameless unions. 2008-01-16 12:46:09 +01:00
Peter Dons Tychsen 6e8b7c4cef ddraw: Add missing pitch in callback from EnumDisplayModes(). 2008-01-04 13:55:12 +01:00
Vitaliy Margolen 2a63a03eb1 wined3d: When changing display modes clip cursor to the requested display size. 2006-12-15 13:44:36 +01:00
H. Verbeet 37cb9de851 ddraw/tests: Win64 printf format warning fixes. 2006-10-10 19:59:14 +02:00
Francois Gouget 66300403c4 ddraw: Only perform the screen resolution changing tests in interactive mode. 2006-10-02 11:54:39 +02:00
Stefan Dösinger 2d5b19c182 ddraw: Double buffered primary surfaces can only be created in EXLUSIVE mode. 2006-09-10 10:18:23 +02:00
Mike McCormack a8ae03f2d8 ddraw: Make tests pass when OpenGL libraries aren't present. 2006-09-07 10:22:02 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Francois Gouget 6bddeb1cf7 Assorted spelling fixes. 2006-03-21 20:10:39 +01:00
Eric Pouech 8cddd5d2fb Made some functions static. 2005-12-12 11:53:56 +01:00
Stefan Dösinger 71af04b60c - Add handling for DDSCL_SETFOCUSWINDOW in SetCooperativeLevel.
- Print a fixme for DDSCL_CREATEDEVICEWINDOW  and
  DDSCL_SETDEVICEWINDOW.
- Don't allow DDSCL_EXCLUSIVE without DDSCL_FULLSCREEN.
2005-10-06 12:26:04 +00:00
Stefan Huehner 9213d56ae0 Make some function static. 2005-06-20 15:35:54 +00:00
Stefan Huehner ac6f562b52 Fix more -Wstrict-prototypes warnings. 2005-06-20 14:18:03 +00:00
Alexandre Julliard c2d5b444b3 Moved the NONAMELESSUNION/STRUCT macros to wine/test.h so that they
can be used in all the test.
2005-06-13 12:10:54 +00:00
Jakob Eriksson d4727291ca SetDisplayMode can return DDERR_UNSUPPORTED. If it does, we shouldn't
try to restore something either.
2005-03-16 19:49:25 +00:00
Sami Aario 225f142c8d Added surface tests. 2004-02-16 20:23:58 +00:00
Francois Gouget 998cc56773 Add trailing '\n's to ok() calls. 2004-01-20 21:49:35 +00:00
Sami Aario f22a4720b5 Added some conformance tests for ddraw. These enumerate some display
modes and then attempt to open them.
2003-11-18 00:12:00 +00:00