aboutsummaryrefslogtreecommitdiffstats
path: root/src/glx/x11/indirect_size.c
Commit message (Collapse)AuthorAgeFilesLines
* Changes to generated code caused by the previous commits.Ian Romanick2006-10-041-217/+229
|
* restore FASTCALL stuffBrian Paul2005-10-201-1/+5
|
* Disable the FASTCALL optimization because it still breaks server-side GLX.Brian Paul2005-10-201-5/+1
|
* /dri/msgAdam Jackson2005-08-261-2/+2
|
* Fix the scripts for the cygwin & mingw changesAlan Hourihane2005-08-261-9/+6
|
* update for mingwAlan Hourihane2005-08-251-1/+1
|
* Fix Windows build problems.Alan Hourihane2005-08-241-1/+7
| | | | | GCC's visibility attribute is for ELF systems, so undef INTERNAL GCC's fastcall attribute interferes with __stdcall so undef FASTCALL
* Remove the logic that determines at compile time whether or not HAVE_ALIASIan Romanick2005-08-111-7/+0
| | | | | | | | should be defined. It was flawed on some platforms (e.g., Darwin & mingw). Instead, rely on the build system to define it on the compiler command line. This also reverts ajax's hand-edit to indirect_size.c. I'll fix that on the X.org side of things later today.
* Add two aliases for some PointParameters entrypoints for libglx compatibility.Adam Jackson2005-07-231-0/+2
| | | | | | | | | Doing this here rather than on the GLX side since the X monolith hasn't had Mesa 6.3 imported yet. idr, I know this is touching a generated file, but I haven't figured out what needs changing in the generator scripts to make this change happen. If you could add that I'd appreciate it.
* Mammoth update to the Python code generator scripts that live inIan Romanick2005-06-211-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | src/mesa/glapi. Basically, the scripts that did simple things (like gl_offsets.py) were simple, and the scripts that did more complicated things (like glX_proto_send.py) were getting progressively more and more out of control. So, I re-write the foundation classes on which everything is based. One problem with the existing code is that the division between the GL API database representation and the way the output code is generated was either blury or nonexistant. The new code somewhat follows the Model-View-Controller pattern, minus the Controller. There is a distinct set of classes that model the API data, and there is a distinct set of classes that generate code from that data. One big change is in the class that represents GL functions (was glFunction, is now gl_function). There used to be an instance of this calls for each function and for each alias to that function. For example, there was an instance for PointParameterivSGIS, PointParameterivEXT, PointParameterivARB, and PointParameteriv. In the new code, there is one instance. Each instance has a list of entrypoint names for the function. In the next revision, this will allow a couple useful things. The script will be able to verify that the parameters, return type, and GLX protocol for a function and all it's aliases match. It will also allow aliases to be represented in the XML more compactly. Instead of repeating all the information, an alias can be listed as: <function name="PointParameterivARB" alias="PointParameterivEXT"/> Because the data representation was changed, the order that the alias functions are processed by the scripts also changed. This accounts for at least 2,700 of the ~3,600 lines of diffs in the generated code. Most of the remaining ~900 lines of diffs are the result of bugs *fixed* by the new scripts. The old scripts also generated code with some bugs in it. These bugs were discovered while the new code was being written. These changes were discussed on the mesa3d-dev mailing list back at the end of May: http://marc.theaimsgroup.com/?t=111714569000004&r=1&w=2 Xorg bug: 3197, 3208
* Fix some mixed spaces / tabs issues in generated code. Commit generatedIan Romanick2005-02-051-0/+1
| | | | files that have been trivially changed by other recent commits.
* Fix some get / set errors with COLOR_TABLE_*. SCALE and BIAS can beIan Romanick2005-01-281-9/+0
| | | | | parameters to GetColorTableParameter[if]v. FORMAT, WIDTH, and the SIZE enums cannot be parameters to ColorTableParameter[if]v.
* Add numerous 'get'-type functions to most of the enums supported by theIan Romanick2005-01-271-23/+29
| | | | | | | | | | | | | | | server-side GLX implementation. Correct the protocol for EXT_convolution. Several functions were incorrectly listed as 'sop' that should have been 'vendorpriv'. Remove TexParameter[if]v from the list of functions associated with TEXTURE_RESIDENT. The state associated with this enum is read-only. Sort the enums by value for each particular size. This ensures that the signature is the same no matter what the ordering is of the enums in the XML file. The side effect is that there are some extra changes in indirect_size.c.
* HAVE_ALIAS was never defined anywhere, add some logic to turn it onAdam Jackson2005-01-231-0/+4
| | | | automagically.
* Use GLX protocol code generated by glX_proto_send.py.Ian Romanick2004-12-201-0/+1
|
* Corrected a problem with the sizes of the MAP[12]_* enums.Ian Romanick2004-12-011-8/+19
|
* Use indirect_size.c and indirect_size.h generated by usingIan Romanick2004-12-011-0/+357
src/mesa/glapi/glX_proto_send.py with the '-m size_c' and '-m size_h' options.