summaryrefslogtreecommitdiff
path: root/src/mesa/glapi/glapi.h
AgeCommit message (Collapse)Author
2006-03-15Need to include glthread.h in glapi.h, not glapi.c so that GET_CURRENT_CONTEXTBrian Paul
is properly defined. Fixes long-standing, but unnoticed thread safety failure. Also, updated comments.
2006-02-10commit to fixup MGL namespacing for XGLDave Airlie
2005-08-10Remove _glapi_check_multithread from the interface exported by the loader toIan Romanick
the driver. The loader now takes care of this for the driver. Remove _glapi_DispatchTSD and give _glapi_Dispatch its semantic (i.e., having a NULL value means that the application is multithreaded and _glapi_get_dispatch must be called). Gut all of the dispatch override code. This removes _glapi_RealDispatch, _glapi_tls_RealDispatch, _glapi_begin_dispatch_override, _glapi_end_dispatch_override, and _glapi_get_override_dispatch. Remove _glapi_get_proc_address, _glapi_get_proc_name, _glapi_get_version, and _glapi_check_table from the loader / driver interface. Reviewed by: Brian Paul
2005-07-28Major rip-up of internal function insertion interface. The oldIan Romanick
_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-04-28Stop gcc-4.0 complaining about "type qualifiers ignored on functionKeith Whitwell
return type".
2005-04-14In GLX_USE_TLS builds, make GET_CURRENT_CONTEXT use the TLS verion of theIan Romanick
variable. Without this, GET_CURRENT_CONTEXT would *always* result in a call to _glapi_get_context (because _glapi_Context is a const pointer to NULL in TLS builds).
2005-04-13Add TLS support to libGL and, by virtue of using glthread.h and GL_CALL, allIan Romanick
DRI drivers. A TLS enabled libGL can load a TLS or a non-TLS DRI driver, but a TLS DRI driver requires a TLS enabled libGL. This fixes bug #1822.
2004-12-08silence warningAlan Hourihane
2004-11-27Use new _glapi_proc typedef instead of void * for function pointers.Brian Paul
Misc clean-ups in glapi.c
2004-09-10More updates for Doxygen.Brian Paul
2003-06-05Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick
2002-06-29Applied Matt Sealey's patch to remove/isolate all stdio.h function calls.Brian Paul
Instead of mstdio.[ch], use imports.[ch] to isolate these functions.
2001-03-28New mechanism for thread-safe GL API dispatch. C-based dispatch is faster.Brian Paul
Folded glapinoop.c code into glapi.c. Added code to glapitemp.h to fill in dispatch tables. Updated Makefiles.
2001-01-23added dispatch override mechanism, used by trace extensionBrian Paul
2000-09-26Replaced preprocessor symbol GL_MESA_TRACE with MESA_TRACE.Brian Paul
Changed src/Makefile.X11 to compile Trace sources like other drivers.
2000-09-15added GL_MESA_trace supportBrian Paul
2000-09-05added tracing facility from LokiBrian Paul
2000-01-28renamed _glapi_CurrentContext to _glapi_ContextBrian Paul
2000-01-17added _glapi_DispatchBrian Paul
2000-01-05removed _glapi_ThreadSafeBrian Paul
1999-12-17added current context functions, made ThreadSafe publicBrian Paul
1999-12-16minor clean-upBrian Paul
1999-12-16thread support now worksBrian Paul
1999-12-16minor changeBrian Paul
1999-12-15added _glapi_get_proc_name()Brian Paul
1999-12-15new thread codeBrian Paul
1999-12-15added many more extension entry pointsBrian Paul
1999-11-27lots of work on extension managementBrian Paul
1999-11-25include glapitable.hBrian Paul
1999-11-12replaced _GLAPI_EXT_color_table with _GLAPI_EXT_paletted_textureBrian Paul
1999-11-11first big check-in of new Mesa 3.3 codeBrian Paul