Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-04-13 | added 'const' (Dan Schikore) | Brian Paul | |
2006-03-29 | Fixes to silence warnings in code generated by glapi scripts. | Kristian Høgsberg | |
2006-03-15 | assorted code clean-ups, comments, etc. | Brian Paul | |
2006-03-15 | remove invalid assertion in _glapi_get_dispatch(), fixes additional thread ↵ | Brian Paul | |
safety problem | |||
2006-03-15 | Need to include glthread.h in glapi.h, not glapi.c so that GET_CURRENT_CONTEXT | Brian Paul | |
is properly defined. Fixes long-standing, but unnoticed thread safety failure. Also, updated comments. | |||
2006-02-10 | commit to fixup MGL namespacing for XGL | Dave Airlie | |
2005-10-11 | ifdef out some code to make glapi.c linkable in libglx.so (on the | Ian Romanick | |
server). This isn't strictly needed yet, but it doesn't hurt anything either. However, the patches for fd.o bug #2996 require this to build. | |||
2005-08-10 | Remove _glapi_check_multithread from the interface exported by the loader to | Ian 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-28 | Major rip-up of internal function insertion interface. The old | Ian 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-07-28 | Fix SPARC assembly for 64-bit | Ian Romanick | |
- 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-04-28 | Stop gcc-4.0 complaining about "type qualifiers ignored on function | Keith Whitwell | |
return type". | |||
2005-04-15 | Reverted the last change back to fix bug 3035 | Ben Crossman | |
2005-04-14 | A few getenv() that werent using the mesa wrapper version | Ben Crossman | |
2005-04-13 | Add TLS support to libGL and, by virtue of using glthread.h and GL_CALL, all | Ian 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-15 | _glapi_* is effectively PUBLIC API for the DRI drivers. | Adam Jackson | |
2004-12-03 | silence a variety of warnings found with g++ 3.4.2 | Brian Paul | |
2004-11-27 | make get_static_proc_address() return a _glapi_proc | Brian Paul | |
2004-11-27 | Use new _glapi_proc typedef instead of void * for function pointers. | Brian Paul | |
Misc clean-ups in glapi.c | |||
2004-11-22 | applied SPARC patch (freedesktop bug 1898) | Brian Paul | |
2004-11-05 | shorter error messages when calling a GL function without a bound context ↵ | Brian Paul | |
(FDO bug 1775) | |||
2004-08-25 | Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵ | Brian Paul | |
1015696) | |||
2004-07-06 | correct X86_DISPATCH_FUNCTION_SIZE if THREADS is defined | Roland Scheidegger | |
2004-07-05 | Fix typos in comments. | Ian Romanick | |
2004-07-05 | Another "if it ain't broke, don't fix it" moment. Revert some more | Ian Romanick | |
code in _glapi_set_dispatch to its 1.74 form. This fixes a "problem" with buggy apps that make GL calls with no bound GL context (i.e., Enemy Territory during shut-down). | |||
2004-07-05 | fixed non-threaded codepath | Daniel Borca | |
2004-07-02 | Fix a potential race condition. Fix a couple of places where | Ian Romanick | |
_glapi_DispatchTSD wasn't properly handled. | |||
2004-06-30 | Add infrastructure for t_vertex.c codegen. Add an example driver | Keith Whitwell | |
for this which spits out C code for the generated functions. | |||
2004-06-29 | First phase of TLS work. At this point SPARC assembly dispatch is | Ian Romanick | |
broken, but it will be fixed "shortly." This is pretty much the same as the patch I sent to the dri-devel list on 22-Jun-2004. | |||
2004-05-27 | Modify glprocs.h to have two tables instead of one. The first table | Ian Romanick | |
is just a huge string will all the function names in it. The second table contains offsets into the first table instead of pointers to strings. | |||
2004-04-23 | minor fixes for entrypoint name mangling | Brian Paul | |
2004-01-07 | no-op table on par with main dispatcher | Daniel Borca | |
2003-12-01 | fix __sparc_v9__ test to exclude linux (bug 852204) | Brian Paul | |
2003-09-19 | Assorted casts to silence g++ warnings. | Brian Paul | |
2003-08-27 | make _glapi_get_proc_address() return NULL if function doesn't start with gl ↵ | Brian Paul | |
prefix | |||
2003-06-05 | Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything. | Ian Romanick | |
2002-10-29 | added some casts for mallocs (bug 630379) | Brian Paul | |
2002-10-17 | s/functionOffset/offset/ | Brian Paul | |
2002-10-11 | Another round of glRead/DrawBuffer() clean-ups and simplifications. | Brian Paul | |
Replaced ctx->Color._DriverDrawBuffer with swrast->CurrentBuffer. Replaced ctx->Pixel._DriverReadBuffer with ctx->Pixel._ReadSrcMask. swrast->Driver.SetBuffer() takes FRONT/BACK_LEFT/RIGHT_BIT values now. Added tokens and code for GL_AUX buffers, for completeness. | |||
2002-10-02 | _glapi_get_proc_address() now always returns a valid dispatch stub function | Brian Paul | |
(provided we're on x86 or SPARC). Later, _glapi_add_entrypoint() will fix-up the dispatch offset (which was -1). This will allow DRI libGL to avoid probing for drivers. | |||
2002-06-29 | Applied 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. | |||
2002-05-29 | added another spot-check to verify dispatch table correctness | Brian Paul | |
2002-03-07 | minor patches from David Dawes | Brian Paul | |
2001-12-04 | dispatch changes to minimize hassle with XFree86 libGL | Brian Paul | |
2001-11-18 | API dispath updates | Brian Paul | |
2001-10-17 | updated for new glext.h | Brian Paul | |
2001-09-14 | more GL 1.3 updates | Brian Paul | |
2001-06-06 | Remove dependency on MESA sources from gl* files | davem69 | |
in SPARC glapi optimizations by moving the icache flush into the glapi_sparc.S file. Brian, how is this? | |||
2001-06-05 | Sparc optimized GLAPI dispatch table. | davem69 | |
2001-05-29 | infrastructure for GL_ARB_multisample | Brian Paul | |
2001-03-28 | removed a debug message | Brian Paul | |