aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_pipeline.c
Commit message (Collapse)AuthorAgeFilesLines
* remove final imports.h and imports.c bitsDylan Baker2020-04-211-9/+9
| | | | | | | | | | | This moves the fi_types to a new mesa_private.h and removes the imports.c file. The vast majority of this patch is just removing pound includes of imports.h and fixing up the recursive includes. Reviewed-by: Marek Olšák <[email protected]> Reviewed-by: Kristian H. Kristensen <[email protected]> Reviewed-by: Matt Turner <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3024>
* Move compiler.h and imports.h/c from src/mesa/main into src/utilMarek Olšák2020-03-271-1/+1
| | | | | Reviewed-by: Timothy Arceri <[email protected] Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4324>
* mesa: Move START/END_FAST_MATH macros to their only use.Matt Turner2015-02-231-0/+78
| | | | Reviewed-by: Eric Anholt <[email protected]>
* 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-3/+4
| | | | | | | | | | | | | | 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]>
* Replace gl_vert_result enum with gl_varying_slot.Paul Berry2013-03-151-1/+1
| | | | | | | | | | | This patch makes the following search-and-replace changes: gl_vert_result -> gl_varying_slot VERT_RESULT_* -> VARYING_SLOT_* Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Tested-by: Brian Paul <[email protected]>
* swrast: initial multi-threaded span renderingAndreas Fänger2011-08-111-0/+12
| | | | | | | | Optional parallel rendering of spans using OpenMP. Initial implementation for aa triangles. A new option for scons is also provided to activate the openmp support (off by default). Signed-off-by: Brian Paul <[email protected]>
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-5/+5
|
* mesa: replace old MEMCPY macro with memcpyBrian Paul2010-02-191-1/+1
|
* Merge branch 'mesa_7_7_branch'Jakob Bornecrantz2010-01-141-1/+0
|\ | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/auxiliary/util/Makefile src/gallium/drivers/r300/r300_state_derived.c
| * tnl: Remove unnecessary header from t_pipeline.c.Vinson Lee2010-01-121-1/+0
| |
* | tnl: Remove unused NotifyInputChanges() tnl dd hook.Eric Anholt2009-11-191-4/+0
|/
* Compute/setup fog coordinates even if vertex program is enabled.H. Verbeet2008-06-161-1/+1
| | | | | Only when fog's enabled, of course. In the usual case, this is just a pass-through operation.
* Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵Brian2007-07-041-5/+5
| | | | of -I flags.
* unhook t_vb_arbprogram.c code - it's going awayBrian2007-04-161-7/+3
|
* Checkpoint work for new GLSL compiler back-end.Brian2006-12-131-4/+1
| | | | | | | | | Among changes: Remove ctx->FragmentProgram._Active Remove _UseTexEnvProgram Move _MaintainTnlProgram, _MaintainTexEnvProgram, _TexEnvProgram and _TnlProgram fields. Remove/disable old GLSL interpreter code.
* remove some unneeded #includesBrian Paul2006-06-131-3/+0
|
* Put color index attribute into the 6th attribute slot.Brian Paul2006-04-251-1/+1
| | | | | | Update a lot of loops, conditionals to use the _TNL_FIRST/LAST_* values instead of specific vertex attributes. Remove the EdgeFlagv function from the GLvertexformat struct.
* Add ARB_vertex_shader stage just before render stage.Michal Krol2006-02-131-2/+5
| | | | If enabled, all other stages, except render, are disabled.
* Add a NotifyInputChanges() callback so that drivers (particularly tnlKeith Whitwell2005-11-011-0/+4
| | | | | drivers) can track when the sizes or strides of incoming VB->AttribPtr arrays have changed.
* Store compiled vertex program representations in a pointer in theKeith Whitwell2005-06-091-8/+10
| | | | | | | | | | | | | vertex_program struct. Allow switching between regular and vertex_program implementations of fixed function TNL with the MESA_TNL_PROG environment var (previously this required recompilation). Ensure program compilation only references program data, not the wider context. This means that compiled programs only need to be invalidated when the program string changes, not on other state changes.
* Remove old t_vertex.c codegen infrastructure, tie in new code.Keith Whitwell2005-05-181-3/+13
| | | | Currently disabled, can enable with MESA_EXPERIMENTAL=t.
* Move the call to _tnl_UpdateFixedFunctionProgram to makeKeith Whitwell2005-04-221-0/+4
| | | | it easier for hardware drivers to test this out.
* Simplify the pipeline_stage structureKeith Whitwell2005-04-221-80/+66
| | | | | | | | | | - 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.
* mesa-tnl-0-to-NULL.patch from Jeff MuizelaarKeith Whitwell2005-02-101-1/+1
|
* minor #ifdef fixBrian Paul2004-01-311-1/+1
|
* Re-commit t_vertex.[ch] changes to fd.o server.Keith Whitwell2004-01-051-0/+3
|
* Port over changes from XFree86/Mesa 5.0.2, mostly to silence compiler warnings.Brian Paul2003-12-041-0/+6
|
* Merge vtx-0-2-branchKeith Whitwell2003-11-241-10/+8
|
* Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick2003-06-051-1/+0
|
* Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]Brian Paul2003-03-011-4/+3
| | | | | Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
* updated email addressesBrian Paul2002-10-291-2/+2
|
* Header file clean-up:Brian Paul2002-10-241-2/+2
| | | | | | | | 1. Remove all.h and PC_HEADER junk. 2. Rolled mem.c and mem.h into imports.c and imports.h 3. Include imports.h instead of mem.h Restore _mesa_create/initialize_context() to be like they were in 4.0.4 New wrappers for a few std C functions: _mesa_atoi(), _mesa_strstr(), etc.
* surround vertex program code with #if FEATURE_NV_vertex_program/#endifBrian Paul2002-10-161-1/+3
|
* Clean-up/renaming of the per-vertex attribute bits, specifically, theBrian Paul2002-01-221-2/+2
| | | | | | VERT_BIT_* flags are new and used in many places (esp in T&L code). Updated some comments for doxygen. Various code clean-ups.
* disable debug printf's, fix a crashBrian Paul2001-12-151-3/+1
|
* vertex program check-inBrian Paul2001-12-141-1/+4
|
* Initial commit of cliptest work. More to come shortly.Gareth Hughes2001-05-211-4/+4
| | | | | | | | - Add debug, benchmark code. - Change linux/x86 FAST_MATH code to GCC/x86, and clear FP exceptions before exiting the fast math block. - Remove divide-by-zero test in x86 cliptest, and set clipped vertices to [0,0,0,1] instead of leaving them uninitialized.
* Replace PipelineStart, PipelineFinish with RunPipeline. Clean upKeith Whitwell2001-05-101-32/+18
| | | | _tnl_run_pipeline() a little.
* Restore optimization for cva glArrayElement operation.Keith Whitwell2001-04-301-2/+9
|
* Remove values from VB->importable_data as those arrays are removedKeith Whitwell2001-04-191-2/+3
| | | | from the VB.
* Split driver struct into swrast/tnl/core components.Keith Whitwell2001-03-191-5/+5
|
* Consistent copyright info (version number, date) across all files.Gareth Hughes2001-03-121-24/+23
|
* Fixed conform problems with recent material tracking change.Keith Whitwell2001-02-161-2/+1
| | | | | | Remove redundant 'update_materials' stage. Fix conform segfault with seperate specular colors in mustpass.c. These tests still fail, however.
* Fix propogation of material values in VB's that don't reach the lightingKeith Whitwell2001-02-151-1/+6
| | | | | | | | | stage. (Materials now treated more like colors, etc.). Continue whipping the dd templates into shape. Remove old NormalLength code; may come back as a driver helper, but not useful for, eg. hardware t&l drivers.
* Removed knowledge of swrast Clear/Bitmap/Accum/Draw/Read/CopyPixelsKeith Whitwell2001-01-291-23/+33
| | | | | | | | | | | | functions from core mesa -- if drivers need these fallbacks they must now call them themselves. Introduced hooks for clip-vertex-interpolation and the rendering of clipped lines and polygons. Allows drivers to interpolate their hardware-format vertices directly. Used in dri drivers to replace fastpath code. Slight optimizations to pipeline build/run routines.
* Fixes for performance bug on compiled array element paths.Keith Whitwell2001-01-171-3/+3
|