Age | Commit message (Collapse) | Author |
|
The removal of _glapi_noop_enable_warnings and _glapi_set_warning_func
in e4f168a6f4911a096be97d2e83ef8ad9c5862ec0 prevents DRI drivers built
before the commit from loading. Add stub versions of the functions to
make them load again.
|
|
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.
|
|
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.
|
|
The entry point names, instead of the function name, should be used to
test if the entry point should be statically dispatched.
|
|
|
|
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
|
|
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>
|
|
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
|
|
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
|
|
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
|
|
|
|
Seems unused and replaced by functionality in os module.
|
|
|
|
|
|
It seems that SOLARIS_THREADS is not used and does not work.
|
|
- 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 <airlied@redhat.com>
|
|
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.
|