aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* don't call XTranslateCoordinates() if rendering to pixmapBrian Paul2005-05-041-1/+1
|
* Add a facility to route all rasterization through a fragment programKeith Whitwell2005-05-0414-185/+213
| | | | | | | | | | | which is automatically generated to match the current texture environment state. Introduces a new value ctx->FragmentProgram._Active which is true when either _Enabled is true or there is such a fragment program ready to run. To test out on a driver running the software rasterizer, set MESA_TEX_PROG=t in the environment. It goes without saying that performance is lower for the software rasterizer in this mode.
* Sort instructions for clarity.Keith Whitwell2005-05-041-33/+33
|
* Include negate information in disassembly output.Keith Whitwell2005-05-041-6/+12
|
* Mark unused registers as undefined so dissassemblers can recognizedKeith Whitwell2005-05-041-0/+10
| | | | them easily.
* Improve the quality of the disassembly output for fragment programs.Keith Whitwell2005-05-041-129/+125
|
* Committing in .Jouk Jansen2005-05-041-2/+3
| | | | | | | | OpenVMS compile update Modified Files: Mesa/src/mesa/shader/slang/descrip.mms ----------------------------------------------------------------------
* DRI fbdev driver getting better. Now I can see something on the screenJon Smirl2005-05-041-120/+111
| | | | but it isn't the right something yet.
* sync with latest EGL_MESA_screen_surface spec (EGLScreenMESA handles)Brian Paul2005-05-0413-119/+285
|
* Import all texture coordinate arrays. Import them only once.Keith Whitwell2005-05-031-5/+4
|
* Add support to external tnl switcher and disable hw tnl by default.Aapo Tahkola2005-05-014-6/+13
|
* Bumped the Savage driver date (a bit late) to mark S3TC support.Felix Kuehling2005-05-011-1/+1
|
* Fixed and cleaned up programming of watermark registers. There may beFelix Kuehling2005-05-012-53/+75
| | | | | | a marginal speedup, but I'm not sure this has the same effect on all hardware. Tested on Savage IX and ProSavageDDR. For experimenting with different values see the macros at the start of savagestate.c.
* Improve the DRI fb driver, now it compiles.Jon Smirl2005-05-012-63/+245
| | | | | Added code to support NEW_INTERFACE. It still doesn't work. Made it build from make linux-solo.
* apply previous GL_COMPRESSED_TEXTURE_FORMATS_ARB fix to generator file, and ↵Brian Paul2005-04-302-3/+7
| | | | regenerate get.c
* r300 side support for fixed function pipeline. This isnt functional with ↵Aapo Tahkola2005-04-308-95/+117
| | | | current Mesa.
* Fixed bogus ENUM_TO_BOOLEAN inFelix Kuehling2005-04-301-1/+1
| | | | | | _mesa_GetIntegerv(GL_COMPRESSED_TEXTURE_FORMATS_ARB). Must be ENUM_TO_INT. mesa/progs/tests/texenv now lists supported compressed texture formats correctly.
* Added S3TC support to the Savage driver with some help from Mark Cass'sFelix Kuehling2005-04-302-31/+200
| | | | | | | S3TC support for an older driver version. On Savage3D/IX/MX GL_EXT_texture_compression_s3tc can't be enabled because DXT3 and DXT5 are not supported. However GL_S3_s3tc is enabled on all Savage chips. Tested on a Savage IX and a ProSavageDDR
* Fix include path to make build workJon Smirl2005-04-291-1/+1
|
* Format for 80 columns. Add alternate matrix mul based on MAD rather than DP4.Keith Whitwell2005-04-291-115/+217
|
* Add DISASSEM define, similar to other program generator files.Keith Whitwell2005-04-291-6/+21
|
* Put back not-so-redundant #ifdef.Keith Whitwell2005-04-291-2/+2
|
* Remove redundant #ifdef, fix compiler warningKeith Whitwell2005-04-291-4/+1
|
* Maintain a fragment program for current texturing state.Keith Whitwell2005-04-291-0/+772
|
* fix _tnl_copy_to_current() so that current edge flag and rasterpos aren't ↵Brian Paul2005-04-281-1/+9
| | | | trashed by color index updates
* Stop gcc-4.0 complaining about "type qualifiers ignored on functionKeith Whitwell2005-04-281-1/+1
| | | | return type".
* Stop gcc-4.0 complaining about "type qualifiers ignored on functionKeith Whitwell2005-04-281-1/+1
| | | | return type".
* move set_component_sizes() to fix bug 3135Brian Paul2005-04-271-1/+3
|
* tweak previous fog/fragment program fixBrian Paul2005-04-261-3/+5
|
* added interpolate_fog()Brian Paul2005-04-261-0/+26
|
* enable fog render input if fragment program fog option setBrian Paul2005-04-261-1/+1
|
* comments and minor clean-upBrian Paul2005-04-261-17/+29
|
* Fix as suggested by Ben Skeggs.Aapo Tahkola2005-04-251-2/+2
|
* Ensure all VB->AttribPtr[] are populated. Reported by Aapo TahkolaKeith Whitwell2005-04-251-8/+18
|
* Minor changes to make linux-solo build againJon Smirl2005-04-251-0/+2
|
* Software fallback for glColorMask. Can be avoided on Savage4 when allFelix Kuehling2005-04-242-41/+22
| | | | | | channels are masked (disable draw update). Bumped driver date to reflect recent correctness fixes. The driver now passes all glean tests except exactRGBA on both Savage4 and Savage3D-based cards.
* Modifying to build against current Mesa. Disabled r200*.c files since they ↵Aapo Tahkola2005-04-2412-121/+159
| | | | didnt want to build anymore.
* Fixed a segfault introduced by Keith's pipeline changes.Felix Kuehling2005-04-231-1/+2
|
* Texturing fixes for Savage3D/MX/IX:Felix Kuehling2005-04-233-24/+240
| | | | | | | | | | | | | | | | | - force emitting texAddr when the texture image changed (flush caches) - set transparent texture color key to something improbable (couldn't find a way to disable it completely) - fixed texture environment modes GL_DECAL and GL_REPLACE - made texture environment mode GL_BLEND a software fallback - added two custom texture formats for promoting from GL_ALPHA to ARGB8888 and 4444. Since the hardware can't be made to ignore the RGB color components, set them to 1 instead of 0. This gives the correct results - disabled GL_EXT_texture_env_add on Savage3D/MX/IX - map both GL_CLAMP and GL_CLAMP_TO_EDGE to hardware mode "wrap". It doesn't match either mode exactly by the spec, so we should either fall back on both or none. I chose the latter. - fall back to software when s and t wrapping modes differ (hardware has only one bit for both)
* Fix the worst problems with dangling edgeflag references inKeith Whitwell2005-04-233-21/+30
| | | | | | display lists. These mainly arise from edgeflag being the only attribute no longer stored internally as a float and requiring various special case paths to accomodate it.
* Updates for pipeline_stage struct changes.Keith Whitwell2005-04-226-206/+33
|
* First pass at updating these drivers with pipeline_stage struct changes.Keith Whitwell2005-04-2211-447/+70
|
* Added a French translation of option descriptions by Stephane Marchesin.Felix Kuehling2005-04-223-5/+287
|
* initial EGL codeBrian Paul2005-04-2224-0/+3429
|
* Move the call to _tnl_UpdateFixedFunctionProgram to makeKeith Whitwell2005-04-222-1/+4
| | | | it easier for hardware drivers to test this out.
* Simplify the pipeline_stage structureKeith Whitwell2005-04-2224-840/+427
| | | | | | | | | | - remove input/output fields, input tracking removed. - remove state fields, the validate function now called on every statechange. - add an explicit 'create' function. Add in code to build vertex program to implement current t&l state. Still disabled, but turn on with a #define in t_vp_build.h.
* Up the value of MAX_NV_VERTEX_PROGRAM_PARAMS to a power of two.Keith Whitwell2005-04-221-2/+2
|
* Add more error checking.Michal Krol2005-04-222-113/+286
|
* Cosmetic changes.Michal Krol2005-04-221-5/+11
|
* Move some utility functions to slang_utility.c.Michal Krol2005-04-224-42/+123
|