summaryrefslogtreecommitdiff
path: root/src/mesa/glapi
AgeCommit message (Collapse)Author
2009-01-22mesa: add ARB_framebuffer_object.xml to API_XMLBrian Paul
2009-01-22mesa: regenerated GL API filesBrian Paul
2009-01-22glapi: include ARB_framebuffer_object.xmlBrian Paul
2009-01-22glapi: XML spec for GL_ARB_framebuffer_objectBrian Paul
2009-01-11__builtin_expect is a gcc 3.x feature. define it out for gcc 2.95.Matthieu Herrb
Patch suggested by miod@. Thanks.
2008-12-14GLX: Include glapi.h before glapitable.hIan Romanick
A previous commit (2dbc515a669be123a019aeb4aa5aae6b1679f6a9) change some of the interdependencies between these two header files. Now glapi.h must be included before glapitable.h.
2008-12-14Return 0 as the request size when the pixels parameter is NULLNeil Roberts
img_null_flag was being ignored when calculating the size of a request so a BadLength error gets thrown for glTexImage3D when the pixels parameter is NULL. See bug #11003
2008-12-14GLX: Fix protocol for glTexSubImage#DIan Romanick
The TexSubImage commands do not have the "NULL image" flag that was introduced with glTexImage3D. However, there is a CARD32 pad element where that flag would be. Removing the img_null_flag causes the flag to be removed from the protocol. This changes the protocol and breaks everything. In order to prevent needing to hand-code all of the TexSubImage functions, a new attribute was added to the param element. This new attribute, called "padding," is a boolean flag that selects whether or not the parameter is a real parameter (default / false) or is protocol padding (true) that does not appear in the function's parameter list. This change resulted in a number of changes to other Python scripts. In almost all cases parameters with the is_padding flag set should not be emitted. This patch only changes the the XML, the DTD, and the generator scripts. It does NOT include the resulting changes to the generated code. Generated code in the X server is also changed by the script / XML changes in this patch. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2008-11-10mesa: restore glapi/ prefix on #includeBrian Paul
2008-11-10mesa: fix some misc breakage caused by editing auto-generated files rather ↵Brian Paul
than the python generators Specifically: #include "glapitable.h" in src/mesa/main/glapi/dispatch.h Call _mesa_bsearch() in src/mesa/main/enums.c.
2008-11-10GLX: fix out-of-bounds memory issue in indirect glAreTexturesResident()Brian Paul
See bug 18445. When getting array results, __glXReadReply() always reads a multiple of four bytes. This can cause writing to invalid memory when 'n' is not a multiple of four. Special-case the glAreTexturesResident() functions now. To fix the bug, we use a temporary buffer that's a multiple of four bytes in length. NOTE: this commit also reverts part of commit 919ec22ecf72aa163e1b97d8c7381002131ed32c (glx/x11: Added some #ifdef GLX_DIRECT_RENDERING protection) which directly edited the indirect.c file rather than the python generator! I'm not repairing that issue at this time.
2008-09-29mesa: asst updates for VMSJouk Jansen
2008-09-27glapi: add DISPATCH_FUNCTION_SIZETobias Jakobi
2008-09-27glapi: add gl_dispatch_functions_start and endTobias Jakobi
2008-09-23mesa: fix main/ prefix in includeKeith Whitwell
2008-09-23mesa: add fwd decl of fill_in_entrypoint_offset()Brian Paul
(cherry picked from commit b1eff0228b7199920c02e62446ebf5496c298814)
2008-09-23mesa: refactor: move GetProcAddress code from glapi.c into new ↵Brian Paul
glapi_getproc.c file
2008-09-21mesa: move some glapi bits aroundBrian Paul
Move _glapi_proc typedef from glapitable.h to glapi.h Also, don't include glapitable.h from glapi.h Before we were including the huge glapitable.h file in every .c file.
2008-09-21Remove CVS keywords.Keith Whitwell
Cherry-picked from gallium-0.1 Conflicts: src/glu/sgi/libnurbs/interface/bezierEval.h src/glu/sgi/libnurbs/interface/bezierPatch.h src/glu/sgi/libnurbs/interface/bezierPatchMesh.h src/glu/sgi/libnurbs/internals/dataTransform.h src/glu/sgi/libnurbs/internals/displaymode.h src/glu/sgi/libnurbs/internals/sorter.h src/glu/sgi/libnurbs/nurbtess/definitions.h src/glu/sgi/libnurbs/nurbtess/directedLine.h src/glu/sgi/libnurbs/nurbtess/gridWrap.h src/glu/sgi/libnurbs/nurbtess/monoChain.h src/glu/sgi/libnurbs/nurbtess/monoPolyPart.h src/glu/sgi/libnurbs/nurbtess/monoTriangulation.h src/glu/sgi/libnurbs/nurbtess/partitionX.h src/glu/sgi/libnurbs/nurbtess/partitionY.h src/glu/sgi/libnurbs/nurbtess/polyDBG.h src/glu/sgi/libnurbs/nurbtess/polyUtil.h src/glu/sgi/libnurbs/nurbtess/primitiveStream.h src/glu/sgi/libnurbs/nurbtess/quicksort.h src/glu/sgi/libnurbs/nurbtess/rectBlock.h src/glu/sgi/libnurbs/nurbtess/sampleComp.h src/glu/sgi/libnurbs/nurbtess/sampleCompBot.h src/glu/sgi/libnurbs/nurbtess/sampleCompRight.h src/glu/sgi/libnurbs/nurbtess/sampleCompTop.h src/glu/sgi/libnurbs/nurbtess/sampleMonoPoly.h src/glu/sgi/libnurbs/nurbtess/sampledLine.h src/glu/sgi/libnurbs/nurbtess/searchTree.h src/glu/sgi/libnurbs/nurbtess/zlassert.h src/glu/sgi/libutil/error.c src/glu/sgi/libutil/glue.c src/glu/sgi/libutil/gluint.h src/glu/sgi/libutil/project.c src/glu/sgi/libutil/registry.c src/glx/x11/glxclient.h src/glx/x11/glxext.c src/mesa/drivers/dri/ffb/ffb_dd.h src/mesa/drivers/dri/ffb/ffb_points.h src/mesa/drivers/dri/gamma/gamma_context.h src/mesa/drivers/dri/gamma/gamma_macros.h src/mesa/drivers/dri/i810/i810context.h src/mesa/drivers/dri/r128/r128_dd.h src/mesa/drivers/dri/tdfx/tdfx_dd.h
2008-09-18mesa: fix asst path/include mistakes in prev commitsChris Rankin
2008-09-18mesa: prefix a bunch of #include lines with "main/".Brian Paul
This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code...
2008-09-13mesa: #include <stdio.h>Guillaume Melquiond
2008-07-09mesa: return -1, not GL_FALSE if _glapi_add_dispatch() fails name sanity checkBrian Paul
2008-07-02Bring over commit 8d4d0b47a07a298a20ffae9fefe96c8c7ca9dccc from xserver treePaulo Cesar Pereira de Andrade
2008-07-01VBO: Add missing functions related to VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARBIan Romanick
2008-07-01VBO: add GLX related annotationsIan Romanick
2008-05-21Follow along GL/glx -> glx renaming in xserverDan Nicholson
The xserver glx modules were lifted up to the top level, so this changes the glapi generation to look in the new location.
2008-05-21Add remaining glapi generated server headers.Kristian Høgsberg
This adds all the headers needed by the xserver glx module and also adds a rule to copy over the shared glapi.[ch] and glthread.[ch] files. Specifying an xserver path (set XORG_BASE on the make command line) is now mandatory when regenerating the glapi files.
2008-05-21Make the shared glapi files not include glheader.h.Kristian Høgsberg
2008-05-21Revert "glapi: Generate xserver glapi sources in the mesa tree"Kristian Høgsberg
This reverts commit 7688791fc52f116eea421fda1d17aba5cf10977b, and takes us back to generating the glapi files straight into the xserver tree. Conflicts: src/glx/x11/indirect_size_get.c
2008-05-07Never fail `make clean'Dan Nicholson
Mostly some pedantic changes such that `make clean' always ignores errors. Also changed the top clean target to do the `touch configs/current' dance instead of realclean.
2008-04-23glcore: drop outdated sources files intented for xorgGeorge Sapountzis
2008-04-23glcore: build from mesaGeorge Sapountzis
2008-03-08Move DRI context functions into dri_glx.c.Kristian Høgsberg
Also drop isDirect flag; if gc->driContext is non-NULL, it's direct.
2008-02-19Added <size name="Get" mode="get"/> lines for point parameter tokens.Brian
See bug 11893. This allows GL_POINT_SIZE_MIN/MAX/etc to be queried with indirect rendering.
2008-02-19If parameter is a 'counter', raise GL_INVALID_VALUE if value is negativeBrian
Fixes bug 10984.
2008-02-17glapi: Generate xserver glapi sources in the mesa treeDan Nicholson
Instead of generating the glapi sources for the xserver and commiting them to the xserver tree, we can keep them in the mesa tree and change the xserver build to use the files from the mesa tree. This makes the xserver glx build more robust as it reduces the chances for mismatches of the glX API used in the xserver vs. in mesa.
2008-02-12glapi: Correct prerequisites for gl_and_glX_API.xmlDan Nicholson
The indirect_dispatch.h and indirect_table.c source files use gl_and_glX_API.xml in their generation rather than glX_API.xml, but it wasn't listed in their prerequisites. In turn, gl_and_glX_API.xml uses glX_API.xml, but this is already listed in $(COMMON_GLX).
2008-02-12glapi: Use make automatic variables to clean up the commandsDan Nicholson
Make use of the make automatic variables $@ (the target) and $< (first prerequisite) to clean up the commands for the glapi generation. This improves readability and guards against typos since words are repeated less frequently.
2008-02-12glapi: Use variable for indent and flagsDan Nicholson
Put the path to indent and the flags to call it with in configs/default rather than in the Makefile. This makes it easier to change the values globally.
2008-01-01added 'get' info for framebuffer object tokensBrian
2008-01-01add 'Get' info for MAX_3D_TEXTURE_SIZE (for bug 13811)Brian
2007-11-09recreate from changed gl_API.xmlRoland Scheidegger
2007-11-09alias ProgramEnvParameter4xyARB and ProgramParameter4xyNV (bug #12935)Roland Scheidegger
these should be the same functions (as per spec).
2007-11-08Prevent loss of vectorequiv information when an alias follows the function ↵Ian Romanick
being aliased.
2007-10-30Fix some build warnings, mostly with XCB.Michel Dänzer
2007-10-30Alias glStencilOpSeparateATI with glStencilOpSeparate.Brian
2007-10-30Finish up ATI_separate_stencilBrian
Add entrypoints to glapi XML file and regenerate files. Implement glStencilOpSeparateATI(). Consolidate some code in stencil.c
2007-10-14typoGeorge Sapountzis
2007-10-13Uncomment GLX_SGIX_pbuffer definition.Kristian Høgsberg