summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_rasterpos.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove _mesa_inv_sqrtf in favor of 1/SQRTFMatt Turner2012-07-211-1/+1
| | | | | | | | Except for a couple of explicit uses, _mesa_inv_sqrtf was disabled since its addition in 2003 (see f9b1e524). Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
* mesa: Avoid revalidating shine tables in _tnl_RasterPos.Mathias Fröhlich2012-02-291-2/+0
| | | | | | | | | Now that _tnl_RasterPos no longer uses the shine tables, avoid revalidating them. Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Brian Paul <[email protected]> Signed-off-by: Mathias Froehlich <[email protected]>
* mesa: Avoid using the shine table for _tnl_RasterPosMathias Fröhlich2012-02-291-1/+5
| | | | | | | | | | | | | Use direct computation of pow for computing the shininess in _tnl_RasterPos. Since the _tnl_RasterPos function is still used by plenty drivers that do only need the shine table for _tnl_RasterPos but do not make use of swtnl computations, this enables pushing down the shine table computation and validation into the tnl module, which will happen in a followup change. 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-2/+1
|
* mesa: remove gl_light::_SpotExpTable fieldBrian Paul2012-02-101-4/+1
| | | | | | | 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.
* mesa: remove leftovers from color indexed rendering.Mathias Fröhlich2011-12-261-6/+1
| | | | | | | | | Remove gl_light::_dli and gl_light::_sli. Both are only used for a value previously used in color indexed rendering. Also both variables are only used and never written. Signed-off-by: Mathias Froehlich <[email protected]>
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-4/+4
|
* tnl: Remove unnecessary headers.Vinson Lee2010-07-311-1/+0
|
* tnl: Remove color-index TNL supportIan Romanick2010-03-031-37/+15
| | | | Signed-off-by: Ian Romanick <[email protected]>
* tnl: Remove unnecessary header from t_rasterpos.c.Vinson Lee2010-01-121-1/+0
|
* mesa: Add support for ARB_depth_clamp.Eric Anholt2009-09-081-10/+15
| | | | | This currently doesn't include fixing up the cliptests in the assembly paths to support ARB_depth_clamp, so enabling depth_clamp forces the C path.
* mesa: rename some gl_light fields to be clearerBrian Paul2009-04-031-1/+1
| | | | | EyeDirection -> SpotDirection _NormDirection -> _NormSpotDirection
* mesa: re-org texgen stateBrian Paul2009-02-211-12/+12
| | | | New gl_texgen struct allows quite a bit of code reduction.
* mesa: prefix #includes with main/Brian Paul2009-02-091-4/+4
|
* mesa: move rastpos helper to tnlKeith Whitwell2008-09-211-0/+505