49 Commits

Author SHA1 Message Date
Huw Davies
e270f5a89d gdi32/tests: Add a broken() to an always true test. 2009-02-27 16:22:08 +01:00
Alexandre Julliard
d2b217e90a gdi32/tests: Add a test case for calling WriteFile with the DIB section bits as buffer. 2009-01-15 12:06:15 +01:00
Paul Vriens
098f2f231d gdi32/tests: Fix a few failures on Win9x. 2008-12-15 12:36:08 +01:00
Francois Gouget
f5657080c7 gdi32/tests: Make test_GdiAlphaBlend() static. 2008-12-12 11:42:07 +01:00
Paul Vriens
ed4444dae5 gdi32/tests: Fix some test failures on Win9x. 2008-12-12 11:38:31 +01:00
Paul Vriens
fee339f7ff gdi32/tests: Fix a few test failures on Win9x and WinMe. 2008-12-05 12:36:53 +01:00
Paul Vriens
9960ab2418 gdi32/tests: Fix a few test failures on Win9x and WinMe. 2008-12-04 15:46:15 +01:00
Michael Stefaniuc
ec1c9492b0 gdi32: Remove some superfluous casts. 2008-11-25 11:56:02 +01:00
Sergey Khodych
11d17fafc4 winex11: BitBlt returns TRUE when drawing outside of the clipping or visible region. 2008-11-06 11:09:16 +01:00
Michael Stefaniuc
8ff77fce45 gdi32/tests: HGDIOBJ is interchangeable with other handle types; no casts are needed. 2008-10-27 11:30:01 +01:00
Paul Vriens
880f785747 gdi32/tests: Skip some tests on Win9x/WinMe. 2008-10-08 12:20:38 +02:00
Paul Vriens
4bf5c5f8a2 gdi32/tests: Fix a few failures on win9x. 2008-10-06 13:09:05 +02:00
Michael Karcher
3843d5beee winex11: Fix GetDIBits with monochrome pixmaps. 2008-08-18 17:15:56 +02:00
Michael Karcher
8da833494d winex11: Fix GetDIBits of 1 bit DDBs.
1 bpp DDBs seem to always carry an implicit palette of black and white,
regardless of what the DC says. Based on a patch from Eric Pouech.
2008-07-01 14:59:14 +02:00
Michael Karcher
fd8746b43c gdi32: Fix palette of 1bpp DIB in GetDIBits.
Windows always generates a black/white palette for 1 bit DIBs
generated from DDBs. Copying from the current palette only takes place
for color DDBs (not explicitly mentioned in MSDN), and only if depth
equal (MSDN states it, explicitly).
2008-07-01 14:58:54 +02:00
Michael Karcher
5333923253 gdi32: Respect DIB_PAL_COLORS in every case. 2008-06-09 12:40:48 +02:00
Francois Gouget
8f91acc894 gdi32/tests: Take into account several Win9x bugs in GetObject(). 2008-06-05 15:53:32 +02:00
Austin English
bde1187488 gdi32: Fix a test failure in 2k. 2008-05-29 12:08:41 +02:00
Nikolay Sivov
1441311d36 gdi32: Avoid null pointer dereference in CreateDIBSection. 2008-05-12 13:59:13 +02:00
James Hawkins
c17bb019f4 gdi32: Remove a dependency on the amount of available memory. 2008-05-01 11:14:46 +02:00
Dmitry Timoshkov
80c1508bf1 gdi32: Make the bitmap test pass under Windows 2000. 2008-04-29 12:46:41 +02:00
James Hawkins
b48118b472 gdi32: Remove a dependence on the amount of available memory. 2008-04-25 11:33:51 +02:00
Alexandre Julliard
baceb8d07e gdi32: Return bitmask for 32-bit bitmaps too in GetDIBits. 2008-04-21 12:10:37 +02:00
Alexandre Julliard
99892d6bae gdi32: Fixed initialization of bit masks in GetDIBits for 16-bit bitmaps.
Fix and improve the test cases.
2008-04-18 13:57:15 +02:00
Austin English
cb2274e690 Spelling fixes. 2008-04-04 11:51:40 +02:00
Dan Kegel
338539c709 gdi32: Test retrieving BI_BITFIELDS info for 16bpp modes. 2008-03-31 16:07:47 +02:00
Reece H. Dunn
dc267e75b4 gdi32: Improve the failure reporting in the bitmap tests. 2008-02-06 13:49:52 +01:00
Dmitry Timoshkov
d5456de058 gdi32: Do not allow to create too large device dependent bitmaps like Windows does. 2008-01-15 12:39:50 +01:00
Stefan Dösinger
5461d505d7 winex11: Activate the depth-bpp difference. 2007-12-17 12:25:50 +01:00
Alexandre Julliard
976939745d gdi32/tests: Fix a compiler warning. 2007-12-14 14:31:06 +01:00
Stefan Dösinger
b3d1ea8596 gdi32: Test the "alpha" channel on compatible bitmaps. 2007-12-14 14:06:45 +01:00
Stefan Dösinger
f2547427c0 gdi32: Test the bit depth of compatible bitmaps explicitly. 2007-12-13 13:09:55 +01:00
Stefan Dösinger
d5d8a5be48 gdi32: Test bitmap depths. 2007-12-12 13:48:06 +01:00
Stefan Dösinger
aa390e840b gdi32, winex11drv: Add a test for compatible bitmap depths. 2007-12-12 13:46:42 +01:00
Francois Gouget
2bbfc931d1 gdi32/tests: Dynamically load GdiAlphaBlend() so the test runs on Win9x. 2007-11-09 13:06:25 +01:00
Lionel Debroux
b78ed57a39 gdi32/tests: Fix memory leak (found by Smatch). 2007-10-22 15:58:16 +02:00
Mikolaj Zalewski
9a72a865a2 winex11.drv: Test for out-of-bound src coordinates in GdiAlphaBlend. 2007-08-29 12:03:08 +02:00
Jeremy White
a2c2b60292 gdi32: Added a test for the case where lpvBits in GetDIBits is NULL and the bitcount is 0. 2007-07-16 13:38:09 +02:00
Michael Stefaniuc
b700e63d55 gdi32: Remove superfluous casts of void pointers to other pointer types. 2007-06-27 12:53:34 +02:00
Hans Leidekker
1871743543 gdi32: Add some tests for BITMAPINFOHEADER biSize checks. 2007-06-14 13:14:03 +02:00
Francois Gouget
7ba8c0a420 gdi32/tests: Fix a signed/unsigned int mismatch. 2007-05-29 13:46:31 +02:00
Dmitry Timoshkov
0457b0c346 gdi32: CreateBitmapIndirect should ignore the provided bm.bmWidthBytes. 2007-02-16 12:35:25 +01:00
Dmitry Timoshkov
0510a7a599 gdi32: CreateBitmap and friends should return stock DEFAULT_BITMAP if requested bitmap width or height is 0. 2007-02-05 12:24:55 +01:00
Dmitry Timoshkov
295f8101ec gdi32: Add a simple SelectObject test for bitmaps. 2007-01-22 13:29:27 +01:00
Dmitry Timoshkov
f31b67ae44 gdi32: Add a GetDIBits test. 2007-01-22 13:29:21 +01:00
Marcus Meissner
f0280cbd1e made functions and variables static in some testcases. 2006-12-11 12:18:29 +01:00
Alexandre Julliard
d5ee62342a winex11.drv: Don't use the specified DC when mapping RGB colors for a DIB.
The DC palette only matters for DIB_PAL_COLORS.
2006-11-27 17:04:19 +01:00
Alexandre Julliard
f7ffbe4581 gdi32: Remove call to CreateCompatibleDC() from GetDIBits() implementation.
Based on a patch by Alex Villacís Lasso.
2006-11-08 19:57:30 +01:00
Alexandre Julliard
7dfc447741 gdi32: Renamed the gdi directory to gdi32. 2006-10-20 12:25:29 +02:00