summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* move fileMichal Krol2005-01-286-0/+0
|
* Properly annotate variable-length output parameters. Make sure that theIan Romanick2005-01-283-89/+100
| | | | | client-side code doesn't try to calculate the size of the output parameters. The server will tell the client how big it is.
* Fix some get / set errors with COLOR_TABLE_*. SCALE and BIAS can beIan Romanick2005-01-282-25/+20
| | | | | parameters to GetColorTableParameter[if]v. FORMAT, WIDTH, and the SIZE enums cannot be parameters to ColorTableParameter[if]v.
* Slightly modify the meaning of the 'handcode' attribute in a 'glx' element.Ian Romanick2005-01-283-24/+41
| | | | | | | | | | | 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.
* Add an option to emit extra debug code in the generated protocol functions.Ian Romanick2005-01-281-4/+29
| | | | | | | | | | | | | 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.
* Fix wrong comment.Aapo Tahkola2005-01-281-6/+6
|
* Forgot one comment...Aapo Tahkola2005-01-281-0/+1
|
* Add basic sceleton for vertex programs + some other fixesAapo Tahkola2005-01-287-7/+340
|
* Mark a couple more function parameters as counters.Ian Romanick2005-01-272-6/+6
|
* Add numerous 'get'-type functions to most of the enums supported by theIan Romanick2005-01-274-66/+541
| | | | | | | | | | | | | | | 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.
* Add vector distance operator for vertex programs.Aapo Tahkola2005-01-271-0/+1
|
* The 'mode' setting of a function within an 'enum' element is now used.Ian Romanick2005-01-273-36/+131
| | | | | | | | | | | | 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.
* remove a bunch of temporary #defines, now that glext.h was updatedIan Romanick2005-01-261-11/+0
|
* (Stephane Marchesin, me) Add support for color (framebuffer) tiling to the ↵Roland Scheidegger2005-01-2615-59/+125
| | | | radeon and r200 driver
* new version check to allow to test for a range of ddx major versions, ↵Roland Scheidegger2005-01-263-6/+46
| | | | instead of just one major version
* remove a bunch of temporary #defines, now that glext.h was updatedBrian Paul2005-01-261-46/+1
|
* replace magic number with macro constant RADEON_ZBLOCK16Roland Scheidegger2005-01-262-1/+2
|
* just comments/clean-upBrian Paul2005-01-262-8/+14
|
* added mutex to-do commentBrian Paul2005-01-261-0/+4
|
* just fix a comment and update dateBrian Paul2005-01-261-2/+2
|
* RGB/LUMINANCE texelfetchers (float version) returned 255.0F for alpha ↵Daniel Borca2005-01-261-14/+14
| | | | channel, instead of 1.0F
* Add a glFunctionIterator class to iterate over the functions stored in aIan Romanick2005-01-253-53/+67
| | | | | | 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.
* Fixes for clamp modes.Aapo Tahkola2005-01-252-3/+66
|
* Use the _mesa_HashNextEntry() function to walk over all textures in theBrian Paul2005-01-251-18/+27
| | | | | | hash table. Moving toward removing the gl_texture_object's Next pointer (only used by glide and tdfx drivers).
* Stupid text editor...convert wayward tabs to spaces.Ian Romanick2005-01-251-26/+26
|
* Add a "count" attribute to "enums" elements to set the default countIan Romanick2005-01-253-464/+487
| | | | | | | | | | | | 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.
* Correctly set the name of the generating script.Ian Romanick2005-01-241-0/+2
|
* Move all the code for generating "size" related functions to its ownIan Romanick2005-01-243-104/+173
| | | | source file.
* Correct some of the dependencies and clean things up a bit.Ian Romanick2005-01-241-23/+30
|
* Remove glEnum::startElement, but refactor out some of the common code fromIan Romanick2005-01-242-14/+12
| | | | there and glXEnum::startElement to glEnum::process_attributes.
* Since only one of the places that used glXFunction::command_payload_lengthIan Romanick2005-01-242-43/+46
| | | | | | actually used both values, it was refactored into command_fixed_length and command_variable_length. glXFunction::offset_of_first_parameter was also added.
* Make sure that functions added to gl_API.xml that do not have any GLXIan Romanick2005-01-242-0/+28
| | | | | | | | section are marked as ignored. Also ignore any functions that don't have assigned dispatch offsets. Fold Adam Jackson's changes to indirect_size.c into the generator scripts so that they don't get lost. "DO NOT EDIT" really means "DO NOT EDIT". ;)
* border_color causes lockups with vertex buffers. Disabling for now.Aapo Tahkola2005-01-243-7/+7
|
* Remove lots of old code that dealed with "magic" texture formats.Vladimir Dergachev2005-01-241-209/+0
|
* reenable some assertionsBrian Paul2005-01-241-2/+2
|
* Converted the Savage texture management to use Ian's common texmem code.Felix Kuehling2005-01-244-575/+239
|
* Added _mesa_HashNextEntry() function to allow walking over all entriesBrian Paul2005-01-242-46/+127
| | | | | | in a hash table. Added _mesa_test_hash_functions() for unit testing. Updated comments, etc.
* reapply Keiths workaround for zbs emit that got dropped duringDave Airlie2005-01-231-2/+7
| | | | state change patches....
* Remove unused variables from r300_contextNicolai Haehnle2005-01-231-5/+0
|
* Fix more warnings and compilation issues.Nicolai Haehnle2005-01-234-213/+203
|
* Synchronize r300_reg.h.Nicolai Haehnle2005-01-231-37/+83
| | | | Fix unportable whitespace before preprocessor commands.
* add sync debugging to the radeon driverDave Airlie2005-01-234-0/+22
|
* HAVE_ALIAS was never defined anywhere, add some logic to turn it onAdam Jackson2005-01-231-0/+4
| | | | automagically.
* silence makedepend warnings about non-portable whitespaceAdam Jackson2005-01-233-13/+13
|
* Fixed initialization of draw destination to front buffer on singleFelix Kuehling2005-01-231-49/+19
| | | | | | | buffered visuals. Also don't change span draw/read buffers in savageDDDrawBuffer. Now glean's polygon offset test works (and PASSes with fixed point depth buffer) with single buffered visuals without winding up in an infinite loop.
* My last attempt to fix polygon offsets with the reversed viewport depthFelix Kuehling2005-01-233-6/+9
| | | | | | | | | range used by the savage driver by negating ctx->MRD broke polygon offsets with software fallbacks. This one adds a REVERSE_DEPTH parameter to t_dd_tritmp.h (defaults to 0) that allows reversing polygon offsets for hardware rendering but not for software fallbacks. For software fallbacks depth values are reversed after polygon offsets have been applied by the depth span functions.
* Determine ahead of time whether a display list will include verticesKeith Whitwell2005-01-227-33/+87
| | | | | | which have to be processed in the 'loopback' path. If so, send all vertices that way as the transition from playback->loopback has several problems.
* Properly configure routing - based on advice by Keith Whitwell.Vladimir Dergachev2005-01-224-12/+49
|
* Fixed polygon offset with reversed viewport depth range.Felix Kuehling2005-01-221-0/+3
|
* Properly input stencil info contributed by Wladimir.Vladimir Dergachev2005-01-215-62/+92
|