186 Commits

Author SHA1 Message Date
Chris Robinson
d298b68f50 winex11: Use the specified format for GL Bitmaps. 2007-10-10 17:40:03 +02:00
Chris Robinson
fa6598a260 winex11: Create GLXPixmap for bitmaps in SetPixelFormat. 2007-10-10 17:39:35 +02:00
Alexandre Julliard
6cd7d06823 winex11: Don't store a physdev pointer in the GL context. 2007-10-10 17:38:51 +02:00
Alexandre Julliard
771d61a886 winex11: Use ExtEscape to flush the GL drawable to the physdev.
Based on a patch by Chris Robinson.
2007-10-10 17:33:35 +02:00
Chris Robinson
d053049fd5 winex11: Load and use GLX_MESA_copy_sub_buffer for swapping buffers on a GLXPixmap. 2007-10-03 11:57:00 +02:00
Chris Robinson
37d835bf9a winex11: Use a GLXPixmap for offscreen OpenGL rendering when XComposite isn't available. 2007-10-03 11:56:55 +02:00
Chris Robinson
3629ea4cfd winex11: Track async GL drawable changes. 2007-10-03 11:47:14 +02:00
Chris Robinson
86a9b76076 winex11: Pass a display parameter when destroying glxpixmaps. 2007-10-03 11:47:02 +02:00
Chris Robinson
00633e37bc winex11: Use an offscreen redirected window for child OpenGL rendering. 2007-10-03 11:46:52 +02:00
Chris Robinson
ebfba49e27 wgl: Remove GL scissors/viewport override. 2007-10-03 11:40:12 +02:00
Chris Robinson
a8124f97e6 winex11: Store a GL-specific drawable with the window. 2007-10-03 11:39:07 +02:00
Alexandre Julliard
809af590a1 winex11.drv: Don't call GDI functions while holding the X11 lock. 2007-09-27 18:02:26 +02:00
Chris Robinson
665a8add92 wgl: Override glFinish and glFlush. 2007-09-25 13:33:37 +02:00
Chris Robinson
87e3cd66ab wgl: Don't set a pixel format on windows that already have one. 2007-09-20 16:49:07 +02:00
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
Roderick Colenbrander
49c635094b wgl: Degrade an ERR to a WARN. 2007-08-29 11:58:39 +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
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
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
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