Commit Graph

50 Commits

Author SHA1 Message Date
Alexandre Julliard cb0113ec53 opengl32: Automatically download the GL spec files in make_opengl. Add a default value for the OpenGL version. 2009-01-08 12:29:39 +01:00
Alexandre Julliard fdd1bdf7c8 opengl32: Use INT_PTR instead of ptrdiff_t in generated code to avoid printf warnings. 2009-01-08 12:15:47 +01:00
Alexandre Julliard 03a83c49db opengl32: Define an enum for extensions to make diffs smaller when adding new extensions. 2008-12-30 12:23:40 +01:00
Michael Stefaniuc 161e90238a opengl32: make_opengl: Do not add explicit casts of function pointers to void pointers. 2008-12-30 12:18:24 +01:00
Francois Gouget 809a879807 make_opengl: Avoid the deprecated '$#' construct.
This gets make_opengl to work again with Perl 5.10.
2008-09-29 17:18:29 -05:00
Detlef Riekenberg efb13b28df Assorted spelling fixes. 2007-12-08 19:55:39 +01:00
Roderick Colenbrander 8295c547f3 wgl: Add wglCopyContext support. 2007-11-12 14:16:44 +01:00
Francois Gouget c4b1195c0c Assorted spelling fixes. 2007-10-23 18:20:27 +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
Roderick Colenbrander 0dde222bc5 opengl32: Don't use 64bit gl types. 2007-08-20 22:25:44 +02:00
Roderick Colenbrander c9d4aec1ae opengl32: Fix some gl type bugs. 2007-08-20 11:51:45 +02:00
Roderick Colenbrander 3e63a9f123 opengl32: Add new extensions. 2007-02-19 12:35:56 +01:00
Roderick Colenbrander cb42253ff3 opengl32: Add OpenGL 2.1 support and more extensions. 2006-12-28 12:22:15 +01: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
Roderick Colenbrander 2f8a05e27e wgl: Add extension checking code / glxGetProcAddress protection. 2006-11-03 21:00:29 +01:00
Alexandre Julliard ad5e02e604 opengl32: Store function pointers in a separate array to avoid a bunch of relocations. 2006-06-09 18:13:09 +02:00
Alexandre Julliard 3e68508ecd opengl32: Only store the glX name if different from the wgl name. 2006-06-09 16:26:44 +02:00
Alexandre Julliard cac3301854 opengl32: Make all the function pointers and thunks static. 2006-06-09 16:11:38 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02: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
Francois Gouget 62253b752f Assorted spelling fixes. 2005-05-30 09:56:56 +00:00
Francois Gouget c887d0809c Add 'use strict' and fix make_opengl accordingly.
Add function prototypes.
Write "$a $b" rather than the more complex $a . " " . $b.
Document which OpenGL spec files need to be downloaded.
Update the documentation of the list of supported OpenGL versions.
Tweak the usage so it always reports the right command name.
2005-05-20 18:58:10 +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
Christian Costa 8bbabd16b7 Added glDeleteObjectBufferATI function.
Fix for types that have a common root.
2004-04-14 23:58:33 +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
Lionel Ulmer 036c4b73eb Beginning of infrastructure to support WGL extensions. 2004-02-07 01:29:33 +00:00
Lionel Ulmer b945bfd3a4 Implement wglUseFontBitmapsW. 2004-01-06 00:36:13 +00:00
Alexandre Julliard c8173ecac3 Avoid empty lines at the end of generated files. 2003-07-11 03:51:38 +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
Lionel Ulmer 9ac8ba1589 Upgrade OpenGL thunks with latest version of OpenGL extension
registry.
2003-06-13 16:31:17 +00:00
Michael Schlüter 5e8d015a8c Added wglGetExtensionsStringARB. 2003-05-07 03:18:51 +00:00
Lionel Ulmer 5a96cbfc74 Have the 'make_opengl' in line with the (manually edited) spec file. 2003-04-14 21:34:11 +00:00
Lionel Ulmer 649c3d3e3e Support 'stub' wglGetExtensionsStringEXT function. 2003-03-06 22:48:54 +00:00
Lionel Ulmer 4ed280fc81 - update to latest GL spec files
- added KTX Buffer Region extension
2003-03-04 02:17:04 +00:00
Lionel Ulmer 55d4f93e2b Added stub for undocumented 'wglGetDefaultProcAddress' function. 2003-02-11 22:13:54 +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
Lionel Ulmer 5da88a2cb9 Support new registered extensions. 2002-07-09 01:59:34 +00:00
Alexandre Julliard 7cae558bdc Removed some more trailing whitespace. 2002-06-01 02:55:48 +00:00
Alexandre Julliard c4a336a04d Authors: Charles Vaughn <charlesv@mfos.org>, Lionel Ulmer <lionel.ulmer@free.fr>
- added support for glMTexCoord2fSGIS
- updated to latest OpenGL extensions
2002-03-20 00:58:40 +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
Lionel Ulmer ce3ab0e76e - better support for extensions functions that do not have the same
name in windows and in Unix.
- support the NV_vertex_array_range extension.
2002-01-02 21:43:19 +00:00
Lionel Ulmer 7fc3a3bf20 - added support for the SGIS multitexture extension.
- misc. other fixes
2001-07-31 00:08:05 +00:00
Patrik Stridvall 655b2044d9 Fixed issues found by winapi_check. 2001-07-08 22:32:51 +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 83de83e9cf - moved the 'constructor' into a real DLL init function
- make OpenGL32 dependant on the X11 driver
2000-06-12 21:53:46 +00:00
Lionel Ulmer bff705dc23 New OpenGL thunk generation script. 2000-06-12 01:21:18 +00:00