summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_vb_fog.c
AgeCommit message (Collapse)Author
2004-04-23Added ctx->Vertex/FragmentProgram._Enable flags. Set when vertex/fragmentBrian Paul
program is enabled AND the currently bound program is valid. Check _Enable instead of Enable to prevent things from blowing up when someone calls glEnable(GL_VERTEX_PROGRAM_ARB) without actually defining a program.
2004-02-25use ABS(Z) when computing blend factorsBrian Paul
2004-02-17A few more tweaks to fog code.Brian Paul
Remove unneeded FABSF() macros. Added blend factor clamping in a few spots.
2004-02-17A bit of an overhaul of the fog code.Brian Paul
glFogCoord didn't always work reliably. ARB fragment program fog options work now. Per-fragment fog computations are now perspective corrected.
2004-02-13new comments, rename some stuffBrian Paul
2004-01-31added _NEW_PROGRAM to check_state flags for pipeline stages (fixes vparray ↵Brian Paul
demo bug)
2004-01-05Re-commit t_vertex.[ch] changes to fd.o server.Keith Whitwell
2003-11-24Merge vtx-0-2-branchKeith Whitwell
2003-06-05Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick
2003-03-01Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]Brian Paul
Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
2002-10-29updated email addressesBrian Paul
2002-10-24Header file clean-up:Brian Paul
1. Remove all.h and PC_HEADER junk. 2. Rolled mem.c and mem.h into imports.c and imports.h 3. Include imports.h instead of mem.h Restore _mesa_create/initialize_context() to be like they were in 4.0.4 New wrappers for a few std C functions: _mesa_atoi(), _mesa_strstr(), etc.
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-06Another vertex program checkpoint: clean-up of vertex attribute storageBrian Paul
in vertex_buffer. Improved vertex program pipeline stage such that output registers can be processed in a loop. Getting closer to where we need to be in order to implement performance optimizations...
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.
2001-12-18Replace old matrix stacks with new code based on struct matrix_stack.Brian Paul
Moved vertex program hash table into shared context state. Implemented reference counting for vertex programs. Replaced tnl "ProjectedClip" with "Ndc" (normalized device coordinates).
2001-12-14vertex program check-inBrian Paul
2001-09-14more warning fixes (Karl Schultz)Brian Paul
2001-05-15increase FOG_MAX to 10.0 to fix CI conformace failureBrian Paul
2001-03-30Remove all traces of CULL_MASK_ACTIVE.Gareth Hughes
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-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-06Use a lookup table to compute exponents in tnl fogging code. SlightlyKeith Whitwell
clean up the shine table lookup macro.
2001-01-03added divide by zero checkBrian Paul
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.