Alexandre Julliard
6f275874f3
gdi32: Add a SetDIBitsToDevice implementation in the null driver using PutImage.
2011-09-06 14:38:25 +02:00
Alexandre Julliard
bcc21c9b79
winex11: Fix SetDIBitsToDevice coordinate mapping for negative values.
2011-09-01 18:06:18 +02:00
Alexandre Julliard
e1ca5c38e2
winex11: Fix SetDIBitsToDevice coordinate mapping in RTL mode.
2011-09-01 12:41:00 +02:00
Alexandre Julliard
67b1f29d61
gdi32/tests: Add some SetDIBitsToDevice tests, based on the similar SetDIBits tests.
2011-09-01 12:39:15 +02:00
Alexandre Julliard
afa7817d6e
gdi32/tests: Simplify the DIB byte width computation.
2011-08-29 12:08:21 +02:00
Alexandre Julliard
4e3c649b9c
gdi32: Add parameter validation in GetDIBits.
2011-08-29 12:08:21 +02:00
Alexandre Julliard
82ef9f960d
gdi32/tests: Make sure the bitmap info is initialized in the GetDIBits test.
2011-08-26 11:15:16 +02:00
Alexandre Julliard
cf4c565fd2
gdi32: Validate the DIB parameters in functions that take a BITMAPINFO.
2011-08-05 13:39:14 +02:00
Frédéric Delanoy
760faf01a9
tests: Assorted spelling fixes.
2011-08-04 18:27:37 +02:00
Huw Davies
b94616864d
gdi32: If possible use the GetImage driver entry to fill the colour table for GetDIBits.
2011-08-04 18:27:36 +02:00
Huw Davies
d88151704e
gdi32/tests: Add some GetDIBits tests with zero lines and bits parameters.
2011-08-04 18:27:36 +02:00
Huw Davies
3a2d8b74cf
gdi32/tests: Simplify some of the tests.
2011-08-04 18:27:36 +02:00
Huw Davies
e81e73149f
gdi32: Actually use the dib driver's Get/PutImage if the bitmap is a dib.
2011-08-02 20:47:52 +02:00
Huw Davies
3f62946272
gdi32/tests: Add tests for GetDIBits using non-trivial source and destination areas.
2011-07-28 18:37:39 +02:00
Huw Davies
046ec2d132
gdi32/tests: Add some SetDIBits tests.
2011-07-25 13:40:56 +02:00
Huw Davies
103719e9e9
gdi32: Implement GetDIBits using the GetImage driver function.
2011-07-18 16:49:04 +02:00
Huw Davies
aa34b2fb77
gdi32: Construct the EGA palette from the default palette.
2011-06-28 10:19:02 -05:00
Huw Davies
bc653ce204
gdi32: Fix the 8 bpp generated colour table.
2011-06-27 13:29:48 -05:00
Huw Davies
e2f1bd4f8f
gdi32/tests: Show that Get/SetDIBits ignore the layout mode.
2011-06-24 08:51:20 -05:00
Huw Davies
b5ad5d3510
gdi32: Add more broken behaviour on nt4 sp3.
2011-06-21 11:29:03 +02:00
Huw Davies
92b467cdf8
gdi32/tests: Add broken behaviour for nt4 sp3.
2011-06-20 19:32:03 +02:00
Huw Davies
d73af0d954
gdi32/tests: Add broken behaviour on nt4 sp1 and 2.
2011-06-17 19:30:35 +02:00
Huw Davies
b0f59c3b11
gdi32: Add support for 1 bpp dibs.
2011-06-15 20:04:40 +02:00
Amine Khaldi
30b8d046ba
gdi32/test: SelectObject doesn't work with palettes, use SelectPalette instead.
2011-04-25 16:25:11 +02:00
John Edmonds
0d0d4f394f
gdi32: Fixes GetDIBits for top-down destination bitmaps.
2011-03-02 12:50:58 +01:00
John Edmonds
374db9240b
gdi32/tests: Updated tests for top-down destination bitmaps.
2011-03-02 12:50:58 +01:00
Austin English
c796ae653c
gdi32/tests: Remove win9x hacks.
2011-02-24 15:50:25 +01:00
John Edmonds
3c239fa0cd
gdi32: Fixed GetDIBits for top-down bitmaps.
2011-02-23 19:21:41 +01:00
John Edmonds
d2e1478db0
gdi32/tests: Added tests for copying a single pixel from top down and bottom up bitmaps.
2011-02-23 19:21:38 +01:00
Wolfram Sang
27d2b9b814
winex11.drv: In GetDIBits() with DIB sections, always use dibpitch from the target.
2010-12-02 19:20:45 +01:00
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
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