summaryrefslogtreecommitdiff
path: root/src/mesa/main/texenv.c
AgeCommit message (Collapse)Author
2010-09-08mesa: Refactor parameter processing in set_combiner_(operand|source)Ian Romanick
The enum values were chosen to have sequential values for a reason. Use that to compact and simplify the code.
2010-09-08mesa: Fix handling of texenv operands for EXT vs ARB versionIan Romanick
GL_EXT_texture_env_combine has slightly more restrictive limits on the valid sources for some operands. This wasn't caught before because almost every driver in Mesa that supports the EXT version also supports the ARB version. Inspired by a patch posted the the mesa-dev mailing list by Andrew Randrianasulu.
2009-11-28mesa: Fix array out-of-bounds access in _mesa_TexEnvf.Vinson Lee
_mesa_TexEnvf calls _mesa_TexEnvfv, which uses the param argument as an array.
2009-08-13mesa: minor clean-ups in bumpmap functionsBrian Paul
2009-08-13mesa: use _mesa_get_current_tex_unit() in more placesBrian Paul
2009-06-15mesa: Use integer type with appropriate sign.José Fonseca
2009-04-01mesa: texture combine clean-upsBrian Paul
Use MAX_COMBINER_TERMS instead of 4. Rename some vars. Update comments.
2009-03-12mesa: add support for ATI_envmap_bumpmapRoland Scheidegger
add new entrypoints, new texture format, etc translate in texenvprogram.c for drivers using the mesa-generated tex env fragment program also handled in swrast, but not tested (cannot work due to negative texel results not handled correctly)
2009-02-12mesa: don't include m_xform.h where not neededBrian Paul
2009-01-23mesa: update glTexEnv(), glGetTexEnv() for GL_NV_texture_env_combine4Brian Paul
2009-01-23mesa: consolidate glGetTexEnvi/f() code with new get_texenvi() helperBrian Paul
2009-01-23mesa: refactor _mesa_TexEnvfv() code with helper functionsBrian Paul
2008-09-21mesa: refactor: move various ENUM_TO_x macros into macros.hBrian Paul
2008-09-21mesa: refactor: move glTexEnv-related functions into new texenv.c fileBrian Paul
(cherry picked from commit 7ecac78ab53016ae3db3dd601b187cb050037463)