Commit Graph

56 Commits

Author SHA1 Message Date
Fabian Maurer e0ad2c3e5f gdi32: Add traces for painting functions.
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-25 11:26:58 +01:00
Huw Davies 199ca9258a gdi32: Access several more properties directly from the DC.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-29 23:43:35 +09:00
Huw Davies 6a8cfea99b gdi32: Use POINT and SIZE to hold positions and extents.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-27 22:21:08 +09:00
Alexandre Julliard c500713dd3 gdi32: Fix updating the current position in PolyDraw.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-21 00:23:50 +09:00
Huw Davies bb4ead4c7c gdi32: Use abs() on an integer argument to avoid a clang warning.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-12 21:00:52 +09:00
Andrew Talbot f98f70fb41 gdi32: Avoid signed-unsigned integer comparisons. 2013-01-21 12:51:15 +01:00
Huw Davies e6f1930116 gdi32: Simplify the point type checking logic. 2012-11-27 17:00:05 +01:00
Alexandre Julliard e95cff0332 gdi32: Always update the DC before looking for the physdev pointer. 2012-09-20 21:07:04 +02:00
Alexandre Julliard 05c32b9b89 gdi32: Move the SwapBuffers entry point to the OpenGL driver. 2012-09-10 11:38:28 +02:00
Alexandre Julliard 96e80c2623 gdi32: Move DescribePixelFormat and SetPixelFormat to the WGL driver. 2012-07-30 22:12:13 +02:00
Alexandre Julliard 8a13afedd6 opengl32: Move GetPixelFormat to the WGL driver. 2012-06-28 15:53:14 +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 9f410413a6 gdi32: Implement GetPixel in the null driver using GetImage. 2011-12-13 14:00:05 +01:00
Alexandre Julliard 8e8cdc78e6 gdi32: Add more parameter checks in GdiGradientFill. 2011-12-05 16:36:08 +01:00
Alexandre Julliard c5bddce3aa gdi32: Add some parameter checks in GdiGradientFill. 2011-12-02 14:00:18 +01:00
Alexandre Julliard 4c6807199e gdi32: Use the DIB engine and PutImage for the null driver rectangular gradient implementation. 2011-11-30 12:59:11 +01:00
Alexandre Julliard 95cba0c0f4 gdi32: Add a DC driver entry point for GdiGradientFill. 2011-10-31 23:51:38 +01:00
Alexandre Julliard 613972efe5 gdi32: Implement the polyline entry points in the path driver. 2011-10-26 23:16:51 +02:00
Alexandre Julliard d4889bef47 gdi32: Implement the polygon entry points in the path driver. 2011-10-26 23:16:51 +02:00
Alexandre Julliard ac00dfc984 gdi32: Implement the Bezier entry points in the path driver. 2011-10-26 23:16:19 +02:00
Alexandre Julliard 4d9cc24128 gdi32: Implement the arc entry points in the path driver. 2011-10-26 20:10:00 +02:00
Alexandre Julliard f8040958f5 gdi32: Implement the Rectangle and RoundRect entry points in the path driver. 2011-10-26 20:05:24 +02:00
Alexandre Julliard fc5e29486d gdi32: Implement the LineTo entry point in the path driver. 2011-10-26 19:58:51 +02:00
Alexandre Julliard 2c1ec7fc3b gdi32: Implement the MoveTo entry point in the path driver. 2011-10-26 19:57:28 +02:00
Alexandre Julliard c7a8ff26d3 gdi32: Graphics driver functions no longer need to be CDECL. 2011-07-13 14:56:12 +02:00
Alexandre Julliard 806d0c4f86 gdi32: Add null driver entry points for the pixel format functions. 2011-03-11 12:38:19 +01:00
Alexandre Julliard 7e3a871497 gdi32: Add null driver entry points for painting functions that have a fallback implementation. 2011-03-09 11:47:30 +01:00
Alexandre Julliard 1f6f82782c gdi32: Add null driver entry points for a number of simple painting functions. 2011-03-09 11:47:14 +01:00
Austin English e36370f04b gdi32: Add a stub for GdiDrawStream. 2011-02-14 13:33:29 +01:00
Alexandre Julliard bd5ccea53f gdi32: Avoid some rounding errors in AngleArc. 2010-04-09 18:24:35 +02:00
Michael Stefaniuc 4114cea302 gdi32: Use "%p" to TRACE() pointers. 2009-03-25 11:09:19 +01:00
Alexandre Julliard 7e2e30bade gdi32: Make sure the DC is up-to-date before accessing the pixel format. 2008-05-12 19:58:23 +02:00
Huw Davies 65d5c20a6b gdi32: LineDDA shouldn't include the end point. Add some tests. 2008-04-16 14:07:07 +02:00
Francois Gouget 22edaaef16 gdi32: Small wording tweaks in comments. 2008-01-16 12:46:04 +01:00
Austin English 464258b7cd Spelling fixes. 2008-01-03 13:08:54 +01:00
Andrew Talbot ce0e1706fe gdi32: Fix a memory leak. 2007-09-25 11:18:20 +02:00
Alexandre Julliard 5557fac1c3 gdi32: Don't hold the GDI lock while calling the driver painting functions. 2007-09-24 18:16:48 +02:00
Alexandre Julliard 9aee0b4157 gdi32: Update the DC in most OpenGL functions. 2007-09-18 09:34:08 +02:00
Alexandre Julliard f3f792d064 gdi32: Replace DC_GetDCUpdate by get_dc_ptr+update_dc in the painting functions. 2007-09-18 09:34:07 +02:00
Chris Robinson 09c76ffbdc gdi32: Don't hold the GDI lock when setting the pixel format. 2007-09-17 16:19:04 +02:00
Alexandre Julliard 1476e34645 gdi32: Add separate functions for releasing/freeing DCs to replace the standard GDI ones.
This should make it possible to use a different locking mechanism for DCs.
2007-08-21 21:37:40 +02:00
Evan Stade 099bfbe1a4 gdi32: Improved PolyDraw in path closed case. 2007-07-19 14:46:54 +02:00
Evan Stade 96937e04a2 gdi32: Added PATH_PolyDraw. 2007-07-17 14:12:37 +02:00
Misha Koshelev def420262b gdi32: Slightly simplify result handling in PolyDraw. 2007-07-05 19:52:45 +02:00
Evan Stade 53e05015f6 gdi32: Don't access DC in PolyDraw after releasing handle. 2007-07-04 12:06:58 +02:00
Evan Stade 39357c4ba6 gdi32: Added missing call to GDI_ReleaseObj. 2007-06-27 13:33:38 +02:00
Misha Koshelev 920b050a8b gdi32: Emulate AngleArc using ArcTo. 2007-06-22 14:19:06 +02:00