summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texenv.c
Commit message (Collapse)AuthorAgeFilesLines
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-7/+7
|
* mesa: Refactor parameter processing in set_combiner_(operand|source)Ian Romanick2010-09-081-68/+22
| | | | | The enum values were chosen to have sequential values for a reason. Use that to compact and simplify the code.
* mesa: Fix handling of texenv operands for EXT vs ARB versionIan Romanick2010-09-081-18/+19
| | | | | | | | | | 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.
* mesa: Fix array out-of-bounds access in _mesa_TexEnvf.Vinson Lee2009-11-281-1/+4
| | | | | _mesa_TexEnvf calls _mesa_TexEnvfv, which uses the param argument as an array.
* mesa: minor clean-ups in bumpmap functionsBrian Paul2009-08-131-14/+39
|
* mesa: use _mesa_get_current_tex_unit() in more placesBrian Paul2009-08-131-6/+10
|
* mesa: Use integer type with appropriate sign.José Fonseca2009-06-151-2/+2
|
* mesa: texture combine clean-upsBrian Paul2009-04-011-25/+25
| | | | | | Use MAX_COMBINER_TERMS instead of 4. Rename some vars. Update comments.
* mesa: add support for ATI_envmap_bumpmapRoland Scheidegger2009-03-121-1/+173
| | | | | | | | 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)
* mesa: don't include m_xform.h where not neededBrian Paul2009-02-121-1/+0
|
* mesa: update glTexEnv(), glGetTexEnv() for GL_NV_texture_env_combine4Brian Paul2009-01-231-2/+83
|
* mesa: consolidate glGetTexEnvi/f() code with new get_texenvi() helperBrian Paul2009-01-231-214/+125
|
* mesa: refactor _mesa_TexEnvfv() code with helper functionsBrian Paul2009-01-231-348/+373
|
* mesa: refactor: move various ENUM_TO_x macros into macros.hBrian Paul2008-09-211-2/+0
|
* mesa: refactor: move glTexEnv-related functions into new texenv.c fileBrian Paul2008-09-211-0/+863
(cherry picked from commit 7ecac78ab53016ae3db3dd601b187cb050037463)