summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_linetemp.h
Commit message (Collapse)AuthorAgeFilesLines
* swrast: replace __FUNCTION__ with __func__Marius Predut2015-04-141-2/+2
| | | | | | | | | | | Consistently just use C99's __func__ everywhere. The patch was verified with Microsoft Visual studio 2013 redistributable package(RTM version number: 18.0.21005.1) Next MSVC versions intends to support __func__. No functional changes. Acked-by: Matt Turner <[email protected]> Signed-off-by: Marius Predut <[email protected]>
* mesa: Use assert() instead of ASSERT wrapper.Matt Turner2015-02-231-2/+2
| | | | Acked-by: Eric Anholt <[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-31/+31
| | | | | | | | | | | | 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]>
* swast: replace renderbuffer->GetPointer() with _swrast_pixel_address()Brian Paul2011-12-241-1/+1
| | | | Reviewed-by: Eric Anholt <[email protected]>
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-1/+1
|
* swrast: Remove stray comment that mentions ctx->VisualIan Romanick2010-03-051-1/+0
| | | | Signed-off-by: Ian Romanick <[email protected]>
* swrast: Remove support for rendering lines into a color-index bufferIan Romanick2010-03-031-18/+0
| | | | Signed-off-by: Ian Romanick <[email protected]>
* fix broken two-sided stencilBrian2007-11-301-0/+3
|
* simplify INIT_SPAN codeBrian2007-06-291-1/+4
|
* Overhaul/simplify SWvertex and SWspan attribute handling.Brian2007-05-201-71/+57
| | | | | Instead of separate fog/specular/texcoord/varying code, just treat all of them as generic attributes. Simplifies the point/line/triangle functions.
* trim down the number of line drawing functions, special casesBrian2007-04-241-31/+3
|
* remove SWvertex->fog field, use attrib fieldBrian2007-04-231-2/+3
|
* Improve the code for interpolating fragment attributes a little. More to ↵Brian2007-04-231-22/+19
| | | | come...
* Merge branch 'origin' into glsl-compiler-1Brian2007-02-221-3/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/main/state.c src/mesa/shader/program.c src/mesa/shader/program.h src/mesa/shader/programopt.c src/mesa/shader/slang/slang_execute.c src/mesa/sources src/mesa/swrast/s_arbshader.c src/mesa/swrast/s_context.c src/mesa/swrast/s_span.c src/mesa/swrast/s_zoom.c src/mesa/tnl/t_context.c src/mesa/tnl/t_save_api.c src/mesa/tnl/t_vb_arbprogram.c src/mesa/tnl/t_vp_build.c src/mesa/tnl/t_vtx_eval.c
| * Use GLuint instead of GLint to store intermediate Z values. Fixes problems ↵Brian2007-01-061-5/+6
| | | | | | | | when using 32-bit Z buffer.
* | Merge SWvertex texcoord and varying fields into attrib[] array field.Brian2007-02-051-56/+25
| | | | | | | | | | Fragment texcoords and varying code is now unified in the point/line/triangle rasterization code. In the future, merge color, fog, etc. attribs.
* | Replace color, z, w, texture interpolants with new generic attrib interpolants.Brian2007-02-021-35/+36
| |
* | New span attrStart/attrStepX/attrStepY fields to replace fog, specular, etc. ↵Brian2007-02-021-18/+19
| | | | | | | | fields. More to come.
* | only setup varying vars that will be usedBrian2007-01-241-22/+26
| |
* | added INTERP_VARYING codeBrian2006-12-211-0/+29
|/
* New SWspan and SWspanarrays typedefs.Brian Paul2006-10-011-1/+1
|
* replace GLdepth with GLuint and remove GLdepthBrian Paul2005-09-211-4/+4
|
* Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul2005-05-041-1/+2
| | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
* init span.w, dwdx, dwdy in case we're running a fragment programBrian Paul2004-12-151-3/+7
|
* Fix some warningsAlan Hourihane2004-12-021-0/+2
|
* Fix color index mode rendering.Brian Paul2004-03-091-3/+3
| | | | Changed SWvertex's index field to GLfloat and fix a few other bits.
* Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick2003-06-051-1/+0
|
* replace _mesa_ prefix with _swrast_, remove s_histogram.[ch]Brian Paul2003-03-251-2/+2
|
* casts to silence g++ warningsBrian Paul2003-02-251-3/+4
|
* more clean-upsBrian Paul2002-11-151-25/+16
|
* Overhaul of line drawing template code. Make better use of sw_span mechanism.Brian Paul2002-11-141-365/+195
|
* fix one-bit error in float->int Z calculationBrian Paul2002-11-091-6/+7
|
* fix Intel C compiler warnings (Gerk Huisma)Brian Paul2002-03-191-3/+3
|
* Converted line drawing over to new span code, pb no longer used.Brian Paul2002-02-021-70/+12
| | | | | Big clean-up of line drawing code. Removed many obsolete span processing functions.
* changed PB (pixel buffer) to use texcoord[4] arrayBrian Paul2002-01-161-1/+13
|
* add inf and nan tests to swrast functionsKeith Whitwell2001-12-051-1/+8
|
* assorted changes for supporting GLfloat color channels (not done)Brian Paul2001-07-131-15/+15
|
* interpolate fog valus as floats, not fixed - fixed the swrast fog problemBrian Paul2001-05-031-3/+3
|
* Consistent copyright info (version number, date) across all files.Gareth Hughes2001-03-121-8/+8
|
* do fog interpolation if INTERP_FOG is defined, not when INTERP_Z is definedBrian Paul2001-03-081-2/+14
|
* fixed divide by zero problemBrian Paul2001-02-071-3/+7
|
* Replaced struct gl_visual with struct __GLcontextModesRec from glcore.h.Brian Paul2001-01-231-2/+2
| | | | | Replace "RGBAMode" with "rgbMode", etc. Other minor clean-ups.
* Replaced Texture.CurrentD[] with separate Texture.Current1/2/3D vars.Brian Paul2000-11-191-2/+2
| | | | | | | Completely removed the dirty texture object list. Set texObj->Complete to GL_FALSE to indicate dirty. Made point/line/triangle/quad SWvertex parameters const. Minor code clean-ups.
* Reorganized software rasterizer as a module which manages its own state,Keith Whitwell2000-11-051-99/+65
| | | | | | with tighter interfaces with the rest of the world. Proper documentation to come.
* Moved software rasterizer functionality to new directory.Keith Whitwell2000-10-311-0/+682