summaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi
Commit message (Collapse)AuthorAgeFilesLines
* glapi: fix compile with ESGeorge Sapountzis2010-03-022-1/+9
|
* glapi: Fix syntax.José Fonseca2010-03-011-1/+1
|
* glapi: drop SOLARIS_THREADSGeorge Sapountzis2010-03-014-103/+4
| | | | It seems that SOLARIS_THREADS is not used and does not work.
* glapi.c: misc coscmetic for FreeTSDGeorge Sapountzis2010-03-014-22/+48
| | | | | | | | - 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
* glapi.c: misc cosmeticGeorge Sapountzis2010-03-011-28/+33
| | | | | mainly, move the multithread check mutex out of the dispatch/context block, closer to where it is used.
* glapi.c: mv init_glapi_relocs to glapi_getproc.cGeorge Sapountzis2010-03-013-208/+196
|
* glapi.c: mv check_table to glapi_getproc.cGeorge Sapountzis2010-03-012-66/+67
|
* glapi.c: split check_table to not_null and get_procGeorge Sapountzis2010-03-012-13/+23
|
* glapi.h: drop dispatch_override prototypesGeorge Sapountzis2010-03-011-12/+0
| | | | cannot find them in mesa tree
* glapi.h: misc cosmeticGeorge Sapountzis2010-03-011-11/+11
| | | | | - revert context/dispatch order, similar to glapi.c - stray GL_GLEXT_PROTOTYPES
* glapi.h: consolidate GET_DISPATCH() and GET_CURRENT_CONTEXT() macrosGeorge Sapountzis2010-03-012-48/+66
| | | | | | | | 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
* Revert "glapi: Remove unnecessary headers."José Fonseca2010-02-261-0/+2
| | | | | | This reverts commit ead22e6a328e7d7b7c0b52af4705634e989e4d69. This headers are not unnecessary on windows.
* glapi: Remove unnecessary headers.Vinson Lee2010-02-251-2/+0
|
* glapi/gen: just copy in glx/glapiGeorge Sapountzis2010-02-251-23/+21
|
* glapi: EXTRA_DEBUG is never defined, make this explicitGeorge Sapountzis2010-02-251-1/+1
|
* glapi: minor ugliness to be able to copy to xorgGeorge Sapountzis2010-02-255-15/+22
|
* mesa: Move src/mesa/glapi/dispatch.h to mesa.Chia-I Wu2010-02-253-39/+2
| | | | | | 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.
* glapi: Move src/mesa/main/dispatch.c to glapi and rename.Chia-I Wu2010-02-251-0/+96
| | | | | | 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.
* glapi: Generated GLX sources should use glapidispatch.h.Chia-I Wu2010-02-252-2/+2
| | | | Fix glX_proto_recv.py and glX_proto_send.py, and regenerate the sources.
* glapi: GL_OES_EGL_image autogenerated filesKristian Høgsberg2010-02-245-304/+340
|
* glapi: Add GL_OES_EGL_imageKristian Høgsberg2010-02-243-1/+24
|
* glapi: fix code generation Makefile after mvGeorge Sapountzis2010-02-241-73/+118
|
* glapi: mv code generation to subdirGeorge Sapountzis2010-02-2442-0/+0
| | | | This just moves files, code generation Makefile will be fixed in next commit for easier review.
* Replace the _mesa_*printf() wrappers with the plain libc versionsKristian Høgsberg2010-02-191-1/+1
|
* Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg2010-02-191-3/+0
|
* Remove _mesa_memset in favor of plain memset.Kenneth Graunke2010-02-191-1/+0
| | | | This may break the SUNOS4 build, but it's no longer relevant.
* Remove _mesa_memcpy in favor of plain memcpy.Kenneth Graunke2010-02-191-1/+0
| | | | This may break the SUNOS4 build, but it's no longer relevant.
* Remove _mesa_strcmp in favor of plain strcmp.Kenneth Graunke2010-02-192-2/+1
|
* glapi: Avoid #including gl.hKristian Høgsberg2010-02-111-5/+3
| | | | | It's only used for a couple of integer types and and might conflict with other client API header files.
* Retire miniglx and move the actual glx code up to src/glxKristian Høgsberg2010-02-091-10/+10
|
* glapi: Add back the reduced Noop dispatchKristian Høgsberg2010-02-051-2/+18
| | | | This got "simplified" away in e4f168a6f4911a096be97d2e83ef8ad9c5862ec0.
* Merge branch 'mesa_7_7_branch'Brian Paul2010-01-251-1/+1
|\ | | | | | | | | | | | | | | | | | | | | 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
| * glapi: Do not use .type pseudo-op on Mac OS X.Vinson Lee2010-01-231-1/+1
| | | | | | | | The .type directive is an unknown pseudo-op on Mac OS X.
* | Merge branch 'arb_half_float_vertex'Dave Airlie2010-01-231-0/+3
|\ \
| * | glapi: add GL_HALF_FLOAT enum support.Dave Airlie2010-01-231-0/+3
| | | | | | | | | | | | | | | | | | Regenerate enums files and GLX indirect. Signed-off-by: Dave Airlie <[email protected]>
* | | glapi: Include glheader.h in glapi_nop.c.Chia-I Wu2010-01-231-7/+1
| | | | | | | | | | | | | | | In addition to OpenGL headers, glheader.h also defines OpenGL ES types that are used in core Mesa or ES overlay.
* | | glapi: define GLfixed, GLclampx types for ES 1Brian Paul2010-01-221-0/+7
| | | | | | | | | | | | I'm not 100% sure this is the best fix, but it seems OK.
* | | glapi: clean-up and simplify glapi_nop.c codeBrian Paul2010-01-222-62/+25
| | | | | | | | | | | | | | | | | | 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.
* | | glapi: split the no-op dispatch code into new glapi_nop.c fileBrian Paul2010-01-225-84/+125
| | | | | | | | | | | | This unclutters the glapi.c file a bit.
* | | glapi: fix int->pointer conversions warnings in no-op functionsBrian Paul2010-01-221-1/+1
|/ /
* | Do not include glapi/dispatch.h outside Mesa core.Chia-I Wu2010-01-211-1/+0
| | | | | | | | | | Include the glapi*.h directly instead. glapi/dispatch.h became a Mesa core header since 22884db174b9fb0736cec1c6a192f8b9a97500c1.
* | Merge remote branch 'origin/opengl-es-v2'Chia-I Wu2010-01-2014-268/+417
|\ \
| * \ Merge branch 'master' into opengl-es-v2Chia-I Wu2010-01-1217-438/+724
| |\ \ | | | | | | | | | | | | | | | | Conflicts: src/mesa/main/dd.h
| * | | glapi: Add OpenGL ES compatibility mode to scripts.Chia-I Wu2009-11-064-19/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the mode is on, the scripts would generate headers that are suitable for OpenGL ES. There are two differences. One is that they will generate function prototypes for OpenGL ES specific functions. The other is that, when a function has multiple names, SET/GET/CALL macros would be generated for each of names. Signed-off-by: Chia-I Wu <[email protected]>
| * | | glapi: Include headers with directory prefixes.Chia-I Wu2009-11-057-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | This allows different sets of generated sources and headers to be used. Signed-off-by: Chia-I Wu <[email protected]>
| * | | glapi: Avoid hardcoded category names in remap helper script.Chia-I Wu2009-11-051-8/+16
| | | | | | | | | | | | | | | | | | | | | | | | The output of the script is unchanged. Signed-off-by: Chia-I Wu <[email protected]>
| * | | glapi: Add is_abi() to test if a function is in the ABI.Chia-I Wu2009-11-054-9/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The test is done by checking if the offset is manually assigned. The generated headers are unchanged. Signed-off-by: Chia-I Wu <[email protected]>
| * | | glapi: Allow normal entry points to be skipped.Chia-I Wu2009-11-052-215/+270
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reorganize glapitemp.h such that it is possible to skip normal entry points or protocol entry points by defining _GLAPI_SKIP_NORMAL_ENTRY_POINTS or _GLAPI_SKIP_PROTO_ENTRY_POINTS. Protocol entry points are those with different GLX protocols. They are skipped in libglapi.a when GLX_INDIRECT_RENDERING is defined. Signed-off-by: Chia-I Wu <[email protected]>
* | | | Sun compilers now support some gcc __attribute__ valuesAlan Coopersmith2010-01-192-4/+4
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sun cc 5.9 and later (__SUNPRO_C >= 0x590) support __attribute__ calls for aligned, always_inline, noinline, pure, const, and malloc. This commit includes updates to files that were regenerated by gl_XML.py after adding the __SUNPRO_C checks to it Signed-off-by: Alan Coopersmith <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* | | Merge branch 'mesa_7_7_branch'Brian Paul2010-01-041-1/+3
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | Conflicts: docs/relnotes.html src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/r300/r300_cs.h src/mesa/drivers/dri/i965/brw_wm_surface_state.c src/mesa/main/enums.c