summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-02-04Enable client-side GLX support for texture compression extensions.Ian Romanick
2005-02-04Added an option texture_heaps that allows selecting which texture heapsFelix Kuehling
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.
2005-02-04Made subtile upload a template. This speeds up tiled texture uploads byFelix Kuehling
about a factor 1.3.
2005-02-03Use all texture heaps in a fair way when textures need to be kicked inFelix Kuehling
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.
2005-02-03Removing some trash and disabling fog fallback as it seem its causing more ↵Aapo Tahkola
harm than good. Tuxracer should now work at least with vbs. Fix for vb colorbuffer clear bug is underway...
2005-02-03Changing vb code to handle inputs correctly.Aapo Tahkola
2005-02-03Start beginning of pixel shader generator..Vladimir Dergachev
2005-02-03Forgot to increase the length.Vladimir Dergachev
2005-02-03Looks like we need at least one instruction for pixel shader.Vladimir Dergachev
2005-02-03Get vertex programs supplied by the user work properly with immediate mode - ↵Vladimir Dergachev
vertex buffer mode worked by accident. Fix alu_offset in SINGLE_TEXTURE_PIPELINE.
2005-02-03Since high bits can be used for flags, mask them out.Vladimir Dergachev
This stops arbvpwarpmesh from segfaulting and it actually works - with immediate mode rendering.
2005-02-03Remove redundant instructions from fixed pipelines, looks like they do not ↵Vladimir Dergachev
do anything, at least on my hardware.
2005-02-03Mark ZBIAS definitions.Vladimir Dergachev
2005-02-03This was too optimistic sorry - all that register does is something weird ↵Vladimir Dergachev
with polygon culling.
2005-02-03Get Polygon offset fill to work.Vladimir Dergachev
Make WARN_ONCE message more informative.
2005-02-03Added a bunch of extensions that were previously supported but weren'tIan Romanick
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.
2005-02-02Check for heap == NULL before driSetTextureSwapCounterLocation.Felix Kuehling
2005-02-02Don't try to kick textures from a NULL tex heap.Felix Kuehling
2005-02-02Fixed flushing of client-side vertex buffers.Felix Kuehling
2005-02-02Fixed some debug output that was unconditionally enabled.Felix Kuehling
2005-02-02clamp viewport against ctx->Const.MaxViewportWidth/Height instead of ↵Brian Paul
MAX_WIDTH/HEIGHT
2005-02-02Changed parts of r300_setup_routing to use WARN_ONCE.Aapo Tahkola
2005-02-02Small refactor. Add glXFunctionIterator, which derrives fromIan Romanick
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.
2005-02-01Add a missing break and a reminder.Aapo Tahkola
2005-02-01Implement appropriate src checks for attribs/params.Aapo Tahkola
2005-02-01Implemented bunch of ops.Aapo Tahkola
2005-02-01Vertex programs work now with some restrictions. I expect arbvptorus to workAapo Tahkola
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.
2005-02-01Make WARN_ONCE messages more informative.Vladimir Dergachev
2005-02-01Reduce noiseness of the driver.Vladimir Dergachev
2005-02-01Get alpha in textures to work properly.Vladimir Dergachev
2005-02-01Properly set ABLEND and CBLEND registers. The older code worked, but by ↵Vladimir Dergachev
accident.
2005-02-01Looks like we can define FIRE_VERTICES correctly.Vladimir Dergachev
2005-02-01It helps to print actual values instead of random ones.Vladimir Dergachev
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