Commit Graph

366 Commits

Author SHA1 Message Date
Chris Robinson d9571c9e6f wgl: Store the fbconfig id with the window when a pixel format is set. 2007-09-18 09:28:06 +02:00
Roderick Colenbrander 2a839e96c9 wgl: Fix a major ATI regression.
ATI's latest drivers (8.41.7) don't advertise visualids anymore for GLXFBConfigs.
2007-09-13 12:44:59 +02:00
Chris Robinson f0e0e9fb9b winex11: Remove improper comment and dead code from SetPixelFormat. 2007-09-12 12:46:52 +02:00
Chris Robinson e46d621bb6 winex11: Remove useless checks from wglCreateContext. 2007-09-12 12:46:47 +02:00
Chris Robinson 57380c2d9a winex11: Free visual info stored with the context. 2007-09-12 12:46:43 +02:00
Chris Robinson f825db6d0f winex11: Don't assume just one on-screen pixel format. 2007-09-12 12:37:46 +02:00
Chris Robinson 6c5b58a44a winex11: Simplify ConvertPixelFormatWGLtoGLX. 2007-09-12 12:37:22 +02:00
Chris Robinson 5221921fa6 winex11: Don't choose pixel formats with incorrect doublebuffer/stereo settings. 2007-09-12 12:36:38 +02:00
Vitaliy Margolen 6444f574c7 winex11drv: Don't ignore mouse move events even when position did not change. 2007-09-11 11:47:49 +02:00
Jacek Caban b5c0573dd8 winex11: Fixed GetClipboardFormatName spec entry. 2007-09-10 16:15:20 +02:00
Mikolaj Zalewski ee2db299de winex11.drv: wintab: Copy also the button #0 state. 2007-08-31 13:24:55 +02:00
Lionel Debroux d99882a384 winex11.drv: Fix memory leak in create_cursor (found by Smatch). 2007-08-31 13:21:07 +02:00
Mikolaj Zalewski ee747f3d70 winex11.drv: Support GdiAlphaBlend with blendfn.AlphaFormat == 0. 2007-08-31 12:08:58 +02:00
Alexandre Julliard a2a5118362 winex11: Set initial wm hints on the desktop window too. 2007-08-30 12:19:55 +02:00
Steven Edwards 13f9b0a642 x11drv: Remove some no longer needed wine 16bit headers. 2007-08-29 12:31:28 +02:00
Mikolaj Zalewski 9a72a865a2 winex11.drv: Test for out-of-bound src coordinates in GdiAlphaBlend. 2007-08-29 12:03:08 +02:00
Alexandre Julliard 74cd76c9c7 winex11: Tool windows should not have WM decorations. 2007-08-29 12:02:57 +02:00
Roderick Colenbrander 49c635094b wgl: Degrade an ERR to a WARN. 2007-08-29 11:58:39 +02:00
Alexandre Julliard effdfa7da4 winex11: Child windows don't get activated even when requested, so don't make them managed either. 2007-08-27 12:37:14 +02:00
Alexandre Julliard 8bbeadf565 user32: IsChild must not consider the desktop window. 2007-08-24 10:56:51 +02:00
Rob Shearman fba87b110f winex11.drv: Don't activate the systray window when repositioning it. 2007-08-23 20:18:32 +02:00
Alexandre Julliard 372492436a winex11: Get rid of get_context_from_GLXContext. 2007-08-23 12:52:57 +02:00
Alexandre Julliard f36536f7ab winex11: Properly update the hdc in the GL context. 2007-08-23 12:50:29 +02:00
Roderick Colenbrander daceb4564f wgl: Fix wglGetCurrentReadDCARB bugs. 2007-08-23 12:38:39 +02:00
Alexandre Julliard a37a2fa4c5 winex11: Update the wm hints also when mapping a previously zero-size window. 2007-08-21 21:38:20 +02:00
Roderick Colenbrander 22eea683ff wgl: Cleanup pixelformat initialization code. 2007-08-20 22:25:28 +02:00
Roderick Colenbrander d5c0888bba wgl: Fix a typo in the trace code. 2007-08-20 22:25:24 +02:00
Alexandre Julliard f48eb1581d winex11: Force a window to managed mode when it is activated. 2007-08-20 22:06:50 +02:00
Alexandre Julliard ac98e0c075 winex11: Switch windows to managed mode in SetWindowPos instead of at creation time. 2007-08-20 22:06:33 +02:00
Alexandre Julliard 0ce718702d winex11: Don't select for StructureNotify events on unmanaged windows. 2007-08-20 14:23:10 +02:00
Alexandre Julliard f3ae5f5215 winex11: Don't set the cursor on the desktop window since it's managed by another process. 2007-08-20 14:04:53 +02:00
Alexandre Julliard 7d9739e2b5 winex11: Move setting of the initial wm hints to a separate function. 2007-08-20 14:04:36 +02:00
Roderick Colenbrander d068bdd820 wgl: Fix a render_texture regression. Only enable GLX_ATI_render_texture when the ati extension is around. 2007-08-17 12:22:09 +02:00
Alexandre Julliard eaad370987 winex11: Don't try to activate the desktop window on take focus. 2007-08-16 23:43:58 +02:00
Alexandre Julliard bde89576b3 winex11: Store wm hints in the window data instead of fetching them when needed. 2007-08-16 23:27:37 +02:00
Chris Robinson 5e6d3c15e7 wgl: GDI support is not advertised with double buffering. 2007-08-14 20:29:21 +02:00
Roderick Colenbrander 454a612223 wgl: Proper stereo / double buffering support for ChoosePixelFormat. 2007-08-14 12:47:49 +02:00
Roderick Colenbrander aab98fc6ea wgl: Recognize Vista's PFD_SUPPORT_COMPOSITION flag. 2007-08-14 12:46:58 +02:00
Chris Robinson 308da6313e winex11: Set proper pixel format flags. 2007-08-13 13:05:37 +02:00
Roderick Colenbrander 04d383381f wgl: Re-enable GLX_ATI_render_texture support. 2007-08-13 13:05:29 +02:00
Damjan Jovanovic 28ddfe802e winex11.drv: Correctly handle overlapping source and destination regions on the same DIB when copying DIBs client-side. 2007-08-13 11:58:21 +02:00
Roderick Colenbrander f879f69f98 wgl: Make sure onscreen pixelformats are on top in wglChoosePixelFormatARB. 2007-08-10 16:18:54 +02:00
Chris Robinson 7959be3850 winex11: Don't add spaces to the beginning of the wglExtensions list. 2007-08-10 12:58:17 +02:00
Roderick Colenbrander dee2fc09f5 wgl: Rewrite ChoosePixelFormat. 2007-08-09 14:10:50 +02:00
Roderick Colenbrander ae98679ebe wgl: Correctly check GLX capabilities. Use client GLX extensions on ATI hardware to work around driver bugs. 2007-08-09 14:09:49 +02:00
Chris Robinson 68c5477d27 winex11: Be consistent with GLX_SLOW_CONFIG meaning GENERIC_ACCELERATION. 2007-08-06 13:59:15 +02:00
Chris Robinson b4c11e3033 winex11: Properly handle WGL_PBUFFER_LOST_ARB. 2007-08-06 13:59:06 +02:00
Michael Stefaniuc 0bd2548bbf winex11.drv: Move the TRACE before the return. Found by Smatch. 2007-08-06 12:18:07 +02:00
Chris Robinson 3fc8ac5546 wgl: WGL_COLOR_BITS_ARB does include alpha. 2007-08-06 12:12:08 +02:00
Roderick Colenbrander 462a3c3d74 wgl: wglChooosePixelFormatARB returns the total number of matching pixelformats and not the number of pixelformats stored in the buffer.
This didn't work due to bugs in wglChoosePixelFormatARB but also due
to strange behavior of glXChooseFBConfig. Some of its default values
are not zero or GLX_DONT_CARE which cause some formats not to appear.
2007-08-03 13:38:44 +02:00
Chris Robinson a2475921b1 winex11: Don't use ConvertAttribWGLtoGLX for wglCreatePbufferARB. 2007-08-03 12:35:43 +02:00
Chris Robinson ccb9da5f85 winex11: Report accumulation buffer bits for pixel formats. 2007-08-03 12:35:34 +02:00
Chris Robinson c37b95bbaa winex11: Check for WGL drawing caps. 2007-08-02 12:58:07 +02:00
Roderick Colenbrander b25b287e6c wgl: Support WGL_FLOAT_COMPONENTS_NV in wglGetPixelFormatAttrib*. 2007-08-02 12:18:41 +02:00
Roderick Colenbrander 5717dede77 wgl: Print more debug info. 2007-08-02 12:18:41 +02:00
Roderick Colenbrander 323d9e428c wgl: SetPixelFormat should fail on the root window. 2007-08-02 12:18:22 +02:00
Roderick Colenbrander 219269c0f1 wgl: GetPixelFormat fix for offscreen formats. 2007-08-02 12:04:33 +02:00
Roderick Colenbrander aa225419f3 wgl: Silence an error in ConvertPixelFormatWGLtoGLX. 2007-08-02 11:54:05 +02:00
Roderick Colenbrander bfe2d11b05 wgl: Fix compilation on systems without GLX_RGBA_FLOAT_ARB. 2007-07-30 23:37:58 +02:00
Roderick Colenbrander d03e2696cf wgl: Replace glReadPixels in wglBindTexImage2D by the MUCH faster glCopyTexImage2D. 2007-07-30 15:03:25 +02:00
Roderick Colenbrander 8cbb0a6f18 wgl: wglBindTexImageARB should return TRUE on success. 2007-07-30 15:03:06 +02:00
Roderick Colenbrander 14e17b0a2e wgl: Add WGL_ATI_pixel_format_float/WGL_ARB_pixel_format_float support. 2007-07-30 15:02:53 +02:00
Roderick Colenbrander daaf08f0d2 wgl: Enable WGL_EXT_swap_control by default even when the GLX version isn't there. 2007-07-30 15:02:27 +02:00
Roderick Colenbrander 96f9cceb68 wgl: Use correct types and pixelformats for pbuffers. 2007-07-30 15:02:13 +02:00
Roderick Colenbrander 8873478e05 wgl: Add WGL_NV_float_buffer and WGL_NV_texture_rectangle support. 2007-07-30 12:51:03 +02:00
Roderick Colenbrander ae9119f8d0 wgl: Fix another BadMatch error by giving a pbuffer its own GLXContext. 2007-07-30 12:50:44 +02:00
Roderick Colenbrander 7d8c31075b wgl: Fix a BadMatch error resulting from ignoring that iPixelFormat stars counting from 1. 2007-07-30 12:50:24 +02:00
Roderick Colenbrander 6f3e8a2fcf wgl: Fix a typo in the WGL_TEXTURE_TARGET_ARB emulation code. 2007-07-27 12:21:33 +02:00
Roderick Colenbrander 4682f8f77a wgl: Enable offscreen pixelformats for pbuffers. 2007-07-27 12:21:18 +02:00
Roderick Colenbrander 4a96be5a72 wgl: Replace the GLXFBConfigIDs in the pixelformat list with real GLXFBConfigs. 2007-07-27 12:21:06 +02:00
Roderick Colenbrander cfd81827ac wgl: Fill the format table with offscreen pixelformats which are needed for pbuffers. 2007-07-27 12:20:54 +02:00
Roderick Colenbrander 1855eb25f3 wgl: Set pbuffer dimensions in HDC. 2007-07-26 11:50:47 +02:00
Roderick Colenbrander 8a02dbb43c opengl: WGL_ARB_render_texture support. 2007-07-26 11:49:28 +02:00
Peter Dons Tychsen d0b21abe81 x11drv: Fix the special case where windows have WS_CHILD and WS_POPUP. 2007-07-25 14:01:14 +02:00
Nigel Liang 3f02c27da9 winex11.drv: Take into account position of preedit area in PreEditCaretCallback. 2007-07-25 13:03:53 +02:00
Vitaliy Margolen d836a50621 winex11drv: Correctly react to focus loss away from Wine. 2007-07-23 11:53:17 +02:00
Dmitry Timoshkov 7b77b91723 winex11.drv: Constify the pen dash data. 2007-07-20 12:25:42 +02:00
Nigel Liang c52ce9bccc winex11.drv: Implement XIMPreEditCaretCallback. 2007-07-20 11:58:35 +02:00
Evan Stade 9b9e08c210 winex11.drv: Draw dashed lines for extended pens. 2007-07-19 12:04:00 +02:00
Michael Stefaniuc 02933a11de dlls: Remove unreachable break after return/break. Found by Smatch. 2007-07-19 11:57:49 +02:00
Lei Zhang d0e068744a winex11.drv: Remove old dnd code. 2007-07-12 12:57:23 +02:00
Alexandre Julliard a851854a36 configure: Merge the libX11 and libXext existence check with the soname check. 2007-07-09 22:43:45 +02:00
Alexandre Julliard d68d4335af configure: Make the libXi soname check depend on the header check. 2007-07-09 22:42:49 +02:00
Alexandre Julliard 19a988a25c configure: Make the libXcursor soname check depend on the header check. 2007-07-09 22:42:28 +02:00
Alexandre Julliard 35d2fd7a25 configure: Merge the libXinerama existence check with the soname check. 2007-07-04 12:48:50 +02:00
Alexandre Julliard 629639ee60 configure: Merge the libXrender existence check with the soname check. 2007-07-04 12:47:57 +02:00
Alexandre Julliard af928ecbfa configure: Merge the libXrandr existence check with the soname check. 2007-07-04 12:45:03 +02:00
Alexandre Julliard 31353e1edd configure: Merge the libGL existence check with the soname check. 2007-07-04 12:44:12 +02:00
Peter Dons Tychsen cf7cfa85eb winex11: Fix X11DRV_DIB_GetImageBits() when target bitmaps are larger than fetched. 2007-07-04 12:07:01 +02:00
Huw Davies bd2fe1a2fa winex11.drv: Use global Pictures for the tiles. 2007-07-03 20:39:31 +02:00
Huw Davies 030ef1ef05 winex11.drv: Move the PictFormats into an array. 2007-07-03 20:39:31 +02:00
Huw Davies ee40cb4b9f winex11.drv: Pass root_window to XCreatePixmap to avoid BadDrawable errors. 2007-07-03 20:39:30 +02:00
Alexandre Julliard 446befbb4d configure: Don't use a default soname if a library is not found, leave it undefined. 2007-07-02 14:35:05 +02:00
Alexandre Julliard 5a95cfbd9c configure: Export the shared library extension instead of hardcoding .so. 2007-07-02 14:35:05 +02:00
Damjan Jovanovic b6030cb26d winex11.drv: Added better support for the X file drag protocol. 2007-06-27 14:32:27 +02:00
Lei Zhang e20625e5c9 winex11.drv: Reset focus if application does not want to be activated. 2007-06-22 12:28:45 +02:00
Nigel Liang 2f3a02ea2f winex11.drv: Remove call to XCreateFontSet. 2007-06-22 12:19:45 +02:00
Lei Zhang 9a67bded8c winex11.drv: Send WM_MOUSEACTIVATE before closing a window. 2007-06-21 16:39:02 +02:00
Kolbjørn Fredheim c960cae979 winex11.drv: Echo the video mode requested in the error message when not finding a matching mode. 2007-06-15 13:24:27 +02:00
Ulrich Czekalla 191a29c1e7 opengl: Use get_glxdrawable to grab the drawable. 2007-06-15 12:40:27 +02:00