summaryrefslogtreecommitdiff
path: root/src/mesa/main/light.c
AgeCommit message (Expand)AuthorFilesLines
2017-05-16mesa: replace _mesa_problem() with unreachable() in _mesa_light()Timothy Arceri1-2/+1
2016-06-16mesa: Use bitmask/ffs to iterate color material attributes.Mathias Fröhlich1-5/+6
2016-06-16mesa: Remove the linked list of enabled lightsMathias Fröhlich1-4/+0
2016-06-16mesa: Use bitmask/ffs to iterate enabled lightsMathias Fröhlich1-11/+33
2016-06-16mesa: Track enabled lights in a bitmaskMathias Fröhlich1-0/+1
2016-04-29mesa: simplify _mesa_LightfvThomas Faller1-10/+0
2015-07-29mesa: Avoid double promotion.Matt Turner1-15/+15
2015-07-21mesa: move check for no-op glShadeModel call earlierBrian Paul1-3/+3
2015-07-20mesa: Rename _mesa_lookup_enum_by_nr() to _mesa_enum_to_string().Kenneth Graunke1-3/+3
2015-02-24mesa: remove DEG2RAD macroBrian Paul1-1/+1
2015-02-24mesa: remove INV_SQRTF() macroBrian Paul1-2/+2
2015-02-24mesa: remove powf macroBrian Paul1-0/+1
2015-02-23mesa: Use assert() instead of ASSERT wrapper.Matt Turner1-8/+8
2015-02-17mesa/main: Silence unused parameter warningIan Romanick1-9/+0
2015-01-28mesa: Move simple_list.h to src/util.Eric Anholt1-1/+1
2013-06-05mesa: remove outdated version lines in commentsRico Schüller1-1/+0
2013-04-23mesa: Restore 78-column wrapping of license text in C-style comments.Kenneth Graunke1-3/+4
2013-04-23mesa: Add "OR COPYRIGHT HOLDERS" to license text disclaiming liability.Kenneth Graunke1-1/+1
2013-04-23mesa: Change "BRIAN PAUL" to "THE AUTHORS" in license text.Kenneth Graunke1-1/+1
2013-04-17mesa: remove DD_TRI_LIGHT_TWOSIDE flagBrian Paul1-4/+0
2013-04-06mesa: allow drivers not to expose ARB_color_buffer_float in GL core profileMarek Olšák1-1/+2
2013-01-21mesa: Drop manual checks for outside begin/end.Eric Anholt1-9/+2
2012-11-29mesa: Rename API_OPENGL to API_OPENGL_COMPAT.Paul Berry1-4/+4
2012-11-12mesa: Standardize names of OpenGL functions.Paul Berry1-1/+1
2012-09-03mesa: remove SQRTF, use sqrtf. Convert INV_SQRT() to inline function.Brian Paul1-1/+1
2012-08-29mesa/es: Validate glLightModel pname in Mesa code rather than the ES wrapperIan Romanick1-2/+11
2012-08-29mesa/es: Validate glGetMaterial pname in Mesa code rather than the ES wrapperIan Romanick1-0/+6
2012-06-27mesa: rename ColorMaterialBitmask to _ColorMaterialBitmaskBrian Paul1-5/+5
2012-05-11mesa: fix/add error check in _mesa_ColorMaterial()Brian Paul1-0/+2
2012-03-12mesa: remove unused DD_FLATSHADEBrian Paul1-4/+0
2012-02-29mesa: Push the shine table into the tnl module.Mathias Fröhlich1-124/+0
2012-02-29mesa: Do not invalidate shine tables in compute light positions.Mathias Fröhlich1-3/+0
2012-02-29mesa: Avoid explicit invalidation of shine tables.Mathias Fröhlich1-27/+0
2012-02-29mesa: Remove gl_light_attrib::_Flags.Mathias Fröhlich1-4/+4
2012-02-29mesa: Remove _CosCutoffNeg from light state.Mathias Fröhlich1-5/+2
2012-02-10mesa: make _mesa_invalidate_shine_table() staticBrian Paul1-4/+9
2012-02-10mesa: remove gl_light::_SpotExpTable fieldBrian Paul1-51/+1
2011-12-26mesa: remove unused _mesa_copy_materials.Mathias Fröhlich1-16/+0
2011-11-16mesa: make sure all lighting tables are updated before the computationYuanhan Liu1-0/+3
2010-10-13Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg1-14/+14
2010-09-02mesa: Fix printf-like warnings.Vinson Lee1-3/+3
2010-05-13mesa: Remove no-op wrappers around trig functions.Eric Anholt1-1/+1
2010-05-13mesa: Remove _mesa_pow(), which is always just pow().Eric Anholt1-2/+2
2010-03-03mesa: Remove checks of Visual.rgbModeIan Romanick1-25/+16
2010-02-19Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg1-2/+2
2009-12-11Merge branch 'mesa_7_6_branch' into mesa_7_7_branchBrian Paul1-4/+16
2009-12-09mesa: Fix array out-of-bounds access by _mesa_Lighti.Vinson Lee1-1/+4
2009-12-09mesa: Fix array out-of-bounds access by _mesa_Lightf.Vinson Lee1-1/+4
2009-12-09mesa: Fix array out-of-bounds access by _mesa_LightModelf.Vinson Lee1-1/+4
2009-12-08mesa: Fix array out-of-bounds access by _mesa_LightModeli.Vinson Lee1-1/+4