aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast_setup/ss_tritmp.h
Commit message (Collapse)AuthorAgeFilesLines
* mesa: Avoid double promotion.Matt Turner2015-07-291-2/+2
| | | | Reviewed-by: Iago Toral Quiroga <[email protected]>
* mesa: replace FABSF with fabsfBrian Paul2015-02-241-2/+2
| | | | Reviewed-by: Matt Turner <[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_frag_attrib enum with gl_varying_slot.Paul Berry2013-03-151-46/+46
| | | | | | | | | | | | This patch makes the following search-and-replace changes: gl_frag_attrib -> gl_varying_slot FRAG_ATTRIB_* -> VARYING_SLOT_* FRAG_BIT_* -> VARYING_BIT_* Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Tested-by: Brian Paul <[email protected]>
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-2/+2
|
* swrast_setup: Remove more color-index rendering supportIan Romanick2010-03-031-81/+63
| | | | Signed-off-by: Ian Romanick <[email protected]>
* mesa: Fix compiler warningsKarl Schultz2010-02-131-6/+6
| | | | | Add explicit casts, fix constant types, fix variable types. Fixes about 340 warnings in MSFT Visual Studio.
* swrast: Silence uninitialized variable warnings in ss_tritmp.h.Vinson Lee2010-02-101-1/+1
|
* Merge branch 'mesa_7_7_branch'Brian Paul2009-12-211-3/+3
|\ | | | | | | | | | | Conflicts: src/mesa/main/version.h src/mesa/state_tracker/st_atom_shader.c
| * swrast: Silence uninitialized variable warnings in ss_tritmp.h.Vinson Lee2009-12-121-3/+3
| |
* | tnl: Replace deprecated ColorPtr[] with AttribPtr or new BackfaceColorPtr.Eric Anholt2009-11-191-8/+8
| |
* | tnl: Replace deprecated IndexPtr[] with AttribPtr[] or new BackfaceIndexPtrEric Anholt2009-11-191-1/+1
|/
* swrast: Silence compiler warnings, give better structure to the code as a ↵Michal Krol2009-03-191-2/+2
| | | | result.
* fix broken two-sided stencilBrian2007-11-301-2/+0
|
* Check for NULL VB->EdgeFlag array.Brian2007-11-051-8/+10
| | | | | There might be a bug elsewhere, but this is a simple work-around for now. See bug 12614
* Minor clean-up of polygon offset logic. Properly compute _MRD field.Brian2007-07-111-19/+21
|
* Fix problem w/ two-sided lighting and fragment programs (depth-peel regression)Brian2007-05-231-14/+52
|
* Overhaul/simplify SWvertex and SWspan attribute handling.Brian2007-05-201-44/+44
| | | | | Instead of separate fog/specular/texcoord/varying code, just treat all of them as generic attributes. Simplifies the point/line/triangle functions.
* fig segment fault issue in TAG(triangle), (see bug 10589)Xiang, Haihao2007-04-181-19/+24
| | | | | | Bit SS_TWOSIDE_BIT is set if gl_FrontFacing lives in fragment input (see commit 10b5895597d5e069183cb647d17eb412effceb4f). However, VB->ColorPtr[1] isn't assigned after that.
* Implement gl_FrontFacing for fragment shaders.Brian2007-03-101-2/+1
| | | | | | For the time being, we put the gl_FrontFacing value in the FOGC.Y input register. Combining FOGC and FrontFacing in one register is a bit of a hack and may need to be changed someday.
* Fix valgrind complaint, conform vertex order test.Keith Whitwell2005-05-111-6/+20
|
* Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul2005-05-041-1/+1
| | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
* Fix minor warnings found with g++.Brian Paul2004-05-041-1/+1
|
* added clamping to polygon offset to prevent potential negative Z values and ↵Brian Paul2004-03-031-16/+15
| | | | FP exceptions
* Save and restore front colors on backfacing triangles rather than trying toKeith Whitwell2003-11-281-13/+28
| | | | pull them again from the VB pointers. Avoids stride issues.
* fix assorted g++ warningsBrian Paul2003-11-251-6/+6
|
* Merge vtx-0-2-branchKeith Whitwell2003-11-241-6/+6
|
* Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick2003-06-051-1/+0
|
* init facing to zeroBrian Paul2002-11-131-4/+4
|
* fix culling problem (bug 630649)Brian Paul2002-10-291-3/+3
|
* updated email addressesBrian Paul2002-10-291-2/+2
|
* multiple GL_POINTS can now be rendered together into one fragment spanBrian Paul2002-10-041-2/+3
|
* finished up GL_EXT_stencil_two_sideBrian Paul2002-10-021-1/+2
|
* more warning fixes (Karl Schultz)Brian Paul2001-09-141-4/+4
|
* Lighting now emits colors as CHAN_TYPE, as it used to. This will requireKeith Whitwell2001-07-171-5/+5
| | | | minor adjustments in the dri drivers for twosided lighting to work again.
* Rename some of the tnl->Driver.* functions to tnl->Driver.Render.*, to make itKeith Whitwell2001-07-121-9/+13
| | | | | | | | | | | | | | clear that these are owned by t_vb_render.c. Make swrast_setup opaque - it now hooks itself directly into tnl->Driver.Render.*. Add a _swsetup_Wakeup() call that does this. Update X11 (tested), osmesa and FX drivers for this change. FX compiles but is probably broken as the changes there are large. It was the only remaining driver that used the internal _swsetup_ functions for interp and copy_pv. This usage has been replaced with code from the DRI tdfx driver.
* Support for floating point color representation in tnl module.Keith Whitwell2001-04-281-5/+5
|
* * src/swrast_setup/ss_tritmp.h (quad): Changed name of this function topesco2001-03-211-3/+3
| | | | | quadfunc. * common_rules.make: Use tabs for command indentation.
* Split driver struct into swrast/tnl/core components.Keith Whitwell2001-03-191-2/+2
|
* Consistent copyright info (version number, date) across all files.Gareth Hughes2001-03-121-18/+17
|
* Lots of GLchan datatype changes.Brian Paul2001-01-241-4/+4
| | | | | | | | | 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
* Replaced struct gl_visual with struct __GLcontextModesRec from glcore.h.Brian Paul2001-01-231-0/+2
| | | | | Replace "RGBAMode" with "rgbMode", etc. Other minor clean-ups.
* Fix several conformance problems. Hack solution to line stipple problem.Keith Whitwell2001-01-161-8/+2
|
* Remove 'pv' parameter from Line/Tri/Point funcs. The provoking vertexKeith Whitwell2001-01-051-145/+39
| | | | | | | | | | | | | | is always the last vertex parameter. Modify clipping to preserve pv colors. Modify swrast and X11 driver to expect the pv in the last vertex (was looking in the first vertex previously). Remove all handling of flatshading from swrast_setup. Allow drivers to override the unclipped render tabs in tnl_render_stage directly. (Like in 3.4). Removed fxsimplerender stage. Modified t_vb_rendertmp.h to remove the need for 'parity' arguments in RENDER_TRI macros.
* Major rework of tnl moduleKeith Whitwell2000-12-261-76/+84
| | | | | | | New array_cache module Support 8 texture units in core mesa (now support 8 everywhere) Rework core mesa statechange operations to avoid flushing on many noop statechanges.
* Move the transform and lighting code to two new directoriesKeith Whitwell2000-11-161-3/+3
| | | | | | | | | | | | | | | math: Provides basic matrix and vector functionality that might be useful to multiple software t&l implementations, and is used by core mesa to manage the Model, Project, etc matrices. tnl: The real transform & lighting code from core mesa, including everything from glVertex3f through vertex buffer handling, transformation, clipping, lighting and handoff to a driver for rasterization. The interfaces of these can be further tightened up, but the basic splitting up of state and code move is done.