summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* added fbobject.c to sourcesBrian Paul2005-02-052-0/+4
|
* Some initial work on GL_EXT_framebuffer_object.Brian Paul2005-02-055-11/+847
|
* Added PCI id (0x4152).Jerome Glisse2005-02-051-0/+1
|
* Remove the Shared->TexObjectList pointer and Next field from gl_texture_object.Brian Paul2005-02-053-77/+30
| | | | | | Was only used by two drivers to walk over all texture objects. Can do that via the hash table instead. Cleaned up some comments for struct gl_texture_object.
* add a few commentsBrian Paul2005-02-051-0/+5
|
* Modified hw state for big endian computers.Jerome Glisse2005-02-051-1/+4
|
* remove dependency on Shared->TexObjectListBrian Paul2005-02-051-21/+27
|
* remove unneeded codeBrian Paul2005-02-051-9/+0
|
* removed need for Shared->TexObjectList, walk over texture hash table entries ↵Brian Paul2005-02-052-17/+54
| | | | instead
* Fixed a typo in an assertion. (Don't understand how this ever compiled.)Felix Kuehling2005-02-051-1/+1
| | | | Found by Andreas Stenglein.
* Warn of unknown texture formats.Vladimir Dergachev2005-02-052-17/+21
|
* Fix some mixed spaces / tabs issues in generated code. Commit generatedIan Romanick2005-02-055-27/+29
| | | | files that have been trivially changed by other recent commits.
* Enable client-side GLX support for texture compression extensions.Ian Romanick2005-02-043-6/+21
|
* Added an option texture_heaps that allows selecting which texture heapsFelix Kuehling2005-02-042-2/+35
| | | | | | | will be used. Implemented this option in the Savage driver. On my ProSavageDDR uploads to AGP memory are about 1.5 times as fast as uploads to card memory. On non-IGP hardware the difference may be even bigger. Now mplayer -gl is getting really usable.
* Made subtile upload a template. This speeds up tiled texture uploads byFelix Kuehling2005-02-041-6/+41
| | | | about a factor 1.3.
* Use all texture heaps in a fair way when textures need to be kicked inFelix Kuehling2005-02-032-24/+98
| | | | | | | | | | order to make room for new textures. In particular this fixes texture trashing on the first heap when the second heap is occupied by currently unused textures (observed with Torcs and the Savage driver). Heaps are weighted by their sizes by default but drivers can override these and apply their own weights based on relative texture upload speeds to the respective heaps.
* Removing some trash and disabling fog fallback as it seem its causing more ↵Aapo Tahkola2005-02-031-7/+1
| | | | harm than good. Tuxracer should now work at least with vbs. Fix for vb colorbuffer clear bug is underway...
* Changing vb code to handle inputs correctly.Aapo Tahkola2005-02-032-7/+38
|
* Start beginning of pixel shader generator..Vladimir Dergachev2005-02-032-1/+111
|
* Forgot to increase the length.Vladimir Dergachev2005-02-031-1/+1
|
* Looks like we need at least one instruction for pixel shader.Vladimir Dergachev2005-02-031-0/+5
|
* Get vertex programs supplied by the user work properly with immediate mode - ↵Vladimir Dergachev2005-02-037-48/+69
| | | | | | vertex buffer mode worked by accident. Fix alu_offset in SINGLE_TEXTURE_PIPELINE.
* Since high bits can be used for flags, mask them out.Vladimir Dergachev2005-02-031-1/+2
| | | | This stops arbvpwarpmesh from segfaulting and it actually works - with immediate mode rendering.
* Remove redundant instructions from fixed pipelines, looks like they do not ↵Vladimir Dergachev2005-02-032-35/+13
| | | | do anything, at least on my hardware.
* Mark ZBIAS definitions.Vladimir Dergachev2005-02-031-2/+2
|
* This was too optimistic sorry - all that register does is something weird ↵Vladimir Dergachev2005-02-031-8/+1
| | | | with polygon culling.
* Get Polygon offset fill to work.Vladimir Dergachev2005-02-035-23/+68
| | | | Make WARN_ONCE message more informative.
* Added a bunch of extensions that were previously supported but weren'tIan Romanick2005-02-033-9/+229
| | | | | | in the gl_API.xml database. Add "official" support for SGI_color_matrix and SGI_texture_color_table. These were previously supported only by way of ARB_imaging.
* Check for heap == NULL before driSetTextureSwapCounterLocation.Felix Kuehling2005-02-021-2/+5
|
* Don't try to kick textures from a NULL tex heap.Felix Kuehling2005-02-021-0/+4
|
* Fixed flushing of client-side vertex buffers.Felix Kuehling2005-02-021-52/+53
|
* Fixed some debug output that was unconditionally enabled.Felix Kuehling2005-02-021-5/+6
|
* clamp viewport against ctx->Const.MaxViewportWidth/Height instead of ↵Brian Paul2005-02-021-4/+4
| | | | MAX_WIDTH/HEIGHT
* Changed parts of r300_setup_routing to use WARN_ONCE.Aapo Tahkola2005-02-022-11/+15
|
* Small refactor. Add glXFunctionIterator, which derrives fromIan Romanick2005-02-025-56/+84
| | | | | | | | | | | | | glFunctionIterator and is used by GlxProto. The difference between the two iterator classes is that glXFunctionIterator skips functions that the GLX protocol code does not care about. Replace all the remaining occurances of glParameter::p_count_parameters and glFunction::count_parameters with the count_parameter_list. Add GlxProto::size_call to generate the C code to calculate 'compsize'. These trivially modify the generated code.
* Add a missing break and a reminder.Aapo Tahkola2005-02-011-1/+2
|
* Implement appropriate src checks for attribs/params.Aapo Tahkola2005-02-011-62/+133
|
* Implemented bunch of ops.Aapo Tahkola2005-02-011-8/+132
|
* Vertex programs work now with some restrictions. I expect arbvptorus to workAapo Tahkola2005-02-014-139/+320
| | | | | correctly when normals are delivered. Please note that some programs only start in vb mode as there is something wrong in immediate mode vb code.
* Make WARN_ONCE messages more informative.jump_and_clickVladimir Dergachev2005-02-012-2/+3
|
* Reduce noiseness of the driver.Vladimir Dergachev2005-02-015-4/+8
|
* Get alpha in textures to work properly.Vladimir Dergachev2005-02-014-3/+16
|
* Properly set ABLEND and CBLEND registers. The older code worked, but by ↵Vladimir Dergachev2005-02-011-3/+5
| | | | accident.
* Looks like we can define FIRE_VERTICES correctly.Vladimir Dergachev2005-02-011-4/+4
|
* It helps to print actual values instead of random ones.Vladimir Dergachev2005-02-011-1/+2
|
* Small refactor. Move several utility functions from glX_XML.py toIan Romanick2005-02-014-64/+58
| | | | | | | | | 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.
* Add GlxProto::createEnumFunction and add a 'context' parameter to theIan Romanick2005-02-013-2/+303
| | | | | | | | | | | | | | | | | | | 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.
* Bug #2428: #ifdef GLX_DIRECT_RENDERING in DRI drivers is pointless.Adam Jackson2005-01-3165-223/+3
|
* makefile update (readtex, showbuffer)Daniel Borca2005-01-312-8/+10
|
* Add magic sequence to prevent ClearBuffer from locking up.Vladimir Dergachev2005-01-315-17/+61
| | | | | Change Polygon.OffsetFill from fallback to warn once. Quake demo now works, modulo texture rendering issues due to absent pixel shader pipeline.