aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_vb_lighttmp.h
Commit message (Collapse)AuthorAgeFilesLines
* s/Tungsten Graphics/VMware/José Fonseca2014-01-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tungsten Graphics Inc. was acquired by VMware Inc. in 2008. Leaving the old copyright name is creating unnecessary confusion, hence this change. This was the sed script I used: $ cat tg2vmw.sed # Run as: # # git reset --hard HEAD && find include scons src -type f -not -name 'sed*' -print0 | xargs -0 sed -i -f tg2vmw.sed # # Rename copyrights s/Tungsten Gra\(ph\|hp\)ics,\? [iI]nc\.\?\(, Cedar Park\)\?\(, Austin\)\?\(, \(Texas\|TX\)\)\?\.\?/VMware, Inc./g /Copyright/s/Tungsten Graphics\(,\? [iI]nc\.\)\?\(, Cedar Park\)\?\(, Austin\)\?\(, \(Texas\|TX\)\)\?\.\?/VMware, Inc./ s/TUNGSTEN GRAPHICS/VMWARE/g # Rename emails s/[email protected]/[email protected]/ s/[email protected]/[email protected]/g s/jrfonseca-at-tungstengraphics-dot-com/jfonseca-at-vmware-dot-com/ s/jrfonseca\[email protected]/[email protected]/g s/keithw\[email protected]/[email protected]/g s/[email protected]/[email protected]/g s/thomas-at-tungstengraphics-dot-com/thellstom-at-vmware-dot-com/ s/[email protected]/[email protected]/ # Remove dead links s@Tungsten Graphics (http://www.tungstengraphics.com)@Tungsten Graphics@g # C string src/gallium/state_trackers/vega/api_misc.c s/"Tungsten Graphics, Inc"/"VMware, Inc"/ Reviewed-by: Brian Paul <[email protected]>
* mesa: remove outdated version lines in commentsRico Schüller2013-06-051-1/+0
| | | | Signed-off-by: Brian Paul <[email protected]>
* mesa: Restore 78-column wrapping of license text in C-style comments.Kenneth Graunke2013-04-231-5/+5
| | | | | | | | | | | | | | The previous commit introduced extra words, breaking the formatting. This text transformation was done automatically via the following shell command: $ git grep 'THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY' | sed 's/:.*$//' | xargs -I {} sh -c 'vim -e -s {} < vimscript where 'vimscript' is a file containing: /THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY/;/\*\// !fmt -w 78 -p ' * ' :wq Reviewed-by: Brian Paul <[email protected]>
* mesa: Add "OR COPYRIGHT HOLDERS" to license text disclaiming liability.Kenneth Graunke2013-04-231-1/+1
| | | | | | | | | | | | | | | This brings the license text in line with the MIT License as published on the Open Source Initiative website: http://opensource.org/licenses/mit-license.php Generated automatically be the following shell command: $ git grep 'THE AUTHORS BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \ sed -i 's/THE AUTHORS/THE AUTHORS OR COPYRIGHT HOLDERS/' {} This introduces some wrapping issues, to be fixed in the next commit. Reviewed-by: Brian Paul <[email protected]>
* mesa: Change "BRIAN PAUL" to "THE AUTHORS" in license text.Kenneth Graunke2013-04-231-1/+1
| | | | | | | | | | | | | | | | Generated automatically be the following shell command: $ git grep 'BRIAN PAUL BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \ sed -i 's/BRIAN PAUL/THE AUTHORS/' {} The intention here is to protect all authors, not just Brian Paul. I believe that was already the sensible interpretation, but spelling it out is probably better. More practically, it also prevents people from accidentally copy & pasting the license into a new file which says Brian is not liable when he isn't even one of the authors. Reviewed-by: Brian Paul <[email protected]>
* mesa: Push the shine table into the tnl module.Mathias Fröhlich2012-02-291-6/+6
| | | | | | | | | | All users of the shine table outside of the tnl module are gone. Move the implementation into the tnl module and prefix the public functions with _tnl. Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Brian Paul <[email protected]> Signed-off-by: Mathias Froehlich <[email protected]>
* mesa: replace GET_SHINE_TAB_ENTRY() macro with an inline functionBrian Paul2012-02-101-20/+7
|
* mesa: remove gl_light::_SpotExpTable fieldBrian Paul2012-02-101-8/+2
| | | | | | | Just use pow() instead. Spot lights aren't too common and fixed-function lighting isn't as important as it used to me. This saves 32KB per context. Each table was 4KB and there's 8 lights.
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-4/+4
|
* tnl: Remove color-index TNL supportIan Romanick2010-03-031-173/+0
| | | | Signed-off-by: Ian Romanick <[email protected]>
* tnl: Replace deprecated ColorPtr[] with AttribPtr or new BackfaceColorPtr.Eric Anholt2009-11-191-10/+10
|
* tnl: Replace deprecated IndexPtr[] with AttribPtr[] or new BackfaceIndexPtrEric Anholt2009-11-191-4/+4
|
* mesa: rename some gl_light fields to be clearerBrian Paul2009-04-031-3/+3
| | | | | EyeDirection -> SpotDirection _NormDirection -> _NormSpotDirection
* A number of vertex buffer fields like NormalPtr, FogCoordPtr, etc are reallyBrian Paul2006-06-141-12/+12
| | | | | | just aliases for members of the VB->AttribPtr[] array. Begin replacing FogCoordPtr with VB->AttribPtr[_TNL_ATTRIB_FOG], and similarly for NormalPtr, TexCoordPtr, PointSizePtr, etc.
* Simplify the pipeline_stage structureKeith Whitwell2005-04-221-16/+0
| | | | | | | | | | - remove input/output fields, input tracking removed. - remove state fields, the validate function now called on every statechange. - add an explicit 'create' function. Add in code to build vertex program to implement current t&l state. Still disabled, but turn on with a #define in t_vp_build.h.
* Give attributes with zero-stride a count of 1 to make it easierKeith Whitwell2005-01-051-13/+32
| | | | | | to avoid transforming the same attribute multiple times. Don't light a single normal multiple times in light_fast_rgba*
* re-disable TRACEBrian Paul2004-12-031-1/+1
|
* Fix some warningsAlan Hourihane2004-12-021-5/+3
|
* bring over build fixes from stable branchAlan Hourihane2004-04-261-20/+26
|
* Committing in .Jouk Jansen2003-12-081-1/+1
| | | | | | | | | | Solves array boundary out of bound which causes problems on OpenVMS (and maybe other systems) Modified Files: Mesa-newtree/src/mesa/tnl/t_vb_lighttmp.h Mesa-newtree/src/mesa/tnl/t_vtx_eval.c ----------------------------------------------------------------------
* Port over changes from XFree86/Mesa 5.0.2, mostly to silence compiler warnings.Brian Paul2003-12-041-87/+108
|
* Merge vtx-0-2-branchKeith Whitwell2003-11-241-333/+128
|
* index wasn't being calculated correctly (result was being discarded)Keith Whitwell2003-10-071-5/+6
| | | | in light_ci()
* Store material attributes in an Attrib[] style array. This is aKeith Whitwell2003-08-051-35/+33
| | | | | first step to reviving/rescuing the 'vtx' rework from the old mesa tree.
* Merge Jose's documentation and core Mesa changes from embedded branchKeith Whitwell2003-07-171-1/+1
|
* Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick2003-06-051-1/+0
|
* updated email addressesBrian Paul2002-10-291-3/+3
|
* More suport for t&l driversKeith Whitwell2002-02-131-6/+6
| | | | | Fix GLuint compare bugs Fix RESET_STIPPLE calls
* Clean-up/renaming of the per-vertex attribute bits, specifically, theBrian Paul2002-01-221-10/+10
| | | | | | VERT_BIT_* flags are new and used in many places (esp in T&L code). Updated some comments for doxygen. Various code clean-ups.
* Vertex program checkpoint commit: converted all vertex attributes (color,Brian Paul2002-01-051-2/+2
| | | | | | normal, texcoords, fogcoord, secondary color, etc) to GLfloat[4] datatype. Aliasing of glVertex, glNormal, glColor, glFogCoord, etc. to glVertexAttrib now complete.
* comments, clean-ups, added lots of const qualifiersBrian Paul2002-01-051-47/+54
|
* remove some cruftBrian Paul2001-12-191-8/+1
|
* vertex program check-inBrian Paul2001-12-141-7/+7
|
* forgotten diffuse alpha fixKeith Whitwell2001-10-201-1/+3
|
* more warning fixes (Karl Schultz)Brian Paul2001-09-141-15/+12
|
* Fix problem with colormaterial (bug #441859)Keith Whitwell2001-08-131-8/+15
|
* Fix SGL testLights.exe bugs (interaction of copying and fixup in display lists)Keith Whitwell2001-08-021-1/+16
|
* Fix copying problem (light spots) on evaluated surfaces.Keith Whitwell2001-08-011-3/+3
|
* Remove _BaseAlpha, fix reflect lighting bug.Keith Whitwell2001-07-281-15/+30
|
* Lighting now emits colors as CHAN_TYPE, as it used to. This will requireKeith Whitwell2001-07-171-91/+126
| | | | minor adjustments in the dri drivers for twosided lighting to work again.
* Support for floating point color representation in tnl module.Keith Whitwell2001-04-281-139/+135
|
* Fix striding of color material inputs. (Fixes glean colorLitPerf)Keith Whitwell2001-04-191-28/+30
|
* Consistent copyright info (version number, date) across all files.Gareth Hughes2001-03-121-94/+94
|
* lots of gl_*() to _mesa_*() namespace clean-upBrian Paul2001-03-031-16/+16
|
* Allow swrast to cope (fairly) cleanly with GL_SEPERATE_SPECULAR whenKeith Whitwell2001-02-161-39/+21
| | | | | | | | | | | | | texturing is not enabled, and without requiring the two colors be added externally. As a part of this, collapsed the decomposition of quads into triangles inside swrast to be hardwired into _swrast_Quad; removed s_quads.[ch]. Removed checks on texture state from t_vb_light.c, which was previously required by swrast. Moved the t_dd_ templates to a new directory.
* Fixed conform problems with recent material tracking change.Keith Whitwell2001-02-161-28/+7
| | | | | | Remove redundant 'update_materials' stage. Fix conform segfault with seperate specular colors in mustpass.c. These tests still fail, however.
* fixed a CI-mode spot light conformance failure, but still not clear whyBrian Paul2001-02-141-2/+5
|
* fixed a CI mode segfault, minor clean-upsBrian Paul2001-02-131-10/+9
|
* Lots of GLchan datatype changes.Brian Paul2001-01-241-7/+7
| | | | | | | | | Added GLvector4us datatype in math/m_vector.[ch] Added _math_trans_4us() in math/m_translate.[ch] Choose GLvector4ub, GLvector4us, GLvector4f at compile time based on CHAN_BITS. Made Driver.ClearColor() and Driver.ClearIndex() optional driver functions. Changed args to Driver.ClearColor(), updated drivers. Reordered files in Makefile.X11
* Fixes for performance bug on compiled array element paths.Keith Whitwell2001-01-171-1/+7
|