aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi/glX_proto_recv.py
Commit message (Collapse)AuthorAgeFilesLines
* glapi: mv code generation to subdirGeorge Sapountzis2010-02-241-554/+0
| | | | This just moves files, code generation Makefile will be fixed in next commit for easier review.
* Fix "cast to pointer from integer of different size"Tomas Carnecky2009-02-261-1/+1
| | | | | | | | | The script generates code like: pixels = (const GLvoid *) (ptr_is_null != 0) ? NULL : (pc + 80); which causes the above mentioned warning. Add parenthesis around the whole expression to fix it. Signed-off-by: Tomas Carnecky <[email protected]>
* GLX: Include glapi.h before glapitable.hIan Romanick2008-12-141-1/+1
| | | | | | A previous commit (2dbc515a669be123a019aeb4aa5aae6b1679f6a9) change some of the interdependencies between these two header files. Now glapi.h must be included before glapitable.h.
* GLX: Fix protocol for glTexSubImage#DIan Romanick2008-12-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]>
* Use glxbyteorder.h in server-side source files.Ian Romanick2007-01-041-20/+1
|
* Fix bug #4681.Ian Romanick2006-10-111-11/+19
| | | | | | | | | | | | | | | | | glDeleteTextures and glDeleteTexturesEXT were erroneously listed as aliases of each other. For anything /except/ GLX protocol they are aliases. This set of changes allows functions that are functionally identical but have different GLX protocol to be listed as aliases. When building with GLX_INDIRECT_RENDERING set, different static functions are used. These functions determine whether the current context is direct rendering or not. If the context is direct rendering, the aliased function (e.g., glDeleteTextures in the case of glDeleteTexturesEXT) is called. If the context is not direct rendering, the correct GLX protocol is sent. For a deeper explanation of what is changed, please see: http://dri.freedesktop.org/wiki/PartiallyAliasedFunctions
* Fixes to silence warnings in code generated by glapi scripts.Kristian Høgsberg2006-03-291-1/+3
|
* Generate server-side GLX protocol decode functions using the 'make server'Ian Romanick2006-03-061-0/+561
target. The environment variable XORG_BASE must be set to point to the base of the X.org server sources where the files are to be placed. The 7.0.0 server release already contains files generated by these scripts. The scripts should have been committed months ago. Sorry for the lag. :(