summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl_dd
Commit message (Collapse)AuthorAgeFilesLines
* mesa: Use assert() instead of ASSERT wrapper.Matt Turner2015-02-231-3/+3
| | | | Acked-by: Eric Anholt <[email protected]>
* tnl_dd: Remove dead t_dd_vb.c.Matt Turner2014-12-121-347/+0
| | | | Dead since e4344161 ("dri: Remove all DRI1 drivers").
* s/Tungsten Graphics/VMware/José Fonseca2014-01-176-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-056-6/+0
| | | | Signed-off-by: Brian Paul <[email protected]>
* mesa: Restore 78-column wrapping of license text in C-style comments.Kenneth Graunke2013-04-236-18/+24
| | | | | | | | | | | | | | 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-236-6/+6
| | | | | | | | | | | | | | | 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-236-6/+6
| | | | | | | | | | | | | | | | 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-48/+48
| | | | | | | | | | | | 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]>
* tnl_dd: Silence "tnl_dd/t_dd_tritmp.h:292:3: warning: suggest braces around ↵Ian Romanick2011-09-091-1/+2
| | | | empty body in an ‘if’ statement"
* mesa/tnl_dd: Remove unused source tree mesa/tnl_dd/immIan Romanick2011-08-268-2033/+0
| | | | | | | | | | Acked-by: Kristian Høgsberg <[email protected]> Acked-by: Marek Olšák <[email protected]> Acked-by: Alan Coopersmith <[email protected]> Acked-by: Jakob Bornecrantz <[email protected]> Acked-by: Dave Airlie <[email protected]> Build-Tested-by: Jakob Bornecrantz <[email protected]> Tested-by: Eugeni Dodonov <[email protected]>
* mesa/tnl_dd: Remove unused header file t_dd_vbtmp.hIan Romanick2011-08-262-676/+1
| | | | | | | | | | Acked-by: Kristian Høgsberg <[email protected]> Acked-by: Marek Olšák <[email protected]> Acked-by: Alan Coopersmith <[email protected]> Acked-by: Jakob Bornecrantz <[email protected]> Acked-by: Dave Airlie <[email protected]> Build-Tested-by: Jakob Bornecrantz <[email protected]> Tested-by: Eugeni Dodonov <[email protected]>
* mesa/tnl_dd: Remove unused header file t_dd_rendertmp.hIan Romanick2011-08-261-434/+0
| | | | | | | | | | Acked-by: Kristian Høgsberg <[email protected]> Acked-by: Marek Olšák <[email protected]> Acked-by: Alan Coopersmith <[email protected]> Acked-by: Jakob Bornecrantz <[email protected]> Acked-by: Dave Airlie <[email protected]> Build-Tested-by: Jakob Bornecrantz <[email protected]> Tested-by: Eugeni Dodonov <[email protected]>
* mesa: Remove stray, unused fileIan Romanick2011-08-261-58/+0
| | | | | | | | | | Acked-by: Kristian Høgsberg <[email protected]> Acked-by: Marek Olšák <[email protected]> Acked-by: Alan Coopersmith <[email protected]> Acked-by: Jakob Bornecrantz <[email protected]> Acked-by: Dave Airlie <[email protected]> Build-Tested-by: Jakob Bornecrantz <[email protected]> Tested-by: Eugeni Dodonov <[email protected]>
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-1312-146/+146
|
* mesa/tnl_dd: Remove color-index support from t_dd_unfilled.hIan Romanick2010-03-031-79/+38
| | | | | | | | The code removal and the re-indent were done together for this one because the cause of the affected code blocks is much, much smaller than in t_dd_tritmp.h. Signed-off-by: Ian Romanick <[email protected]>
* mesa/tnl_dd: White-space / indentation fixes after previous commitIan Romanick2010-03-031-150/+146
| | | | Signed-off-by: Ian Romanick <[email protected]>
* mesa/tnl_dd: Remove color-index support from t_dd_tritmp.hIan Romanick2010-03-031-121/+1
| | | | Signed-off-by: Ian Romanick <[email protected]>
* Merge branch 'mesa_7_7_branch'Brian Paul2009-12-213-2/+22
|\ | | | | | | | | | | Conflicts: src/mesa/main/version.h src/mesa/state_tracker/st_atom_shader.c
| * unichrome: Silence compiler warnings.Vinson Lee2009-12-151-2/+2
| |
| * t_dd_dmatmp.h: Silence unused value warning in render_poly_elts.Vinson Lee2009-12-121-0/+1
| |
| * t_dd_dmatmp2.h: Silence unused value warnings.Vinson Lee2009-12-121-0/+11
| |
| * t_dd_dmatmp.h: Silence unused value warnings in render_line_loop_elts.Vinson Lee2009-12-121-0/+2
| |
| * t_dd_dmatmp.h: Silence unused value warning in render_tri_fan_elts.Vinson Lee2009-12-121-0/+1
| |
| * t_dd_dmatmp.h: Silence unused value warning in render_poly_verts.Vinson Lee2009-12-121-0/+1
| |
| * t_dd_dmatmp.h: Silence unused value warning in render_quads_verts.Vinson Lee2009-12-121-0/+1
| |
| * t_dd_dmatmp.h: Silence unused value warning in render_tri_fan_verts.Vinson Lee2009-12-121-0/+1
| |
| * t_dd_dmatmp.h: Silence unused value warning in render_line_loop_verts.Vinson Lee2009-12-121-0/+1
| |
| * t_dd_dmatmp.h: Silence unused value warning in render_line_loop_verts.Vinson Lee2009-12-121-0/+1
| |
* | tnl: Replace deprecated FogCoordPtr with AttribPtr[_TNL_ATTRIB_FOG]Eric Anholt2009-11-191-3/+3
| |
* | tnl: Replace deprecated ColorPtr[] with AttribPtr or new BackfaceColorPtr.Eric Anholt2009-11-194-43/+43
| |
* | tnl: Replace deprecated IndexPtr[] with AttribPtr[] or new BackfaceIndexPtrEric Anholt2009-11-191-2/+2
| |
* | tnl: Replace deprecated TexCoordPtr with AttribPtr[_TNL_ATTRIB_TEX*]Eric Anholt2009-11-191-32/+32
|/
* mesa: add a prototype to silence warningsBrian Paul2009-02-281-0/+3
|
* mesa: fix polygon offset issue (bug #12061)Xiang, Haihao2008-07-041-2/+2
|
* Rename quad function to quadr to avoid clash with Solaris quad typedefDaniel Zhu2008-06-211-3/+3
| | | | Signed-off-by: Brian Paul <[email protected]>
* fix-build: remove ctx->_Facing assignmentBrian2007-11-301-8/+0
|
* Remove ctx->Point._Size and ctx->Line._Width.Brian2007-07-211-1/+1
| | | | | | The clamping for these values depends on whether we're drawing AA or non-AA points, lines. Defer clamping until drawing time. Drivers could compute and keep clamped AA and clamped non-AA values if desired.
* Overhaul/simplify SWvertex and SWspan attribute handling.Brian2007-05-201-24/+24
| | | | | Instead of separate fog/specular/texcoord/varying code, just treat all of them as generic attributes. Simplifies the point/line/triangle functions.
* s/fog/attrib[FRAG_ATTRIB_FOGC][0]/Brian2007-04-241-1/+1
|
* SWvertex no longer has texcoord field, use attrib field insteadBrian2007-02-231-24/+24
|
* Fix build failure in the savage driver.Eric Anholt2006-07-281-1/+1
|
* Instead of testing ctx->_TriangleCaps for flat/smooth shading, just use ↵Brian Paul2006-07-203-23/+26
| | | | ctx->Light.ShadeModel
* Wrap every place that accesses a dispatch table with a macro. A new script-Ian Romanick2005-07-181-24/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | generated file, called src/mesa/glapi/dispatch.h, is added. This file contains three macros for each API function. It contains a GET, a SET, and a CALL. Each of the macros take a pointer to the context and a pointer to the dispatch table. In several threads on mesa3d-dev we discussed replacing _glapi_add_entrypoint with a new function called _glapi_add_dispatch. For this discussion, the important difference between the two is that the caller of _glapi_add_dispatch does *not* know what the dispatch offset will be at compile time. Because of this callers need to track the dispatch offset returned by _glapi_add_dispatch. http://marc.theaimsgroup.com/?t=111947074700001&r=1&w=2 The downside is that driver code then has to access the dispatch table two different ways. It accesses it using structure tags (e.g., exec->Begin) for functions with fixed offsets and via a remap table (e.g., exec[ remap->NewExtensionFunction ]) for functions without fixed offsets. Yuck! Using the macros allows both types of functions to be accessed identically. If a driver needs to set a pointer for Begin, it does 'SET_Begin(ctx, exec, my_begin_function)'. If it needs to set a pointer for NewExtensionFunction, it does 'SET_NewExtensionFunction(ctx, exec, my_NewExtensionFunction_function)'. Furthermore, if at some point in the future a static offset is assigned for NewExtensionFunction, only the macros need to change (instead of every single place that accesses a table for that function). This code differs slightly from the originally posted patches in that the CALL, GET, and SET marcos no longer take a context pointer as a parameter. Brian Paul had suggested that the remap table could be stored as a global since it would be set at CreateScreen time and would be constant for all contexts. This change reflects that feedback. http://marc.theaimsgroup.com/?t=112087194700001&r=1&w=2
* Provide initial values for some variables.Keith Whitwell2005-05-251-4/+4
|
* Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul2005-05-041-5/+4
| | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
* fix signed vs unsigned comparison warnings in tnl_ddDave Airlie2005-02-142-2/+2
|
* My last attempt to fix polygon offsets with the reversed viewport depthFelix Kuehling2005-01-231-3/+8
| | | | | | | | | range used by the savage driver by negating ctx->MRD broke polygon offsets with software fallbacks. This one adds a REVERSE_DEPTH parameter to t_dd_tritmp.h (defaults to 0) that allows reversing polygon offsets for hardware rendering but not for software fallbacks. For software fallbacks depth values are reversed after polygon offsets have been applied by the depth span functions.
* Fix loop for quads-as-triangles.Keith Whitwell2005-01-131-2/+2
|
* More changes to cope with color stride == 0Keith Whitwell2005-01-101-9/+36
|
* Improve some quad paths, gives gears a little boost.Keith Whitwell2005-01-051-16/+39
|