aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/light.c
Commit message (Expand)AuthorAgeFilesLines
* mesa/es: Validate glGetMaterial pname in Mesa code rather than the ES wrapperIan Romanick2012-08-291-0/+6
* mesa: rename ColorMaterialBitmask to _ColorMaterialBitmaskBrian Paul2012-06-271-5/+5
* mesa: fix/add error check in _mesa_ColorMaterial()Brian Paul2012-05-111-0/+2
* mesa: remove unused DD_FLATSHADEBrian Paul2012-03-121-4/+0
* mesa: Push the shine table into the tnl module.Mathias Fröhlich2012-02-291-124/+0
* mesa: Do not invalidate shine tables in compute light positions.Mathias Fröhlich2012-02-291-3/+0
* mesa: Avoid explicit invalidation of shine tables.Mathias Fröhlich2012-02-291-27/+0
* mesa: Remove gl_light_attrib::_Flags.Mathias Fröhlich2012-02-291-4/+4
* mesa: Remove _CosCutoffNeg from light state.Mathias Fröhlich2012-02-291-5/+2
* mesa: make _mesa_invalidate_shine_table() staticBrian Paul2012-02-101-4/+9
* mesa: remove gl_light::_SpotExpTable fieldBrian Paul2012-02-101-51/+1
* mesa: remove unused _mesa_copy_materials.Mathias Fröhlich2011-12-261-16/+0
* mesa: make sure all lighting tables are updated before the computationYuanhan Liu2011-11-161-0/+3
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-14/+14
* mesa: Fix printf-like warnings.Vinson Lee2010-09-021-3/+3
* mesa: Remove no-op wrappers around trig functions.Eric Anholt2010-05-131-1/+1
* mesa: Remove _mesa_pow(), which is always just pow().Eric Anholt2010-05-131-2/+2
* mesa: Remove checks of Visual.rgbModeIan Romanick2010-03-031-25/+16
* Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg2010-02-191-2/+2
* Merge branch 'mesa_7_6_branch' into mesa_7_7_branchBrian Paul2009-12-111-4/+16
|\
| * mesa: Fix array out-of-bounds access by _mesa_Lighti.Vinson Lee2009-12-091-1/+4
| * mesa: Fix array out-of-bounds access by _mesa_Lightf.Vinson Lee2009-12-091-1/+4
| * mesa: Fix array out-of-bounds access by _mesa_LightModelf.Vinson Lee2009-12-091-1/+4
| * mesa: Fix array out-of-bounds access by _mesa_LightModeli.Vinson Lee2009-12-081-1/+4
* | mesa: rename VERBOSE_IMMEDIATE->VERBOSE_MATERIAL to reflect what it doesBrian Paul2009-10-141-1/+1
|/
* Merge branch 'mesa_7_5_branch'Brian Paul2009-08-141-4/+4
|\
| * mesa: fix warnings about locals hiding function paramsBrian Paul2009-08-131-3/+3
| * mesa: fix some potential uninitialized memory referencesBrian Paul2009-08-131-1/+1
* | mesa: exec/dlist functions for glProvokingVertexEXT()Brian Paul2009-05-281-2/+35
|/
* mesa: rename some gl_light fields to be clearerBrian Paul2009-04-031-13/+13
* mesa: don't normalize spot light direction until validation timeBrian Paul2009-04-031-2/+7
* Merge commit 'origin/master' into gallium-0.2Alan Hourihane2009-01-141-1/+2
|\
| * mesa: fix incorrect transformation of GL_SPOT_DIRECTIONBrian Paul2009-01-141-1/+2
| * mesa: Apply MSVC portability fixes from Alan Hourihane.José Fonseca2008-09-231-1/+1
* | Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/mesa into gal...Alan Hourihane2008-09-111-0/+1
|\|
| * fix no error generated when calling glLight{if}[v] inside begin/end (bug 17408)Roland Scheidegger2008-09-021-0/+1
* | Merge branch 'gallium-0.1' into gallium-0.2Keith Whitwell2008-09-111-1/+2
|\ \ | |/ |/|
| * mesa: Apply MSVC portability fixes from Alan Hourihane.José Fonseca2008-05-311-1/+1
| * mesa: undo accidental setting of _ForceEyeCoordsKeith Whitwell2008-05-301-1/+1
| * ffvertex: emit full LIT when attenuating (needs the 1 in X position)Keith Whitwell2008-05-271-0/+1
* | Restore old _TriangleCaps code to fix Blender problem (bug 12164)Brian2007-09-271-0/+9
|/
* if light position is local, treat it as a homogeneous coord and divide by W (...Brian2007-05-211-2/+9
* Move all the code for computing ctx->_TriangleCaps into state.c.Brian2006-12-131-10/+4
* Color clamping fixes.Brian Paul2006-10-221-0/+1
* Remove carriage returns.Michal Krol2006-04-251-4/+4
* GLSL fixes:Michal Krol2006-03-211-8/+11
* Added _mesa_light() helper function so we can avoid transforming thenBrian Paul2005-11-121-77/+128
* s/MAX_LIGHTS/ctx->Const.MaxLights/ and spruce up some commentsBrian Paul2005-11-101-14/+22
* Replace GLuint with GLbitfield where appropriate. Also replace GLuintBrian Paul2005-09-151-7/+7
* Add a set of predicate functions for testing matrices instead of directlyBrian Paul2005-06-301-9/+5