summaryrefslogtreecommitdiff
path: root/src/mapi
AgeCommit message (Collapse)Author
2010-12-06mapi: Rewrite mapi_abi.py to get rid of preprocessor magic.Chia-I Wu
The preprocessor magic in mapi was nothing but obfuscation. Rewrite mapi_abi.py to generate real C code. This commit removes the hack added in 43121f20866bb89e8dac92bd92ec85a943704b7e.
2010-12-02mapi: Hack to avoid vgCreateFont being generated as vgCreateFontA.José Fonseca
Right fix is probably stop C-preprocessor abuse and stick 100% with scripted code generation.
2010-12-02WIN32_THREADS -> WIN32José Fonseca
Fixes nasty bug where some parts of the code didn't define WIN32_THREADS and were using the integer mutex implementation, causing even confusion to the debuggers. And there is little interest of other thread implemenation on Win32 besides Win32 threads.
2010-12-01st/vega: Update to latest headers.Chia-I Wu
2010-11-29drivers/x11: unifdef XFree86ServerAdam Jackson
This code was for the old GLcore build of the software rasteriser. The X server switched to a DRI driver for software indirect GLX long ago. Signed-off-by: Adam Jackson <ajax@redhat.com>
2010-11-21mesa: hook up GL 3.x entrypointsBrian Paul
Fix up some details in the xml files and regenerate dispatch files.
2010-11-21glapi: rename GL3.xml to GL3x.xml as it covers all GL 3.x versionsBrian Paul
2010-11-17mesa: upgrade to glext.h version 66Brian Paul
The type of the num/count parameter to glProgramParameters4[df]vNV() changed so some API dispatch code needed updates too.
2010-11-01scons: Revamp how to specify targets to build.José Fonseca
Use scons target and dependency system instead of ad-hoc options. Now is simply a matter of naming what to build. For example: scons libgl-xlib scons libgl-gdi scons graw-progs scons llvmpipe and so on. And there is also the possibility of scepcified subdirs, e.g. scons src/gallium/drivers If nothing is specified then everything will be build. There might be some rough corners over the next days. Please bare with me.
2010-10-29Merge branch 'glapi-reorg'Chia-I Wu
Conflicts: src/mapi/glapi/glapi_sparc.S src/mapi/glapi/glapi_x86.S src/mapi/glapi/glapidispatch.h src/mapi/glapi/glapioffsets.h src/mapi/glapi/glprocs.h
2010-10-28glapi: regenerated API filesBrian Paul
2010-10-28glapi: include EXT_gpu_shader4.xmlBrian Paul
2010-10-28glapi: xml spec file for GL_EXT_gpu_shader4Brian Paul
2010-10-27glapi: Commit files changed by previous commitIan Romanick
2010-10-27glapi: Add GL_EXT_separate_shader_objectsIan Romanick
2010-10-27glapi: Merge glapioffsets.h into glapidispath.h.Chia-I Wu
Move defines in glapioffsets.h to glapidispatch.h. Rename _gloffset_FIRST_DYNAMIC to _gloffset_COUNT, which is equal to the number of entries in _glapi_table. Consistently use SET_by_offset, GET_by_offset, CALL_by_offset, and _gloffset_* to recursively define all SET/GET/CALL macros.
2010-10-27glapi: Do not use glapioffsets.h.Chia-I Wu
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.
2010-10-27glapi: Move glapidispatch.h to core mesa.Chia-I Wu
It is a core mesa header, not a glapi header.
2010-10-27glapi: Do not use glapidispatch.h.Chia-I Wu
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.
2010-10-23mesa: regenerated API files for GL_EXT_texture_integerBrian Paul
2010-10-23glapi: include/build EXT_texture_integer.xmlBrian Paul
2010-10-23glapi: GL_EXT_texture_integer APIBrian Paul
2010-10-21mesa: regenerated files with primitive restartBrian Paul
2010-10-21mesa: API spec for primitive restartBrian Paul
2010-10-13Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg
2010-09-30mapi: Fix compiler warnings.Chia-I Wu
Do not use "void *" in arithmetics.
2010-09-27Regenerate files changed by previous commitIan Romanick
2010-09-15glapi: Fix ES build errors again.Chia-I Wu
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]
2010-09-15glapi: Fix build errors for ES.Chia-I Wu
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.
2010-09-14mesa: update to version 64 of GL/glext.hBrian Paul
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.
2010-09-09Revert "glapi: Implement optional dispatch logging"Kristian Høgsberg
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.
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