summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-02-01Small refactor. Move several utility functions from glX_XML.py toIan Romanick
FilterGLAPISpecBase (in gl_XML.py). When these functions are used to emit common #define lines, the will automatically be undefined in FilterGLAPISpecBase::printFooter if header_tag is set (i.e., the file is a header file). These changes do not modify the generated code.
2005-02-01Add GlxProto::createEnumFunction and add a 'context' parameter to theIan Romanick
glXEnumFunction constructor. The allows sub-classes of GlxProto to over-ride the concrete class used for glXEnumFunction. In addition to tracking p_count_parameters in glParameter, break the comma separated list of parameter names into a Python list called count_parameter_list. It is now possible to query if a name is the name of one of the count parameters just by comparing param.count_parameter_list.count(n) to zero. Eventually the remaining uses of p_count_parameters will be replaced with uses of count_parameter_list. Make sure that 'void *' parameters are handled correctly in glParameter::size_string. Add PrintGlxReqSize_h and PrintGlxReqSize_c. These classes emit prototypes and functions used on the server-side to determine the expected size of an incoming GL command.
2005-01-31Bug #2428: #ifdef GLX_DIRECT_RENDERING in DRI drivers is pointless.Adam Jackson
2005-01-31makefile update (readtex, showbuffer)Daniel Borca
2005-01-31Add magic sequence to prevent ClearBuffer from locking up.Vladimir Dergachev
Change Polygon.OffsetFill from fallback to warn once. Quake demo now works, modulo texture rendering issues due to absent pixel shader pipeline.
2005-01-31Use SecondaryColorPtr, not ColorPtr[1] (the latter is NULL).Vladimir Dergachev
This fixes segfault in tuxracer-demo. It locks up after this though.
2005-01-30My bad, the old code works fine if updated to newer Mesa tree.Vladimir Dergachev
2005-01-30struct ati_fragment_shader was not defined anywhere, define it to get ↵Vladimir Dergachev
r300_vertexprog.c to compile.
2005-01-30fix max viewport queryBrian Paul
2005-01-30Fix for compiler warnings.Aapo Tahkola
2005-01-30add number of passes count to ati_fragment_shaderDave Airlie
2005-01-29* Fixed uploading of textures of certain sizes.Felix Kuehling
* When glTexSubImageND is used, track the set of changed tiles in a bit vector and upload only dirty tiles later. This should improve the performance of dynamic light maps and gl movie player plugins. * Renamed debug item "lru" to "tex". Indicate which levels are uploaded completely or partially.
2005-01-29Added 0x4e54 (Thinkpad r50p) as PCI_CHIP_RV350_NPhmarson
2005-01-29Beginings of program generation. This code havent been tested nor hooked up.Aapo Tahkola
2005-01-29remove stray span.y++Brian Paul
2005-01-29added osmesa16 stuffBrian Paul
2005-01-29assorted fixesBrian Paul
2005-01-29fix initial viewport size bugBrian Paul
2005-01-29added missing glFinish()Brian Paul
2005-01-29Cleaning up.Aapo Tahkola
2005-01-28Refactor the code to emit multiple-inclusion protection toIan Romanick
FilterGLAPISpecBase. Since the size_h mode of glX_proto_size.py will be used to generate multiple header files, add an option to specify the define that is used for multiple-inclusion protection. The changes to the header files in this commit are just a side-effect of the changes to the Python scripts.
2005-01-28move fileMichal Krol
2005-01-28Properly annotate variable-length output parameters. Make sure that theIan Romanick
client-side code doesn't try to calculate the size of the output parameters. The server will tell the client how big it is.
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-28Slightly modify the meaning of the 'handcode' attribute in a 'glx' element.Ian Romanick
The attribute can now take one of 4 states. "false" (the default value) means that no handcoding is required for the function. "client" means that the function must be handcoded on the client-side only. "server" means that the function must be handcoded on the server-side only. "true" menas that the function must be handcoded on both the client-side and the server-side. Version 1.14 of glX_proto_send.py accidentally contained a line of this change.
2005-01-28Add an option to emit extra debug code in the generated protocol functions.Ian Romanick
The debug version of indirect.c has proven very helpful during the development of new client-side and server-side GLX protocol code. This is put here instead of in the DISPATCH and DISPATCH_RETURN macros in dispatch.c for two reasons. 1. I only want the debug information when indirect-rendering is used. 2. Functions that require a reply from the server, some of which do not have a return value (e.g., glFlush, glFinish, glGetLightfv, etc.), do not need the extra glFinish call.
2005-01-28Fix wrong comment.Aapo Tahkola
2005-01-28Forgot one comment...Aapo Tahkola
2005-01-28Add basic sceleton for vertex programs + some other fixesAapo Tahkola
2005-01-27Mark a couple more function parameters as counters.Ian Romanick
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-27Add vector distance operator for vertex programs.Aapo Tahkola
2005-01-27The 'mode' setting of a function within an 'enum' element is now used.Ian Romanick
Parameters to glX_proto_size.py are now used to determine whether to emit either get-type function, set-type functions, or both. When only get-type functions are emitted, they can optionally alias set-type functions. This would be useful if, for example, the two types were in different source files. The real work to implement this is in SizeStubFunctionIterator class. All of the logic for which functions to iterate and in which order is implemented there.
2005-01-26remove a bunch of temporary #defines, now that glext.h was updatedIan Romanick
2005-01-26(Stephane Marchesin, me) Add support for color (framebuffer) tiling to the ↵Roland Scheidegger
radeon and r200 driver
2005-01-26new version check to allow to test for a range of ddx major versions, ↵Roland Scheidegger
instead of just one major version
2005-01-26remove a bunch of temporary #defines, now that glext.h was updatedBrian Paul
2005-01-26replace magic number with macro constant RADEON_ZBLOCK16Roland Scheidegger
2005-01-26just comments/clean-upBrian Paul
2005-01-26added mutex to-do commentBrian Paul
2005-01-26just fix a comment and update dateBrian Paul
2005-01-26RGB/LUMINANCE texelfetchers (float version) returned 255.0F for alpha ↵Daniel Borca
channel, instead of 1.0F
2005-01-25Add a glFunctionIterator class to iterate over the functions stored in aIan Romanick
higher-level API object. Use this type of object to implement the printFunctions method. Modify other functions that iterate over the list of functions to use this type of object.
2005-01-25Fixes for clamp modes.Aapo Tahkola
2005-01-25Use the _mesa_HashNextEntry() function to walk over all textures in theBrian Paul
hash table. Moving toward removing the gl_texture_object's Next pointer (only used by glide and tdfx drivers).
2005-01-25Stupid text editor...convert wayward tabs to spaces.Ian Romanick
2005-01-25Add a "count" attribute to "enums" elements to set the default countIan Romanick
used for "size" sub-elements. In the future the "count" attribute may be removed completely from "size" sub-elements, so gl_API.xml was also updated. Support was added for a (currently unused) "mode" attribute for "size" elements. Basically, functions are marked as either "get" or "set". This will be used in generating size functions for the server-side (where the "get" functions have to know how much data to return). It could also be used to help generate code for src/mesa/main/get.c.
2005-01-24Correctly set the name of the generating script.Ian Romanick
2005-01-24Move all the code for generating "size" related functions to its ownIan Romanick
source file.
2005-01-24Correct some of the dependencies and clean things up a bit.Ian Romanick