Commit Graph

1723 Commits

Author SHA1 Message Date
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
Alexandre Julliard 5112699a6b winex11: Store the XRender format in the bitmap structure. 2012-01-10 21:06:45 +01:00
Alexandre Julliard 3e85a7c2a7 winex11: Avoid some references to the X11 device from XRender. 2012-01-10 20:56:06 +01:00
Alexandre Julliard 7d447d7b9a winex11: Create XRender colors from the original COLORREF and add support for PALETTEINDEX colors. 2012-01-10 20:54:40 +01:00
Alexandre Julliard a680644da6 winex11: Remove the global XRender installed flag. 2012-01-10 20:12:56 +01:00
Alexandre Julliard 5b11c96fa1 winex11: Get rid of the DIB section support. 2012-01-10 20:12:31 +01:00
Alexandre Julliard 978c42feb5 winex11: Avoid using DIB functions to create the dithering image. 2012-01-10 20:12:23 +01:00
Alexandre Julliard 49b73d53cf winex11: Move the clipboard DIB creation functions to clipboard.c. 2012-01-10 20:12:16 +01:00
Alexandre Julliard fbbf3ba408 gdi32: Get rid of the CreateDIBSection driver entry point. 2012-01-10 16:13:29 +01:00
Alexandre Julliard 40bf321e5a winex11: Remove the remainining DIB section locking calls. 2012-01-10 16:13:24 +01:00
Alexandre Julliard c123c2f87a winex11: Fix support for PALETTEINDEX mapping and get rid of DIBINDEX support. 2012-01-10 11:56:24 +01:00
Alexandre Julliard b88b6b74f0 opengl32: Get rid of the DIB section sync support. 2012-01-10 11:24:12 +01:00
Alexandre Julliard dc1aeeb2f8 gdi32: Get rid of the SetDIBColorTable driver entry point. 2012-01-07 13:27:08 +01:00
Alexandre Julliard bcc65899f8 winex11: Remove DIB locking calls from all graphics functions. 2012-01-06 19:24:26 +01:00
Alexandre Julliard 56331e2a9a gdi32: Don't allow Get/SetDeviceGammaRamp on DIBs or memory DCs. 2012-01-06 19:24:12 +01:00
Pierre Schweitzer 747a26d9a0 winex11.drv: Fix handle leak. 2012-01-03 12:37:35 +01:00
Alexandre Julliard cc9836bda0 gdi32: Pass a brush_pattern structure to the SelectPen entry point for brushed pens. 2011-12-30 11:04:29 +01:00
Alexandre Julliard f85bb35280 gdi32: Pass a brush_pattern structure to the SelectBrush entry point. 2011-12-30 11:04:26 +01:00
Alexandre Julliard b90be52cdd winex11: Scale raw motion events according to their valuator range. 2011-12-21 10:58:25 +01:00
Alexandre Julliard 126bb92717 winex11: Keep the device info around as long as XInput2 is active. 2011-12-21 10:57:57 +01:00
Ken Thomases 3fa4da76ea winex11: Have ToUnicodeEx null-terminate the output buffer, if there's room. 2011-12-20 10:15:16 +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 c1297ac0d8 winex11: Only take managed popups into account when deciding whether to make a window managed. 2011-12-19 20:15:41 +01:00
Alexandre Julliard c4cf90246d winex11: Hardcode the MWM hints for the desktop window. 2011-12-19 20:15:41 +01:00
Alexandre Julliard 5f1f57ce48 winex11: Update MWM hints when the window size changes. 2011-12-16 12:08:08 +01:00
Alexandre Julliard 59f790af04 winex11: Add missing initialization of pattern brush style. 2011-12-14 17:54:45 +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 2453b6a896 winex11: Add some sanity checks on bitmap formats before creating a pixmap. 2011-12-08 18:00:03 +01:00
Alexandre Julliard b036c8a38d winex11: Don't call get_xrender_picture inside the X11 lock. 2011-12-07 17:57:32 +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 4c6a409779 winex11: Use an X11 error handler to catch BadMatch errors from XGetImage. 2011-12-05 22:47:31 +01:00
Alexandre Julliard abd5d5a3a9 winex11: Always refresh the picture clipping when we have an additional clip region. 2011-12-05 17:21:17 +01:00
Alexandre Julliard 7ea59c107f gdi32: Use dithering also for 1-bpp gradients. 2011-12-05 16:36:08 +01:00
Alexandre Julliard e332ebb200 winex11: Always ignore alpha channel with XRender gradients. 2011-12-02 14:12:07 +01:00
Alexandre Julliard 76358216f4 winex11: Implement rectangular gradients using XRender if supported. 2011-11-30 14:25:29 +01:00
Alexandre Julliard 0446707a56 winex11: Implement rectangular gradients using straight X11 calls. 2011-11-30 13:09:08 +01:00
Ulrich Czekalla 392785965f winex11: Avoid grabbing user_section while holding X11DRV_CritSection. 2011-11-28 20:15:18 +01:00
Gerald Pfeifer ef6f8a58c5 winex11.drv: Move a conditionally used label into the condition in X11DRV_XRender_Init. 2011-11-28 16:40:48 +01:00
Alexandre Julliard 9efb9d480d winex11: Don't allocate the glyph cache without Xrender, and cleanup initialization. 2011-11-21 12:17:56 +01:00
Alexandre Julliard b61a534853 winex11: Get rid of the non-Xrender client-side font rendering. 2011-11-21 12:17:31 +01:00
Alexandre Julliard 4612d61b5e winex11: Fix selecting a pattern brush into a DIB section device. 2011-11-17 17:33:50 +01:00
Francois Gouget 06646b7aa2 winex11: Delete the palette and xrender static critical sections when unloading the dll. 2011-11-17 11:38:10 +01:00
Alexandre Julliard bd44f10496 winex11: Make sure we create valid bitmaps even for a 1x1 mask. 2011-11-16 18:21:21 +01:00
Alexandre Julliard 1ff5f3d56f winex11: Remove check for DIB color table in ExtTextOut. 2011-11-14 21:25:47 +01:00
Alexandre Julliard 9716d1c861 winex11: Still process all MotionNotify events when using XInput2. 2011-11-09 15:45:13 +01:00
Alexandre Julliard ef292465be winex11: Use the motion event time to decide when to update the cursor. 2011-11-09 14:53:34 +01:00
Alexandre Julliard 098b11e995 winex11: Don't allow setting the cursor across processes while clipping. 2011-11-09 14:26:34 +01:00
Alexandre Julliard d9a45745a7 winex11: Implement the CopyBitmap entry point. 2011-11-08 19:26:13 +01:00
Alexandre Julliard 9391c6a757 gdi32: Add a CopyBitmap driver entry point. 2011-11-08 19:25:05 +01:00
Alexandre Julliard a16dbbe3d8 winex11: Implement a SelectBrush entry point in the XRender driver. 2011-11-07 20:54:01 +01:00
Alexandre Julliard 265068974d winex11: Use the brush information passed in SelectBrush for pattern brushes. 2011-11-07 20:34:13 +01:00
Alexandre Julliard 24ac8c66bb gdi32: Pass the full brush contents in the SelectBrush driver entry point. 2011-11-02 21:41:15 +01:00
Alexandre Julliard 6bf6575c5c gdi32: Store a pointer instead of a global handle for DIB pattern brushes. 2011-11-02 12:02:27 +01:00
Alexandre Julliard 95cba0c0f4 gdi32: Add a DC driver entry point for GdiGradientFill. 2011-10-31 23:51:38 +01:00
Austin English 31f8a525c8 winex11: Only declare X11DRV_DIB_QueryXShm if XShm is supported. 2011-10-28 12:45:27 +02:00
Austin English abfb9211c8 winex11: Only declare the winediag debug channel if OpenGL is enabled. 2011-10-28 12:44:59 +02:00
Alexandre Julliard 171183c77b winex11: Mask FPU exceptions around fontconfig calls. 2011-10-28 12:41:47 +02:00
André Hentschel d63651fe18 winex11.drv: Remove remaining pixmap prefix to fix compilation without libxrender. 2011-10-25 20:13:42 +02:00
Alexandre Julliard a8444d7fd1 gdi32: Add driver entry points for a number of font functions. 2011-10-24 23:45:37 +02:00
Alexandre Julliard 2b1b11d681 gdi32: Rename the EnumDeviceFonts entry point to EnumFonts since it's not limited to device fonts. 2011-10-24 23:34:33 +02:00
Alexandre Julliard cbd81d391c gdi32: Implement EnumDeviceFonts as a standard driver entry point. 2011-10-24 23:34:28 +02:00
Marcus Meissner 0101149c7a winex11.drv: WORD and BYTE swapped in 555->1 bit converter (Coverity). 2011-10-24 19:54:16 +02:00
Alexandre Julliard 36420d2286 winex11: Add error checks around every XF86VidMode call. 2011-10-24 11:19:28 +02:00
Alexandre Julliard f839e53272 winex11: Filter out zero-size dashes for PS_USERSTYLE pens. 2011-10-21 14:55:26 +02:00
Alexandre Julliard f00767807f winex11: Chain to the next driver when not using a device font. 2011-10-20 13:22:03 +02:00
Alexandre Julliard ef0fe44327 gdi32: Implement SelectFont as a standard driver entry point. 2011-10-19 18:22:05 +02:00
Andrew Talbot 53a8746dcd winex11.drv: Mark some fall-throughs in switch statements. 2011-10-18 15:11:12 +02:00
Daniel Santos f2ad9df45d winex11.drv: Add on-screen PS_USERSTYLE support to pens. 2011-10-14 20:26:44 +02:00
Alexandre Julliard 125529fabe winex11: Get rid of the client-side DIB optimization in AlphaBlend. 2011-10-11 15:34:50 +02:00
Alexandre Julliard d36b7a7f24 winex11: Require an A8R8G8B8 format for blending with a source alpha. 2011-10-11 13:17:17 +02: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
Henri Verbeet dbe058249f winex11: Print the GL renderer and version when complaining about software / indirect rendering. 2011-10-10 13:40:35 +02:00
Huw Davies 82f4538c55 winex11: Initialise the dib color table. 2011-10-05 11:37:30 -05:00
Alexandre Julliard 8abe262fd2 winex11: Force alpha channel to 0 when doing color conversion in PutImage. 2011-10-03 16:49:12 -05: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 e502ae4d1f winex11: Remove no longer needed support for a source DIB color map in XRender StretchBlt. 2011-10-03 16:24:01 -05:00
Marcus Meissner aee645dfc0 winex11.drv: Mark xrenderdrv_ExtTextOut as static. 2011-10-03 15:51:58 -05:00
Huw Davies ea3895e133 winex11: Remove some unused function ptrs. 2011-10-03 09:46:52 -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 f5307025fc winex11: Pre-compute the color shifts for the supported XRender formats. 2011-09-26 16:56:55 +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 f3f315ed61 winex11: Avoid recomputing the DC format when it hasn't changed. 2011-09-26 15:25:35 +02:00
Alexandre Julliard 922d9f5cf7 winex11: Force the alpha channel to zero for mono->color blits. 2011-09-26 15:25:05 +02:00
David Kiefer 74c741ad55 winex11.drv: Remove x86 inline assembly for performing palettized blits. 2011-09-23 12:36:02 +02:00
Alexandre Julliard ff2805cae0 winex11: Forward AlphaBlend with a DIB section as source to the null driver. 2011-09-21 11:35:36 +02:00
Alexandre Julliard 094d9fe48e winex11: Fix handling of 1-bpp source bitmaps in AlphaBlend. 2011-09-20 20:23:22 +02:00
Alexandre Julliard 4ad9e7bbcd winex11: Move locking and handling of fg/bg colors into xrender_mono_blit. 2011-09-20 20:22:34 +02:00
Alexandre Julliard fb4dc8a544 winex11: Implement a BlendImage entry point in the XRender driver. 2011-09-20 16:21:40 +02:00
Alexandre Julliard 3be01b185d winex11: Set XRender clipping lazily when retrieving the destination picture. 2011-09-20 16:21:40 +02:00
Alexandre Julliard aa4655e899 winex11: Add a helper function to create the source pixmap from an image. 2011-09-20 16:21:40 +02:00
Francois Gouget 076f678446 winex11: Fix printing NULL strings. 2011-09-20 16:21:39 +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 cf4cd2973c winex11: Explicitly clip to the visible rect when using the XRender SRCCOPY optimization. 2011-09-19 17:56:07 +02:00
André Hentschel 321224d2f6 winex11: Multiply the error tolerance by the table caused error magnification. 2011-09-19 13:20:05 +02:00
Alexandre Julliard 9ea45ac602 winex11: Use the original unclipped coordinates for XRender blits to avoid rounding errors. 2011-09-16 17:22:58 +02:00
Alexandre Julliard c2edf4399c winex11: Disable the XRender StretchBlt implementation if XRender wasn't loaded. 2011-09-16 12:34:17 +02:00
Alexandre Julliard a09753a349 winex11: Use the physdev picture directly for the SRCCOPY XRender optimization. 2011-09-15 23:13:01 +02:00
Alexandre Julliard 46cbdd0efc winex11: Implement the CreateBitmap entry point in the XRender driver. 2011-09-15 19:58:25 +02:00
Alexandre Julliard 84ec1acced winex11: Get rid of the WXRFormat typedef. 2011-09-15 15:42:20 +02:00
Alexandre Julliard 1525273bb8 winex11: Remove a redundant field in the XRender format templates. 2011-09-15 15:42:20 +02:00
Alexandre Julliard 5efaa20823 winex11: Get rid of the WineXRenderFormat structure. 2011-09-15 15:42:20 +02:00
Alexandre Julliard 8860159f1c winex11: Store the XRender picture formats in a global array instead of in the format structure. 2011-09-15 15:42:20 +02:00
Alexandre Julliard ce63099a14 winex11: Get rid of the xrender_info structure. 2011-09-15 15:42:15 +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 14f6c42708 winex11: Avoid an intermediate pixmap copy when stretching with SRCCOPY through XRender. 2011-09-15 13:12:54 +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 beb71ad9d1 winex11: Pass destination coordinates to xrender_mono_blit. 2011-09-15 12:51:57 +02:00
Alexandre Julliard 85a6967f8d winex11: Move the pixel->color conversion out of the get_tile_pict function. 2011-09-15 12:51:08 +02:00
Alexandre Julliard dc1056284f winex11: Make sure the cursor bitmaps are owned by x11drv. 2011-09-14 14:53:59 +02:00
Alexandre Julliard 0f9dfb932e winex11: Use the DIB engine for client-side DIB copy optimizations. 2011-09-14 13:26:29 +02:00
Alexandre Julliard c819e4bdea gdi32: Add a null driver fallback for AlphaBlend, using a new BlendImage driver entry point. 2011-09-14 11:57:45 +02:00
Alexandre Julliard 497c3982b6 gdi32: Move coordinate checks into the common part of GdiAlphaBlend. 2011-09-13 17:17:52 +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 b174bde4d2 winex11: Add an AlphaBlend entry point in the XRender driver. 2011-09-12 14:03:11 +02:00
Alexandre Julliard 5a2ab8364a winex11: Add an ExtTextOut entry point in the XRender driver. 2011-09-12 14:03:10 +02:00
Alexandre Julliard cbfcce1a3d winex11: Add a SelectFont entry point in the XRender driver. 2011-09-12 14:03:10 +02:00
Alexandre Julliard 225d8abec9 winex11: Add bitmap entry points to the XRender driver. 2011-09-12 14:03:10 +02:00
Alexandre Julliard 89d8d1d427 winex11: Add an ExtEscape entry point in the XRender driver. 2011-09-12 14:03:10 +02:00
Alexandre Julliard b74a33d9b3 winex11: Store the XRender info structure inside the XRender physdev object. 2011-09-12 14:03:10 +02:00
Alexandre Julliard 40957d025d winex11: Create a separate graphics driver for XRender. 2011-09-12 14:03:08 +02:00
Alexandre Julliard da0327917c winex11: Make sure the bitmap created from a packed DIB is owned by x11drv before getting its pixmap. 2011-09-07 22:55:12 +02:00
Alexandre Julliard d7ed2457b0 winex11: Make sure the bitmap of the brush pattern is owned by x11drv before getting its pixmap. 2011-09-07 22:54:49 +02:00
Alexandre Julliard a28ddddcbc gdi32: Leave it up to the driver to push the new device on the DC stack in CreateDC. 2011-09-07 18:13:29 +02:00
Alexandre Julliard cef1832bfb gdi32: Add a driver entry point for CreateCompatibleDC. 2011-09-07 18:13:06 +02:00
Alexandre Julliard cd7ccebb9b winex11: Get rid of the no longer used RLE support. 2011-09-06 14:59:45 +02:00
Alexandre Julliard 3a260497be winex11: Get rid of the SetDIBitsToDevice implementation. 2011-09-06 14:44:11 +02:00
Alexandre Julliard a0f1b20464 gdi32: Make the BITMAPINFO parameters non-const in driver entry points since we are always passing a copy. 2011-09-02 15:56:01 +02:00
Alexandre Julliard bcc21c9b79 winex11: Fix SetDIBitsToDevice coordinate mapping for negative values. 2011-09-01 18:06:18 +02:00
Alexandre Julliard e1ca5c38e2 winex11: Fix SetDIBitsToDevice coordinate mapping in RTL mode. 2011-09-01 12:41:00 +02:00
Andrew Talbot 42df50ab66 winex11.drv: Remove unneeded address-of operator from function name. 2011-08-30 11:56:54 +02:00
Alexandre Julliard 8cf6424057 winex11: Simplify the DIB byte width computation. 2011-08-29 12:08:21 +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
Huw Davies 6d0f81336a winex11: Simplify rectangle operations. 2011-08-22 16:14:35 +02:00
Huw Davies f15dcec52f winex11: Sync a dib section's bits before copying the brush. 2011-08-22 16:14:35 +02:00
André Hentschel 0dba66c05b winex11: Fix function header for building without xrender headers. 2011-08-22 16:14:33 +02:00
Alexandre Julliard 3a1194edd7 gdi32: Always use BI_BITFIELDS for 16-bpp in GetImage. 2011-08-05 15:22:43 +02:00
Kusanagi Kouichi 806e407193 winex11.drv: Fix a memory leak. 2011-08-04 18:27:36 +02:00
Alexandre Julliard f825f5db8c gdi32: Create a sanitized BITMAPINFO in SetDIBitsToDevice and pass that to the drivers. 2011-08-04 18:23:25 +02:00
Alexandre Julliard 7deda05185 gdi32: Create a sanitized BITMAPINFO in CreateDIBSection and pass that to the driver. 2011-08-04 18:21:49 +02:00
Vincent Povirk 62802b8bdf winex11.drv: Don't set gamma when UseXVidMode is turned off. 2011-08-03 17:43:21 +02:00
Frédéric Delanoy 7e309601f3 dlls: Assorted spelling fixes. 2011-08-03 14:15:50 +02:00
Francois Gouget ed3c9a1eca Assorted spelling fixes. 2011-08-03 14:15:48 +02:00
Alexandre Julliard 6d00196aea gdi32: Get rid of the SetBitmapBits driver entry point. 2011-08-03 14:15:47 +02:00
Alexandre Julliard 09eb59d3c6 gdi32: Set the initial bits of a bitmap from the gdi side. 2011-08-03 14:15:47 +02:00
Alexandre Julliard 372ad442fc winex11: Force unprotecting the DIB section bits in PutImage. 2011-07-27 12:18:09 +02:00
Alexandre Julliard 366174b213 gdi32: Get rid of the GetBitmapBits driver entry point. 2011-07-25 20:32:41 +02:00
Alexandre Julliard 96c1b3bbc2 winex11: Get rid of the no longer used GetBitmapBits implementation. 2011-07-25 20:32:17 +02:00
Alexandre Julliard 8a906250eb gdi32: Get rid of the SetDIBits driver entry point. 2011-07-25 19:47:03 +02:00
Alexandre Julliard 65997a2a2d winex11: Get rid of the no longer used SetDIBits implementation. 2011-07-25 19:46:13 +02:00
Alexandre Julliard 57a050048a winex11: Return color information in GetImage when passed null bits. 2011-07-25 17:59:04 +02:00
Alexandre Julliard 316372a21f winex11: Implement the additional clipping in PutImage. 2011-07-22 12:57:02 +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 0d9dde7953 gdi32: Add an optional clip region to the PutImage entry point. 2011-07-21 18:49:47 +02:00
Alexandre Julliard 7dc8f48ef8 gdi32: Get rid of the offset in the gdi_image_bits structure now that we are passing the full rectangles. 2011-07-21 15:36:34 +02:00
Alexandre Julliard 97c30bdd6c gdi32: Allow the PutImage entry point to optionally support stretching. 2011-07-21 15:35:48 +02:00
Alexandre Julliard 73dc9833b7 gdi32: Pass the full bitblt_coords structure to the Get/PutImage entry points. 2011-07-21 15:35:30 +02:00
Huw Davies 3cead4fe1b winex11: Use the appropriate color_shifts when the target is a bitmap. 2011-07-20 19:23:05 +02:00
Huw Davies 8679d0b138 winex11: Sync the dib-section bits before writing to the image. 2011-07-20 19:23:05 +02:00
Alexandre Julliard 01e12ec9f9 gdi32: Move the checks for empty visible rects in PatBlt/StretchBlt back to gdi32. 2011-07-20 19:23:04 +02:00
Alexandre Julliard be835e2d9b winex11: Verify that the color map matches in PutImage for 4 and 8 bpp. 2011-07-20 11:42:17 +02:00
Alexandre Julliard 476a1fa1fb winex11: Fill in the color table in Get/PutImage for 4 and 8 bpp. 2011-07-20 11:31:38 +02:00
Alexandre Julliard be74c47e86 winex11: Remap pixels to system palette in Get/PutImage for 4 and 8 bpp. 2011-07-20 11:26:59 +02:00
Alexandre Julliard dc801b9831 winex11: Create a new message window every time we change clipping to avoid stale notifications. 2011-07-18 21:19:55 +02:00
Alexandre Julliard dbd0b4542f winex11: Remove the GetDIBits implementation. 2011-07-18 17:11:06 +02:00
Alexandre Julliard b01eb19511 gdi32: Remove the GetDIBits entry point from the graphics driver. 2011-07-18 17:07:51 +02:00
Francois Gouget 3726670098 winex11.drv: Make copy_image_bits() static. 2011-07-18 16:23:29 +02:00
Alexandre Julliard 1e2e45ce66 winex11: Avoid overflowing the source rectangle in StretchBlt. 2011-07-18 16:23:21 +02:00
Alexandre Julliard 5ce421efbd winex11: Simplify a couple of BitBlt operation codes. 2011-07-18 11:38:20 +02:00
Alexandre Julliard 55bc21938f winex11: Don't access the source rectangle in PutImage until needed. 2011-07-18 11:01:04 +02:00
Huw Davies 56d7e2add9 winex11: Sync a dib-section before accessing the image bits. 2011-07-15 14:40:10 +02:00
Alexandre Julliard 678400b887 winex11: Set all the bitmap padding to 0 in GetImage. 2011-07-15 13:49:47 +02:00
Francois Gouget 60ffc296f0 winex11.drv: Make some DC functions static. 2011-07-14 14:48:26 +02:00
Alexandre Julliard eeb3625dce winex11: Add support for bottom-up format in PutImage. 2011-07-14 13:09:38 +02:00
Alexandre Julliard 611b168b35 winex11: Add support for rops in PutImage. 2011-07-14 13:09:04 +02:00
Alexandre Julliard c02bbb78b8 winex11: Move the execution of rop operations from X11DRV_StretchBlt to a separate function. 2011-07-14 13:08:56 +02:00
Alexandre Julliard ce9a5c6659 winex11: Add an implementation for the PutImage entry point. 2011-07-14 13:05:16 +02:00
Alexandre Julliard c2a9b4a8dc winex11: Add support for byte swapping in GetImage. 2011-07-14 12:56:26 +02:00
Alexandre Julliard e6fcbc543e winex11: Add an implementation for the GetImage entry point. 2011-07-14 12:53:51 +02:00
Alexandre Julliard cf05fca878 gdi32: Add driver entry points for GetImage and PutImage. 2011-07-14 11:30:58 +02:00
Ken Thomases ebebee5b9e winex11.drv: Map Meta keys to VK_{L, R}MENU, not just VK_MENU.
This fixes a problem with X11DRV_KeymapNotify sending incorrect key-up events.
2011-07-13 15:00:10 +02:00
Ken Thomases c4daf28186 winex11.drv: Fix X11DRV_KeymapNotify when multiple keycodes map to same vkey. 2011-07-13 15:00:00 +02:00
Alexandre Julliard c7a8ff26d3 gdi32: Graphics driver functions no longer need to be CDECL. 2011-07-13 14:56:12 +02:00