Commit Graph

773 Commits

Author SHA1 Message Date
Dmitry Timoshkov ef4fc8fd91 Translate pen width from logical units only for geometric pens. 2006-02-01 12:30:15 +01:00
Dmitry Timoshkov eb893bdea3 gdi: Add support for creating extended pens. 2006-01-30 18:17:07 +01:00
Maarten Lankhorst 0cbf8062a1 x11drv: Fix AlphaBlend read boundaries. 2006-01-30 14:57:08 +01:00
Alexandre Julliard 0e08584462 x11drv: Always set GC function to GXcopy for the BitBlt DIB optimization. 2006-01-25 13:18:27 +01:00
Dmitry Timoshkov cf2561b111 x11drv: Update Swiss German keyboard layout to better match the X11 one. 2006-01-23 11:23:13 +01:00
Vitaliy Margolen 6bc59056dc x11drv: Prevent NULL dereference in SelectionRequest handling. 2006-01-20 19:41:40 +01:00
Dmitry Timoshkov 2f1c52e5fd x11drv: Add support for another Canadian French keyboard flavour. 2006-01-19 11:55:50 +01:00
Dmitry Timoshkov 328e18c285 x11drv: Update Canadian keyboard layout to better match the X11 one 2005-12-26 12:56:26 +01:00
Huw Davies 412cb77d51 opengl: Add support for rendering on bitmaps. 2005-12-19 17:45:13 +01:00
Rein Klazes 3df678a5af x11drv: Do not use the scroll rectangle for clipping in ScrollDC.
With a conformance test.
2005-12-19 09:53:04 +01:00
Dmitry Timoshkov 8d9fb6331e x11drv: ScrollDC should not clip output if a clipping rect is not specified.
Add a ScrollDC test with NULL clipping rect.
Add another set of ScrollDC tests written by Rein Klazes.
2005-12-17 12:24:37 +01:00
Huw Davies 8b7098794d x11drv: Get the visual for the GLXPixmap from the current pixel format. 2005-12-16 19:29:52 +01:00
Tomas Carnecky 7499cabb28 x11drv: Allow users to preload an OpenGL library. 2005-12-16 12:37:34 +01:00
Dmitry Timoshkov 930e8394a6 x11drv: ScrollDC fix.
There is no need to offset the source rectangle in the reverse
direction before scrolling.
2005-12-13 17:47:27 +01:00
Alexandre Julliard 6b1e75d278 x11drv: Clipping fix with DIB section copy.
Use the GC of the destination device in X11DRV_DIB_CopyDIBSection so
that the clipping region is taken into account.
2005-12-13 17:05:06 +01:00
Alexandre Julliard d02c4a1b82 Make wine_server_fd_to_handle use attributes instead of inherit flag. 2005-12-09 12:22:35 +01:00
Raphael Junqueira 88cda5643d x11drv: Add more useful traces on SetPixelFormat (and no more FIXME). 2005-12-06 11:33:33 +01:00
Raphael Junqueira 7b5571cc8c x11drv: cleanup not longer used data on X11DRV_PDEVICE. 2005-12-06 11:33:12 +01:00
Raphael Junqueira bc5c0b16b4 Handle DONTCARE flags on ChoosePixelFormat.
DOUBLEBUFFER and STEREO are non-mandatory options (ie if not available
find a compatible pixel format without). So try without if we cannot
find a valid fbconfig with these options.
2005-12-02 11:24:52 +01:00
Oldrich Jedlicka 65ad3f2587 Fix for the monochrome DIB with inverted colors. 2005-12-01 13:12:36 +01:00
Detlef Riekenberg 75123e171a Remove unused include X11/IntrinsicP.h. 2005-12-01 11:11:35 +01:00
Oldrich Jedlicka 783a8697a0 Fix for RGB mask that corresponds to the visual's mask. 2005-11-30 18:26:52 +01:00
Vitaliy Margolen 93b63566a5 ShowWindows(SW_SHOWMAXIMIZED) should ignore WS_MAXIMIZE window
state. Change tests accordingly.
2005-11-30 12:43:50 +01:00
Vitaliy Margolen aae7632409 CreateWindow should not activate invisible minimized or maximized
windows.
Add several tests to show the correct behavior.
2005-11-30 12:32:22 +01:00
Robert Shearman 2ff51299c8 Disable XRender if bit masks aren't valid.
XRender code in the X11 driver will go into an infinite loop when the 
colour bit masks are 0, so disable XRender in this case.
2005-11-30 12:02:26 +01:00
Alexandre Julliard de8eca2166 Avoid including X11/Intrinsic.h. 2005-11-29 10:46:03 +01:00
Ge van Geldorp 1a1583a364 Match PSDK STATUS_* definitions. 2005-11-28 17:32:54 +01:00
Rein Klazes 1b87564259 Handle an X error in X11DRV_ExtFloodFill(). 2005-11-28 11:52:37 +01:00
Lionel Ulmer 2ca5efea08 Ignore frequency requests in Desktop mode. 2005-11-28 10:39:28 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Alexandre Julliard fcfee2794b Fixed some broken code that was causing compiler warnings. 2005-11-23 14:30:41 +01:00
Dmitry Timoshkov d6504b7817 Print scroll and clip rectangles on the ScrollDC entry. 2005-11-21 12:00:31 +00:00
Peter Beutner 008298455f Fix wrong use of the PFD_GENERIC_ACCELERATED flag. It indicates that
the selected pixel format lacks full hardware acceleration and only a
few parts are accelerated. So don't always set it but only if the X
server actually reports that the selected pixel format is not fully
accelerated.
2005-11-18 12:06:45 +00:00
Raphael Junqueira 7ed830b8e1 Add GLXFBConfig on Wine_GLContext (we should remove XVisualInfo
references on code).
Hook glGetIntegerv on GL_ALPHA_BITS to query on GLXFBConfig instead of
glGetInteger (as it returns bad value).
2005-11-11 10:52:14 +00:00
Francois Gouget 0edbaf7e80 Remove spaces before '\n' in traces. 2005-11-10 12:14:56 +00:00
Raphael Junqueira b929f3d673 Added support for SHADEBLENDCAPS. 2005-11-10 11:05:30 +00:00
Alexandre Julliard 68b8a4ab69 Don't call SetWindowPos in ShowWindow if a parent window is not
visible, only toggle the WS_VISIBLE flag.
2005-11-09 10:35:48 +00:00
Dmitry Timoshkov 7da329548e Stricter check whether a window needs to be mapped on the screen. 2005-11-03 19:31:38 +00:00
Lionel Ulmer 5ae22b8021 Add 'ENUM_...._SETTINGS' flag and make use of it in the X11DRV code. 2005-11-02 10:54:42 +00:00
Ulrich Czekalla 006caa30dd Improve handling of mapping between X and Windows formats.
Add support for UTF8.
2005-11-01 18:05:40 +00:00
Vitaliy Margolen f610f31c10 Fix bad mouse lag in games that do their own mouse warping. 2005-10-24 15:11:37 +00:00
Dmitry Timoshkov c0c514b072 Update German and Hungarian keyboard layouts to better match X11
ones.
2005-10-11 19:27:22 +00:00
Huw Davies 422887f36f Ignore the gasp table when we have no hinter. 2005-10-06 12:28:19 +00:00
Alexandre Julliard 7e22be4d84 We are no longer generating .dbg.c files. 2005-09-29 10:35:58 +00:00
Gerald Pfeifer ed77348a9e Use 0 instead of NULL in create_glxpixmap(). 2005-09-28 18:11:17 +00:00
Dmitry Timoshkov 9c559cf385 Make DrawMenuBar and SetMenu tests pass under Wine. 2005-09-28 15:13:10 +00:00
Huw Davies fd7019579a Add an x11drv escape that returns a glx drawable. 2005-09-26 11:04:12 +00:00
Alexandre Julliard 9f859692f9 Replace DPRINTF by TRACE in a few places. 2005-09-25 15:23:21 +00:00
Huw Davies 844c804b9e Move desktop_vi inside process_attach and remember to free it. 2005-09-23 17:21:32 +00:00
Richard Cohen 106af86740 Fix compile without XRender. 2005-09-23 10:05:54 +00:00
Alexandre Julliard 0ec0f048e6 Removed unused debug channels. 2005-09-22 10:44:40 +00:00
Dmitry Timoshkov 9628a781bf Use the event's width and height not the translated window rect to
recognize a zero sized window in the ConfigureNotify handler.
2005-09-19 15:25:53 +00:00
Uwe Bonnes 6c0cd69f22 Don't free a modified pointer. 2005-09-19 14:40:18 +00:00
Alexandre Julliard f826b86056 Fixed gcc 4.0 warnings. 2005-09-15 09:49:18 +00:00
Alexandre Julliard cf3eddee66 Avoid a redefinition warning on 64-bit platforms. 2005-09-14 11:31:46 +00:00
Marcus Meissner bd7ec9aca5 The last argument to MultiByteToWideChar is wide character count and
not the buffer size in bytes. Fixed all places where it was wrong.
2005-09-12 22:07:53 +00:00
Alexandre Julliard 261e376495 Fixed a number of pointer to integer conversions that wouldn't work
right on a 64-bit platform.
2005-09-12 15:14:06 +00:00
Huw Davies e33f622bd1 Use the gasp table to check whether we should trigger antialiasing. 2005-09-12 11:11:30 +00:00
Alexandre Julliard f8ee161a1b Fixed some traces to use the right printf format and avoid typecasts. 2005-09-12 10:30:05 +00:00
Dmitry Timoshkov 7647cffbdf Add a test for ShowWindow(SW_SHOWMAXIMIZED) called for a not visible
overlapped window, which shows that WM_SHOWWINDOW is not sent in that
case and that it should activate a window and bring it to top.
2005-09-12 10:09:40 +00:00
Alexandre Julliard 20a1a203c6 Use a more portable scheme for storing the name of a critical
section.
2005-09-09 10:19:44 +00:00
Frank Richter a7b5f5ac3c Make AlphaBlend() respect the destination clipping region. 2005-08-27 09:20:53 +00:00
Pavel Roskin cbb4f7d595 Extend uRelax scale so that yres is relaxed before slant, not at the
same time.
2005-08-26 08:47:45 +00:00
Huw Davies 6a3175032d Use the correct rectangle for ETO_OPAQUE - spotted by James Hawkins. 2005-08-24 10:56:49 +00:00
Huw Davies 5a39abb278 Avoid using XRenderFindStandardFormat as older libraries don't have
it.
2005-08-23 18:14:30 +00:00
Huw Davies 3433676fd7 Move a bunch of common code from the drivers into gdi. 2005-08-23 09:38:58 +00:00
Saulius Krasuckas 187f7a4a4f Don't dereference a NULL visual pointer. 2005-08-22 09:22:19 +00:00
Todd Mokros 88ac4b9650 Fix a focus stealing bug introduced by the managed flag changes. 2005-08-22 09:14:21 +00:00
Mike McCormack e5efc5a657 gcc 4.0 warning fixes. 2005-08-16 16:02:45 +00:00
Frank Richter a6f081e0db Fix AlphaBlend() to extract the right part of the source DIB. 2005-08-15 14:46:31 +00:00
Mike McCormack 99aac8a665 gcc 4.0 warning fixes. 2005-08-15 10:47:23 +00:00
Frank Richter 5e82e0cb63 Invalidate DCEs when a window region is set. 2005-08-15 09:33:39 +00:00
Mike McCormack c29892b88f Fix some gcc 4.0 warnings. 2005-08-12 10:35:46 +00:00
Michael Kaufmann 0f2c2b8426 Fix for BI_BITFIELDS: The color masks are at the same position in all
the bitmap headers that support this flag (BITMAPINFO: The first color
mask is in bmiColors[0], that's the same position as bV4RedMask in
BITMAPV4HEADER).
2005-08-08 18:40:14 +00:00
Alexandre Julliard 4fa411fa07 Don't call WaitForMultipleObjectsEx if we are just polling for pending
X events.
2005-08-03 15:47:30 +00:00
Oliver Stieber d708acd979 Back out the previous stencil patch and slightly improve on the old
functionality.
2005-08-03 11:01:15 +00:00
Alexandre Julliard 2431a64419 There's no need to update the event mask in X11DRV_sync_window_style,
it never changes.
2005-07-27 15:22:58 +00:00
Dmitry Timoshkov a726387a07 Take into account CS_NOCLOSE window class style and SC_CLOSE system
menu item state while handling WM_X11DRV_DELETE_WINDOW request.
2005-07-25 11:08:43 +00:00
Stefan Huehner 3e05fe1e60 Fix missing-declarations warnings. 2005-07-24 17:10:38 +00:00
Oliver Stieber b9efc4d26c Allow running opengl and DirectX applications without stencil support,
an earlier patch assumed that stencil support was available, but it
isn't in all cases.
2005-07-22 09:05:04 +00:00
Alexandre Julliard 6655fed5a6 Don't set win gravity, the default should work fine. 2005-07-19 11:43:38 +00:00
Alexandre Julliard 2997fc51a4 Fixed a few prototypes in the USER driver. 2005-07-18 13:20:18 +00:00
Stefan Huehner aed3fb612d Fix some sign-compare warnings by choosing correct datatypes. 2005-07-15 16:34:04 +00:00
Stefan Huehner 9b65ffbb36 Add some consts to fix discard-qual warnings. 2005-07-15 16:33:38 +00:00
Alexandre Julliard e419cb8869 Moved initialization of the desktop window in the graphics driver to a
separate CreateDesktopWindow entry point instead of overloading
CreateWindow.
2005-07-07 20:33:29 +00:00
Alexandre Julliard af50ad67ad Moved most initializations out of the create_desktop function and into
process_attach.
2005-07-07 17:30:57 +00:00
Mike McCormack d7b9a23afd gcc 4.0 -Wpointer-sign fixes (Reg* functions). 2005-07-06 19:08:05 +00:00
Stefan Huehner 70c80fb430 Make functions static to fix -Wmissing-declarations warnings. 2005-07-06 15:53:04 +00:00
Oliver Stieber d760208a5a Make sure that the OpenGL visual created for a window has a stencil
buffer.
2005-07-05 10:58:41 +00:00
Lionel Ulmer a167fe2854 Add some resolutions to what Desktop mode supports. 2005-07-03 11:20:56 +00:00
Alexandre Julliard c7dbffca96 Set the class resource name to the name of the main binary (suggested
by Rasterman).
2005-07-01 16:16:00 +00:00
Alexandre Julliard 8ba32b3f9b Delay OpenGL and GDI initialization until they are needed. 2005-06-29 19:28:06 +00:00
Eric Pouech 809edabfbe Const correctness fixes. 2005-06-27 09:53:46 +00:00
Alexandre Julliard 35ba3e2752 Moved font settings to HKCU\Software\Wine\X11 Driver\Fonts. 2005-06-22 12:02:47 +00:00
Vitaliy Margolen fb99124f94 Deactivate active window in ShowWindow(,SW_HIDE). 2005-06-17 21:05:16 +00:00
Stefan Huehner 03cc8c4181 Remove some -Wstrict-prototypes warnings. 2005-06-17 10:11:37 +00:00
Alexandre Julliard f0fcaed630 Moved configuration keys to HKCU\Software\Wine\X11 Driver. 2005-06-16 16:14:46 +00:00
Alexandre Julliard acaa5c5eff Removed the check for the old Resolution option. 2005-06-14 18:13:09 +00:00
Alexandre Julliard cb538c0533 Merged palette option processing into the main configuration code. 2005-06-14 18:12:15 +00:00
Alexandre Julliard 1ba6e1cb16 Avoid repeatedly opening the configuration registry key. 2005-06-14 17:24:28 +00:00