Commit Graph

48 Commits

Author SHA1 Message Date
Alexandre Julliard c4e9e3fcb9 opengl32: Generate thunks for WGL extensions when possible.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-11 19:49:29 +02:00
Alexandre Julliard bbb71620cd opengl32: Get type definitions from the XML files.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-10 18:19:10 +02:00
Alexandre Julliard fd3d5d6f82 opengl32: Convert the XML parser to use XML::LibXML.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-10 10:16:03 +02:00
Alexandre Julliard 17dffaac7d opengl32: Get WGL function definitions from the XML files.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-10 10:06:10 +02:00
Alexandre Julliard e8767bed3c opengl32: Store GL extensions in a private XML file instead of Perl arrays.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-09 20:14:56 +02:00
Matteo Bruni d6851e6748 opengl32: Update to OpenGL 4.6.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-15 17:01:22 +02:00
Henri Verbeet ffb27c61c0 opengl32: Introduce WGL_WINE_query_renderer.
This is a fairly straightforward adaptation of GLX_MESA_query_renderer to WGL.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-16 12:10:06 +09:00
Alexandre Julliard 26d0a0a081 opengl32: Update to the current OpenGL spec.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-13 13:33:25 +09:00
Matteo Bruni 6c6f92ee42 opengl32: Update to the current OpenGL spec. 2015-04-22 14:07:53 +09:00
Matteo Bruni 9e45ae0413 opengl32: Introduce wrappers for glGetIntegerv and glGetStringi. (v3). 2015-02-11 22:22:57 +09:00
Matteo Bruni d6450cfad5 opengl32: Update to GL 4.5. 2015-01-15 22:12:57 +01:00
Rico Schüller 2fa9b7ebb5 opengl32: Use opengl xml registry files. 2013-11-05 20:38:21 +01:00
Alexandre Julliard 2480c9395b opengl32: Get rid of wine_ prefix on generated functions. 2012-11-08 15:37:45 +01:00
Alexandre Julliard a56c5b185e opengl32: Don't substitute OpenGL types that are already defined in wgl.h. 2012-11-07 18:12:04 +01:00
Alexandre Julliard fdc1f2d432 opengl32: Avoid using the system GL headers. 2012-11-07 18:12:02 +01:00
Alexandre Julliard 00628bb646 opengl32: Update to the current OpenGL spec. 2012-11-07 13:56:06 +01:00
Alexandre Julliard 05c32b9b89 gdi32: Move the SwapBuffers entry point to the OpenGL driver. 2012-09-10 11:38:28 +02:00
Alexandre Julliard 9713a54b33 opengl32: Update the extension list. 2012-09-10 11:38:27 +02:00
Alexandre Julliard 2c54f8c12c opengl32: Generate null driver entry points for all extension functions. 2012-08-23 21:36:55 +02:00
Alexandre Julliard 96e80c2623 gdi32: Move DescribePixelFormat and SetPixelFormat to the WGL driver. 2012-07-30 22:12:13 +02:00
Alexandre Julliard 5f157e18e2 opengl32: Store the context current DCs on the opengl32 side. 2012-07-25 16:11:05 +02:00
Alexandre Julliard 1b9455e65d opengl32: Add supported wgl extension functions to the OpenGL function table. 2012-07-20 00:40:42 +02:00
Alexandre Julliard 4c0779006e opengl32: Move the wgl functions to the main OpenGL function table. 2012-07-19 22:50:37 +02:00
Alexandre Julliard 782e96b910 opengl32: Declare input pointers as const in function prototypes. 2012-07-19 22:17:14 +02:00
Alexandre Julliard df91c7bc83 opengl32: Redirect standard OpenGL functions through the TEB function table. 2012-07-18 17:12:29 +02:00
Alexandre Julliard 5bfd5f3d7b opengl32: Call standard OpenGL functions through the TEB function table. 2012-07-18 17:12:10 +02:00
Alexandre Julliard edb0044e50 opengl32: Generate a function table with null OpenGL entry points and store it in the TEB. 2012-07-18 17:10:45 +02:00
Alexandre Julliard 312dd5297b opengl32: Get rid of the X11 locking. 2012-06-26 17:06:13 +02:00
Roderick Colenbrander 29346f28ae opengl32: Sync with latest GL specs. 2012-06-11 11:20:50 +02:00
Roderick Colenbrander 16439a430c opengl32: Sync with the latest opengl 3.1 extensions and don't export opengl32 1.2 functions. 2009-06-11 11:46:37 +02:00
Chris Robinson ebfba49e27 wgl: Remove GL scissors/viewport override. 2007-10-03 11:40:12 +02:00
Chris Robinson 665a8add92 wgl: Override glFinish and glFlush. 2007-09-25 13:33:37 +02:00
Alexandre Julliard de154e738a opengl32: Avoid generating a wrapper for internal functions when we can call the internal one directly. 2006-12-12 17:59:44 +01:00
Ulrich Czekalla 715d0e8409 winex11.drv: Correctly position and clip opengl child windows. 2006-12-12 17:28:12 +01:00
Raphael Junqueira 7ed830b8e1 Add GLXFBConfig on Wine_GLContext (we should remove XVisualInfo
references on code).
Hook glGetIntegerv on GL_ALPHA_BITS to query on GLXFBConfig instead of
glGetInteger (as it returns bad value).
2005-11-11 10:52:14 +00:00
Eric Pouech 2510658d8b Now generating argument-less functions as (void) instead of (). 2005-06-27 09:46:35 +00:00
Raphael Junqueira 44cfc89849 - implement wglGetCurrentReadDCARB, wglMakeContextCurrentARB on
openGL32 (wgl_ext)
- add code to disable some openGL extensions support using wine
  registry key HKLM\Software\Wine\OpenGL\DisabledExtensions (list
  separated by spaces)
- valid/robust implementation of wglChoosePixelFormatARB and
  wglGetPixelFormatAttribivARB (wgl_ext)
2005-04-28 18:31:15 +00:00
Lionel Ulmer 0e999e3c31 - sync up with latest OpenGL specifications
- some fixes in make_opengl to support the new types
2004-03-02 20:54:17 +00:00
Dimitrie O. Paun 4ff79add63 Remove some unneeded __WINESRC__ tests from the headers.
Miscellaneous cleanups and fixes.
2003-08-27 02:07:02 +00:00
Lionel Ulmer 8def400d1f Only put 'pure' GL 1.2 calls in the 'opengl_norm.c' file. 2003-07-08 21:07:03 +00:00
Lionel Ulmer 334aacd559 Do not use any typedefs in the GL thunks to prevent all possible
compilation issues.
2003-06-20 21:29:28 +00:00
Alexandre Julliard 2c40e29987 Import wine_tsx11_lock/unlock directly from x11drv in opengl32 and
ddraw, so that they don't need to link with libwine_tsx11.
Removed header wine_gl.h.
2002-09-25 00:29:56 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Patrik Stridvall 044855c6ec Documentation fixes. 2001-07-11 18:56:41 +00:00
Lionel Ulmer 15a4a77a74 - add tracing to OpenGL thunks
- update to latest gl.spec file
2001-03-04 01:05:20 +00:00
Lionel Ulmer bff705dc23 New OpenGL thunk generation script. 2000-06-12 01:21:18 +00:00
Patrik Stridvall c654c7edcb Fixed issues found by winapi_check. 2000-05-18 00:07:53 +00:00
Lionel Ulmer bedf40b58b Added support for OpenGL. 2000-05-12 20:18:14 +00:00