summaryrefslogtreecommitdiffstats
path: root/src/mapi
Commit message (Collapse)AuthorAgeFilesLines
* glapi: Do not use glapioffsets.h.Chia-I Wu2010-10-278-3117/+3105
| | | | | | | glapioffsets.h exists for the same reason as glapidispatch.h does. It is of no use to glapi. This commit also drops the use of glapioffsets.h in glx as glx is considered an extension to glapi when it comes to defining public GL entries.
* glapi: Move glapidispatch.h to core mesa.Chia-I Wu2010-10-273-4279/+6
| | | | It is a core mesa header, not a glapi header.
* glapi: Do not use glapidispatch.h.Chia-I Wu2010-10-272-7/+5
| | | | | | | | | glapidispatch.h exists so that core mesa (libmesa.a) can be built for DRI drivers or for non-DRI drivers as a compile time decision (whether IN_DRI_DRIVER is defined). It is of no use to glapi. This commit also drops the use of glapidispatch.h in glx and libgl-xlib as they are considered extensions to glapi when it comes to defining public GL entries.
* mesa: regenerated API files for GL_EXT_texture_integerBrian Paul2010-10-238-585/+943
|
* glapi: include/build EXT_texture_integer.xmlBrian Paul2010-10-232-0/+3
|
* glapi: GL_EXT_texture_integer APIBrian Paul2010-10-231-0/+98
|
* mesa: regenerated files with primitive restartBrian Paul2010-10-218-880/+978
|
* mesa: API spec for primitive restartBrian Paul2010-10-213-0/+26
|
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-3/+3
|
* mapi: Fix compiler warnings.Chia-I Wu2010-09-303-3/+3
| | | | Do not use "void *" in arithmetics.
* Regenerate files changed by previous commitIan Romanick2010-09-279-2523/+2395
|
* glapi: Fix ES build errors again.Chia-I Wu2010-09-151-2/+2
| | | | | | | This fixes an error in GLAPI ES. My build is ok with or without this patch, and the error affects others' setups. [Patch from Francesco Marella]
* glapi: Fix build errors for ES.Chia-I Wu2010-09-151-1/+1
| | | | | | | The latest glext.h defines GL_FIXED. Test GL_OES_fixed_point instead to decide whether to define GLfixed and GLclampx. This fixes fdo bug #30205.
* mesa: update to version 64 of GL/glext.hBrian Paul2010-09-145-9/+9
| | | | | | A number of other files had to be updated as well because const qualifiers were added to the glMultiDrawArrays() function. Also, GL_FIXED is now defined in glext.h.
* Revert "glapi: Implement optional dispatch logging"Kristian Høgsberg2010-09-092-71/+17
| | | | | | This reverts commit b9abc6139a310677a37754ea7172d976dbf56979 and the follow on fixes (7aae704 and 6fe1b47). It's changing the glapi/driver ABI and causes a number of problems for debug/non-debug builds.
* glapi: Fix non-debug buildsJakob Bornecrantz2010-09-091-1/+1
|
* glapi: Implement optional dispatch loggingKristian Høgsberg2010-09-092-17/+71
| | | | | | | 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.
* glapi: fix generator which got out of sync with the codebaseLuca Barbieri2010-08-301-3/+3
| | | | | The __GLapi typedef was removed in c356f5867f2c1fad7155df538b9affa8dbdcf869, but the code generator hasn't been updated.
* glapi: Clean up header inclusions.Chia-I Wu2010-08-236-40/+45
| | | | | Do not rely on PUBLIC being defined in glapi.h. Do not include core mesa headers.
* mapi: Use MAPI_EXPORT to export public functions.Chia-I Wu2010-08-212-6/+17
| | | | | mapi.h is included by vgapi and st/vega. On win32, the macro expands to dllexport and dllimport respectively.
* mapi: Prefix functions in u_current.h by u_current.Chia-I Wu2010-08-215-79/+94
| | | | | | | 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: Move public function/variable declarations to glapi.h.Chia-I Wu2010-08-215-47/+107
| | | | | | | 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.
* glx: Move bind and unbind to context vtableKristian Høgsberg2010-07-281-1/+1
|
* glx: Rename __GLXcontext and __GLXdisplayPrivate to struct types.Kristian Høgsberg2010-07-282-11/+11
|
* glapi: Fix VMware spelling.Vinson Lee2010-07-281-1/+1
|
* glapi: use _mesa_snprintf()Brian Paul2010-07-131-1/+2
| | | | | | Note that the enums.c file is generated with this script. This will preserve the change from commit c4066b78c0aad41c199eb27157538c2ec9ab5bfd.
* mesa: initial support for ARB_geometry_shader4Zack Rusin2010-06-2811-2872/+3494
| | | | | | laying down the foundation for everything and implementing most of the stuff. linking, gl_VerticesIn and multidimensional inputs are left.
* mapi: Add missing stdlib.h header for malloc declaration.Vinson Lee2010-06-201-0/+2
|
* vgapi: Generate PIC objects.Chia-I Wu2010-06-011-1/+1
| | | | Fixes "...; recompile with -fPIC" error on x86-64. See fdo 28336.
* glapi: Generate PIC objects.José Fonseca2010-05-311-1/+1
| | | | Fixes fdo 28336.
* mapi/vgapi: Add SConscript for Windows build.Chia-I Wu2010-05-311-0/+55
|
* Define PUBLIC to dllexport on MSVC.Chia-I Wu2010-05-311-2/+2
| | | | Define PUBLIC to __declspec(dllexport) when _MVC_VER is defined.
* glapi: Update SConscript for Windows.Chia-I Wu2010-05-311-5/+15
| | | | | Define macros to enable dllexport and thread support. Adjust the output path of mapi sources.
* Fix a substitution in glesv1_cm.pcEric Anholt2010-05-201-1/+1
|
* glapi: fix generator scripts w.r.t. GLX_USE_APPLEGLBrian Paul2010-05-112-2/+2
| | | | | Commit 80b280db883edc9550484dba03bd5c124b6a9bf9 changed the .c files instead of the .py generator scripts.
* glapi: added GL_ARB_transform_feedback2 entrypointsBrian Paul2010-05-111-0/+40
|
* mapi: Add install rules for OpenGL ES.Chia-I Wu2010-05-083-2/+67
| | | | Move the install rules for OpenGL ES from src/mesa/Makefile to mapi.
* mapi: Install .pc file for OpenVG.Chia-I Wu2010-05-082-1/+31
|
* mapi: Update vgapi to build libOpenVG.so.Chia-I Wu2010-05-081-3/+24
| | | | Unlike the one produced by st/vega, this is a dispatch-only library.
* mapi: Merge src/gles/.Chia-I Wu2010-05-081-11/+38
| | | | | Remove src/gles and have mapi/{es1api,es2api} build libGLESv1_CM.so and libGLESv2.so.
* mapi/glapi: Don't allocate a page for every function on windows.José Fonseca2010-05-072-36/+42
|
* mapi: Avoid Data Execution Prevention on windows.José Fonseca2010-05-072-1/+17
|
* mapi: Add x86-64 dispatcher.Chia-I Wu2010-05-072-0/+99
|
* mapi: Add x86 dispatcher.Chia-I Wu2010-05-074-1/+246
|
* mapi: Add vgapi.Chia-I Wu2010-05-073-0/+154
| | | | vgapi is a dispatcher for OpenVG.
* mapi: Add a generic C dispatcher.Chia-I Wu2010-05-0712-0/+1325
| | | | | 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.
* mapi: Add mapi and share the code with glapi.Chia-I Wu2010-05-0718-740/+783
| | | | | | | | | | 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.
* glapi: Move to src/mapi/.Chia-I Wu2010-05-0784-0/+82894
Move glapi to src/mapi/{glapi,es1api,es2api}.