357 Commits

Author SHA1 Message Date
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
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
Alexandre Julliard
31353e1edd configure: Merge the libGL existence check with the soname check. 2007-07-04 12:44:12 +02:00
Alexandre Julliard
5a95cfbd9c configure: Export the shared library extension instead of hardcoding .so. 2007-07-02 14:35:05 +02:00
Ulrich Czekalla
191a29c1e7 opengl: Use get_glxdrawable to grab the drawable. 2007-06-15 12:40:27 +02:00
Andrew Talbot
a33f71a32d winex11.drv: Replace inline static with static inline. 2007-03-17 20:04:54 +01:00
Stefan Huehner
4d1d01f266 Mark several functions as static. 2007-03-13 13:35:12 +01:00
Tomas Carnecky
24eabb8a46 winex11.drv: Spring cleanup in X11DRV_setup_opengl_visual, and added one new visual config (with aux buffers). 2007-03-01 12:17:34 +01:00
Marcus Meissner
f4d7b4444c winex11.drv: Small fixes. 2007-02-19 12:36:33 +01:00
Alexandre Julliard
5fce682f41 winex11.drv: Added a check for the ATI driver corrupting %fs.
Based on a patch by Lei Zhang.
2007-02-14 18:18:07 +01:00
Andrew Talbot
e463110e22 winex11.drv: Declare variable signed to accept possible negative return value (Coverity). 2007-02-05 12:33:10 +01:00
Ken Thomases
a790ff5568 winex11.drv: Copy the GL extensions string because it may be freed. 2007-01-25 11:06:21 +01:00
Roderick Colenbrander
e4eac235f1 wgl: Fix piAttributes NULL crash. 2007-01-04 09:55:36 +01:00
Roderick Colenbrander
86d4a9e078 winex11.drv: Remove get_drawable. 2007-01-02 12:08:30 +01:00
Roderick Colenbrander
8da7b13343 wgl: Fix wglGetPixelFormatAttribiv bug. 2006-12-28 12:18:50 +01:00