Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Pull locking out of HW_LOCK/UNLOCK and into SpanRenderStart/Finish. Also do | Eric Anholt | 2005-05-31 | 2 | -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, and | Eric Anholt | 2005-05-31 | 3 | -12/+8 |
| | | | | | remove those descriptions and the corresponding bits on r200, where they're no longer used. | ||||
* | Remove unused CTX_ARG2 define. | Eric Anholt | 2005-05-31 | 3 | -3/+0 |
| | |||||
* | Bugzilla #2195: Convert the radeon driver to the t_vertex interface. This cuts | Eric Anholt | 2005-05-31 | 3 | -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) and | Eric Anholt | 2005-05-31 | 3 | -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 a | Eric Anholt | 2005-05-30 | 1 | -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 Anholt | 2005-05-30 | 1 | -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 are | Eric Anholt | 2005-05-30 | 4 | -6/+11 |
| | | | | pretty broken. | ||||
* | Pull hardware locking out into SpanRenderStart/Finish rather than | Eric Anholt | 2005-05-30 | 1 | -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=fall | Eric Anholt | 2005-05-30 | 1 | -1/+2 |
| | | | | doesn't segfault with no_rast. | ||||
* | Add the no_rast debug option, which I used in some testing. | Eric Anholt | 2005-05-30 | 2 | -1/+10 |
| | |||||
* | Remove unused CTX_ARG2. | Eric Anholt | 2005-05-30 | 1 | -1/+0 |
| | |||||
* | Put some fallback debugging output under DEBUG_FALLBACKS. | Eric Anholt | 2005-05-28 | 1 | -2/+4 |
| | |||||
* | Add a missing EnsureCmdBufSpace, matching r200. | Eric Anholt | 2005-05-28 | 1 | -0/+4 |
| | |||||
* | Add a freebsd-dri-amd64 config, and quiet makedepend slightly by making an | Eric Anholt | 2005-05-28 | 1 | -1/+1 |
| | | | | | EXPAT_INCLUDES config variable (set on FreeBSD) which is then used in Makefile.template's INCLUDES. | ||||
* | Some fixes | Jerome Glisse | 2005-05-28 | 1 | -1/+1 |
| | |||||
* | Up MAX_AOS_ARRAYS to 16. Do we need more? | Ben Skeggs | 2005-05-28 | 2 | -1/+9 |
| | |||||
* | Play with swizzling a bit. | Ben Skeggs | 2005-05-28 | 2 | -39/+36 |
| | |||||
* | Programmable per-vertex point sizes and proper result reg assigns. | Aapo Tahkola | 2005-05-28 | 5 | -55/+53 |
| | |||||
* | More optimal r300Clear. | Aapo Tahkola | 2005-05-27 | 1 | -5/+213 |
| | |||||
* | Bump driver date.mesa_20050526 | Keith Whitwell | 2005-05-26 | 1 | -1/+1 |
| | |||||
* | constant tracking | Ben Skeggs | 2005-05-26 | 3 | -58/+87 |
| | |||||
* | use shared-core rather than shared | Dave Airlie | 2005-05-26 | 1 | -1/+1 |
| | |||||
* | use shared-core instead of shared | Dave Airlie | 2005-05-26 | 1 | -1/+1 |
| | |||||
* | add special case for flat shaded + separate specular triangles | Keith Whitwell | 2005-05-25 | 3 | -18/+51 |
| | |||||
* | Disable polygon stipple - it seems to break if certain specific stipple | Keith Whitwell | 2005-05-25 | 2 | -55/+56 |
| | | | | patterns are used, including the one generated by conform. | ||||
* | Fix various issues with cliprects and MakeCurrent | Keith Whitwell | 2005-05-25 | 1 | -5/+9 |
| | |||||
* | - Remove one of the loops in emit_arith | Ben Skeggs | 2005-05-25 | 3 | -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 Romanick | 2005-05-24 | 4 | -3/+9 |
| | | | | This makes the driver build on x86-64 again. | ||||
* | moved to windows build dir | Karl Schultz | 2005-05-24 | 2 | -256/+0 |
| | |||||
* | Major code cleanup and begin using new render buffer interface. | Karl Schultz | 2005-05-24 | 5 | -4284/+1500 |
| | |||||
* | Initialize hw stencil renderbuffer. | Keith Whitwell | 2005-05-23 | 1 | -4/+2 |
| | |||||
* | Disable recent sse change pending more testing. | Keith Whitwell | 2005-05-23 | 1 | -1/+2 |
| | |||||
* | Implement enough of ARB_fragment_program for Keith's texenv program | Ben Skeggs | 2005-05-23 | 9 | -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 Whitwell | 2005-05-23 | 1 | -0/+9 |
| | |||||
* | Import Thomas Helstrom's SSE memcpy code from the via X.org driver. | Keith Whitwell | 2005-05-23 | 5 | -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 Glisse | 2005-05-22 | 1 | -6/+12 |
| | |||||
* | Adding r300 fragment program swizzle tab. Please some | Jerome Glisse | 2005-05-22 | 1 | -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. This | Ian Romanick | 2005-05-20 | 1 | -5/+7 |
| | | | | | eliminates various "3D driver claims to not support visual" messages in 16-bit color mode. | ||||
* | Remove debug printfs | Keith Whitwell | 2005-05-20 | 1 | -2/+0 |
| | |||||
* | Re-enable X11 optimized triangle funcs. | Keith Whitwell | 2005-05-20 | 1 | -1/+0 |
| | |||||
* | Remove some debug output | Jon Smirl | 2005-05-20 | 1 | -2/+0 |
| | | | | Add #if DEBUG_FRAG in s_nvfragprog.c | ||||
* | Fix EGL fbdev palette problem. demo3 can save ppm of screen | Jon Smirl | 2005-05-19 | 1 | -3/+37 |
| | |||||
* | remove the XFree86 ID line | Brian Paul | 2005-05-19 | 1 | -1/+0 |
| | |||||
* | Ditch unused code and features that arent in subject to get supported any ↵the_perfect_frag | Aapo Tahkola | 2005-05-19 | 7 | -416/+24 |
| | | | | near time. | ||||
* | In addition to dead-code removal and other clean-up, bump the required DDX | Ian Romanick | 2005-05-18 | 3 | -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 demo3 | Jon Smirl | 2005-05-18 | 1 | -5/+5 |
| | |||||
* | Stick texture LOD back on. | Aapo Tahkola | 2005-05-18 | 1 | -1/+1 |
| | |||||
* | Polygon mode fixes. | Aapo Tahkola | 2005-05-18 | 3 | -120/+81 |
| | |||||
* | Fix for writing the wrong sysfs variable when blanking | Jon Smirl | 2005-05-18 | 1 | -1/+3 |
| |