summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
Commit message (Collapse)AuthorAgeFilesLines
* Rename via_fastrender_* to avoid confusion with similar functions inKeith Whitwell2005-01-131-5/+5
| | | | via_render.c.
* Simplify viaChooseVertexState slightly.Keith Whitwell2005-01-131-5/+1
|
* Remove misleading comment.Keith Whitwell2005-01-131-2/+0
|
* TypoKeith Whitwell2005-01-131-1/+1
|
* Emit constant colors for texunit 1 blending.Keith Whitwell2005-01-133-41/+56
| | | | Change comments and some code to match naming used in the docs.
* cut out dead texture state codeKeith Whitwell2005-01-132-296/+0
|
* revert some makecurrent codeAlan Hourihane2005-01-131-2/+1
|
* Fix glean scissor testAlan Hourihane2005-01-133-4/+11
|
* Prevent "disabling 3D acceleration" message from printing - we do not define ↵Vladimir Dergachev2005-01-131-2/+1
| | | | raster functions anyway.
* Incorporate TX_FORMAT information contributed by Wladimir van der Laan.Vladimir Dergachev2005-01-134-67/+164
| | | | | | Attempt to use it in r300_state.c We are still missing something and the formats do not quite work. Perhaps something in texture management code ?
* As we fallback for polygon stipple on the CLE266 for now, ensure weAlan Hourihane2005-01-131-5/+7
| | | | don't turn on the polygon stipple hardware bit.
* Use the faster span read/write template for 16bppAlan Hourihane2005-01-121-61/+22
|
* Don't special-case 16bpp for colormask register - not needed.Keith Whitwell2005-01-121-12/+4
|
* Simplify usage of drmHash functions and fix bug inKeith Whitwell2005-01-121-35/+10
| | | | | __driGarbageCollectDrawables which would get confused while walking the hash values.
* Remove bogus write to freed memory (valgrind).Keith Whitwell2005-01-121-1/+0
|
* Check for deletion of currently bound contextAlan Hourihane2005-01-122-19/+18
| | | | Other minor cleanups
* Fixes lockups initializing AGP DMA.Alan Hourihane2005-01-121-45/+54
|
* Expand out the N(x) macro so that tags can find functions likeKeith Whitwell2005-01-123-85/+79
| | | | drmHashFirst(), etc.
* build fixes and enable agp dmaAlan Hourihane2005-01-122-31/+2
|
* Add flag to clear texture caches after texture upload.Keith Whitwell2005-01-123-34/+18
|
* Don't emit HC_SubA_HSPXYOS on CLE266.Keith Whitwell2005-01-121-3/+11
|
* Allow two GL primitives to be combined to one HW primitiveKeith Whitwell2005-01-121-89/+91
| | | | if possible.
* Fix multitexturing.Alan Hourihane2005-01-122-15/+21
| | | | The multiarb test works now when disabling texunit0/1.
* some "safer" type-punning (gcc optimizes float moves with integer moves, ↵Daniel Borca2005-01-122-39/+38
| | | | anyway).
* Mipmapping and other texture filters now work.Aapo Tahkola2005-01-115-38/+69
| | | | | | | | | | Beaware that R300_TX_MIN_FILTER_MASK might be incorrect because i havent been able to confirm that all filters operate correctly. Because of this its also pretty pointless trying to get other features that use filter field to work. Lod bias should also work but have been unable to test it because lodbias test doesnt work.
* Put quotes around the CC and CXX variables passed to mklib. This makeIan Romanick2005-01-111-1/+1
| | | | them work with multi-work compiler names (e.g., "ccache gcc").
* fix a typoAlan Hourihane2005-01-111-1/+1
|
* Disable bogus pbuffer code (though this could be revived with a littleKeith Whitwell2005-01-112-15/+13
| | | | | attention). Correctly advertise FBConfigs with GL_BGRA rather than GL_BGR.
* Fix the calculation of the alpha reference value which negates theAlan Hourihane2005-01-111-1/+5
| | | | need for the big nasty fallback - so I've commented out that code.
* Temporarily disable pageflipping assert.Keith Whitwell2005-01-111-2/+2
|
* uncommentAlan Hourihane2005-01-111-2/+0
|
* Fix ColorMaskAlan Hourihane2005-01-111-2/+14
|
* Add a big nasty fallback for AlphaTest -- seems to always be wrongKeith Whitwell2005-01-114-4/+26
| | | | | on CLE266 because Z values are written even for fragments which fail the test.
* fallback on polygon.stippleflag (thanks Keith)Alan Hourihane2005-01-111-1/+1
|
* Fix usage of texture units, when TEX1 is enabled, but not TEX0.Alan Hourihane2005-01-111-3/+4
|
* Get NeHe lesson08 to work. Note: it appears the filtering does not work ↵Vladimir Dergachev2005-01-111-1/+4
| | | | properly. Need to find place where it is broken and put an fprintf() complaining about it.
* Switch back to using immediate mode code - use of AGP space is interfering ↵Vladimir Dergachev2005-01-112-3/+9
| | | | | | with texture management. Ideally, r300_render is ready to be rewritten to use standard Mesa include files, but I don't think I'll get around to it.
* Move the few definitions from r300_lib.h still in use to r300_emit.h.Vladimir Dergachev2005-01-114-59/+89
| | | | | | Rework *vb* function to not use AOS_ARRAY structure, but rather work directly with r300->state.aos. Remove references to r300_lib.h and r300_lib.c Remove r300_lib.[c,h].
* Switch r300_state.c to use r300_fixed_pipelines.h instead of r300_lib.h.Vladimir Dergachev2005-01-111-21/+5
| | | | This fixes potentially buggy memcpy()'s between potentially different structures.
* Copy sample pixel and vertex shaders to r300_fixed_pipelines.hVladimir Dergachev2005-01-111-0/+273
|
* Fixes to cope with the lack of AGP textures. This is all that's neededFelix Kuehling2005-01-103-14/+21
| | | | to support PCI Savages on the Mesa side. Bumped driver date.
* Fallback on PolygonStipple for CLE266 hardware.Alan Hourihane2005-01-103-7/+55
| | | | Only upload stencil configuration when a stencil buffer exists.
* Bring vertex buffer code up to date..Vladimir Dergachev2005-01-102-52/+65
|
* For some reason we need r300Flush when using textures. Perhaps the problem isVladimir Dergachev2005-01-101-2/+10
| | | | with BITBLT_MULTI call ?
* Clean up the code and make it unnecessary to issue extra calls to Setup*ShadersVladimir Dergachev2005-01-103-26/+11
| | | | | in the r300_run_immediate_render function. Bumps up glxgears fps count by about 100 points.
* Port EmitPixelShader from cmdbuf.c to SetupPixelShader in state.c.Vladimir Dergachev2005-01-094-64/+92
|
* Implement a more elaborate hashing scheme for texture formats. Still not ↵Vladimir Dergachev2005-01-094-85/+200
| | | | | | | perfect. Transform EmitVertexShader in cmdbuf.c to SetupVertexShader in state.c. The latter is only temporary and is to be rewritten to auto-generate shaders based on current GL context.
* * Flush and wait in per-primitive fallback functions. Fixes flickeringFelix Kuehling2005-01-081-97/+206
| | | | | | | stars in glplanet. * Refactored vertex format choosing code. Improved the Savage4 version to choose a format suitable for DMA (size = 32bytes) whenever possible.
* Added state debugging option (SAVAGE_DEBUG=state).Felix Kuehling2005-01-083-1/+5
| | | | | Fixed: Use savageEmitChangedRegs instead of savageEmitContiguousRegs for emitting Savage4.
* Parallel build fix. Multiword variables on the target side of a : getAdam Jackson2005-01-081-2/+4
| | | | | | expanded into individual rules for each word, so parallel builds will start multiple instances to create the server/ symlinks and fail when they already exist.