| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
| |
mainly, move the multithread check mutex out of the dispatch/context block,
closer to where it is used.
|
| |
|
| |
|
| |
|
|
|
|
| |
cannot find them in mesa tree
|
|
|
|
|
| |
- revert context/dispatch order, similar to glapi.c
- stray GL_GLEXT_PROTOTYPES
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
This reverts commit ead22e6a328e7d7b7c0b52af4705634e989e4d69.
This headers are not unnecessary on windows.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Fix glX_proto_recv.py and glX_proto_send.py, and regenerate the sources.
|
| |
|
| |
|
| |
|
|
|
|
| |
This just moves files, code generation Makefile will be fixed in next commit for easier review.
|
| |
|
| |
|
|
|
|
| |
This may break the SUNOS4 build, but it's no longer relevant.
|
|
|
|
| |
This may break the SUNOS4 build, but it's no longer relevant.
|
| |
|
|
|
|
|
| |
It's only used for a couple of integer types and and might conflict
with other client API header files.
|
| |
|
|
|
|
| |
This got "simplified" away in e4f168a6f4911a096be97d2e83ef8ad9c5862ec0.
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| | |
The .type directive is an unknown pseudo-op on Mac OS X.
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Regenerate enums files and GLX indirect.
Signed-off-by: Dave Airlie <[email protected]>
|
| | |
| | |
| | |
| | |
| | | |
In addition to OpenGL headers, glheader.h also defines OpenGL ES types
that are used in core Mesa or ES overlay.
|
| | |
| | |
| | |
| | | |
I'm not 100% sure this is the best fix, but it seems OK.
|
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | | |
This unclutters the glapi.c file a bit.
|
|/ / |
|
| |
| |
| |
| |
| | |
Include the glapi*.h directly instead. glapi/dispatch.h became a Mesa
core header since 22884db174b9fb0736cec1c6a192f8b9a97500c1.
|
|\ \ |
|
| |\ \
| | | |
| | | |
| | | |
| | | | |
Conflicts:
src/mesa/main/dd.h
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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]>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This allows different sets of generated sources and headers to be used.
Signed-off-by: Chia-I Wu <[email protected]>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The output of the script is unchanged.
Signed-off-by: Chia-I Wu <[email protected]>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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]>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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 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]>
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | | |
This is not really a GLenum value.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
By default we generate a function per GL entry point to warn if it's
called without a context set. This is to allow the function to print
it's name in the warning. By using a generic function that doesn't print
the function name in the non-DEBUG case, we reduce libGL size from
320008 bytes to 283144 bytes (11%).
|
| | |
| | |
| | |
| | |
| | | |
This reduces libGL size by 11% here, going from 360968 bytes to
320008 bytes.
|