Commit Graph

261 Commits

Author SHA1 Message Date
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
Roderick Colenbrander 9e73f7a6df winex11.drv: Limit formats to nMaxFormats in wglChoosePixelFormatARB. 2012-06-07 10:36:03 +02:00
Alexandre Julliard 191cd77320 winex11: Remove the support for device-dependent bitmaps. 2012-05-29 21:22:23 +02:00
Alexandre Julliard 93758c43fd gdi32: Remove the CreateBitmap and DeleteBitmap driver entry points. 2012-05-29 21:06:41 +02:00
Alexandre Julliard fdc4682e31 gdi32: Remove the CopyBitmap driver entry point. 2012-05-24 22:09:19 +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 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 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 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 54170fe867 winex11: Remove support for the no longer used GET_GLX_DRAWABLE escape. 2012-05-03 12:50:27 +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
Henri Verbeet 22d3e6dba1 winex11: Use GLX_DONT_CARE instead of ~0 in ConvertAttribWGLtoGLX(). 2012-03-28 11:36:26 +02:00
Alexandre Julliard b88b6b74f0 opengl32: Get rid of the DIB section sync support. 2012-01-10 11:24:12 +01:00
Austin English abfb9211c8 winex11: Only declare the winediag debug channel if OpenGL is enabled. 2011-10-28 12:44:59 +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
Alexandre Julliard 46f1d2a48a winex11: Remove redundant pixmap prefix in X_PHYSBITMAP field names. 2011-09-26 15:29:28 +02:00
Alexandre Julliard c7a8ff26d3 gdi32: Graphics driver functions no longer need to be CDECL. 2011-07-13 14:56:12 +02:00
Alexandre Julliard 00647af50b winex11: Use the HDC from the gdi_physdev structure. 2011-07-08 16:03:59 +02:00
Alexandre Julliard 6c951b7d0d winex11: Pass a generic PHYSDEV to all graphics entry points. 2011-07-08 15:55:11 +02:00
Matteo Bruni 1e0075cd61 winex11.drv: Take care of the destroyed drawable in wglFlush/wglFinish too. 2011-03-31 12:43:29 +02:00
Matteo Bruni 90608c8ce6 winex11.drv: Don't call glXSwapBuffers if the context or the drawable are invalid. 2011-03-31 12:43:22 +02:00
Matteo Bruni 1902e1cb93 winex11.drv: Fix wglMakeContextCurrent with an invalid drawable. 2011-03-31 12:42:35 +02:00
Matteo Bruni 868974c615 winex11.drv: Don't modify state if glXMakeContextCurrent fails. 2011-03-31 12:42:27 +02:00
Matteo Bruni 716df1c2d2 winex11.drv: Make wglMakeCurrent return the correct error when the drawable is invalid. 2011-03-30 13:28:04 +02:00
Matteo Bruni 77679c4e9c winex11.drv: Don't modify current state if glXMakeCurrent fails. 2011-03-30 13:28:04 +02:00
Joshua Beck ddada67538 winex11: Improved error handling in pglXMakeCurrent() call. 2011-03-29 12:23:16 +02:00
Henri Verbeet 727ecc1714 winex11.drv: Allow disabling vertical sync using EXT_swap_control.
EXT_swap_control redefines glXSwapIntervalSGI() as glXSwapIntervalEXT() on the
current drawable (if any), and glXSwapIntervalEXT() supports disabling vsync.
2011-03-08 12:28:30 +01:00
Nicholas Niro 7aff865e8e winex11.drv: Add proper initialization for border_pixel. 2011-02-15 17:01:44 +01:00
Andrew Nguyen a7346e9fc8 winex11.drv: Enhance the wrapper functions for WGL_EXT_swap_control. 2010-12-27 15:39:41 +01:00
Andrew Nguyen 1579ab0e01 winex11.drv: Set last error to ERROR_BUSY when attempting to delete a cross-thread context in wglDeleteContext. 2010-11-08 18:12:58 +01:00
Andrew Nguyen c4a8de92c4 winex11.drv: Ensure that the WGL context is removed from the context list in wglDeleteContext. 2010-11-08 18:12:58 +01:00
Gerald Pfeifer 0aa27296d3 winex11.drv: Fix comment for #endif. 2010-09-07 11:23:51 +02:00