summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r128/r128_tris.c
AgeCommit message (Collapse)Author
2007-03-26fix r128 rendering, lockupsMiroslav Šustek
mis-count in offset led to mis-rendering and lockups; units are 4 bytes rather than 1. Noticed by Chris Salch. fixes bug 7994, possibly others.
2006-09-13make triangle smoothing a sw fallback (Martign van Oosterhout)Brian Paul
2006-07-04enable hw antialiasing (Martijn van Oosterhout)Brian Paul
2006-04-11More GLSL code:Michal Krol
- use macros to access and modify render inputs bit-field; - un-alias generic vertex attributes for ARB vertex calls; - use MAX_VERTEX_PROGRAM_ATTRIBS (NV code) or MAX_VERTEX_ATTRIBS (ARB code) in place of VERT_ATTRIB_MAX; - define VERT_ATTRIB_GENERIC0..15 for un-aliased vertex attributes for ARB_vertex_shader; - fix generic attribute index range check in arbprogparse.c; - interface GLSL varyings between vertex and fragment shader; - use 64-bit optimised bitset (bitset.h) for render inputs;
2005-10-26Fix the RGB order of the specular color emit, and turn GL_EXT_secondary_colorEric Anholt
back on. Tested using seccolor modified to use the blue channel instead of green, since green stays in the same place across RGB/BGR mistakes. Also hook in UpdateSpecular on COLOR_EXT change, which might have resulted in missing statechanges before.
2005-05-31Pull locking out of HW_LOCK/UNLOCK and into SpanRenderStart/Finish. Also doEric Anholt
some cleanups on the span macros. This does not deal with the brokenness of depth spans, but makes the code more readable.
2005-05-31Correct the descriptions of the glBlend{Equation,Func} fallbacks in r128, andEric Anholt
remove those descriptions and the corresponding bits on r200, where they're no longer used.
2005-05-30Remove unused CTX_ARG2.Eric Anholt
2004-10-17Fix t_vertex byte-ordering issues for PowerPC. This was tested with gearsIan Romanick
and tunnel (for fog).
2004-10-08Use the right FALLBACK macro for projtex so that projective textures actuallyEric Anholt
cause a fallback, and simplify the tmu handling a little.
2004-10-08Add fallback debugging (R128_DEBUG=fall) output, and set DO_DEBUG=1 by defaultEric Anholt
so that we can use the env var to get output. Add a no_rast driconf option to force software fallbacks.
2004-10-02Convert Rage 128 over to t_vertex.c. While it's slightly slower (10% in ipers)Eric Anholt
it's not that big of a deal in more normal apps, and axes a good bit of code. And I assume that t_vertex will only get faster. Removes ~43k from compiled binary. Tested with: quake3, ut, ipers, texcyl, chromium, tuxracer, neverball (kinda)
2004-07-04Bugzilla #755: Fix polygon offset by setting DEPTH_SCALE to depth_scale insteadEric Anholt
of 1.0.
2004-07-01Rename the various function types in t_context.h to include a tnl_ prefix.Keith Whitwell
2003-12-11Updates to tnl_dd_dmatmp.hKeith Whitwell
- Allocate vertices explicitly, rather than trying to talk about dma buffers. - Clean up the various Flush() operations. - Don't allow fallbacks any longer. Provide a support function to detect them ahead o ftime Updates to tnl_dd_vbtmp.h - Get rid of power-of-two vertex strides. Pack all vertices tightly. - Get texunit 2,3 emit working coorrectly. Other stuff: - Get rid of lingering Ubyte color support. - Fix a few compiler warnings.
2003-12-09Fix VERT_SET_RGBA, VERT_SET_SPEC macros to account for change to floatingKeith Whitwell
point colors throughout mesa.
2003-08-22patch to import Jon Smirl's work from BitkeeperBrian Paul