Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Need to include glthread.h in glapi.h, not glapi.c so that GET_CURRENT_CONTEXT | Brian Paul | 2006-03-15 | 1 | -15/+15 |
| | | | | | is properly defined. Fixes long-standing, but unnoticed thread safety failure. Also, updated comments. | ||||
* | commit to fixup MGL namespacing for XGL | Dave Airlie | 2006-02-10 | 1 | -0/+8 |
| | |||||
* | Remove _glapi_check_multithread from the interface exported by the loader to | Ian Romanick | 2005-08-10 | 1 | -4/+0 |
| | | | | | | | | | | | | | | | | | 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 | ||||
* | Major rip-up of internal function insertion interface. The oldmesa_6_3_1 | Ian Romanick | 2005-07-28 | 1 | -7/+4 |
| | | | | | | | | | | | | | | | | | | | | | | _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) | ||||
* | Stop gcc-4.0 complaining about "type qualifiers ignored on function | Keith Whitwell | 2005-04-28 | 1 | -1/+1 |
| | | | | return type". | ||||
* | In GLX_USE_TLS builds, make GET_CURRENT_CONTEXT use the TLS verion of the | Ian Romanick | 2005-04-14 | 1 | -0/+24 |
| | | | | | | 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). | ||||
* | Add TLS support to libGL and, by virtue of using glthread.h and GL_CALL, all | Ian Romanick | 2005-04-13 | 1 | -1/+8 |
| | | | | | | | 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. | ||||
* | silence warning | Alan Hourihane | 2004-12-08 | 1 | -1/+1 |
| | |||||
* | Use new _glapi_proc typedef instead of void * for function pointers. | Brian Paul | 2004-11-27 | 1 | -2/+4 |
| | | | | Misc clean-ups in glapi.c | ||||
* | More updates for Doxygen. | Brian Paul | 2004-09-10 | 1 | -3/+20 |
| | |||||
* | Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything. | Ian Romanick | 2003-06-05 | 1 | -1/+0 |
| | |||||
* | Applied Matt Sealey's patch to remove/isolate all stdio.h function calls. | Brian Paul | 2002-06-29 | 1 | -1/+5 |
| | | | | Instead of mstdio.[ch], use imports.[ch] to isolate these functions. | ||||
* | New mechanism for thread-safe GL API dispatch. C-based dispatch is faster. | Brian Paul | 2001-03-28 | 1 | -1/+5 |
| | | | | | | Folded glapinoop.c code into glapi.c. Added code to glapitemp.h to fill in dispatch tables. Updated Makefiles. | ||||
* | added dispatch override mechanism, used by trace extension | Brian Paul | 2001-01-23 | 1 | -6/+12 |
| | |||||
* | Replaced preprocessor symbol GL_MESA_TRACE with MESA_TRACE. | Brian Paul | 2000-09-26 | 1 | -2/+2 |
| | | | | Changed src/Makefile.X11 to compile Trace sources like other drivers. | ||||
* | added GL_MESA_trace support | Brian Paul | 2000-09-15 | 1 | -2/+2 |
| | |||||
* | added tracing facility from Loki | Brian Paul | 2000-09-05 | 1 | -2/+8 |
| | |||||
* | renamed _glapi_CurrentContext to _glapi_Context | Brian Paul | 2000-01-28 | 1 | -4/+4 |
| | |||||
* | added _glapi_Dispatch | Brian Paul | 2000-01-17 | 1 | -2/+4 |
| | |||||
* | removed _glapi_ThreadSafe | Brian Paul | 2000-01-05 | 1 | -3/+1 |
| | |||||
* | added current context functions, made ThreadSafe public | Brian Paul | 1999-12-17 | 1 | -1/+14 |
| | |||||
* | minor clean-up | Brian Paul | 1999-12-16 | 1 | -2/+1 |
| | |||||
* | thread support now works | Brian Paul | 1999-12-16 | 1 | -5/+5 |
| | |||||
* | minor change | Brian Paul | 1999-12-16 | 1 | -2/+4 |
| | |||||
* | added _glapi_get_proc_name() | Brian Paul | 1999-12-15 | 1 | -1/+5 |
| | |||||
* | new thread code | Brian Paul | 1999-12-15 | 1 | -1/+5 |
| | |||||
* | added many more extension entry points | Brian Paul | 1999-12-15 | 1 | -5/+1 |
| | |||||
* | lots of work on extension management | Brian Paul | 1999-11-27 | 1 | -6/+9 |
| | |||||
* | include glapitable.h | Brian Paul | 1999-11-25 | 1 | -524/+2 |
| | |||||
* | replaced _GLAPI_EXT_color_table with _GLAPI_EXT_paletted_texture | Brian Paul | 1999-11-12 | 1 | -4/+4 |
| | |||||
* | first big check-in of new Mesa 3.3 code | Brian Paul | 1999-11-11 | 1 | -0/+591 |