summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_vb_lighttmp.h
AgeCommit message (Collapse)Author
2009-04-03mesa: rename some gl_light fields to be clearerBrian Paul
EyeDirection -> SpotDirection _NormDirection -> _NormSpotDirection
2006-06-14A number of vertex buffer fields like NormalPtr, FogCoordPtr, etc are reallyBrian Paul
just aliases for members of the VB->AttribPtr[] array. Begin replacing FogCoordPtr with VB->AttribPtr[_TNL_ATTRIB_FOG], and similarly for NormalPtr, TexCoordPtr, PointSizePtr, etc.
2005-04-22Simplify the pipeline_stage structureKeith Whitwell
- remove input/output fields, input tracking removed. - remove state fields, the validate function now called on every statechange. - add an explicit 'create' function. Add in code to build vertex program to implement current t&l state. Still disabled, but turn on with a #define in t_vp_build.h.
2005-01-05Give attributes with zero-stride a count of 1 to make it easierKeith Whitwell
to avoid transforming the same attribute multiple times. Don't light a single normal multiple times in light_fast_rgba*
2004-12-03re-disable TRACEBrian Paul
2004-12-02Fix some warningsAlan Hourihane
2004-04-26bring over build fixes from stable branchAlan Hourihane
2003-12-08 Committing in .Jouk Jansen
Solves array boundary out of bound which causes problems on OpenVMS (and maybe other systems) Modified Files: Mesa-newtree/src/mesa/tnl/t_vb_lighttmp.h Mesa-newtree/src/mesa/tnl/t_vtx_eval.c ----------------------------------------------------------------------
2003-12-04Port over changes from XFree86/Mesa 5.0.2, mostly to silence compiler warnings.Brian Paul
2003-11-24Merge vtx-0-2-branchKeith Whitwell
2003-10-07index wasn't being calculated correctly (result was being discarded)Keith Whitwell
in light_ci()
2003-08-05Store material attributes in an Attrib[] style array. This is aKeith Whitwell
first step to reviving/rescuing the 'vtx' rework from the old mesa tree.
2003-07-17Merge Jose's documentation and core Mesa changes from embedded branchKeith Whitwell
2003-06-05Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick
2002-10-29updated email addressesBrian Paul
2002-02-13More suport for t&l driversKeith Whitwell
Fix GLuint compare bugs Fix RESET_STIPPLE calls
2002-01-22Clean-up/renaming of the per-vertex attribute bits, specifically, theBrian Paul
VERT_BIT_* flags are new and used in many places (esp in T&L code). Updated some comments for doxygen. Various code clean-ups.
2002-01-05Vertex program checkpoint commit: converted all vertex attributes (color,Brian Paul
normal, texcoords, fogcoord, secondary color, etc) to GLfloat[4] datatype. Aliasing of glVertex, glNormal, glColor, glFogCoord, etc. to glVertexAttrib now complete.
2002-01-05comments, clean-ups, added lots of const qualifiersBrian Paul
2001-12-19remove some cruftBrian Paul
2001-12-14vertex program check-inBrian Paul
2001-10-20forgotten diffuse alpha fixKeith Whitwell
2001-09-14more warning fixes (Karl Schultz)Brian Paul
2001-08-13Fix problem with colormaterial (bug #441859)Keith Whitwell
2001-08-02Fix SGL testLights.exe bugs (interaction of copying and fixup in display lists)Keith Whitwell
2001-08-01Fix copying problem (light spots) on evaluated surfaces.Keith Whitwell
2001-07-28Remove _BaseAlpha, fix reflect lighting bug.Keith Whitwell
2001-07-17Lighting now emits colors as CHAN_TYPE, as it used to. This will requireKeith Whitwell
minor adjustments in the dri drivers for twosided lighting to work again.
2001-04-28Support for floating point color representation in tnl module.Keith Whitwell
2001-04-19Fix striding of color material inputs. (Fixes glean colorLitPerf)Keith Whitwell
2001-03-12Consistent copyright info (version number, date) across all files.Gareth Hughes
2001-03-03lots of gl_*() to _mesa_*() namespace clean-upBrian Paul
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-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-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-17Fixes for performance bug on compiled array element paths.Keith Whitwell
2001-01-03More color macro clean-ups.Brian Paul
FLOAT_TO_CHAN() macro removed.
2000-12-26Major rework of tnl moduleKeith Whitwell
New array_cache module Support 8 texture units in core mesa (now support 8 everywhere) Rework core mesa statechange operations to avoid flushing on many noop statechanges.