Commit Graph

138 Commits

Author SHA1 Message Date
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
Roderick Colenbrander c026faaeed winex11.drv: pbuffer detection. 2006-12-20 12:31:04 +01:00
Ulrich Czekalla b2f33ffbbb winex11.drv: Don't crash when called with a NULL gl context. 2006-12-20 12:30:49 +01:00
Ulrich Czekalla 4d8135e0c8 winex11.drv: Avoid grabbing syslevel locks in the wrong order. 2006-12-15 13:43:14 +01:00
Alexandre Julliard aa25e2938c winex11.drv: Fixed computation of viewport and scissor position. 2006-12-12 21:07:39 +01:00
Alexandre Julliard fdcd9859b4 winex11.drv: Get rid of the display pointer in the GL context. 2006-12-12 18:23:34 +01:00
Alexandre Julliard 6e01e4aa51 opengl32: Don't use ENTER_GL/LEAVE_GL around calls to driver functions.
This causes lock inversions when the driver accesses the DC.
2006-12-12 18:21:01 +01:00
Ulrich Czekalla 715d0e8409 winex11.drv: Correctly position and clip opengl child windows. 2006-12-12 17:28:12 +01:00
Alexandre Julliard 0ab5590479 winex11.drv: Get rid of the unused set_drawable function. 2006-12-12 15:37:32 +01:00
Ulrich Czekalla 4bdf4345b8 winex11.drv: Store window and drawable rects in X11DRV_PDEVICE. 2006-12-12 13:45:10 +01:00
Roderick Colenbrander 055f8712b4 wgl: Make the WGL code independant of the number of supported pixel formats. 2006-12-11 14:38:08 +01:00
Chris Robinson 9da10277ce wgl: Properly handle GLX_DRAWABLE_TYPE queries. 2006-12-11 14:36:39 +01:00
Chris Robinson 34c40097a5 wgl: Implement wglGetPixelFormatAttribfvARB. 2006-12-07 14:05:58 +01:00
Chris Robinson 28c2ebb937 wgl: Fix for missing NV GLX extension. 2006-12-06 11:42:24 +01:00
Roderick Colenbrander 900094cbfe wgl: Cleanup wglMakeCurrent. 2006-12-06 11:34:50 +01:00
Chris Robinson b4f0adbf96 wgl: Don't return prematurely if ConvertPixelFormatWGLtoGLX receives an invalid pixel format. 2006-12-04 12:39:04 +01:00
Roderick Colenbrander 7466390143 wgl: (W)GL_NV_vertex_array_range. 2006-12-04 12:23:26 +01:00
Roderick Colenbrander eb0350bb1b wgl: Relax the pixel format attribute conversion code a bit. 2006-12-01 12:26:58 +01:00
Andrew Talbot c8e64830f9 winex11.drv: Cast-qual warnings fix. 2006-11-27 17:03:52 +01:00
Roderick Colenbrander 57ff710cde wgl: Unify pixel format code. 2006-11-27 13:46:47 +01:00
Francois Gouget 1ccf944900 Assorted spelling fixes. 2006-11-13 13:01:53 +01:00
Francois Gouget e9fb8c6728 winex11.drv: Fix some comments so they are properly formatted documentation headers. 2006-11-13 13:01:05 +01:00
Roderick Colenbrander 5b026479c5 wgl: Fix a typo in the pbuffer pixelformat enumeration code. 2006-11-13 12:48:01 +01:00
Detlef Riekenberg 2a14dc958a winex11.drv: Fix failure of X11DRV_ChoosePixelFormat. 2006-11-08 15:49:17 +01:00
Alexandre Julliard 7dd0eaa904 winex11.drv: Fixed build without OpenGL headers. 2006-11-06 15:40:01 +01:00
Roderick Colenbrander 1d4effcaa5 wgl: Fix WoW screen flickering. 2006-11-06 12:13:09 +01:00
Huw Davies 7d4163b5fa winex11.drv: If the app asks for a single buffered pixel format, then it should be happy with a double buffered one.
Likewise for mono vs stereo.
Add some TRACEs so that we know what condition is failing.
2006-11-03 21:00:44 +01:00
Roderick Colenbrander 3314367238 winex11.drv: Opengl init fix. 2006-11-03 13:51:27 +01:00
Alexandre Julliard 8310d4ae15 winex11.drv: Fixed the prototype of many OpenGL functions. 2006-10-31 21:41:02 +01:00
Roderick Colenbrander 2506677c60 winex11.drv: Route wglMakeContextCurrentARB through gdi32. 2006-10-31 21:34:36 +01:00
Roderick Colenbrander 88ad69f9bd wgl: Move part of wglGetProcAddress to gdi32. 2006-10-27 12:43:31 +02:00
Roderick Colenbrander 8c32dd77a3 wgl: Move wglGetCurrentDC to gdi32. 2006-10-16 12:05:20 +02:00
Roderick Colenbrander ad7bc71c0c wgl: Move wglGetCurrentContext to gdi32. 2006-10-16 12:03:47 +02:00
Vitaliy Margolen 6069d0d596 winex11drv: Win64 printf format warning fixes. 2006-10-09 15:23:33 +02:00
Roderick Colenbrander 9461c0c634 x11drv: Fix wgl pixel format bug. 2006-10-04 10:10:24 +02:00
Roderick Colenbrander 95a67ab373 gdi32: Route WGL font code through gdi32.dll. 2006-10-04 10:10:03 +02:00
Roderick Colenbrander 4b212dc401 gdi32: Route WGL context code through gdi32.dll. 2006-10-04 10:07:33 +02:00
Francois Gouget 222c167969 Assorted spelling fixes. 2006-09-29 16:28:30 +02:00
Alexandre Julliard cf47c3afbb winex11.drv: Fix typo that confuses winapi_check. 2006-09-29 14:43:59 +02:00
Juan Lang ec1ef77b26 winex11.drv: Don't deadlock if GL init fails. 2006-09-29 14:43:00 +02:00
Roderick Colenbrander 272196f514 winex11.Drv: Remove unneeded wgl exports. 2006-09-26 11:41:46 +02:00
Roderick Colenbrander b669fcaf7b opengl: Move wgl font code to winex11.drv. 2006-09-21 11:45:08 +02:00
Roderick Colenbrander ab00044408 winex11.drv: Fix wined3d/opengl regression. 2006-09-20 11:15:45 +02:00
Roderick Colenbrander 9796aade28 winex11.drv: Fix fbconfig regression. 2006-09-20 11:15:21 +02:00
Alexandre Julliard 9d5def307e winex11.drv: Fixed and simplified the opengl extension registration. 2006-09-12 14:35:31 +02:00
Roderick Colenbrander 12dbce5c93 winex11.drv: Move WGL extension code to winex11.drv. 2006-09-12 14:35:31 +02:00
Alexandre Julliard 5f7b77bb91 winex11.drv: Avoid compile errors in the non-OpenGL case. 2006-09-11 16:17:53 +02:00
Roderick Colenbrander 2b36c4a4c3 winex11.drv: Import glx makecurrent/wglsharelists. 2006-09-11 11:33:02 +02:00
Roderick Colenbrander 9377c23eff winex11.drv: Import glx context code. 2006-09-11 11:31:13 +02:00
Francois Gouget 06f9532dda Assorted spelling fixes. 2006-09-08 11:04:53 +02:00
Roderick Colenbrander 496161453c winex11.drv: Import ConvertPixelFormatWGLtoGLX from opengl32. 2006-08-28 17:48:34 +02:00
Alexandre Julliard 383e0242f7 winex11.drv: Fix a compiler warning when OpenGL is missing. 2006-08-25 18:37:52 +02:00
Roderick Colenbrander 8922e20096 winex11.drv: Fix opengl pixel format bug. 2006-08-23 12:00:02 +02:00
Roderick Colenbrander 59dc73b911 x11drv/opengl: Pixel format rewrite. 2006-08-17 11:48:21 +02:00
Stefan Dösinger eb527c82e2 Add a common fps counter channel to ddraw, opengl and d3d. 2006-07-07 17:52:46 +02:00
Huw Davies f4e8169e9a winex11: Introduce a function to retrieve the glx drawable and have
both the GET_GLX_DRAWABLE Escape and SwapBuffers call it.
2006-06-26 12:36:02 +02:00
Huw Davies 4d361ce002 winex11: glXQueryExtension has its error and event base arguments swapped
compared with other *QueryExtension functions!
2006-06-23 10:42:52 +02:00
Alexandre Julliard bdb4fab7a7 x11drv: Renamed the x11drv directory to winex11.drv. 2006-06-16 09:57:50 +02:00