Commit Graph

125 Commits

Author SHA1 Message Date
Alexandre Julliard 458e0ad513 winex11: Use the default color table for window surfaces on 8bpp displays.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48088
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-19 18:38:22 +01:00
Alex Henrie 7dd3abe69f winex11: Copy icon color table in 256-color mode (Valgrind).
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-17 21:11:18 +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
Alexandre Julliard 3a72836136 winex11: Fix exposing partially off-screen windows.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-14 13:19:50 +02:00
André Hentschel 4f547e784a winex11: Build helper functions only when needed.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-29 16:06:02 +02:00
Alexandre Julliard dcf526b5b1 winex11: Force the alpha bits in the window surface for 32-bit visuals.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-26 13:38:13 +01:00
Kirill Smirnov 827f97c1ab winex11.drv: Fix an uninitialized variable (clang).
dst_bits structure is valid only if copy_image_bits() succeeded.

Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-08 12:13:14 +09:00
Alexandre Julliard c7c1fb5eab winex11: Flush the output of a flushed surface right away.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-27 20:53:31 +09:00
Alexandre Julliard ca5746ad1a server: Also exclude the top-level client rectangle for windows that have a pixel format. 2013-02-11 17:08:19 +01:00
Alexandre Julliard bdfab8cd88 winex11: Ignore color key and exposures when using the null surface. 2013-02-11 11:46:12 +01:00
Alexandre Julliard ae0ae4b9ba winex11: Check the bpp instead of the depth in the R8G8B8 format test. 2013-01-17 14:36:51 +01:00
Alexandre Julliard defcfde17c winex11: Add an option to disable shaping of layered window to work around compositor bugs. 2013-01-02 18:09:34 +01:00
Alexandre Julliard 8e65485732 winex11: Fall back to normal expose processing for areas outside of the surface region. 2012-12-03 18:24:44 +01:00
Alexandre Julliard aa85f33c31 winex11: Store a copy of the surface region. 2012-12-03 18:24:43 +01:00
Alexandre Julliard e2da590a85 winex11: Don't bother waiting for XShmPutImage to finish. 2012-11-28 14:40:13 +01:00
Alexandre Julliard fad3ca07e6 winex11: Don't return an alpha channel for DIBs read from the screen. 2012-10-10 20:34:09 +02:00
Alexandre Julliard cc7bf355c5 user32: Add support for setting the window surface visible region. 2012-10-09 15:22:56 +02:00
Alexandre Julliard 5a9de7a498 winex11: Use the XShm extension to copy window surfaces. 2012-10-03 15:37:07 +02:00
Alexandre Julliard 70a511739e winex11: Maintain a separate copy of the surface image bits when we need byte swapping. 2012-10-03 15:24:21 +02:00
Alexandre Julliard 219e2a3545 winex11: Split copy_image_bits into a couple of helper functions. 2012-10-03 14:32:54 +02:00
Alexandre Julliard 6f3b097a20 winex11: Fix a typo in the surface region computation with an alpha channel. 2012-10-03 11:19:39 +02:00
Alexandre Julliard d8247efd5e winex11: Take the alpha channel into account to compute the region of layered windows. 2012-10-02 14:08:37 +02:00
Alexandre Julliard 988f2fde86 winex11: Store the full visual info for the default visual. 2012-09-26 14:40:39 +02:00
Alexandre Julliard edea44f0ff winex11: Add support for the LWA_COLORKEY layered window attribute. 2012-09-12 16:00:18 +02:00
Alexandre Julliard 33ac850c80 winex11: Use window surfaces for rendering top-level windows.
It can be disabled by setting "ClientSideGraphics"="n".
2012-09-06 12:44:54 +02: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 191cd77320 winex11: Remove the support for device-dependent bitmaps. 2012-05-29 21:22:23 +02:00
Alexandre Julliard 73919154bf winex11: Always allocate a new GC for bitmap operations. 2012-05-29 21:12:39 +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 3e8ad9a064 winex11: Add a helper to create a pixmap from an image. 2012-05-15 17:02:07 +02:00
Alexandre Julliard f99af0bb8f winex11: Add a helper to retrieve an image from a pixmap. 2012-05-14 14:17:25 +02:00
Alexandre Julliard 305b10aba6 winex11: Use an XVisualInfo structure to store color formats in Get/PutImage. 2012-05-14 14:16:46 +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 98dd61e2f3 winex11: Don't cache text and background pixel values to support PALETTEINDEX properly. 2012-01-11 20:55:35 +01:00
Alexandre Julliard 40bf321e5a winex11: Remove the remainining DIB section locking calls. 2012-01-10 16:13:24 +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 8d6354c5b2 winex11: Allow the visible region to be zero when not clipping. 2011-12-06 15:51:00 +01:00
Alexandre Julliard 4c6a409779 winex11: Use an X11 error handler to catch BadMatch errors from XGetImage. 2011-12-05 22:47:31 +01:00
Alexandre Julliard 5021040452 winex11: Fall back to client-side blit when the source needs palette mapping. 2011-10-10 22:07:17 +02:00
Alexandre Julliard 40c2f3ff48 winex11: Fall back to client-side blit for color -> monochrome conversions. 2011-10-10 21:44:47 +02:00
Alexandre Julliard f0f1005b37 winex11: Remove no longer needed support for a source DIB color map in X11 StretchBlt. 2011-10-03 16:30:42 -05:00
Alexandre Julliard 6861f4c252 winex11: Fall back to the DIB engine for client-side stretching. 2011-09-28 11:27:19 +02:00
Alexandre Julliard 6e80c49fc9 winex11: Get rid of the client-side DIB optimization in StretchBlt. 2011-09-28 11:12:14 +02:00
Alexandre Julliard 46f1d2a48a winex11: Remove redundant pixmap prefix in X_PHYSBITMAP field names. 2011-09-26 15:29:28 +02:00
Alexandre Julliard d905ba5a33 winex11: Implement a PutImage entry point in the XRender driver. 2011-09-19 17:56:07 +02:00
Alexandre Julliard 3e5f87aee6 winex11: Avoid passing color shifts to copy_image_bits. 2011-09-19 17:56:07 +02:00
Alexandre Julliard 498e3cf2a1 winex11: Remove the XRender support in the X11 driver StretchBlt implementation. 2011-09-15 13:22:31 +02:00
Alexandre Julliard dc9a218a00 winex11: Add a StretchBlt entry point to the XRender driver. 2011-09-15 13:12:18 +02:00
Alexandre Julliard 0f9dfb932e winex11: Use the DIB engine for client-side DIB copy optimizations. 2011-09-14 13:26:29 +02:00