summaryrefslogtreecommitdiff
path: root/src/mesa/glapi
AgeCommit message (Collapse)Author
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-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-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
2010-02-25mesa: Move src/mesa/glapi/dispatch.h to mesa.Chia-I Wu
glapi/dispatch.h is a core Mesa header file. Move the header file to main/ to make this clear. It also becomes clear after this change that IN_DRI_DRIVER is only used in core Mesa to enable the remap table.
2010-02-25glapi: Move src/mesa/main/dispatch.c to glapi and rename.Chia-I Wu
main/dispatch.c is a glapi source file. It is part of GLAPI_SOURCES in sources.mak and part of glapi_sources in SConscript. This commit moves it to glapi/ and renames it to glapi_dispatch.c.
2010-02-25glapi: Generated GLX sources should use glapidispatch.h.Chia-I Wu
Fix glX_proto_recv.py and glX_proto_send.py, and regenerate the sources.
2010-02-24glapi: GL_OES_EGL_image autogenerated filesKristian Høgsberg
2010-02-24glapi: Add GL_OES_EGL_imageKristian Høgsberg
2010-02-24glapi: fix code generation Makefile after mvGeorge Sapountzis
2010-02-24glapi: mv code generation to subdirGeorge Sapountzis
This just moves files, code generation Makefile will be fixed in next commit for easier review.
2010-02-19Replace the _mesa_*printf() wrappers with the plain libc versionsKristian Høgsberg
2010-02-19Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg
2010-02-19Remove _mesa_memset in favor of plain memset.Kenneth Graunke
This may break the SUNOS4 build, but it's no longer relevant.
2010-02-19Remove _mesa_memcpy in favor of plain memcpy.Kenneth Graunke
This may break the SUNOS4 build, but it's no longer relevant.
2010-02-19Remove _mesa_strcmp in favor of plain strcmp.Kenneth Graunke
2010-02-11glapi: Avoid #including gl.hKristian Høgsberg
It's only used for a couple of integer types and and might conflict with other client API header files.
2010-02-09Retire miniglx and move the actual glx code up to src/glxKristian Høgsberg
2010-02-05glapi: Add back the reduced Noop dispatchKristian Høgsberg
This got "simplified" away in e4f168a6f4911a096be97d2e83ef8ad9c5862ec0.
2010-01-25Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: src/mesa/drivers/dri/intel/intel_screen.c src/mesa/drivers/dri/intel/intel_swapbuffers.c src/mesa/drivers/dri/r300/r300_emit.c src/mesa/drivers/dri/r300/r300_ioctl.c src/mesa/drivers/dri/r300/r300_tex.c src/mesa/drivers/dri/r300/r300_texstate.c
2010-01-23glapi: Do not use .type pseudo-op on Mac OS X.Vinson Lee
The .type directive is an unknown pseudo-op on Mac OS X.
2010-01-23Merge branch 'arb_half_float_vertex'Dave Airlie
2010-01-23glapi: add GL_HALF_FLOAT enum support.Dave Airlie
Regenerate enums files and GLX indirect. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-01-23glapi: Include glheader.h in glapi_nop.c.Chia-I Wu
In addition to OpenGL headers, glheader.h also defines OpenGL ES types that are used in core Mesa or ES overlay.
2010-01-22glapi: define GLfixed, GLclampx types for ES 1Brian Paul
I'm not 100% sure this is the best fix, but it seems OK.
2010-01-22glapi: clean-up and simplify glapi_nop.c codeBrian Paul
Removed _glapi_noop_enable_warnings() and _glapi_set_warning_func(). Just check the DEBUG env vars and call fprintf(stderr) with a warning message instead.
2010-01-22glapi: split the no-op dispatch code into new glapi_nop.c fileBrian Paul
This unclutters the glapi.c file a bit.