Alexandre Julliard
c68589e3dd
gdi32: Replicate a Windows bug in StretchDIBits for top-down bitmaps in the non-stretching case.
...
Found by Mathias Kosch.
2010-07-30 14:59:41 +02:00
Alexandre Julliard
811cdfaf27
gdi32: Reject invalid DIB depths in CreateDIBSection.
2010-07-20 14:40:32 +02:00
Alexandre Julliard
7f19bda6ec
gdi32: Only 16 and 32 bpp DIB sections can have bitfields.
2010-05-27 14:44:37 +02:00
Alexandre Julliard
f4e51a9c45
gdi32: Return the actual DIB section bitfields instead of default values in GetDIBits.
2010-05-27 13:37:37 +02:00
Gerald Pfeifer
fcf831acef
gdi32/tests: Remove two variables which are not really used from test_clipping.
2010-05-10 10:14:32 +02:00
Roderick Colenbrander
c29cf05919
winex11: Add support for 32-bit DDBs.
2010-04-13 13:06:32 +02:00
Dmitry Timoshkov
fb9bca41e5
gdi32: Fix some DC leaks in gdi32 bitmap tests.
2010-04-07 13:51:13 +02:00
Paul Vriens
b5738dcceb
gdi32/tests: Fix a test failure on Win9x/WinMe.
2010-03-05 12:46:01 +01:00
Henri Verbeet
9ab004d56a
gdi32: GetObject() should return the DIB's absolute height in dsBmih.biHeight.
2010-03-01 14:03:34 +01:00
Henri Verbeet
96e4a33b65
gdi32/tests: Fix a few format strings.
2010-03-01 14:03:33 +01:00
Joel Holdsworth
170e425b00
gdi32: Added tests for StretchDIBits.
2009-10-02 11:50:01 +02:00
Joel Holdsworth
fb0b7381d0
gdi32: Added tests for StretchBlt.
2009-10-02 11:49:46 +02:00
Markus Stockhausen
e51b20bf05
gdi32: Check for NULL pointer in GdiAlphaBlend.
2009-09-18 09:14:16 -05:00
Joel Holdsworth
91f458314b
gdi32/tests: Added tests for BitBlt.
2009-07-16 16:18:20 +02:00
Paul Vriens
31d82c5fdc
gdi32/tests: Mark an intermittent failure as broken() on Win9x/ME.
2009-07-06 14:35:25 +02:00
Paul Vriens
9f4283dcc6
gdi32/tests: Fix a test failure on Win9x/WinME.
2009-05-22 15:16:29 +02:00
Nikolay Sivov
0f9bc1d3b7
gdi32: Check header pointer in CreateDIBitmap.
2009-05-04 14:57:32 +02:00
Paul Vriens
75f6b1d636
gdi32/tests: Fix some test failures on Win9x/WinME.
2009-04-28 11:58:14 +02:00
Huw Davies
908ff58339
gdi32/tests: Under win9x GetBitmapBits returns zero when passed a NULL buffer.
2009-03-11 13:03:33 +01:00
Huw Davies
f1e1ae7483
gdi32/tests: Mark as broken another case where win9x doesn't set biSizeImage.
2009-03-11 13:03:33 +01:00
Huw Davies
d77ed15f05
gdi32/tests: win9x doesn't initialise the bitmap bits. Mark this behaviour as broken.
2009-03-11 13:03:33 +01:00
Huw Davies
e41e1f8f84
gdi32/tests: Remove a cut and paste error.
2009-03-11 13:03:33 +01:00
Huw Davies
3d461dbe85
gdi32/tests: Win9x's GetDIBits() sets biSizeImage to zero for BI_RGB dibs.
2009-03-10 12:09:12 +01:00
Huw Davies
f7608053e7
gdi32/tests: Marked another win9x failure as broken.
2009-03-10 12:09:08 +01:00
Huw Davies
bbafe93858
gdi32/tests: Fix yet another place where win9x returns bmType equal to 0x5250.
2009-03-10 12:09:04 +01:00
Huw Davies
5ccf92f512
gdi32/tests: Fix another case where win9x returns bmType equal to 0x5250.
2009-03-09 13:55:48 +01:00
Huw Davies
a88e6e0182
gdi32/tests: win9x doesn't return the correct number of colours used with dib sections created via DIB_PAL_COLORS.
2009-03-09 13:55:45 +01:00
Huw Davies
240651e0c1
gdi32/tests: Mark win9x behaviour as broken.
2009-03-09 13:55:42 +01:00
Huw Davies
246a9a6f7a
gdi32/tests: Win9x doesn't initialize the bitmap bits, so skip this test.
2009-03-04 13:06:20 +01:00
Huw Davies
1ad19cc9ce
gdi32/tests: Improve some test failure messages.
2009-03-03 13:26:20 +01:00
Eric Pouech
21c3e79e52
winex11: Correctly pad 1 bpp DDB's lines with 0 values.
2009-03-02 15:02:43 +01:00
Huw Davies
973ac6dbd2
gdi32/tests: Winnt doesn't set last error when a NULL dc is passed to GetDIBits.
2009-02-27 16:22:38 +01:00
Huw Davies
103f3db95f
gdi32/tests: Don't expect the screen dc's bitmap to be mono 1x1.
2009-02-27 16:22:27 +01:00
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