Commit Graph

1674 Commits

Author SHA1 Message Date
Alexandre Julliard
e059d565ab gdi32: Add a null WGL driver. 2012-06-28 18:52:27 +02:00
Alexandre Julliard
6a9dcd51a2 gdi32: Remove the remaining OpenGL entry points from the DC driver. 2012-06-28 18:52:23 +02:00
Alexandre Julliard
edfc7f0de0 opengl32: Move wglGetProcAddress to the WGL driver. 2012-06-28 16:14:55 +02:00
Alexandre Julliard
8a13afedd6 opengl32: Move GetPixelFormat to the WGL driver. 2012-06-28 15:53:14 +02:00
Alexandre Julliard
bbdf77a311 opengl32: Move wglCreateContext to the WGL driver. 2012-06-28 15:47:31 +02:00
Alexandre Julliard
3bcb8057a1 opengl32: Move wglCreateContextAttribsARB to the WGL driver. 2012-06-28 15:07:44 +02:00
Alexandre Julliard
7a031d9b92 opengl32: Add the concept of a WGL driver. 2012-06-28 14:37:31 +02:00
Alexandre Julliard
db25d4022a winex11: Simplify wglSetPixelFormatWINE and export it as a standard extension function. 2012-06-28 13:13:01 +02:00
Stefan Leichter
db21158faa gdi32: Spelling fix. 2012-06-28 11:37:03 +02:00
Alexandre Julliard
4a367c5719 winex11: Export wglMakeCurrent and wglMakeContextCurrentARB as standard extension functions. 2012-06-28 01:44:03 +02:00
Alexandre Julliard
67e7eda96c gdi32: Forward SwapBuffers to opengl32 which in turn calls GdiSwapBuffers. 2012-06-26 12:24:15 +02:00
Alexandre Julliard
c013945728 gdi32: Forward SetPixelFormat to opengl32 which in turn calls GdiSetPixelFormat. 2012-06-26 12:24:15 +02:00
Alexandre Julliard
e9f270bd41 gdi32: Forward DescribePixelFormat to opengl32 which in turn calls GdiDescribePixelFormat. 2012-06-26 12:24:14 +02:00
Alexandre Julliard
81cd178ae1 winex11: Move ChoosePixelFormat implementation to opengl32 and base it on DescribePixelFormat. 2012-06-26 12:24:09 +02:00
Alexandre Julliard
ee21554893 gdi32: Remove OpenGL functions that don't use an HDC from the driver entry points. 2012-06-25 16:25:57 +02:00
Alexandre Julliard
1c2f9255f4 gdi32: Fix StretchDIBits return value when destination is clipped. 2012-06-22 14:39:28 +02:00
Dan Kegel
b85270e3a5 gdi32: Add test for SelectClipRgn in metafiles, make it pass. 2012-06-20 10:50:15 +02:00
Akihiro Sagawa
f503afd86f gdi32: Remove an outdated comment in struct DefaultFontInfo. 2012-06-18 11:59:40 +02:00
Akihiro Sagawa
2bb416baa8 gdi32: Fix East-Asian font parameters. 2012-06-18 11:59:40 +02:00
Akihiro Sagawa
afdc84cf03 gdi32/tests: Make GetStockObject tests pass on East-Asian machines. 2012-06-18 11:59:39 +02:00
Alexandre Julliard
b61925e1ea gdi32: Fix the contents of the region data in metafiles. 2012-06-18 10:54:30 +02:00
Dmitry Timoshkov
e65b19cad3 gdi32: Do not normalize height of the default GUI font. 2012-06-12 10:15:26 +02:00
Alexandre Julliard
c07763b419 gdi32: Clip output to both the DIB visible rectangle and the total DIB extents. 2012-06-04 22:23:15 +02:00
Alexandre Julliard
319a87c86e gdi32: Take into account the DIB rectangles when determining overlap for blits. 2012-06-04 22:23:13 +02:00
Dmitry Timoshkov
cca41207c1 gdi32: Fix parameters of some GDI stock fonts. 2012-06-04 12:17:53 +02:00
Dmitry Timoshkov
4fa2945544 gdi32/tests: GetGlyphOutline should fail for a bitmap font. 2012-06-01 13:25:52 +02:00
Alexandre Julliard
6d23f3e7e1 gdi32: Keep the source DC locked until the end in StretchBlt and AlphaBlend. 2012-05-31 15:33:12 +02:00
Alexandre Julliard
61f4767ade gdi32: Don't implement the gamma ramp functions in the DIB driver. 2012-05-31 13:44:32 +02:00
Alexandre Julliard
af4871f862 gdi32: Make sure the bounds are always updated in ExtTextOutW. 2012-05-30 21:35:22 +02:00
Alexandre Julliard
93758c43fd gdi32: Remove the CreateBitmap and DeleteBitmap driver entry points. 2012-05-29 21:06:41 +02:00
Alexandre Julliard
1416d0e6f1 gdi32: Remove the bitmap parameter from the Get/PutImage entry points. 2012-05-29 21:05:52 +02:00
Alexandre Julliard
7c4c233d12 gdi32: Add a helper function that implements PutImage on a bitmap. 2012-05-29 18:20:12 +02:00
Alexandre Julliard
cf85fb14ab gdi32: Add a helper function that implements GetImage on a bitmap. 2012-05-29 18:20:11 +02:00
Alexandre Julliard
b6f25e5250 gdi32: Remove the null driver Get/PutImage fallbacks for bitmaps. 2012-05-29 18:20:11 +02:00
Alexandre Julliard
592bfd52c9 gdi32: Always use the DIB engine for DDB rendering. 2012-05-29 18:20:10 +02:00
Alexandre Julliard
77ee0b56bb gdi32/tests: Add some more tests for monochrome bitmap blits. 2012-05-29 18:17:47 +02:00
Alexandre Julliard
df924f6a8c gdi32: Fix StretchBlt color mapping for monochrome bitmaps without a color table. 2012-05-29 18:17:22 +02:00
Alexandre Julliard
c2784e08fc gdi32: Improve support of bitmaps without a color table in PutImage. 2012-05-29 18:16:30 +02:00
Alexandre Julliard
8761bb29ea gdi32/tests: Add tests for color mappings in monochrome bitmaps. 2012-05-25 11:47:55 +02:00
Alexandre Julliard
b81a7d976e gdi32: Always use the DIB engine for monochrome bitmap rendering. 2012-05-25 11:47:46 +02:00
Alexandre Julliard
294faf5ef3 gdi32: Check that the bitmap depth matches the DC when selecting it. 2012-05-25 11:19:36 +02:00
Alexandre Julliard
fdc4682e31 gdi32: Remove the CopyBitmap driver entry point. 2012-05-24 22:09:19 +02:00
Alexandre Julliard
a196ad8fc1 gdi32: Always store a copy of the bitmap bits for pattern brushes. 2012-05-24 19:53:23 +02:00
Alexandre Julliard
8a86f6c993 gdi32: Don't use the DC colors when drawing a monochrome pattern to a monochrome DDB. 2012-05-23 20:24:08 +02:00
Alexandre Julliard
139aeba3ef gdi32: Implement dithering of solid brushes when drawing to DDBs. 2012-05-23 20:24:03 +02:00
Alexandre Julliard
664442ab84 gdi32: Don't store the default color table in dib_info objects. 2012-05-23 17:22:17 +02:00
Alexandre Julliard
9968f3083a gdi32: Use the default color table when mapping colors in bitmaps that don't have one. 2012-05-23 17:22:07 +02:00
Alexandre Julliard
b8e4cd81ab gdi32: Simplify creation of hatch masks and avoid endianness issues. 2012-05-23 17:22:03 +02:00
Alexandre Julliard
574a07e4c9 gdi32: Add a helper function to allocate the brush bits. 2012-05-22 22:03:18 +02:00
Alexandre Julliard
b708b40105 gdi32: Pass a rop_mask_bits object to the pattern_rects primitive. 2012-05-22 21:52:44 +02:00
Alexandre Julliard
524aef660e gdi32: Use a rop_mask_bits object to store the brush bits. 2012-05-22 21:47:30 +02:00
Alexandre Julliard
3c2502a8c7 gdi32: Add support for dithering pattern brushes when painting to monochrome bitmaps. 2012-05-22 17:43:52 +02:00
Francois Gouget
fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Alexandre Julliard
1392bfce3c gdi32: Pass OpenGL calls through to the display driver from the DIB engine. 2012-05-09 17:37:37 +02:00
Dmitry Timoshkov
82a4c5a6a3 gdi32: Set tmDigitizedAspectX/Y to 96 instead of 300 for consistency. 2012-05-09 12:06:34 +02:00
Dmitry Timoshkov
ab7fe6086e gdi32: Add a test for ntmCellHeight calculation. 2012-05-08 19:51:12 +02:00
Alexandre Julliard
147174ff1c winex11: Implement wglGetPbufferDCARB with a DC escape and remove it from the GDI driver interface. 2012-05-08 14:35:44 +02:00
Alexandre Julliard
eb80e6f2db gdi32: Allow a driver to implement SelectBitmap but not CreateBitmap. 2012-05-08 14:32:32 +02:00
Alexandre Julliard
e94d3b4e08 gdi32: Add a priority mechanism for pushing drivers on the stack in a defined order. 2012-05-08 12:16:50 +02:00
Alexandre Julliard
6a19d9f252 gdi32: Support drawing to a visible rectangle smaller than the whole bitmap in the DIB engine. 2012-05-01 14:28:39 +02:00
Alexandre Julliard
025b58870e gdi32: Always pass the actual coordinates to the get_pixel_ptr functions. 2012-05-01 11:41:19 +02:00
Alexandre Julliard
41e5bc06d8 gdi32: Add support for clipping source coordinates to the DC device rectangle. 2012-04-30 22:47:35 +02:00
Jeff Muizelaar
2da2f001cf gdi32: Improve performance of common case of AlphaBlend. 2012-04-30 20:03:28 +02:00
Alexandre Julliard
3ea711dd7c gdi32: Store the bounds rectangle as a pointer in the DIB driver. 2012-04-27 12:49:20 +02:00
Alexandre Julliard
3009e03df7 gdi32: Add a SetBoundsRect driver entry point. 2012-04-27 12:41:43 +02:00
Dmitry Timoshkov
5476c0e2b9 gdi32: ntmCellHeight and ntmAvgWidth should be in font units. 2012-04-24 18:44:07 +02:00
Dmitry Timoshkov
57fbf1434c gdi32: Enumerated font size should not be too large.
This reverts commit f4625d1ae1.
2012-04-24 18:43:45 +02:00
Alexandre Julliard
9674011d75 gdi32: Fix coordinates for row copies in mirrored vertical stretching. 2012-04-24 17:37:53 +02:00
Alexandre Julliard
6c2235cf98 gdi32: Fix some typos in the 4-bpp shrink_row function. 2012-04-23 14:58:12 +02:00
Alexandre Julliard
caf15dd797 gdi32/tests: Take into account multi-monitor setups in the clip region tests. 2012-04-20 12:12:21 +02:00
Daniel Lehman
2c5d7d716a gdi32: Don't add_join if points are coincident in wide_line_segments. 2012-04-18 17:15:19 +02:00
André Hentschel
9cf97e18b4 gdi32: Remove unneeded shadow variable. 2012-04-18 17:11:39 +02:00
Alexandre Julliard
4a87722144 winex11: Add bounds rectangle tracking to all graphics entry points. 2012-04-18 13:50:56 +02:00
Alexandre Julliard
8b7760292d gdi32/tests: Fix a test that can fail on multi-monitor setups. 2012-04-17 16:40:57 +02:00
Alexandre Julliard
34457aa4c3 gdi32: Add bounds tracking to all the DIB engine entry points. 2012-04-16 17:49:22 +02:00
Alexandre Julliard
582a2f511f gdi32: Add a GetBoundsRect driver entry point. 2012-04-16 13:53:23 +02:00
Alexandre Julliard
b1ccff1a9c gdi32: Add helper functions for manipulating bounds rectangles. 2012-04-16 13:41:29 +02:00
Michael Stefaniuc
7f293b00e8 gdi32/tests: Fix typo (comparison with itself). 2012-04-16 12:05:54 +02:00
Dmitry Timoshkov
34608a5108 gdi32: Add large fonts support for MS Sans Serif. 2012-04-13 16:09:45 +02:00
Alexandre Julliard
81fcb10977 gdi32/tests: Add test cases for wide pen bounding rectangles. 2012-04-13 16:09:39 +02:00
Alexandre Julliard
6c028b19c5 gdi32: Avoid redundant computation of the gradient bounding rectangle. 2012-04-13 13:41:16 +02:00
Alexandre Julliard
ea5fa7ddbe gdi32: Map all the points at once in PolyPolyline, similarly to what PolyPolygon does. 2012-04-13 13:39:06 +02:00
Alexandre Julliard
568afc210e gdi32: Move the pen/brush_region helpers to graphics.c and avoid redundant clipping. 2012-04-13 13:36:23 +02:00
Dmitry Timoshkov
31f6f48bfd gdi32: Add a test for bitmap fonts selected for not existing font sizes. 2012-04-10 19:54:34 +02:00
Alexandre Julliard
88bcd13d7f gdi32: Store the reference DC in the enhanced metafile and use it to retrieve device caps. 2012-04-10 16:21:24 +02:00
Alexandre Julliard
2776a97931 gdi32: Add explicit fields for the DC flags. 2012-04-10 16:21:23 +02:00
Alexandre Julliard
b762fcc9a7 gdi32: Clip the returned DC bounds to the device rectangle. 2012-04-10 16:21:11 +02:00
Alexandre Julliard
5917bd3959 gdi32: SaveDC doesn't save the DC bounds. 2012-04-10 16:19:20 +02:00
Alexandre Julliard
80f68d4442 gdi32/tests: Add tests for DC bounds handling across various DC manipulations. 2012-04-10 16:17:47 +02:00
Alexandre Julliard
a186a8b170 gdi32/tests: Add tests for DC bounds on various device types. 2012-04-10 13:20:01 +02:00
Alexandre Julliard
399ab6f1f2 gdi32/tests: Add tests for DC bounds to the DIB graphics tests. 2012-04-09 22:59:11 +02:00
Alexandre Julliard
514e952827 gdi32/tests: Automatically reset the bits after comparing the hash. 2012-04-09 21:28:50 +02:00
Dmitry Timoshkov
1f00c01ea5 gdi32: Add more verbose messages to indicate when a font is being added/replaced/refused to load. 2012-04-09 17:28:46 +02:00
Dmitry Timoshkov
e7a1362880 gdi32: Fix a typo in faces_equal() preventing loading all sizes of a bitmap font. 2012-04-09 17:28:43 +02:00
Alexandre Julliard
1ca6ed7748 gdi32: Fix GetClipBox return value for non-memory DCs. 2012-04-09 17:15:59 +02:00
Ken Thomases
9cb7a97981 gdi32: On Mac OS X, find fonts using Core Text rather than FontConfig, by default. 2012-04-05 14:51:34 +02:00
Ken Thomases
272cf2a973 Revert "gdi32: Load fonts from default Mac external font paths.".
This reverts commit 85a71387da.
2012-04-05 14:51:33 +02:00
Kusanagi Kouichi
c0c7547f37 gdi32: Improve font cache. 2012-04-02 18:37:48 +02:00
Dmitry Timoshkov
62b9c26bb5 gdi32: Refuse to load a large .fot file earlier. 2012-04-02 12:42:22 +02:00
Dmitry Timoshkov
b2af51956d gdi32: Remove a no longer needed shortcut in CreateScalableFontResource test. 2012-04-02 12:41:40 +02:00