summaryrefslogtreecommitdiff
path: root/src/glx/x11/indirect_size.c
AgeCommit message (Collapse)Author
2006-10-04Changes to generated code caused by the previous commits.Ian Romanick
2005-10-20restore FASTCALL stuffBrian Paul
2005-10-20Disable the FASTCALL optimization because it still breaks server-side GLX.Brian Paul
2005-08-26/dri/msgAdam Jackson
2005-08-26Fix the scripts for the cygwin & mingw changesAlan Hourihane
2005-08-25update for mingwAlan Hourihane
2005-08-24Fix Windows build problems.Alan Hourihane
GCC's visibility attribute is for ELF systems, so undef INTERNAL GCC's fastcall attribute interferes with __stdcall so undef FASTCALL
2005-08-11Remove the logic that determines at compile time whether or not HAVE_ALIASIan Romanick
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.
2005-07-23Add two aliases for some PointParameters entrypoints for libglx compatibility.Adam Jackson
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.
2005-06-21Mammoth update to the Python code generator scripts that live inIan Romanick
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
2005-02-05Fix some mixed spaces / tabs issues in generated code. Commit generatedIan Romanick
files that have been trivially changed by other recent commits.
2005-01-28Fix some get / set errors with COLOR_TABLE_*. SCALE and BIAS can beIan Romanick
parameters to GetColorTableParameter[if]v. FORMAT, WIDTH, and the SIZE enums cannot be parameters to ColorTableParameter[if]v.
2005-01-27Add numerous 'get'-type functions to most of the enums supported by theIan Romanick
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.
2005-01-23HAVE_ALIAS was never defined anywhere, add some logic to turn it onAdam Jackson
automagically.
2004-12-20Use GLX protocol code generated by glX_proto_send.py.Ian Romanick
2004-12-01Corrected a problem with the sizes of the MAP[12]_* enums.Ian Romanick
2004-12-01Use indirect_size.c and indirect_size.h generated by usingIan Romanick
src/mesa/glapi/glX_proto_send.py with the '-m size_c' and '-m size_h' options.