summaryrefslogtreecommitdiff
path: root/src/mesa/glapi
AgeCommit message (Collapse)Author
2010-03-25Merge branch '7.8'Brian Paul
2010-03-25glapi: return int = 0 from NoOpGeneric()Brian Paul
If a GL function is called w/out a current rendering context, this stub gets called. It should return 0 so that non-void-valued functions return 0/NULL instead of a random number.
2010-03-22Merge branch '7.8'Brian Paul
Conflicts: src/gallium/drivers/cell/ppu/cell_screen.c src/mesa/state_tracker/st_cb_drawpixels.c
2010-03-21glapi: Fix aliases to non-static functions.Chia-I Wu
The bug is triggered by 41a87a43e11c664935349f938022d58d3e22da4e. glBlitFramebuffer, for example, is an alias to the non-static glBlitFramebufferEXT. We should define glBlitFramebuffer as an alias to _dispatch_stub_NNN.
2010-03-20glapi: Correctly generate static disatches for X86.Chia-I Wu
The entry point names, instead of the function name, should be used to test if the entry point should be statically dispatched.
2010-03-17glapi: fix assorted warningsBrian Paul
And replace some instances of GLuint with unsigned int to avoid pulling in GL/gl.h
2010-03-14glapi: exec_malloc for dispatch stubsGeorge Sapountzis
2010-03-14glapi: this one should be by THREADGeorge Sapountzis
2010-03-14glapi: more organize code by archGeorge Sapountzis
It seems that x86-64 with tls will fail to compile or load due to a missining gl_dispatch_functions_start symbol. Not changing though, since this is how it used to be and cannot test.
2010-03-14glapi: organize arch-specific code by arch (2)George Sapountzis
2010-03-14glapi: organize arch-specific code by archGeorge Sapountzis
2010-03-10glapi: fix bug with tls and relocsGeorge Sapountzis
add_dispatch (driver) and maybe get_proc_address (client) may be called before set_dispatch is called, which results in generate_entrypoint using an unreloced function template.
2010-03-10glapi: these two should be ok for add_dispatch ...George Sapountzis
- a function cannot be both static and extension, right ? - we should be setting the offset only if not already set, right ?
2010-03-10glapi: comments for _glapi_add_dispatchGeorge Sapountzis
2010-03-10glapi: minor cosmetic for _glapi_add_dispatchGeorge Sapountzis
2010-03-10glapi: add function set_entry_infoGeorge Sapountzis
2010-03-10glapi: parameter checking, failure paths, ... for add_function_nameGeorge Sapountzis
2010-03-10glapi: cosmetic for _glapi_add_dispatchGeorge Sapountzis
- static vs. extension - indent - s/new_offset/static_offset/ - ...
2010-03-10glapi: use get_extension_proc in _glapi_add_dispatchGeorge Sapountzis
2010-03-10glapi: cosmetic for functions for static tableGeorge Sapountzis
make similar to functions for extensions table
2010-03-10glapi: add function to find extension by nameGeorge Sapountzis
2010-03-10glapi: functions for extensions table similar to static tableGeorge Sapountzis
2010-03-09glapi: allow for any mangle prefixGeorge Sapountzis
2010-03-09glapi: split out arch-specific code for entrypointsGeorge Sapountzis
2010-03-09glapi: mv table functions to glapi_getproc.c and add local headerGeorge Sapountzis
2010-03-09drop stray XFree86Server, XGLServerGeorge Sapountzis
2010-03-04APPLE_object_purgeable: autogenerated filesChris Wilson
2010-03-04APPLE_object_purgeable: xmlChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-03-03Fix unmatched parenthesis introduce by previous commitsIan Romanick
I wasn't careful enough when removing support for GCC versions earlier than 3.3.0. I could have sworn that I compile tested before pushing, but apparently not. FAIL. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03Remove support for GCC older than 3.3.0 from generated sourcesIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03Remove support for GCC older than 3.3.0 from generator scriptsIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03Remove support for GCC older than 3.3.0Ian Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03glapi: minor cosmeticGeorge Sapountzis
2010-03-03glapi: drop condvarGeorge Sapountzis
Seems unused and replaced by functionality in os module.
2010-03-02glapi: fix compile with ESGeorge Sapountzis
2010-03-01glapi: Fix syntax.José Fonseca
2010-03-01glapi: drop SOLARIS_THREADSGeorge Sapountzis
It seems that SOLARIS_THREADS is not used and does not work.
2010-03-01glapi.c: misc coscmetic for FreeTSDGeorge Sapountzis
- move out of of the dispatch/context block to after corresponding init functions - use more consistent naming with corresponding init functions - XXX use _glthread_InitTSD() vs (void)_glthread_GetTSD() in _glapi_check_multithread() XXX
2010-03-01glapi.c: misc cosmeticGeorge Sapountzis
mainly, move the multithread check mutex out of the dispatch/context block, closer to where it is used.
2010-03-01glapi.c: mv init_glapi_relocs to glapi_getproc.cGeorge Sapountzis
2010-03-01glapi.c: mv check_table to glapi_getproc.cGeorge Sapountzis
2010-03-01glapi.c: split check_table to not_null and get_procGeorge Sapountzis
2010-03-01glapi.h: drop dispatch_override prototypesGeorge Sapountzis
cannot find them in mesa tree
2010-03-01glapi.h: misc cosmeticGeorge Sapountzis
- revert context/dispatch order, similar to glapi.c - stray GL_GLEXT_PROTOTYPES
2010-03-01glapi.h: consolidate GET_DISPATCH() and GET_CURRENT_CONTEXT() macrosGeorge Sapountzis
Use likely() macro, as this is what most projects use. Drops GL_CALL define, cannot find it in mesa tree. Also, whitespace cleaunps in glthread.h
2010-02-26Revert "glapi: Remove unnecessary headers."José Fonseca
This reverts commit ead22e6a328e7d7b7c0b52af4705634e989e4d69. This headers are not unnecessary on windows.
2010-02-25glapi: Remove unnecessary headers.Vinson Lee
2010-02-25glapi/gen: just copy in glx/glapiGeorge Sapountzis
2010-02-25glapi: EXTRA_DEBUG is never defined, make this explicitGeorge Sapountzis
2010-02-25glapi: minor ugliness to be able to copy to xorgGeorge Sapountzis