summaryrefslogtreecommitdiff
path: root/src/mesa/tnl
AgeCommit message (Collapse)Author
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
2001-02-13gl_error clean-upsBrian Paul
2001-02-06Overhaul of texture image handling.Brian Paul
1. gl_texture_image struct's Data pointer points to images in driver's format. 2. Added FetchTexel() function pointer to struct gl_texture_image. 3. Changed Driver Tex[Sub]Image functions, return void now. 4. Texture storage/fetch code in new texstore.c file. 5. Removed texture.[ch] - functions moved to state.c Note: FX driver updates not finished yet.
2001-02-06Use a lookup table to compute exponents in tnl fogging code. SlightlyKeith Whitwell
clean up the shine table lookup macro.
2001-02-04Fast no-copy drawarrays for large tristripsKeith Whitwell
2001-01-29only compute separate specular if texturing really enabledBrian Paul
2001-01-29Removed knowledge of swrast Clear/Bitmap/Accum/Draw/Read/CopyPixelsKeith Whitwell
functions from core mesa -- if drivers need these fallbacks they must now call them themselves. Introduced hooks for clip-vertex-interpolation and the rendering of clipped lines and polygons. Allows drivers to interpolate their hardware-format vertices directly. Used in dri drivers to replace fastpath code. Slight optimizations to pipeline build/run routines.
2001-01-24Lots of GLchan datatype changes.Brian Paul
Added GLvector4us datatype in math/m_vector.[ch] Added _math_trans_4us() in math/m_translate.[ch] Choose GLvector4ub, GLvector4us, GLvector4f at compile time based on CHAN_BITS. Made Driver.ClearColor() and Driver.ClearIndex() optional driver functions. Changed args to Driver.ClearColor(), updated drivers. Reordered files in Makefile.X11
2001-01-23Replaced struct gl_visual with struct __GLcontextModesRec from glcore.h.Brian Paul
Replace "RGBAMode" with "rgbMode", etc. Other minor clean-ups.
2001-01-17Fixes for performance bug on compiled array element paths.Keith Whitwell
2001-01-16Fix several conformance problems. Hack solution to line stipple problem.Keith Whitwell
2001-01-14Fixed conform feedback and drawelements tests.Keith Whitwell
Use correct pv when rasterizing unfilled polys.
2001-01-13fix conform dlist testKeith Whitwell