summaryrefslogtreecommitdiff
path: root/src/mapi
AgeCommit message (Collapse)Author
2010-09-09glapi: Fix non-debug buildsJakob Bornecrantz
2010-09-09glapi: Implement optional dispatch loggingKristian Høgsberg
There's a useful feature buried in glapi to log all API calls to stderr. Unfortunately it requires editing the code and then it's enabled unconditionally for that build. This patch builds in API logging for debug builds and makes it run-time switchable by setting MESA_DEBUG=dispatch.
2010-08-30glapi: fix generator which got out of sync with the codebaseLuca Barbieri
The __GLapi typedef was removed in c356f5867f2c1fad7155df538b9affa8dbdcf869, but the code generator hasn't been updated.
2010-08-23glapi: Clean up header inclusions.Chia-I Wu
Do not rely on PUBLIC being defined in glapi.h. Do not include core mesa headers.
2010-08-21mapi: Use MAPI_EXPORT to export public functions.Chia-I Wu
mapi.h is included by vgapi and st/vega. On win32, the macro expands to dllexport and dllimport respectively.
2010-08-21mapi: Prefix functions in u_current.h by u_current.Chia-I Wu
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.
2010-08-21glapi: Move public function/variable declarations to glapi.h.Chia-I Wu
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.
2010-07-28glx: Move bind and unbind to context vtableKristian Høgsberg
2010-07-28glx: Rename __GLXcontext and __GLXdisplayPrivate to struct types.Kristian Høgsberg
2010-07-28glapi: Fix VMware spelling.Vinson Lee
2010-07-13glapi: use _mesa_snprintf()Brian Paul
Note that the enums.c file is generated with this script. This will preserve the change from commit c4066b78c0aad41c199eb27157538c2ec9ab5bfd.
2010-06-28mesa: initial support for ARB_geometry_shader4Zack Rusin
laying down the foundation for everything and implementing most of the stuff. linking, gl_VerticesIn and multidimensional inputs are left.
2010-06-20mapi: Add missing stdlib.h header for malloc declaration.Vinson Lee
2010-06-01vgapi: Generate PIC objects.Chia-I Wu
Fixes "...; recompile with -fPIC" error on x86-64. See fdo 28336.
2010-05-31glapi: Generate PIC objects.José Fonseca
Fixes fdo 28336.
2010-05-31mapi/vgapi: Add SConscript for Windows build.Chia-I Wu
2010-05-31Define PUBLIC to dllexport on MSVC.Chia-I Wu
Define PUBLIC to __declspec(dllexport) when _MVC_VER is defined.
2010-05-31glapi: Update SConscript for Windows.Chia-I Wu
Define macros to enable dllexport and thread support. Adjust the output path of mapi sources.
2010-05-20Fix a substitution in glesv1_cm.pcEric Anholt
2010-05-11glapi: fix generator scripts w.r.t. GLX_USE_APPLEGLBrian Paul
Commit 80b280db883edc9550484dba03bd5c124b6a9bf9 changed the .c files instead of the .py generator scripts.
2010-05-11glapi: added GL_ARB_transform_feedback2 entrypointsBrian Paul
2010-05-08mapi: Add install rules for OpenGL ES.Chia-I Wu
Move the install rules for OpenGL ES from src/mesa/Makefile to mapi.
2010-05-08mapi: Install .pc file for OpenVG.Chia-I Wu
2010-05-08mapi: Update vgapi to build libOpenVG.so.Chia-I Wu
Unlike the one produced by st/vega, this is a dispatch-only library.
2010-05-08mapi: Merge src/gles/.Chia-I Wu
Remove src/gles and have mapi/{es1api,es2api} build libGLESv1_CM.so and libGLESv2.so.
2010-05-07mapi/glapi: Don't allocate a page for every function on windows.José Fonseca
2010-05-07mapi: Avoid Data Execution Prevention on windows.José Fonseca
2010-05-07mapi: Add x86-64 dispatcher.Chia-I Wu
2010-05-07mapi: Add x86 dispatcher.Chia-I Wu
2010-05-07mapi: Add vgapi.Chia-I Wu
vgapi is a dispatcher for OpenVG.
2010-05-07mapi: Add a generic C dispatcher.Chia-I Wu
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.
2010-05-07mapi: Add mapi and share the code with glapi.Chia-I Wu
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.
2010-05-07glapi: Move to src/mapi/.Chia-I Wu
Move glapi to src/mapi/{glapi,es1api,es2api}.