summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
Commit message (Collapse)AuthorAgeFilesLines
* Pull locking out of HW_LOCK/UNLOCK and into SpanRenderStart/Finish. Also doEric Anholt2005-05-312-29/+22
| | | | | some cleanups on the span macros. This does not deal with the brokenness of depth spans, but makes the code more readable.
* Correct the descriptions of the glBlend{Equation,Func} fallbacks in r128, andEric Anholt2005-05-313-12/+8
| | | | | remove those descriptions and the corresponding bits on r200, where they're no longer used.
* Remove unused CTX_ARG2 define.Eric Anholt2005-05-313-3/+0
|
* Bugzilla #2195: Convert the radeon driver to the t_vertex interface. This cutsEric Anholt2005-05-313-410/+220
| | | | | | | | | about 200 lines from the code and 25k from the binary, while matching other drivers more closely. In the worst case (tcl_mode=0) it appears to have a performance cost of 4.4% +/- 0.3% on quake3 (800x600 demofours, 1ghz p3, rv200). Tested on ut2004, ut, q3, projtex. Submitted by: Andreas Stenglein <[email protected]>
* Move fallback debugging under MACH64_DEBUG=fall (matching other drivers) andEric Anholt2005-05-313-10/+39
| | | | | | add pretty descriptions of the bits. GC one of the bits that was unused. Also, now only the first thing triggering a fallback and the last thing requiring one do the debug output. This also matches other drivers.
* Pull locking out from HW_LOCK/UNLOCK into SpanRenderStart/Finish. Provides aEric Anholt2005-05-301-6/+18
| | | | | factor of 5+ improvement in no_rast glxgears and 2.3 in no_rast quake3 (n=1, 320x240, 16bpp, low qualities, 1ghz p3)
* Fix software fallbacks by being safe with macro arguments in READ/WRITE_DEPTH.Eric Anholt2005-05-301-63/+18
| | | | | Convert to spantmp2.h while I'm here. Tested with 16 and 32bpp no_rast glxgears.
* Add the no_rast debug option to mach64. It shows that software fallbacks areEric Anholt2005-05-304-6/+11
| | | | pretty broken.
* Pull hardware locking out into SpanRenderStart/Finish rather thanEric Anholt2005-05-301-10/+20
| | | | | | HW_LOCK/UNLOCK. Provides a 61% performance improvement in no_rast=true quake3 (n=2, 320x240, 16bpp, p4 1ghz), and a factor of 3 improvement in no_rast glxgears.
* Add the description of the no_rast option fallback so that MGA_DEBUG=fallEric Anholt2005-05-301-1/+2
| | | | doesn't segfault with no_rast.
* Add the no_rast debug option, which I used in some testing.Eric Anholt2005-05-302-1/+10
|
* Remove unused CTX_ARG2.Eric Anholt2005-05-301-1/+0
|
* Put some fallback debugging output under DEBUG_FALLBACKS.Eric Anholt2005-05-281-2/+4
|
* Add a missing EnsureCmdBufSpace, matching r200.Eric Anholt2005-05-281-0/+4
|
* Add a freebsd-dri-amd64 config, and quiet makedepend slightly by making anEric Anholt2005-05-281-1/+1
| | | | | EXPAT_INCLUDES config variable (set on FreeBSD) which is then used in Makefile.template's INCLUDES.
* Some fixesJerome Glisse2005-05-281-1/+1
|
* Up MAX_AOS_ARRAYS to 16. Do we need more?Ben Skeggs2005-05-282-1/+9
|
* Play with swizzling a bit.Ben Skeggs2005-05-282-39/+36
|
* Programmable per-vertex point sizes and proper result reg assigns.Aapo Tahkola2005-05-285-55/+53
|
* More optimal r300Clear.Aapo Tahkola2005-05-271-5/+213
|
* Bump driver date.mesa_20050526Keith Whitwell2005-05-261-1/+1
|
* constant trackingBen Skeggs2005-05-263-58/+87
|
* use shared-core rather than sharedDave Airlie2005-05-261-1/+1
|
* use shared-core instead of sharedDave Airlie2005-05-261-1/+1
|
* add special case for flat shaded + separate specular trianglesKeith Whitwell2005-05-253-18/+51
|
* Disable polygon stipple - it seems to break if certain specific stippleKeith Whitwell2005-05-252-55/+56
| | | | patterns are used, including the one generated by conform.
* Fix various issues with cliprects and MakeCurrentKeith Whitwell2005-05-251-5/+9
|
* - Remove one of the loops in emit_arithBen Skeggs2005-05-253-55/+133
| | | | | | | | | | - Handle REPL_ALPHA in emit_arith (possibly incorrect for some things) - Start on getting demos/arbfplight.c to look right. Won't be animated yet, need to re-work const emit so we can update consts without re-translating the entire program. Assertion in r300_state.c::setup_rs_unit needs to be disabled for it to work.
* Only use x86 / SSE assembly when USE_X86_ASM / USE_SSE_ASM are defined.Ian Romanick2005-05-244-3/+9
| | | | This makes the driver build on x86-64 again.
* moved to windows build dirKarl Schultz2005-05-242-256/+0
|
* Major code cleanup and begin using new render buffer interface.Karl Schultz2005-05-245-4284/+1500
|
* Initialize hw stencil renderbuffer.Keith Whitwell2005-05-231-4/+2
|
* Disable recent sse change pending more testing.Keith Whitwell2005-05-231-1/+2
|
* Implement enough of ARB_fragment_program for Keith's texenv programBen Skeggs2005-05-239-53/+1312
| | | | | | | | | | | | generation in Mesa. Requires most recent Mesa cvs to work correctly. Swizzle code is possibly slow/buggy and will probably be replaced. Old behaviour can be controlled by a #define in r300_context.h, if no-one minds I'll remove the old code later on. Also, disabled cube map extension. AFAIK We don't support it yet, and it causes issues with UT2004.
* Use SSE for vertex emit -- another good speedup.Keith Whitwell2005-05-231-0/+9
|
* Import Thomas Helstrom's SSE memcpy code from the via X.org driver.Keith Whitwell2005-05-235-1/+148
| | | | | | Add a TextureMemCpy callback, called from texstore.c when copying texture data via the memcpy_texture() path. Enable this code in the via driver - 100% speedup in texdown.c results.
* Small change to handle native case (7 natives case)Jerome Glisse2005-05-221-6/+12
|
* Adding r300 fragment program swizzle tab. Please someJerome Glisse2005-05-221-0/+1337
| | | | | | | one reread macro at begining see if i made any error. A full reread would also be usefull there may be some errors for some swizzle despite the great care i took to done them :)
* Add support for modes with a depth-buffer but no stencil-buffer. ThisIan Romanick2005-05-201-5/+7
| | | | | eliminates various "3D driver claims to not support visual" messages in 16-bit color mode.
* Remove debug printfsKeith Whitwell2005-05-201-2/+0
|
* Re-enable X11 optimized triangle funcs.Keith Whitwell2005-05-201-1/+0
|
* Remove some debug outputJon Smirl2005-05-201-2/+0
| | | | Add #if DEBUG_FRAG in s_nvfragprog.c
* Fix EGL fbdev palette problem. demo3 can save ppm of screenJon Smirl2005-05-191-3/+37
|
* remove the XFree86 ID lineBrian Paul2005-05-191-1/+0
|
* Ditch unused code and features that arent in subject to get supported any ↵the_perfect_fragAapo Tahkola2005-05-197-416/+24
| | | | near time.
* In addition to dead-code removal and other clean-up, bump the required DDXIan Romanick2005-05-183-87/+83
| | | | | | version from 1.0.0 to 1.1.1. 1.1.1 is over a year and a half old at this point, so it should be pretty widespread. This allows the linecomp_sane field to be eliminated from mga_screen_private_s.
* Fix inverted y for egl fbdev, add egl demo3Jon Smirl2005-05-181-5/+5
|
* Stick texture LOD back on.Aapo Tahkola2005-05-181-1/+1
|
* Polygon mode fixes.Aapo Tahkola2005-05-183-120/+81
|
* Fix for writing the wrong sysfs variable when blankingJon Smirl2005-05-181-1/+3
|