summaryrefslogtreecommitdiff
path: root/src/mesa/tnl
AgeCommit message (Collapse)Author
2001-06-15Added fi_type union typedef to glheader.h.Brian Paul
Replace various float/int casts with the fi_type union cast. Fixes -fstrict-aliasing problems.
2001-06-13disabled an assertion that doesn't seem to be neededBrian Paul
2001-06-04Adaptor code that lets tnl convert compiled (display list) cassettes backKeith Whitwell
to glVertex() type calls. Allows driver-supplied tnl modules to avoid fallback on glCallList inside begin/end pairs. Still a little buggy...
2001-06-01added minor commentsBrian Paul
2001-05-31swapped in/out arguments to interp_func. Improved commentsBrian Paul
2001-05-30rerun vertex stage on _MESA_NEW_NEED_EYE_COORDSKeith Whitwell
2001-05-21Initial commit of cliptest work. More to come shortly.Gareth Hughes
- Add debug, benchmark code. - Change linux/x86 FAST_MATH code to GCC/x86, and clear FP exceptions before exiting the fast math block. - Remove divide-by-zero test in x86 cliptest, and set clipped vertices to [0,0,0,1] instead of leaving them uninitialized.
2001-05-17Comment out __FUNCTION__ usage.Keith Whitwell
2001-05-16fix for Jouk's glplanet bugKeith Whitwell
2001-05-15increase FOG_MAX to 10.0 to fix CI conformace failureBrian Paul
2001-05-14typoKeith Whitwell
2001-05-14Fix for glean texgen test.Keith Whitwell
2001-05-11Clean up _tnl_Begin/begin/hard_begin.Keith Whitwell
Fix some problems with draw_arrays, draw_elements.
2001-05-11Clean up translation of array elements, copying of elts in pure-eltKeith Whitwell
cassettes. Fixes problem with isosurf/compiled-array-elt/strips.
2001-05-10Replace PipelineStart, PipelineFinish with RunPipeline. Clean upKeith Whitwell
_tnl_run_pipeline() a little.
2001-05-09add missing translate functionsKeith Whitwell
2001-05-09fix possible segfault on destroy contextKeith Whitwell
2001-05-09Use correct PV when clipping.Keith Whitwell
2001-05-09fix eval/colormaterial interactionKeith Whitwell
2001-05-03fix for moebius infinite loopKeith Whitwell
2001-05-03added assertion to catch infinite loop in _tnl_fixup_compiled_cassette() - ↵Brian Paul
might help Keith
2001-05-03minor clean-ups and warning fixesBrian Paul
2001-05-01removed debugKeith Whitwell
2001-04-30Lots more eval fixesKeith Whitwell
2001-04-30Restore optimization for cva glArrayElement operation.Keith Whitwell
2001-04-28Support for floating point color representation in tnl module.Keith Whitwell
2001-04-26first pass at eval fixesKeith Whitwell
2001-04-26no-copy drawarrays for remaining non-fan primitivesKeith Whitwell
2001-04-19Remove values from VB->importable_data as those arrays are removedKeith Whitwell
from the VB.
2001-04-19Fix striding of color material inputs. (Fixes glean colorLitPerf)Keith Whitwell
2001-04-17fixed mis-ordered args to _math_trans_4f() in _tnl_fill_immediate_drawarrays()Brian Paul
2001-04-09Perform fixup on material valuesKeith Whitwell
2001-03-30Remove all traces of CULL_MASK_ACTIVE.Gareth Hughes
2001-03-29Remove ENABLE_* flags, ctx->_Enabled.Keith Whitwell
Replace with ctx->Texture._TexMatEnabled, ctx->Texture._TexGenEnabled.
2001-03-29Removed DD_Z_NEVER.Brian Paul
Replaced SEPERATE with SEPARATE. Renumbered _NEW_ flags. Removed _NEW_COLORTABLE.
2001-03-19Split driver struct into swrast/tnl/core components.Keith Whitwell
2001-03-12Consistent copyright info (version number, date) across all files.Gareth Hughes
2001-03-11Clean up install, restore for exec vtxfmts.Gareth Hughes
2001-03-11Support for swappable tnl modules.Gareth Hughes
Core Mesa provides a neutral tnl module that verifies the currently module before installing the tnl function pointers in a lazy fashion. It also records which tnl functions have been swapped out, and only restores these when tnl modules themselves are swapped. Fallback strategies: Drivers set a bitmask of dangerous stage changes. When such a state change occurs, the driver should restore the neutral tnl module via _mesa_restore_exec_vtxfmt(). The neutral tnl module will call _mesa_update_state(), followed by ctx->Driver.ValidateTnlModule() if the validation bitmask matches the new state bitmask. The driver should call _tnl_wakeup_exec() if it can no longer handle the current state, which will revert to the default tnl module. In this case, previous vertices should be replayed as required (depending on the current primitive) after the new tnl module is installed. If the driver uses chooser functions for any part of the tnl module, these should generally be reinstalled as part of the fallback to the neutral tnl module. For example, if the lighting state changes, a driver might fall back to the neutral tnl module, verify that the current lighting state can be handled, and use the chooser function to pick the most efficient implementation of the current lighting state. It is up to the drivers to detect and handle fallback cases caused by tnl function calls themselves (such as glTexCoord4f* if the current tnl module can't handle projected textures, for example).
2001-03-08More g++ warning fixes. Fixes for CHAN_BITS==16, it seems to work.Brian Paul
2001-03-07fixed a bunch of g++ warnings/errors. Compiling with g++ can help find lots ↵Brian Paul
of potential problems
2001-03-03more namespace clean-upsBrian Paul
2001-03-03lots of gl_*() to _mesa_*() namespace clean-upBrian Paul
2001-02-27added fog coord clampingBrian Paul
2001-02-20Added GLvector4chan type, removed lots of CHAN_TYPE ifdefs.Keith Whitwell
2001-02-16Allow swrast to cope (fairly) cleanly with GL_SEPERATE_SPECULAR whenKeith Whitwell
texturing is not enabled, and without requiring the two colors be added externally. As a part of this, collapsed the decomposition of quads into triangles inside swrast to be hardwired into _swrast_Quad; removed s_quads.[ch]. Removed checks on texture state from t_vb_light.c, which was previously required by swrast. Moved the t_dd_ templates to a new directory.
2001-02-16Fixed conform problems with recent material tracking change.Keith Whitwell
Remove redundant 'update_materials' stage. Fix conform segfault with seperate specular colors in mustpass.c. These tests still fail, however.
2001-02-15Fix propogation of material values in VB's that don't reach the lightingKeith Whitwell
stage. (Materials now treated more like colors, etc.). Continue whipping the dd templates into shape. Remove old NormalLength code; may come back as a driver helper, but not useful for, eg. hardware t&l drivers.
2001-02-14fixed a CI-mode spot light conformance failure, but still not clear whyBrian Paul
2001-02-13fixed a CI mode segfault, minor clean-upsBrian Paul