Commit Graph

1612 Commits

Author SHA1 Message Date
Alexandre Julliard 2967599286 winex11: Don't select for mouse events on the client window. 2012-08-30 12:57:45 +02:00
Alexandre Julliard e280527f6b winex11: Never attempt to create the window data from a different thread. 2012-08-30 12:11:58 +02:00
Alexandre Julliard d35fc4369f user32: Always go through set_window_pos when the WS_VISIBLE style is changed. 2012-08-29 20:09:28 +02:00
Henri Verbeet e426fa9cb9 winex11: Try harder to get usable RandR screen resources. 2012-08-20 11:00:29 +02:00
Henri Verbeet 28a9b39372 winex11: Try XRandR 1.0 if 1.2 fails. 2012-08-20 10:59:52 +02:00
Alexandre Julliard 03d377eae7 winex11: Release the keyboard lock before sending input to the server. 2012-08-17 10:06:41 +02:00
Alexandre Julliard 9980868b81 winex11: Get rid of the X11 locking functions. 2012-08-16 16:52:31 +02:00
Alexandre Julliard cf1be58706 winex11: Remove the remaining X11 locking calls. 2012-08-16 16:48:00 +02:00
Alexandre Julliard 26fb3d4a69 winex11: Add a critical section to protect the keyboard mapping tables. 2012-08-16 16:43:19 +02:00
Alexandre Julliard c970621d90 winex11: Create contexts at initialization time to avoid the need for locks. 2012-08-16 14:34:00 +02:00
Alexandre Julliard ff60249cab winex11: Use the labels to find the mouse motion valuators for XInput2. 2012-08-16 10:27:19 +02:00
Alexandre Julliard f579091380 winex11: Store XInput2 device info in the thread data. 2012-08-16 10:25:49 +02:00
Alexandre Julliard 5e932efbf6 winex11: Remove the redundant pixel format index from the pixel format object. 2012-08-15 15:44:00 +02:00
Alexandre Julliard 451828e169 winex11: Make pixel format objects const and get rid of the WineGLPixelFormat typedef. 2012-08-15 15:38:05 +02:00
Alexandre Julliard b908a72635 winex11: Initialize the OpenGL format list at startup and simplify the conversion routines. 2012-08-15 15:32:24 +02:00
Alexandre Julliard b8cc4d50ef winex11: Add a critical section to protect the OpenGL context list. 2012-08-15 14:41:57 +02:00
Alexandre Julliard f9a383323f winex11: Remove unnecessary cleanups on process exit. 2012-08-15 14:24:20 +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
Henri Verbeet 292869b969 winex11: Explicitly clear virtual desktop maximized state. 2012-08-13 16:28:50 +02:00
Henri Verbeet 13820b6f94 winex11: Don't set MWM decorations either for fullscreen virtual desktops. 2012-08-13 16:28:50 +02:00
Michael Stefaniuc 43b8858986 winex11.drv: Avoid TRUE:FALSE conditional expressions. 2012-07-31 12:36:42 +02:00
Alexandre Julliard 96e80c2623 gdi32: Move DescribePixelFormat and SetPixelFormat to the WGL driver. 2012-07-30 22:12:13 +02:00
Alexandre Julliard 917fe72bb0 winex11: Get rid of the OpenGL bitmap support. 2012-07-27 17:05:29 +02:00
Alexandre Julliard 5f157e18e2 opengl32: Store the context current DCs on the opengl32 side. 2012-07-25 16:11:05 +02:00
Alexandre Julliard f3e1e46c85 winex11: Add a helper function to correctly check extension strings. 2012-07-24 17:37:50 +02:00
Francois Gouget baf0a74b11 winex11.drv: Don't include wgl_driver.h if OpenGL is not supported. 2012-07-23 19:53:49 +02:00
Alexandre Julliard 72e873873e winex11: Get rid of the glGetIntegerv wrapper. 2012-07-20 13:21:25 +02:00
Alexandre Julliard 76ae99a426 winex11: Remove unused fields in the PBuffer object. 2012-07-20 12:36:44 +02:00
Alexandre Julliard 6a3aa4eb49 opengl32: Use proper handles for PBuffers instead of raw pointers. 2012-07-20 12:36:41 +02:00
Alexandre Julliard 1b9455e65d opengl32: Add supported wgl extension functions to the OpenGL function table. 2012-07-20 00:40:42 +02:00
Alexandre Julliard 4c0779006e opengl32: Move the wgl functions to the main OpenGL function table. 2012-07-19 22:50:37 +02:00
Alexandre Julliard 101bdf425b winex11: Use the function table pointer to call dynamically loaded OpenGL functions. 2012-07-18 19:51:09 +02:00
Alexandre Julliard df91c7bc83 opengl32: Redirect standard OpenGL functions through the TEB function table. 2012-07-18 17:12:29 +02:00
Alexandre Julliard 33ca17e1e9 winex11: Fill a function table with the standard OpenGL functions and store it in the TEB. 2012-07-18 17:11:42 +02:00
Henri Verbeet 2b4a7912ec winex11: Add support for XRandR 1.3. 2012-07-16 14:26:11 +02:00
Henri Verbeet cf6f8d2eb5 winex11: Add support for XRandR 1.2. 2012-07-16 14:25:42 +02:00
Henri Verbeet ed331cb0a5 winex11: Properly calculate the virtual screen rect in xinerama_init(). 2012-07-16 14:23:20 +02:00
Henri Verbeet 401d12085b winex11: Fix the virtual desktop check in update_desktop_fullscreen(). 2012-07-13 10:31:52 -05:00
Henri Verbeet 92e04256a9 winex11: Simplify the XRandR mode matching code a bit. 2012-07-13 10:30:21 -05:00
Alexandre Julliard 4b0f27f664 winex11: Get rid of the no longer needed drawable rect in the X11 device. 2012-07-12 16:05:37 -05:00
Henri Verbeet b4a31d0a9e winex11: Get rid of some needless globals. 2012-07-11 11:17:21 -05:00
Henri Verbeet 5ed890904b winex11: Simplify X11DRV_XRandR_Init() error handling a bit. 2012-07-11 11:17:18 -05:00
Francois Gouget 98c605d6c7 winex11.drv: We must include Xlib.h before Xrandr.h. 2012-07-11 10:00:51 -05:00
Henri Verbeet 3e5c76bd09 winex11: Introduce a separate function for initializing the list of XRandR display modes. 2012-07-10 10:40:17 -05:00
Henri Verbeet 76725f9885 winex11: Remove some unused includes from xrandr.c. 2012-07-10 10:40:08 -05:00
Henri Verbeet 6c4465f4ac winex11: Get rid of xrandr.h. 2012-07-09 15:05:02 -04:00
Henri Verbeet eafc8d0b34 winex11: Get rid of xvidmode.h. 2012-07-09 15:04:48 -04:00
Dmitry Timoshkov 6173e6bfb6 winex11.drv: Avoid conflicting definitions of WINGDIAPI. 2012-07-09 09:59:32 -04:00
Alexandre Julliard 241ab9257c winex11: Use the correct drawable with the X11DRV_GET_DRAWABLE escape. 2012-07-03 16:56:40 +02:00
Henri Verbeet 3ea8de2637 winex11: Use our own structure for mode information. 2012-07-03 14:57:07 +02:00
Henri Verbeet 0fda9d95a5 winex11: Get rid of some unused prototypes. 2012-07-02 19:18:01 +02:00
Alexandre Julliard 39819d1e8b winex11: Replace wgl.h by the official wglext.h from the OpenGL registry. 2012-07-02 19:17:41 +02:00
Alexandre Julliard 19fcc230d0 winex11: Move GLX definitions out of wgl.h. 2012-07-02 13:21:54 +02:00
Alexandre Julliard 83be88953b opengl32: Make the WGL driver context-specific. 2012-06-29 20:41:36 +02:00
Alexandre Julliard d89f7f2563 opengl32: Move checks of the context thread id to opengl32. 2012-06-29 20:41:35 +02:00
Alexandre Julliard 0045ec9dfb opengl32: Use proper handles for GL contexts and pass a context pointer to the WGL driver functions. 2012-06-29 20:41:34 +02:00
Alexandre Julliard e059d565ab gdi32: Add a null WGL driver. 2012-06-28 18:52:27 +02:00
Alexandre Julliard 6a9dcd51a2 gdi32: Remove the remaining OpenGL entry points from the DC driver. 2012-06-28 18:52:23 +02:00
Alexandre Julliard 855f225498 opengl32: Move wglGetCurrentContext implementation to opengl32. 2012-06-28 18:52:11 +02:00
Alexandre Julliard edfc7f0de0 opengl32: Move wglGetProcAddress to the WGL driver. 2012-06-28 16:14:55 +02:00
Alexandre Julliard 8a13afedd6 opengl32: Move GetPixelFormat to the WGL driver. 2012-06-28 15:53:14 +02:00
Alexandre Julliard bbdf77a311 opengl32: Move wglCreateContext to the WGL driver. 2012-06-28 15:47:31 +02:00
Alexandre Julliard 3bcb8057a1 opengl32: Move wglCreateContextAttribsARB to the WGL driver. 2012-06-28 15:07:44 +02:00
Alexandre Julliard 47fe838b15 opengl32: Move wglMakeContextCurrentARB to the WGL driver. 2012-06-28 14:49:49 +02:00
Alexandre Julliard 7a031d9b92 opengl32: Add the concept of a WGL driver. 2012-06-28 14:37:31 +02:00
Alexandre Julliard db25d4022a winex11: Simplify wglSetPixelFormatWINE and export it as a standard extension function. 2012-06-28 13:13:01 +02:00
Alexandre Julliard 4a367c5719 winex11: Export wglMakeCurrent and wglMakeContextCurrentARB as standard extension functions. 2012-06-28 01:44:03 +02:00
Alexandre Julliard bebf84f7a8 winex11: Use the GET_DRAWABLE escape to implement wglMakeContextCurrentARB. 2012-06-28 01:44:03 +02:00
Alexandre Julliard 7f4d3022d0 winex11: Use the GET_DRAWABLE escape to implement wglMakeCurrent. 2012-06-28 01:44:03 +02:00
Alexandre Julliard 3e8b3d0f66 winex11: Add a GET_DRAWABLE escape to mirror the SET_DRAWABLE one. 2012-06-28 01:44:02 +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 ee21554893 gdi32: Remove OpenGL functions that don't use an HDC from the driver entry points. 2012-06-25 16:25:57 +02:00
Alexandre Julliard 66a5995e11 winex11: Move wglGetCurrentContext and wglGetCurrentDC to the internal OpenGL extension functions. 2012-06-25 16:25:44 +02:00
Alexandre Julliard 08efea0218 winex11: Move wglCopyContext and wglDeleteContext to the internal OpenGL extension functions. 2012-06-25 13:52:10 +02:00
Alexandre Julliard beeba895d3 winex11: Move wglShareLists to the internal OpenGL extension functions. 2012-06-25 13:52:01 +02:00
Alexandre Julliard 1bca4fb5ae winex11: Move the wglUseFontBitmaps implementation to opengl32, it's no longer driver-dependent. 2012-06-25 11:58:53 +02:00
Roderick Colenbrander c754f28f17 winex11.drv: Remove GLX_ATI_render_texture support. 2012-06-25 10:39:02 +02:00
Ken Thomases 51d5a48c37 winex11: Fix correspondence between main_key_LT_B and main_key_vkey_qwerty. 2012-06-12 10:27:24 +02:00
Roderick Colenbrander 9e73f7a6df winex11.drv: Limit formats to nMaxFormats in wglChoosePixelFormatARB. 2012-06-07 10:36:03 +02:00
Alexandre Julliard 1adbfe921b winex11: Don't free a variable that is no longer allocated on the heap. 2012-06-04 12:17:55 +02:00
Ken Thomases 43984f355a winex11: Be more conservative when matching keys from built-in layout tables. 2012-06-01 14:29:12 +02:00
Alexandre Julliard c8a22a4d1f winex11: Use XGetKeyboardMapping instead of XKeycodeToKeysym. 2012-06-01 14:29:02 +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 567340f0c5 winex11: XRender repeat mode is no longer needed in functions that use a DC. 2012-05-29 21:11:14 +02:00
Alexandre Julliard 93758c43fd gdi32: Remove the CreateBitmap and DeleteBitmap driver entry points. 2012-05-29 21:06:41 +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 fdc4682e31 gdi32: Remove the CopyBitmap driver entry point. 2012-05-24 22:09:19 +02:00
Alexandre Julliard 995e2104df winex11: Always create the brush pixmap from the pattern bits. 2012-05-24 19:53:24 +02:00
Alexandre Julliard c2073b7ba2 winex11: Use the create_pixmap_from_image helper to create window icons. 2012-05-15 20:58:39 +02:00
Alexandre Julliard 8ee12778f9 winex11: Use the create_pixmap_from_image helper to create monochrome cursors. 2012-05-15 17:02:09 +02:00
Alexandre Julliard 70a9bb9518 winex11: Use the create_pixmap_from_image helper to create color cursors. 2012-05-15 17:02:08 +02:00
Alexandre Julliard e85895e4c5 winex11: Use the create_pixmap_from_image helper to export XA_PIXMAP clipboard formats. 2012-05-15 17:02:08 +02:00
Alexandre Julliard bf2ad337b5 winex11: Use the create_pixmap_from_image helper to select DIB pattern brushes. 2012-05-15 17:02:08 +02:00
Alexandre Julliard 3e8ad9a064 winex11: Add a helper to create a pixmap from an image. 2012-05-15 17:02:07 +02:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Alexandre Julliard 95de085e5e winex11: Use the get_pixmap_image helper to import XA_PIXMAP clipboard formats. 2012-05-14 14:17:29 +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 b082b3acba winex11: Use an intermediate pixmap also for DDBs to handle format mismatches. 2012-05-09 17:37:36 +02:00
Alexandre Julliard ba7db0998c winex11: Add support for OpenGL rendering in DIBs using an intermediate pixmap. 2012-05-09 17:37:36 +02:00
Alexandre Julliard 791a46658a winex11: Store the GL-specific information in the GL driver physdev. 2012-05-08 14:35:44 +02:00
Alexandre Julliard 147174ff1c winex11: Implement wglGetPbufferDCARB with a DC escape and remove it from the GDI driver interface. 2012-05-08 14:35:44 +02:00
Alexandre Julliard 5f99b59e77 winex11: Add an OpenGL GDI driver. 2012-05-08 14:35:42 +02:00
Alexandre Julliard e94d3b4e08 gdi32: Add a priority mechanism for pushing drivers on the stack in a defined order. 2012-05-08 12:16:50 +02:00
Dmitry Timoshkov 8ed11d8bb1 winex11.drv: Use XK_KP_Decimal as a fallback if XK_KP_Separator doesn't work. 2012-05-08 09:43:45 +02:00
Alexandre Julliard 00bb726af8 winex11: Use a standard Wine list for the OpenGL context list. 2012-05-07 13:10:22 +02:00
Alexandre Julliard a708448725 winex11: Define an enum to manage the various types of GL device contexts. 2012-05-07 13:10:18 +02:00
Alexandre Julliard 07bc017ff1 winex11: Give XInitThreads yet another chance. 2012-05-05 13:36:22 +02:00
Alexandre Julliard 096757c3dd winex11: Remove redundant code in ChoosePixelFormat. 2012-05-03 20:44:07 +02:00
Alexandre Julliard 416e79f3e6 winex11: Always store the GL drawable in the device context. 2012-05-03 20:44:07 +02:00
Alexandre Julliard 70f776d3b8 winex11: Update the pixel format through the DCE hook for window DCs to avoid races. 2012-05-03 20:44:01 +02:00
Alexandre Julliard 416240b781 winex11: Remove obsolete escapes. 2012-05-03 12:50:52 +02:00
Alexandre Julliard 54170fe867 winex11: Remove support for the no longer used GET_GLX_DRAWABLE escape. 2012-05-03 12:50:27 +02:00
Alexandre Julliard bc6f2f8615 winex11: Store the DC bounds rectangle as a pointer. 2012-04-27 12:51:43 +02:00
Alexandre Julliard 3009e03df7 gdi32: Add a SetBoundsRect driver entry point. 2012-04-27 12:41:43 +02:00
Dmitry Timoshkov bdae6d7dc0 winex11.drv: Windows always generates VK_DECIMAL for Del/. on a keypad. 2012-04-24 19:12:32 +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 582a2f511f gdi32: Add a GetBoundsRect driver entry point. 2012-04-16 13:53:23 +02:00
Alexandre Julliard 46390b09d5 winex11: Fix a potential deadlock in the GradientFill non-XRender fallback. 2012-04-02 22:21:45 +02:00
Henri Verbeet 22d3e6dba1 winex11: Use GLX_DONT_CARE instead of ~0 in ConvertAttribWGLtoGLX(). 2012-03-28 11:36:26 +02:00
Alexandre Julliard 7c7a509e22 winex11: Never try to clip the cursor if we don't have XInput2. 2012-03-12 10:44:02 +01:00
Alexandre Julliard 29c1b8fa08 winex11: Ignore FocusOut event on destroyed windows. 2012-03-09 11:37:15 +01:00
Francois Gouget e603301862 winex11: The x11drv debug channel is unused in pen.c so remove it. 2012-02-20 11:47:59 +01:00
Alexandre Julliard 691c37ca9f gdi32: Fix font orientation when mirroring in compatible mode.
Inspired by a patch from Alexander Kochetkov.
2012-02-16 18:51:55 +01:00
Alexandre Julliard f87191815d user32: Fix GetKeyNameText returned length. 2012-02-15 12:07:34 +01:00
Alexandre Julliard fdef173ce0 winex11: Make sure the clip window is created as soon as possible. 2012-02-13 20:52:03 +01:00
Alexandre Julliard 36c76dcc24 winex11: Update only the key state on KeymapNotify without sending fake key events. 2012-02-02 17:19:34 +01:00
Alexandre Julliard 852687f1d1 winex11: Poll the mouse button to detect the end of a window manager move/resize. 2012-02-01 16:42:49 +01:00
Alexandre Julliard abfed909b2 winex11: Move the window resizing support to mouse.c. 2012-02-01 16:42:48 +01:00
Alexandre Julliard 002f85a275 winex11: Don't give focus to zero-size windows. 2012-02-01 16:42:47 +01:00
Alexandre Julliard 4f0f7dec99 winex11: Consider zero-size windows mapped even when they are positioned at 0,0. 2012-01-31 17:28:34 +01:00
Alexandre Julliard a534925a48 winex11: Reset clipping when a fullscreen window is unmapped. 2012-01-31 13:45:04 +01:00
Alexandre Julliard 1592b9c9de winex11: Disallow clipping to fullscreen rectangle if XInput2 is not available. 2012-01-30 20:44:49 +01:00
Alexandre Julliard 8eb9ab531f winex11: Check for failure to convert the brush bitmap to X11. 2012-01-27 18:05:48 +01:00
Ken Thomases f217415541 winex11: Remove some more leftover X Shm code. 2012-01-26 17:42:25 +01:00
Matteo Bruni b4afbf98cf winex11: Don't put the GL drawable offscreen. 2012-01-25 11:28:02 +01:00
Henri Verbeet 515329d58c winex11: Remove some leftover X Shm code. 2012-01-25 11:27:37 +01:00
Aric Stewart f624876d3e winex11: Strip the _L or _R from X11DRV_GetKeyNameText when appropriate. 2012-01-23 17:05:11 +01:00
Alexandre Julliard fe7d81dc1b winex11: Ignore rectangles with invalid coordinates when converting region data. 2012-01-23 16:06:55 +01:00
Dmitry Timoshkov c0cf49d50c winex11.drv: Use dialog window type also for owned windows with WS_EX_DLGMODALFRAME style set. 2012-01-19 21:08:51 +01:00
Alexandre Julliard 0e3bfb8951 winex11: Move handling of negative width/height into the XRender blit helper functions. 2012-01-18 16:03:33 +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
Kusanagi Kouichi dc02e4d1a7 winex11.drv: Fix IME status handling. 2012-01-11 19:42:48 +01:00
Kusanagi Kouichi f56e1fcf7c winex11.drv: Assign struct. 2012-01-11 17:47:35 +01:00
André Hentschel 4c6a20ce22 winex11.drv: No need for WINE_ prefixed debug output macros. 2012-01-11 17:47:25 +01:00