Brian Paul
3cd07d2c39
latest version from OpenGL ARB
2006-08-30 23:46:41 +00:00
Ian Romanick
8c41c757fe
Add support for GL_EXT_gpu_program_parameters. Any driver that enables
...
either GL_ARB_vertex_program or GL_ARB_fragment_program should enable this
extension as well.
2006-08-15 16:47:34 +00:00
Brian Paul
37b5b01217
s/GLvoid/void/ to fix gcc 4.2 issue (bug 7875)
2006-08-15 14:28:03 +00:00
Ian Romanick
32a9e9be0c
Fix white-space problem in the prototype for glBlitFramebufferEXT that
...
prevented gl_mangle.h from picking it up.
2006-08-12 00:05:54 +00:00
Ian Romanick
56f349515c
Convert comment header for __GLcontextModesRec to Doxygen style.
2006-08-11 22:26:49 +00:00
Sean D'Epagnier
7196cddb3a
Added initial multisampling support to glfbdev driver.
...
Fully implemented glutGameMode, and added vidresize stubs to make
Added support for glutReshapeDisplay to change video mode but not lose
current mesa context.
implementation glut 5 complient.
Fixed many minor bugs
Updated docs
2006-08-10 10:21:17 +00:00
Brian Paul
4b1e6a4b58
remove stray text from previous check-in
2006-08-07 14:09:13 +00:00
Brian Paul
6c071592ab
added GL_EXT_texture_sRGB
2006-08-03 03:23:05 +00:00
Michal Krol
90d7b9c9eb
Move GL_MESA_shader_debug from glext.h to gl.h.
2006-08-01 16:06:08 +00:00
Brian Paul
bd0bfd1dc2
reorder a few token definitions
2006-06-20 14:52:22 +00:00
Brian Paul
c8f8fbecd7
remove const qualifier from glGenVertexArraysAPPLE() parameter
2006-06-12 19:47:44 +00:00
Brian Paul
efbf170cfb
updated GLX_EXT_texture_from_pixmap tokens (Dave Reveman)
2006-05-05 18:19:54 +00:00
David Reveman
bea7fe57c1
Update to final EXT_tfp tokens
2006-05-02 08:54:39 +00:00
Adam Jackson
0157624557
Update function signatures for EXT_tfp entrypoints.
2006-05-01 22:25:18 +00:00
David Reveman
ba23f699f0
FBConfig support for EXT_tfp
2006-04-11 12:21:48 +00:00
David Reveman
ea2b711061
Add attrib_list to glXBindTexImageEXT
2006-04-11 12:19:06 +00:00
Daniel Borca
3a3e63dc4f
DMesa now uses OSMesa as a back-end.
2006-03-31 20:53:12 +00:00
Brian Paul
9305cba6a7
bump version/date
2006-03-31 17:31:22 +00:00
Brian Paul
f2ad1b60c0
Dave Reveman's patch for GLX_MESA_copy_sub_buffer support
2006-03-31 15:48:04 +00:00
Brian Paul
8ea3353ec3
XMesaDrawLine macro, not currently used
2006-03-30 14:20:26 +00:00
Karl Schultz
a8c9ecfab0
Fixes from Brian
2006-03-30 07:53:15 +00:00
Brian Paul
4cbd16ed3f
fix some PFNGL* typedefs
2006-03-26 05:09:03 +00:00
Brian Paul
9c32af5bb2
Add prototypes for GLX_MESA_swap_frame_usage, GLX_MESA_swap_control, and
...
GLX_EXT_texture_from_pixmap to silence warnings while compiling glxcmds.c
XXX: Need to add the new tokens for GLX_EXT_texture_from_pixmap!!!
2006-03-09 16:27:35 +00:00
Brian Paul
a231097609
GL_EXT_framebuffer_blit tokens/functions
2006-03-01 01:54:59 +00:00
Brian Paul
44a2e96729
include inttypes.h if __osf__ defined (Randall Hand)
2006-02-23 15:36:39 +00:00
Brian Paul
f3cf636e57
WGL_ARB_extensions_string extension
2006-01-25 17:33:13 +00:00
Brian Paul
b6d7a0c5a5
regenerate to pick up glGetQueryObject[u]i64vEXT funcs
2005-12-14 14:23:37 +00:00
Brian Paul
5abc246f8d
bump version number
2005-12-08 14:51:36 +00:00
Brian Paul
5262c225ba
remove stray _ from GL[u]int64_EXT
2005-12-08 14:10:59 +00:00
Karl Schultz
4c3443b460
handle 64-bit types for Windows.
2005-12-08 04:32:02 +00:00
Brian Paul
0fa8c59e64
Updates for GL_EXT_timer_query:
...
New GLint64EXT and GLuint64EXT types (use C99's long long types).
New glGetQueryObject[u]i64vEXT() functions.
2005-12-07 14:48:19 +00:00
Brian Paul
96f216565e
assorted fixes for server-side direct rendering (bug 5199)
2005-11-29 23:01:43 +00:00
Brian Paul
ba3da6154c
Added OSMesaColorClamp(), bug 4917
2005-11-12 18:44:29 +00:00
Brian Paul
3e9c099088
remove a bunch of extension stuff that's in glxext.h
2005-11-08 14:44:07 +00:00
Brian Paul
1b5d3d647e
added GL_EXT_packed_depth_stencil
2005-09-28 02:28:00 +00:00
Brian Paul
2eef2eca87
Silence some warnings.
2005-09-11 01:45:04 +00:00
Karl Schultz
f66084b834
Add support for memory contexts (Thomas Kaltofen). Cleanup compilation warnings.
2005-09-05 14:48:39 +00:00
Brian Paul
c799e9ec24
added GL_EXT_timer_query token
2005-09-02 13:43:26 +00:00
Brian Paul
160b3284dd
include stdint.h if WIN32 and GNUC (Colin Harrison). Patch forwarded to SGI.
2005-08-15 23:25:33 +00:00
Ian Romanick
68679d2b9e
Remove '#if 0' block that was accidentally left in.
2005-07-28 20:55:26 +00:00
Ian Romanick
1585c234e0
Major rip-up of internal function insertion interface. The old
...
_glapi_add_entrypoint has been replaced by a new routine called
_glapi_add_dispatch. This new routine dynamically assignes dispatch offsets
to functions added. This allows IHVs to add support for extension functions
that do not have assigned dispatch offsets.
It also means that a driver has no idea what offset will be assigned to a
function. The vast majority of the changes in this commit account for that.
An additional table, driDispatchRemapTable, is added. Functions not in the
Linux OpenGL ABI (i.e., anything not in GL 1.2 + ARB_multitexture) has a
fixed offset in this new table. The entry in this table specifies the
offset in of the function in the real dispatch table.
The internal interface was also bumped from version 20050725 to 20050727.
This has been tested with various programs in progs/demos on:
radeon (Radeon Mobility M6)
r128 (Rage 128 Pro)
mga (G400)
2005-07-28 00:29:51 +00:00
Ian Romanick
9f23a3a1bf
Fix SPARC assembly for 64-bit
...
- The test for whether or not we're building for 64-bit is '#ifdef __arch64__'.
This appears to be correct on both Linux and Solaris.
- The test for Solaris is now '#if defined(SVR4) || defined(__SVR4) ||
defined(__svr4__)'. GCC 3.4.0 has all three defined on Solaris 9.
- Enables assembly language clip routines.
- Fixes to make GLSL code build on Solaris.
- Update gl_SPARC_asm.py.
2005-07-28 00:11:10 +00:00
Ian Romanick
5c6fd3dd4c
No, really, get rid of all the remaining references to DRI_USE_NEW_INTERFACE.
...
A couple other remnants of the old interfaces hit the dust too. Thanks
Jon. :)
2005-07-26 05:57:24 +00:00
Ian Romanick
5f1ba3e21b
Fixes the glXGetProcAddress portion of the interface. Most of the functions
...
that are currently obtained via glXGetProcAddress and all of the XF86DRI
functions are replaced with a funciton table. This table will be passed to
__driCreateNewScreen.
One of the functions in the table is getProcAddress. This allows some
loaders to expose functionality not in all loaders. This will be immediatly
used for glxEnableExtension (formerly known to drivers as
__glXScrEnableExtension). libGL (and in the future libglx) expose this
function so that drivers can enable GLX extensions. libEGL should exposed
eglEnableExtension to enable EGL extensions. The same function cannot be
used for both because the extensions have different names and (possibly)
different semantics. Drivers can optionally use one, both, or neither.
The key parts are in the __DRIinterfaceMethodsRec structure in
dri_interface.h. A pointer to one of these structures is passed into
__driCreateNewScreen. Because of this, the version of the API is bumped to
20050725. Since the previous version(s) were never in a release, their
existance is erased.
I was actually a little surprised by how much code this cuts from the
drivers. A lot of glXGetProcAddress calls disappear, and a lot of
version checks go with them. Nice.
The one thing I'm not sure of is removing __glXInitialize. For some
reason that function was in the glXGetProcAddress table, but *nothing*
in the Mesa tree used it. Did something with DRI conf. use this
function? It seems odd...
2005-07-26 02:44:01 +00:00
Ian Romanick
e9dbe58b8b
Gut a few more dead bits. Replace uses of the CreateNewScreenFunc typedef
...
(from glxclient.h) with PFNCREATENEWSCREEN (from dri_interface.h).
Remove the prototype for __driCreateScreen and fix the prototype for
__driCreateNewScreen (append the API version) in dri_interface.h.
2005-07-24 07:38:23 +00:00
Ian Romanick
c39bf5e273
All elements of pre-DRI_NEW_INTERFACE_ONLY are removed. This allows
...
1,402 lines of code to be removed from Mesa (drivers and libGL). The
big winner is dri_util.c.
Primary changes are:
1. Remove all "deprecated" entry-points from the various structures in
dri_interface.h.
2. Rename the remaining fields to removed "version numbers." So,
bindContext3 becomes bindContext. Functions with "New" in the name
(e.g., CreateNewContext) were *not* changed, but that is an option.
Having "New" in the name is less annoying to me than having "3" in the name.
3. Remove all compatibility code that handles cases where the driver or
the loader is too old to support the latest interfaces.
4. Append the API version to the __driCreateNewScreen function name.
This is currently done by hand. In the future (i.e., the next time we
make an incompatible change to the interface) we'll want to come up with
a better way to do this. This prevents old loaders from being able to load
new (incompatible) drivers.
5. Bump the API version to 20050722. All drivers (by way of dri_util.c)
require this version.
6. All drivers are *required* to expose GLX_SGIX_fbconfig and
GLX_OML_swap_method (or the moral equivalents). Support for these
functions in implicit in the use of the "new" interface.
7. Some cases still exist that need to be compiled differently in a loader
or core Mesa versus in a driver. These are identified by the define
IN_DRI_DRIVER.
2005-07-24 06:29:14 +00:00
Brian Paul
23606a5704
updated to version 29
2005-06-21 14:30:46 +00:00
Brian Paul
ee7ad16f3f
regenerated
2005-06-08 13:35:28 +00:00
Brian Paul
2c7336af4e
put full prototype on one line to fix gl_mangle.h generation (Dave Reveman)
2005-06-08 13:35:07 +00:00
Brian Paul
012de39c23
remove stray line
2005-06-08 13:07:33 +00:00
Brian Paul
d45cb9a836
regenerate for latest glext.h
2005-06-08 02:18:22 +00:00
Brian Paul
5d5100aabc
remove temporary GL_EXT_framebuffer_object info
2005-05-31 23:54:44 +00:00
Brian Paul
2e081cd90e
updated to version 28
2005-05-31 23:54:24 +00:00
Karl Schultz
db21f1c84f
The "P" suffix on APIENTRY and GLAPIENTRY is to be used for pointers to
...
functions, not for functions that return pointers. Restore protoype
for glGetString back to its correct form.
2005-05-11 22:01:20 +00:00
Brian Paul
e4b2356c07
Major check-in of changes for GL_EXT_framebuffer_object extension.
...
Main driver impacts:
- new code for creating the Mesa GLframebuffer
- new span/pixel read/write code
Some drivers not yet updated/tested.
2005-05-04 20:11:35 +00:00
Dave Airlie
9bfd9582d4
bring over structs from Xorg glx.h to make Mesa glx.h the one true glx.h
2005-02-26 03:55:44 +00:00
Dave Airlie
24dcc6b6bf
Add GLX_MESA_allocate_memory from Xorg glx.h
2005-02-26 03:51:17 +00:00
Dave Airlie
dee1c795c2
add more functionality to miniglx for glitz
2005-02-20 10:46:34 +00:00
Brian Paul
f321f16e83
fix non-Win32 definition of GLUTAPIENTRY, remove some cruft
2005-02-16 19:52:35 +00:00
Dave Airlie
09298228c6
add EnableExtension so r200 enables all its extensions, add mesa memory
...
extension entry points
2005-02-15 08:40:24 +00:00
Adam Jackson
d084982240
Bug #2477 : Make GLU/GLw/glut build properly even with -fvisibility=hidden.
2005-02-08 05:46:53 +00:00
Brian Paul
cf69e051ce
added GL_EXT_framebuffer_object enums/funcs. Remove when glext.h is updated
2005-02-08 03:45:08 +00:00
Ian Romanick
5b0dd89370
remove a bunch of temporary #defines, now that glext.h was updated
2005-01-26 19:19:06 +00:00
Brian Paul
1060211918
fix glGetString funniness
2005-01-21 16:35:56 +00:00
Brian Paul
14dee36fa7
glext.h version 26
2005-01-20 15:07:42 +00:00
Brian Paul
5255044c00
added a few OpenGL 2.0 tokens (temporary)
2005-01-16 19:40:15 +00:00
Brian Paul
d7b837ad4a
temporary prototypes for OpenGL 2.0
2005-01-12 04:06:55 +00:00
Brian Paul
85edffd5ff
added GLX_NV_float_buffer
2005-01-04 14:48:14 +00:00
Brian Paul
81ca616e7e
DirectFB driver (Claudio Ciccani)
2005-01-03 15:35:00 +00:00
Brian Paul
538541e300
VMS update
2004-12-17 14:48:00 +00:00
Daniel Borca
8b563fd4c5
added DMesaProc type to prevent gcc 3.4.3 warnings
2004-12-15 07:55:38 +00:00
Alan Hourihane
38b317d508
uint*t -> u_int*t changes
2004-12-14 09:11:52 +00:00
Alan Hourihane
8635615501
Check for some header defines before redefining functions. Silences warnings.
2004-12-08 12:59:15 +00:00
Brian Paul
bf4c23d00f
no need to include stddef.h anymore
2004-11-29 17:31:03 +00:00
Brian Paul
4d880987d2
Have OSMesaGetProcAddress() return new OSMESAproc typedef.
2004-11-27 16:24:39 +00:00
Brian Paul
2dd5b9edaa
typedef GLUTproc, return it from glutGetProcAddress()
2004-11-27 04:54:48 +00:00
Brian Paul
b653aaede5
minor APIENTRY clean-ups
2004-11-25 23:20:07 +00:00
Brian Paul
83889ffd97
Remove need for defining _MSC_VER when building Mesa for windows with
...
a non MS C compiler (MinGW). (Gregor Anich)
2004-11-08 15:08:48 +00:00
Adam Jackson
bcd8735546
Import sarea.h from Xorg, needed for client GLX code.
2004-10-25 20:52:11 +00:00
Ian Romanick
33899b7c35
Add support for OES_read_format. As soon as glext.h is updated with the
...
enums for this extension, the changes to gl.h can be removed.
2004-10-16 01:16:54 +00:00
Daniel Borca
65a9ca3381
bump version numbers to their real values
2004-10-12 06:43:57 +00:00
Brian Paul
788ff5b5c7
remove unused413 stuff, glDrawBuffersARB uses that slot now
2004-10-02 22:47:48 +00:00
Brian Paul
be91a0be58
version bump
2004-09-27 22:40:31 +00:00
Brian Paul
4f1e3709de
change include of glx_mangle.h to match other headers
2004-09-27 22:40:22 +00:00
Brian Paul
d86d1483ac
Another attempt at fixing name mangling and gl__unused413().
2004-09-09 18:13:35 +00:00
Brian Paul
a6c423d956
Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch 1015696)
2004-08-25 15:59:48 +00:00
Brian Paul
6ade8a36b6
version 6 from oss.sgi.com
2004-07-28 13:23:11 +00:00
Brian Paul
196fb036d6
version 24 from oss.sgi.com
2004-07-28 13:22:46 +00:00
Jon Smirl
c2bffec91a
Mesa-solo builds with these changes. There are still more fixups needed to
...
get individual drivers working again. This converts miniglx to the new
dri interface. Thanks to Erdi Chen for the new interface code.
2004-06-26 17:16:42 +00:00
Brian Paul
e4fbcd0fca
updated to version 23
2004-06-23 14:48:04 +00:00
Brian Paul
6b869d4fe1
Alexander Gottwald's patch for cygwin
2004-06-22 17:16:02 +00:00
Ian Romanick
e1a7f31c2b
Remove the rest of the need for glxclient.h and remove it from the tree.
2004-06-06 02:20:20 +00:00
Jon Smirl
ba3d643c49
kill __driRegisterExtensions(), none of the functions did anything
2004-06-03 01:56:07 +00:00
Ian Romanick
749e842953
Replace Bool with GLboolean.
2004-06-02 20:46:03 +00:00
Ian Romanick
318aa84099
XF86DRIDestroyContext, XF86DRICreateDrawable, and
...
XF86DRIDestroyDrawable are all called directly from DRI drivers using
the new interface. Therefore, prototypes, using available datatypes,
must be available in dri_interface.h. Since the prototypes are
available there, xf86dri.h is no longer needed for
DRI_NEW_INTERFACE_ONLY builds.
2004-06-02 17:37:09 +00:00
Ian Romanick
60b0e12830
Convert 'Display *' to '__DRInativeDisplay *'. Only portions of the
...
interface that are not *strictly* part of the old interface were
changed. Replace GetDrawableInfo type (dri_util.h) with
PFNGLXGETDRAWABLEINFOPROC (dri_interface.h). Wrap __driCreateScreen
(in drivers that use the new interface) with '#ifndef
DRI_NEW_INTERFACE_ONLY'.
2004-06-01 20:24:59 +00:00
Ian Romanick
fabe2b9ba3
Replace all occurances of XF86DRIClipRect (and related typedefs) with
...
drm_clip_rect_t.
2004-06-01 16:38:56 +00:00
Brian Paul
27eb8fa35a
remove duplicate GLX_DRAWABLE_TYPE token, sorted tokens by enum value
2004-05-21 15:51:13 +00:00
Keith Whitwell
74d563cdfb
Allow *_dri.so to build in Mesa tree with the 'linux-dri' target.
2004-04-29 12:23:39 +00:00
Brian Paul
199972cef0
move #define for GL_DOUBLE, to put enums in right order
2004-04-23 18:00:00 +00:00
Ian Romanick
ab37fddbfd
Correct the comments about when the bindContext3 / unbindContext3
...
interface was added.
2004-04-15 01:24:57 +00:00
Brian Paul
5eb921382f
added extern "C" for C++ (bug 930933)
2004-04-09 17:18:22 +00:00
Brian Paul
fda7215db3
rename class to c_class if using C++ (bug 922294)
2004-03-24 15:59:44 +00:00
Brian Paul
192c988c73
new DRI interface header
2004-03-22 23:31:29 +00:00
Brian Paul
ff6031c209
remove some unneeded macros
2004-03-04 16:20:38 +00:00
Brian Paul
0adce8f7c7
upgraded to version 22
2004-02-24 03:01:27 +00:00
Ian Romanick
304d3aa9cb
Refactored several variables out of XMesaVisual in favor of identical
...
fields in __GLcontextModes (the base type). Removed the need to keep
the XMesaVisualInfo pointer when building inside the X-server.
2004-02-19 00:57:04 +00:00
Daniel Borca
22633805fa
fixed back fxMesaGetCurrentContext to match MakeCurrent
2004-02-10 07:46:07 +00:00
Daniel Borca
d039b43e30
added NUL driver for DMesa
2004-02-07 10:54:36 +00:00
Brian Paul
1f3d9eedad
added GLU_INCOMPATIBLE_GL_VERSION
2004-02-06 01:17:30 +00:00
Brian Paul
c2f739169e
update function mangling and add comment about it to gl.h
2004-02-05 15:23:12 +00:00
Ian Romanick
74cf25b081
Missed this commit as part of the addition of
...
GL_EXT_blend_equation_separate / GL_ATI_blend_equation_separate.
2004-01-27 21:40:35 +00:00
Daniel Borca
3d06dc7581
accomodated new driver_func initialization
...
added DMesaGetProcAddress
some other minor fixes
updated documentation
2004-01-23 15:57:52 +00:00
Brian Paul
cdde03efe2
remove stuff that's now in glext.h
2004-01-13 02:04:57 +00:00
Brian Paul
c661cccf37
updated to version 21 with OpenGL 1.5 support
2004-01-13 01:54:03 +00:00
Brian Paul
cf75101bba
regenerated to support new 1.5 functions, etc.
2004-01-09 20:34:04 +00:00
Daniel Borca
e9e98405e7
DMesa: removed MGA2064W driver
...
DMesa: added capability to query visuals
fxMesa: WGL_3DFX_gamma_control
fxMesa: minor fixes to interface (fxQueryHardware vs fxMesaSelect...)
2003-12-19 11:26:46 +00:00
Alan Hourihane
3b81ccd826
fix for C++
2003-12-12 22:35:02 +00:00
Brian Paul
c3fb2558f0
replace gl/mesa_wgl.h with GL/mesa_wgl.h (Simon Goodall)
2003-12-11 23:55:55 +00:00
Keith Whitwell
e0ee87422b
Quash annoying compiler warning
2003-12-11 15:47:43 +00:00
Keith Whitwell
a9fc4b1b1c
Remove dead file glcore-new.h
2003-12-11 13:10:20 +00:00
Alan Hourihane
18343db1d8
reverse Keith's 'XFree86Server' glue.
2003-12-08 16:57:21 +00:00
Keith Whitwell
3abad78e26
Can't include <stddef.h> when building XFree86 server - define
...
ptrdiff_t to int instead
2003-12-08 15:00:24 +00:00
Brian Paul
a763123b35
glFBDev driver from embedded-2 branch.
...
Probably won't be actively used/maintained, but bring it to the trunk so
it doesn't get lost.
2003-12-06 17:20:10 +00:00
Brian Paul
fde2b9750e
basic API work for FBConfigs & Pbuffers
2003-12-06 17:17:42 +00:00
Brian Paul
78c5841364
s/APIENTRY/GLAPIENTRY/ for 1.5 functions
2003-12-06 01:49:54 +00:00
Alan Hourihane
faf4059aa8
check if GLAPIENTRYP is already set
2003-12-04 15:59:41 +00:00
Alan Hourihane
f82c775fff
#define GLAPIENTRYP GLAPIENTRY *
2003-12-04 15:59:03 +00:00
Alan Hourihane
3eb58b4c1e
bring over glcore.h changes from DRI trunk
2003-12-04 12:33:15 +00:00
Brian Paul
91b6a4aa90
include malloc.h to get ptrdiff_t for vertex buffer object's GLintptr
2003-11-23 16:22:54 +00:00
Brian Paul
67f8a1d4ad
added OpenGL 1.5 tokens and functions not yet put into glext.h
2003-11-22 18:44:10 +00:00
Brian Paul
20f40fa427
minor fix to glutSetColor prototype (Evgeny Kotsuba)
2003-10-27 18:33:34 +00:00
Daniel Borca
1b6cca67b5
documentation update; also new makefiles for Win32 MesaFX build
2003-10-21 11:15:52 +00:00
Karl Schultz
906449753f
Define GLAPIENTRYP properly so that GLU compiles on Windows.
2003-10-20 17:36:41 +00:00
Brian Paul
3eb0edb31f
added GL_ARB_point_sprite tokens
2003-10-16 16:33:05 +00:00
Jon Smirl
3fc0db95e4
Minor changes to make linux-solo build again
2003-10-16 04:50:42 +00:00
Kendall Bennett
596d57c42a
Updates to SGI GLU code to get it to compile clean with the Open Watcom compiler.
...
Most of the changes were to get rid of warnings, but many of the warnings could
not be removed in the code so I also added #pragma's to disable the warnings.
Someone really should clean up this code, but I didn't want to mess with it
that much (and potentially break it).
2003-10-14 23:48:57 +00:00
Karl Schultz
ad5cd6d337
Add missing entry points. (Warren Cashen)
2003-10-10 22:09:05 +00:00
Brian Paul
a75246f8f5
updates from Daniel Borca
2003-10-02 17:36:43 +00:00
Kendall Bennett
d6643331ab
Updates required for building the SciTech SNAP version of Mesa. This includes:
...
1. Changes to the main header files to exclude some stuff is __SCITECH_SNAP__
is defined. The main GL/gl.h header file in SciTech SNAP is actually a wrapper
that defines a bunch of necessary stuff and then included GL/gl_mesa.h which
is the normal Mesa GL/gl.h header file renamed.
2. Changed APIENTRY * to APIENTRYP macros in the GL/gl.h and GL/glext.h header
files. This will better support other compilers like IBM VisualAge C++. I
added a basic macro for APIENTRYP to GL/gl.h (inside the !SNAP block), so
existing code will compile the same, but when the SNAP version is being
built we will use the correc definitions for the target compiler.
3. Changed a few more void * declarations to GLvoid *'s to avoid Open Watcom
compiler complaints.
4. Updates the OPENGL_VERSION macro to include a patch number (set to 0 for
now). Probably not necessary, but the original macro was wrong and we use
that macro in our code.
5. Changed _tnl_end() to _tnl_end_ctx() to avoid conflicts with _tnl_End when
using a compiler that has a case insensitive link.
2003-09-30 20:02:27 +00:00
Brian Paul
d7dabacfa3
new enum values for GL_MESA_program_debug
2003-09-23 14:44:33 +00:00
Ian Romanick
c8363a31cf
Added support for EXT_texture_mirror_clamp and the single wrap mode
...
that it addes to ATI_texture_mirror_once. This includes updating the
texwrap test to exercise the new mode.
2003-09-02 19:25:17 +00:00
Brian Paul
760960028f
Updates from Daniel Borca
2003-08-28 16:57:01 +00:00
Brian Paul
58c5df87be
remove a bunch of the extension definitions from the legacy section
2003-08-28 03:08:40 +00:00
Brian Paul
371f7cdb7a
fix PFNGLMULTIMODEDRAWARRAYSIBMPROC
2003-08-24 14:49:53 +00:00
Jon Smirl
dc22a652c9
Fix compile problems with `glMultiModeDrawArraysIBM'
...
Adjust makefiles to create depends and not store it in CVS
Remove dependency on kernel pci_ids.h
2003-08-24 04:44:23 +00:00
Jon Smirl
724c2c7f6f
Add file miniglx.h
2003-08-23 01:25:30 +00:00
Brian Paul
9ec58c2c5b
DOS and glide driver updates from Daniel Borca
2003-08-19 15:52:51 +00:00
Brian Paul
9d73b81068
Fix glPixelMap: s/GLint/GLsizei/
2003-08-19 01:08:24 +00:00
Brian Paul
389858ee7b
tokens, functions for GL_MESA_program_debug
2003-07-21 04:30:25 +00:00
Brian Paul
c19cbb58cd
more DOS updates from Daniel Borca
2003-07-17 14:50:11 +00:00
Brian Paul
642699a19f
DOS updates for new tree (Daniel Borca)
2003-06-16 14:32:44 +00:00
Brian Paul
b17a722ca3
Implemented GL_ARB_occlusion_query (not 100% finalized).
2003-06-13 02:37:27 +00:00
Ian Romanick
9ac51f57ef
Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.
2003-06-05 00:50:18 +00:00
Brian Paul
06a03bfb2a
updated with new glext.h stuff
2003-05-10 04:48:16 +00:00
Brian Paul
3ef8ed72ca
version 18 of glext.h
2003-05-10 04:39:05 +00:00
Brian Paul
b93df0af47
remove temporary stuff
2003-05-10 04:38:24 +00:00
Brian Paul
5329d0ca7a
updated for glIsBufferARB
2003-04-29 22:20:36 +00:00
Brian Paul
c6506004d4
fix glIsBufferARB() prototype
2003-04-28 14:42:33 +00:00
Brian Paul
3e50d140f5
updated with newest functions
2003-04-23 20:23:17 +00:00
Brian Paul
e78f823724
fix function prototypes for manging (Bill Hoffman)
2003-04-23 17:42:07 +00:00
Brian Paul
2780bb824f
added GL_EXT_depth_bounds_test
2003-04-21 14:57:07 +00:00
Brian Paul
9b14e0fbfd
more GL_ARB_fragment_program tokens
2003-04-18 01:56:44 +00:00
Brian Paul
af0c247021
temporary GL_ARB_fragment_program tokens
2003-04-17 01:48:56 +00:00
Brian Paul
4c928471c1
Added function pointer typedefs for GL_NV_fragment_program
2003-04-09 02:32:56 +00:00
Brian Paul
ef393cbb54
Added GL_ARB_vertex_buffer_object tokens
2003-04-09 02:32:12 +00:00
Brian Paul
997d468afe
added GL_ARB_vertex_buffer_object functions
2003-03-29 16:39:21 +00:00
Brian Paul
47d8adde43
DOS update (Daniel Borca)
2003-03-08 18:28:14 +00:00
Brian Paul
001a3012ac
updated version
2003-02-28 16:31:32 +00:00
Brian Paul
60f84fcc91
latest DOS updates (Daniel Borca)
2003-02-20 15:43:52 +00:00
Alan Hourihane
615991ac66
fix fragment_program for Windows
2003-02-10 20:22:08 +00:00
Brian Paul
398c6b7980
DOS updates (Daniel Borca)
2003-02-04 02:43:27 +00:00
Brian Paul
3d7071b8a5
updated with new functions (Bill Hoffman)
2003-02-04 02:29:21 +00:00
Brian Paul
943f0c6a41
GL_ATI_texture_env_combine3 extension
2003-01-21 15:49:06 +00:00
Brian Paul
cf01d97dc3
GL_NV_fragment_program
2003-01-14 04:50:14 +00:00
Brian Paul
e58286ccb6
prototype render-to-texture
2003-01-14 04:49:31 +00:00
Brian Paul
03516d9efa
DOS updates from Daniel Borca.
2002-12-18 15:06:36 +00:00
Brian Paul
aa3029bce1
Updates for DOS driver from Daniel Borca.
2002-11-05 20:52:07 +00:00
Karl Schultz
6afdc0bec2
Put back the include of windows.h so we are back to version 17 of the file.
2002-10-17 21:03:22 +00:00
Karl Schultz
3e2fa3fd5c
Change for Windows only: Make demos and examples build again.
...
Move the inclusion of windows.h from glext.h to gl.h. There are a few
good reasons for this:
- Including it in gl.h is more strightforward and makes it easier to
troubleshoot include file problems. It was sometimes hard to find it
in glext.h.
- Needed to define APIENTRY correctly. APIENTRY is used in gl.h.
- glut.h needs windows.h but does not include it, expecting the app to
include it. Including it in gl.h if not already included by the app
makes glut.h happy. This allows one to write a gl/glut app without
explictly including windows.h, which may only be really important for
toy apps like our samples and demos. But a "real" app can still
include windows.h if it wants.
2002-10-17 19:39:31 +00:00
Brian Paul
11fd2d7558
disable wsPriv field in __GLdrawablePrivateRec to match XFree86/DRI
2002-10-14 17:12:01 +00:00
Brian Paul
cb4253a546
added missing GLX_TRANSPARENT_RGB
2002-10-14 13:52:27 +00:00
Brian Paul
85678e0399
disable wscx field in __GLimportsRec to be consistant with XFree86
2002-10-09 19:37:32 +00:00
Brian Paul
8455203bc7
GLX_NV_vertex_array_range and GLX_MESA_agp_offset extensions
2002-10-08 22:47:53 +00:00
Brian Paul
fa647e8336
added XMesaCreatePBuffer()
2002-10-05 03:03:37 +00:00
Brian Paul
c62aeed003
merge updates from 4.0.4
2002-09-21 16:47:09 +00:00
Brian Paul
473e51f2fb
Updated BeOS support (Philippe Houdoin)
2002-09-19 16:19:43 +00:00
Brian Paul
a2ae6faf1a
removed glext.h fix-ups corrected in glext.h version 17
2002-09-06 02:52:23 +00:00
Brian Paul
e14c151f0a
version 17
2002-09-06 02:48:09 +00:00
Brian Paul
391876e5e6
fix up stuff accidentaly checked in a few days ago
2002-08-29 14:02:27 +00:00
Brian Paul
41771982c4
define GLAPIENTRY and GLAPI if not defined in gl.h
2002-08-27 21:47:31 +00:00
Brian Paul
fb657ef91d
added glXAllocate/FreeMemoryNV()
2002-08-22 21:10:37 +00:00
Brian Paul
7ae671446a
added glutGetProcAddress()
2002-08-17 00:12:48 +00:00
Brian Paul
b58c5ad7b0
GGI driver updates (Filip Spacek)
2002-06-10 15:16:44 +00:00
Brian Paul
3f058cd2c5
version 15 of glext.h
2002-06-07 20:21:12 +00:00
Brian Paul
9800adaed2
s/GL_MAX_TEXTURE_RECTANGLE_SIZE_NV/GL_MAX_RECTANGLE_TEXTURE_SIZE_NV/
2002-06-07 19:29:49 +00:00
Brian Paul
f105bc4095
removed experiemental GL_MESA_sprite_point extension
2002-05-27 17:05:19 +00:00
Karl Schultz
e694a8765a
Fix up alpha buffer handling for Windows.
...
- add two new Pixel Format Descriptors that do not have alpha bits to
mirror the two that do.
- add logic to wglChoosePixelFormat to match PFD's with respect to alpha.
- Create/clear software alpha buffer as required.
Now a wgl or GLUT program can control the creation of a software alpha
buffer via the PFD or GLUT parms, respectively.
2002-04-23 18:23:32 +00:00
Brian Paul
cb445412fc
version 13 of glext.h - fixes GL_EXT_texture_env_dot3 token values
2002-04-12 21:09:12 +00:00
Brian Paul
01dc182ee8
added OSMesaGetProcAddress()
2002-04-04 16:58:04 +00:00
Brian Paul
6c921af034
DOS driver update
2002-04-01 17:01:33 +00:00
Brian Paul
e3af5354a6
latest extension headers from SGI
2002-03-23 01:47:27 +00:00
Brian Paul
491e573c38
removed glSamplePass()
2002-03-20 22:07:17 +00:00
Brian Paul
93c132a058
added XMesaResizeBuffers()
2002-03-16 00:53:48 +00:00
Brian Paul
aa24e9171a
use official enum values for GL_ARB_depth_texture and GL_ARB_shadow
2002-02-25 22:18:14 +00:00
Brian Paul
e0193a9425
DOS updates from Daniel Borca
2002-02-23 17:11:27 +00:00
Brian Paul
78a21f96b5
added new depth_texture/shadow tokens (temporary)
2002-02-15 16:41:36 +00:00
Brian Paul
db41d2ea8c
Daniel Borca's new DOS/DJGPP driver.
2002-02-12 03:24:56 +00:00
Brian Paul
674012f083
updated gl_mangle.h (Ray Tice)
2002-01-18 14:55:40 +00:00
Brian Paul
9958ace401
new gl_mangle.h with korn shell script to regenerate itself from gl.h and glext.h (Ray Tice)
2002-01-16 23:51:09 +00:00
Brian Paul
eaf0eac7d3
oops, wrong value for GLX_SAMPLES
2001-12-14 03:19:06 +00:00
Brian Paul
b70f5c21e7
added GLX_SAMPLE_BUFFERS, GLX_SAMPLES
2001-12-14 03:18:08 +00:00
Karl Schultz
d313068dc8
Added missing entry points
2001-12-13 19:15:58 +00:00
Brian Paul
74df2ef732
added enums for GL_ARB_depth_texture/shadow/shadow_ambient (temporary)
2001-12-05 22:01:13 +00:00
Brian Paul
50c31d6861
added test implementation of GL_ARB_window_pos
2001-11-19 00:13:45 +00:00
Brian Paul
199b931c07
added missing const to glXGetContextIDEXT() prototype
2001-11-18 22:16:07 +00:00
Brian Paul
cd060fc3b4
fix typedef problem found with MSDev 6.0
2001-11-09 22:04:24 +00:00
Brian Paul
c32fe22168
added GLX 1.4 function manglers
2001-11-09 22:01:02 +00:00
Brian Paul
853a4abab2
added 1.3 function manglers
2001-11-09 22:00:53 +00:00
Brian Paul
fe9b705a2c
define GL_VERSION_1_3 (doh!)
2001-11-09 21:54:30 +00:00
Brian Paul
3d16c369d9
updated extensions
2001-10-17 13:28:14 +00:00
Brian Paul
0e94067d0d
removed duplicate GLX_AUX_BUFFERS_BIT definition
2001-09-24 14:15:58 +00:00
Brian Paul
78a03d3c45
bump versions to 4.0
2001-09-23 16:06:13 +00:00
Karl Schultz
445e3cbd0d
Add GLAPIENTRY to typedef for callback functions (used by tessellator).
...
This is important now that we're using __stdcall instead of the (default)
__cdecl on WIN32. This gets apps using the tessellator working again
on Windows.
2001-09-21 20:39:03 +00:00
Brian Paul
38112f5b60
added __glCoreCreateContext and __glCoreNopDispatch
2001-09-21 17:23:30 +00:00
Karl Schultz
80d5855692
add the same conditional mangling stuff that gl.h has.
2001-09-20 22:19:41 +00:00
Karl Schultz
448b88bb80
add mangling for new entry points
2001-09-20 22:18:47 +00:00
Karl Schultz
8674e709ee
Change UnProject4 prototype to use nearVal and farVal instead of near
...
and far because Windows compiler can get confused over these old keywords.
2001-09-20 20:47:26 +00:00
Karl Schultz
b14dcea418
remove carriage return chars
2001-09-18 16:39:38 +00:00
Brian Paul
1f20952a92
removed carriage return chars
2001-09-15 18:00:28 +00:00
Brian Paul
04120f6cce
Win32 updates (Karl Schultz)
2001-09-14 22:19:18 +00:00
Brian Paul
ba57e5297d
more GL 1.3 and GLX 1.4 updates
2001-09-14 02:43:03 +00:00
Brian Paul
306933046c
WindML updates (Stephane Raimbault)
2001-09-10 19:21:13 +00:00
Brian Paul
7e975ba3aa
added GLX_RGBA_TYPE, fixed GLX_LARGEST_PBUFFER typo
2001-09-01 20:17:16 +00:00
Brian Paul
a0037ad8b3
added OSMESA_MAX_WIDTH/HEIGHT queries
2001-08-28 23:12:37 +00:00
Brian Paul
a8b07a539b
added OpenGL 1.3 tokens and prototypes
2001-08-28 22:49:32 +00:00
Brian Paul
976c26ca34
WindML driver (Stephane Raimbault)
2001-08-20 16:07:10 +00:00
Brian Paul
086f1b8428
added four missing GLX 1.3 tokens
2001-07-27 14:26:27 +00:00
Brian Paul
206eda8b69
support for RGB_565 pixels (Lars Andersson), untested
2001-06-27 13:56:17 +00:00
Brian Paul
657323bf03
added missing GLX_PBUFFER_WIDTH/HEIGHT tokens
2001-06-25 15:29:11 +00:00
Brian Paul
9e5e5e35a0
bumped version numbers
2001-06-20 19:52:11 +00:00
Brian Paul
03d6c4c2db
define both GL_ALL_CLIENT_ATTRIB_BITS and GL_CLIENT_ALL_ATTRIB_BITS (spec and SI don't agree)
2001-06-14 21:37:43 +00:00
Brian Paul
645c1cef13
s/void */GLvoid */
2001-05-29 15:44:06 +00:00
Brian Paul
b95884c53d
added void to __GLXextFuncPtr
2001-05-25 15:44:06 +00:00
Brian Paul
2a3cc7d907
added missing GLX_SGIS_multisample tokens
2001-05-25 15:41:29 +00:00
Brian Paul
e203c9cdd8
change GLXContext and GLXFBConfig typedefs
2001-05-24 19:07:14 +00:00
Gareth Hughes
c329f0824c
Initial new Win32 build support. More to come.
2001-05-07 13:58:00 +00:00
Brian Paul
ac4a41d198
sync with XFree86/DRI glcore.h, now identical
2001-04-29 19:31:45 +00:00
Brian Paul
df4fd765d5
reordered a few blend enums
2001-04-24 16:12:48 +00:00
Brian Paul
4c00e30ef0
added GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_border_clamp (temporary until SGI updates this file)
2001-04-19 22:34:05 +00:00