Age | Commit message (Collapse) | Author |
|
Do not rely on PUBLIC being defined in glapi.h. Do not include core
mesa headers.
|
|
mapi.h is included by vgapi and st/vega. On win32, the macro expands to
dllexport and dllimport respectively.
|
|
That is, replace the old _glapi_* names by new names that start with
u_current_. When MAPI_GLAPI_CURRENT is defined, u_current.h defines
rename macros to restore the old names. That is done for ABI
compatibility.
|
|
glapi defines an interface that is used by DRI drivers. It must not be
changed in an ABI incompatible way. This commit moves all
functions/variables belong to the interface to glapi.h. Instead of
including u_current.h from glapi.h, u_current.h now includes glapi.h.
|
|
|
|
|
|
|
|
Note that the enums.c file is generated with this script.
This will preserve the change from commit
c4066b78c0aad41c199eb27157538c2ec9ab5bfd.
|
|
laying down the foundation for everything and implementing most of the
stuff.
linking, gl_VerticesIn and multidimensional inputs are left.
|
|
|
|
Fixes "...; recompile with -fPIC" error on x86-64. See fdo 28336.
|
|
Fixes fdo 28336.
|
|
|
|
Define PUBLIC to __declspec(dllexport) when _MVC_VER is defined.
|
|
Define macros to enable dllexport and thread support. Adjust the output
path of mapi sources.
|
|
|
|
Commit 80b280db883edc9550484dba03bd5c124b6a9bf9 changed the .c files
instead of the .py generator scripts.
|
|
|
|
Move the install rules for OpenGL ES from src/mesa/Makefile to mapi.
|
|
|
|
Unlike the one produced by st/vega, this is a dispatch-only library.
|
|
Remove src/gles and have mapi/{es1api,es2api} build libGLESv1_CM.so and
libGLESv2.so.
|
|
|
|
|
|
|
|
|
|
vgapi is a dispatcher for OpenVG.
|
|
The idea is to have an API generate a header using mapi_abi.py. The API
can then use the header to build a dispatcher.
|
|
Specifically, move all or most of
glapi/glapi.c to mapi/u_current.c,
glapi/glapi_execmem.c to mapi/u_execmem.c,
glapi/glthread.[ch] to mapi/u_thread.[ch]
and remove their dependencies on core Mesa headers.
|
|
Move glapi to src/mapi/{glapi,es1api,es2api}.
|