Zhiyi Zhang
2116b49717
winex11.drv: Migrate XVidMode display settings handler to a new interface.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-30 16:37:32 +02:00
Zhiyi Zhang
fd6f50c0d3
winex11.drv: Resize desktop upon display change events.
...
Otherwise, Wine still has the old desktop size after a user changed
display resolution using host system utilities.
X11DRV_DisplayDevices_Update() is introduced so that display devices
reinitialization is separated from desktop resizing. Otherwise,
X11DRV_DisplayDevices_Init() would have to be called twice to resize
the desktop with up-to-date primary monitor dimensions, wasting resources.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48441
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-12 23:10:18 +02:00
Alexandre Julliard
7afa53c0f2
winex11: Use standard dlopen() instead of the libwine wrappers.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-07 14:26:20 +02:00
Zhiyi Zhang
99d047724e
winex11.drv: Introduce is_virtual_desktop().
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-05 17:30:48 +01:00
Alexandre Julliard
81f8b6e8c2
winex11: Also catch X errors from XF86VidModeSetGammaRamp().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-29 10:49:20 +01: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
Józef Kucia
1e37d61eb9
winex11: Get rid of unnecessary assignments.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-30 22:26:49 +02:00
Józef Kucia
11cd0d34a2
winex11: Interpolate gamma ramp when gamma ramp size is greater than 256.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-28 11:01:25 +02:00
Józef Kucia
913160d2a4
winex11: Introduce GAMMA_RAMP_SIZE.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-28 11:01:24 +02:00
Frédéric Delanoy
323bec99b3
winex11.drv: Use BOOL type where appropriate.
2013-11-29 13:32:46 +01:00
Henri Verbeet
f08854ac3d
winex11: Avoid depending on ddraw.h.
2012-10-25 22:29:04 +02:00
Alexandre Julliard
cf1be58706
winex11: Remove the remaining X11 locking calls.
2012-08-16 16:48:00 +02:00
Alexandre Julliard
f9a383323f
winex11: Remove unnecessary cleanups on process exit.
2012-08-15 14:24:20 +02:00
Alexandre Julliard
6bfcb347bf
winex11: Remove X11 locking around simple X calls.
2012-08-14 15:13:08 +02:00
Henri Verbeet
eafc8d0b34
winex11: Get rid of xvidmode.h.
2012-07-09 15:04:48 -04:00
Henri Verbeet
3ea8de2637
winex11: Use our own structure for mode information.
2012-07-03 14:57:07 +02:00
Alexandre Julliard
191cd77320
winex11: Remove the support for device-dependent bitmaps.
2012-05-29 21:22:23 +02:00
Alexandre Julliard
56331e2a9a
gdi32: Don't allow Get/SetDeviceGammaRamp on DIBs or memory DCs.
2012-01-06 19:24:12 +01:00
Alexandre Julliard
36420d2286
winex11: Add error checks around every XF86VidMode call.
2011-10-24 11:19:28 +02:00
André Hentschel
321224d2f6
winex11: Multiply the error tolerance by the table caused error magnification.
2011-09-19 13:20:05 +02:00
André Hentschel
56e804eea4
winex11: Reject too bright gamma ramps.
2011-08-24 14:03:03 +02:00
André Hentschel
4b538567e8
winex11: Validate the ramps also when not converting them to single values.
2011-08-23 16:53:48 +02:00
Vincent Povirk
62802b8bdf
winex11.drv: Don't set gamma when UseXVidMode is turned off.
2011-08-03 17:43:21 +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
6c951b7d0d
winex11: Pass a generic PHYSDEV to all graphics entry points.
2011-07-08 15:55:11 +02:00
André Hentschel
7b285a4ebd
winex11: Add alternative header for xf86vm.
2009-09-22 16:20:26 +02:00
Francois Gouget
930061c252
winex11.drv: X11DRV_XF86VM_SetExclusiveMode() is unused so remove it.
2009-02-05 13:14:50 +01:00
Maarten Lankhorst
131d0a79a1
gdi32/winex11.drv: Change all gdi/opengl operations to use CDECL calling convention.
2008-12-23 13:02:33 +01:00
Alexandre Julliard
b4debd66a2
winex11: Make some functions static.
2008-12-03 12:10:32 +01:00
Francois Gouget
a49beb4c5c
winex11: Load the XVidMode extension (libXxf86vm) when available.
2008-07-01 13:46:12 +02:00
Alexandre Julliard
c19af910eb
winex11.drv: Don't create a win_data structure for the desktop window, except in the process that owns it.
...
Handle desktop size changes by sending a message to the desktop owner.
2008-01-17 19:53:59 +01:00
Stefan Dösinger
5461d505d7
winex11: Activate the depth-bpp difference.
2007-12-17 12:25:50 +01:00
Stefan Dösinger
ccab10bd46
winex11: Distinguish between bpp and depth.
2007-12-17 12:24:51 +01:00
Stefan Dösinger
ab8deb275e
winex11: Remove an unused variable.
2007-12-12 13:46:10 +01:00
Dmitry Timoshkov
a7dba33cf3
winex11.drv: Use registry settings as a default display mode.
2007-12-05 12:21:32 +01:00
Francois Gouget
3e6aa43229
winex11.drv: Catch and report screen resolution change errors.
2007-02-23 11:24:16 +01:00
Vitaliy Margolen
6069d0d596
winex11drv: Win64 printf format warning fixes.
2006-10-09 15:23:33 +02:00
Alexandre Julliard
241abf4e1b
winex11.drv: Make some functions and variables static, and get rid of x11ddraw.h.
2006-08-02 13:21:58 +02:00
Alexandre Julliard
bdb4fab7a7
x11drv: Renamed the x11drv directory to winex11.drv.
2006-06-16 09:57:50 +02:00