summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/light.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace the flags Mesa was using for ctx->NewState with a new setKeith Whitwell2000-10-301-37/+8
| | | | | | | | | | | | | | based on the GL attribute groups. Introduced constants describing the circumstances under which some key derived values can change: _SWRAST_NEW_RASTERMASK -- ctx->RasterMask _SWRAST_NEW_TRIANGLE -- The software rasterizer's triangle function _DD_NEW_FEEDBACK -- the 'DD_FEEDBACK' bit in ctx->TriangleCaps These are helpful in deciding whether you need to recalculate state if your recalculation involves reference to a derived value.
* renamed Current.ByteColor Current.ColorBrian Paul2000-10-291-2/+2
|
* New colormac.h file for color-related macros.Brian Paul2000-10-281-9/+13
| | | | Lot's of clean-up in macros.h and mmath.h
* Basic work to support deep color channels:Brian Paul2000-10-281-3/+3
| | | | | Replace GLubyte with GLchan Replace 255 with CHAN_MAX
* Implement EXT_fog_coord and EXT_secondary_color.Keith Whitwell2000-10-271-2/+3
| | | | EXT_secondary_color is disabled until we get some dispatch offsets from SGI.
* First batch of OpenGL SI related changes:Brian Paul2000-09-261-2/+2
| | | | | | | Renamed struct gl_context to struct __GLcontextRec. Include glcore.h, setup GL imports/exports. Replaced gl_ prefix with _mesa_ prefix in context.[ch] functions. GLcontext's Visual field is no longer a pointer.
* Fixed off-by-one error in compute_shine_table(). Minor code clean-upBrian Paul2000-07-181-47/+51
|
* don't add light's ambient color to BaseColor in gl_update_lighting()Brian Paul2000-06-291-14/+11
|
* updating mat ambient/emissive was broke. always compute ctx->EyeZDirBrian Paul2000-06-261-66/+99
|
* fix GL_BACK color material bugKeith Whitwell2000-06-191-2/+2
|
* defined FLT_MIN if undefinedBrian Paul2000-01-311-1/+6
|
* commented out gl_reinit_light_attrib()Brian Paul2000-01-131-5/+5
|
* fixed potential bug in _mesa_ShadeModel()Brian Paul1999-11-221-5/+8
|
* first big check-in of new Mesa 3.3 codeBrian Paul1999-11-111-50/+196
|
* fix for colormaterialKeith Whitwell1999-11-101-2/+57
|
* clean-up of header includes (Daryll)Brian Paul1999-11-081-2/+2
|
* clean-up in gl_LightModelfv()Brian Paul1999-10-191-5/+8
|
* Changes to reduce the memory footprint of display listsKeith Whitwell1999-10-191-3/+11
|
* Fixed includes & added a few hooks for the DRI.kw-mesa-1Keith Whitwell1999-10-081-4/+6
|
* more hooks for mga driver, including an immediate fastpathKeith Whitwell1999-09-301-1/+8
|
* Large patch:Keith Whitwell1999-09-181-11/+13
| | | | | | | | | | - FX bug fixes. - Polygon mode and edgeflag work properly. - Clipping works with edgeflag. - Driver.ReducedPrimitiveChange() callback so drivers that implement lines & points as triangles can turn culling off before rendering groups of these primitives. - Cleaned up feedback & select primitives.
* Initial revisionjtg1999-08-191-0/+1183