Commit Graph

65 Commits

Author SHA1 Message Date
Jacek Caban 10f38c0600 winex11: Move user driver to unixlib.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-06 19:18:22 +02:00
Jacek Caban ef8e4b7e3e winex11: Use libc for driver memory allocation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-25 20:34:55 +02:00
Jacek Caban 30c266a625 winex11: Directly use ntdll in X11DRV_GetICMProfile.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-22 21:42:20 +02:00
Jacek Caban f1fb42ac4d winex11: Use a simple sdbm hash implementation in X11DRV_GetICMProfile.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-22 21:42:20 +02:00
Jacek Caban 4631b007c1 winex11: Directly use win32u for GDI functions in graphics.c.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 21:39:42 +02:00
Jacek Caban 50c7404885 winex11: Directly use ntdll for registry access in X11DRV_GetICMProfile.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 17:34:48 +02:00
Jacek Caban 6403e88140 gdi32: Use GetICMProfile driver entry point for EnumICMProfilesW.
When display ICM is not explicitly configured on Windows, GetICMProfile
returns the default profile, but EnumICMProfiles does not enumerate
anything. For non-default configuration, EnumICMProfiles returns
configured profiles.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-09 19:31:22 +02:00
Jacek Caban 3a7c1630ea winex11: Don't use pPolygon graphics driver entry point.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-22 13:19:49 +02:00
Alexandre Julliard 4a902de213 gdi32: Make GDI driver functions cdecl.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-06 21:47:58 +02:00
Michael Stefaniuc 8e1d40b966 winex11.drv: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-19 23:17:49 +02:00
Alexandre Julliard 10b526733f winex11: Implement FillPath, StrokeAndFillPath and StrokePath.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-17 00:09:20 +09:00
Francois Gouget c223994b7a winex11.drv: Make X11DRV_XROPfunction static. 2015-03-16 15:03:39 +09:00
Alexandre Julliard 6f6217e9a4 winex11: Remove remaining X11 locking around graphics calls. 2012-08-14 15:13:21 +02:00
Alexandre Julliard 6bfcb347bf winex11: Remove X11 locking around simple X calls. 2012-08-14 15:13:08 +02:00
Alexandre Julliard bc6f2f8615 winex11: Store the DC bounds rectangle as a pointer. 2012-04-27 12:51:43 +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 bb62ddeba7 winex11: Remove support for server-side fonts. 2012-04-18 13:07:17 +02:00
Alexandre Julliard a9b786728c winex11: ExtFloodFill does take the current ROP into account. 2012-04-17 16:40:47 +02:00
Alexandre Julliard dedd9fe23e winex11: Convert all points to device coordinates at once for polylines and polygons. 2012-04-17 14:39:05 +02:00
Alexandre Julliard 46390b09d5 winex11: Fix a potential deadlock in the GradientFill non-XRender fallback. 2012-04-02 22:21:45 +02:00
Alexandre Julliard fe7d81dc1b winex11: Ignore rectangles with invalid coordinates when converting region data. 2012-01-23 16:06:55 +01:00
Alexandre Julliard 98dd61e2f3 winex11: Don't cache text and background pixel values to support PALETTEINDEX properly. 2012-01-11 20:55:35 +01:00
Alexandre Julliard bcc65899f8 winex11: Remove DIB locking calls from all graphics functions. 2012-01-06 19:24:26 +01:00
Alexandre Julliard 4066587f19 winex11: Remove DIB locking calls from all blitting entry points. 2011-12-19 20:15:42 +01:00
Alexandre Julliard 810d215a3c winex11: Get rid of the GetPixel implementation, use the null driver fallback instead. 2011-12-13 14:00:14 +01:00
Alexandre Julliard 8d6354c5b2 winex11: Allow the visible region to be zero when not clipping. 2011-12-06 15:51:00 +01:00
Alexandre Julliard 649e33de58 winex11: Store the visible region handle directly instead of making a copy. 2011-12-06 15:51:00 +01:00
Alexandre Julliard 7534d47b1b gdi32: Pass the total visible region in the SetDeviceClipping driver entry point. 2011-12-06 15:51:00 +01:00
Alexandre Julliard 7ea59c107f gdi32: Use dithering also for 1-bpp gradients. 2011-12-05 16:36:08 +01:00
Alexandre Julliard 0446707a56 winex11: Implement rectangular gradients using straight X11 calls. 2011-11-30 13:09:08 +01:00
Alexandre Julliard 3be01b185d winex11: Set XRender clipping lazily when retrieving the destination picture. 2011-09-20 16:21:40 +02:00
Alexandre Julliard 271530b3dd winex11: Add a SetDeviceClipping entry point to the XRender driver. 2011-09-13 17:17:00 +02:00
Alexandre Julliard c582edbc5a winex11: Return a RGNDATA from add_extra_clipping_region and avoid changing the physdev region. 2011-09-13 17:17:00 +02:00
Alexandre Julliard 84f549b683 winex11: Pass an HDC to the size mapping functions. 2011-09-12 14:03:11 +02:00
Alexandre Julliard 72607b3817 winex11: Add helper functions for changing and restoring the current clipping region. 2011-07-21 19:03:10 +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 00647af50b winex11: Use the HDC from the gdi_physdev structure. 2011-07-08 16:03:59 +02:00
Alexandre Julliard 6c951b7d0d winex11: Pass a generic PHYSDEV to all graphics entry points. 2011-07-08 15:55:11 +02:00
Austin English 846ba03867 winex11.drv: Remove extraneous parentheses (LLVM/Clang). 2011-04-13 14:13:54 +02:00
Hans Leidekker 898a4cfaec winex11: Implement EnumICMProfiles. 2010-10-26 15:24:18 +02:00
Alexandre Julliard 2cca18dd6e winex11: Break positioning of graphics in mirrored contexts to be broken the same way as Windows. 2010-09-02 10:50:55 +02:00
Alexandre Julliard b3dd20706a winex11: Fix the positioning of some graphics primitives on mirrored contexts. 2010-07-30 11:35:14 +02:00
Alexandre Julliard f57c1b77dd gdi32: Get rid of the GetDCOrgEx driver entry point, GDI can implement this itself now. 2010-07-26 18:38:31 +02:00
Vincent Povirk 986a534ebe winex11.drv: Clip rectangle values to 16-bit limits. 2010-04-02 15:22:51 +02:00
Alexandre Julliard 184f1fe331 winex11: Get rid of the SetDCOrg entry point. 2009-11-17 15:14:54 +01:00
Roderick Colenbrander 14e21d955a winex11: Add X11DRV_XRender_SetDeviceClipping for syncing the clipping region with XRender pictures. 2009-10-14 14:01:34 +02:00
Roderick Colenbrander 5db05dfea9 winex11: Use ColorShifts data in X11DRV_PALETTE_ToLogical. 2009-09-02 16:09:07 +02:00
Roderick Colenbrander c6570a50f8 winex11: Make X11DRV_SetupGCForPatBlt independent of screen_depth. 2009-07-23 16:10:51 +02:00
Roderick Colenbrander 618b410aa8 winex11: Add a function for retrieving the bitmap GC. 2009-07-16 11:19:34 +02:00
Rein Klazes 5265e0f2e5 winex11: GetPixel() on a monochrome bitmap should return black or white, not dark red. 2009-04-29 15:50:25 +02:00