summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_span.h
Commit message (Collapse)AuthorAgeFilesLines
* 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-6/+6
| | | | | | | | | | | | 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]>
* swrast: define, use SWRAST_MAX_WIDTH/HEIGHTBrian Paul2012-02-241-10/+11
| | | | We'll get rid of MAX_WIDTH, MAX_HEIGHT soon.
* mesa: remove gl_renderbuffer::DataTypeBrian Paul2012-01-241-0/+1
|
* swrast: stop using Put/GetRow/Values() in swrast codeBrian Paul2012-01-241-0/+5
| | | | | All color buffer rendering is now done by accessing mapped renderbuffer memory. We're now able to get rid of all the GetRow/PutRow stuff.
* swrast: make _swrast_get_values(), _swrast_get_row() staticBrian Paul2012-01-241-11/+0
| | | | They were only called from in s_span.c
* swrast: remove dstType param from _swrast_read_rgba_span()Brian Paul2012-01-241-1/+1
| | | | It was always GL_FLOAT.
* swrast: remove unused _swrast_put_row()Brian Paul2012-01-241-5/+0
|
* swrast: s/GLbitfield/GLbitfield64/ for sw_span::arrayAttribsBrian Paul2012-01-071-1/+2
| | | | This is a bitfield of FRAG_BIT_x values so it should be 64-bits now.
* mesa: move last bits of GLchan stuff into swrastBrian Paul2011-09-201-0/+2
| | | | | This removes the last remnants of the GLchan datatype and associated macros out of core Mesa and into swrast.
* swrast: Clean up header file inclusion in s_span.h.Vinson Lee2010-12-241-1/+6
|
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-8/+8
|
* swrast: Remove SPAN_INDEXIan Romanick2010-03-031-7/+6
| | | | | | Also adjust the bits that appear after it to fill in the gap. Signed-off-by: Ian Romanick <[email protected]>
* swrast: Remove _swrast_read_index_spanIan Romanick2010-03-031-4/+0
| | | | | | | After all the recent color-index rendering removal, _swrast_read_index_span is no longer used anywhere. Signed-off-by: Ian Romanick <[email protected]>
* swrast: Remove _swrast_write_index_span and associated codeIan Romanick2010-03-031-3/+0
| | | | | | | After all the recent color-index rendering removal, _swrast_write_index_span is no longer used anywhere. Signed-off-by: Ian Romanick <[email protected]>
* swrast: fix span clipping bugBrian Paul2009-05-071-2/+7
| | | | | If a horizontal span of pixels was located at x < 0 we could sometimes read/write outside of renderbuffer bounds.
* mesa: prefix a bunch of #include lines with "main/".Brian Paul2008-09-181-1/+0
| | | | | This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code...
* simplify INIT_SPAN codeBrian2007-06-291-9/+9
|
* Overhaul/simplify SWvertex and SWspan attribute handling.Brian2007-05-201-74/+24
| | | | | Instead of separate fog/specular/texcoord/varying code, just treat all of them as generic attributes. Simplifies the point/line/triangle functions.
* Add _swrast_span_default_secondary_color() for use with glBitmap, ↵Brian2007-03-261-0/+3
| | | | | | | glDrawPixels, etc. Secondary color wasn't getting added to post-texture color when drawing bitmaps, images. See bug 10409.
* comment about SPAN_* vs FRAG_BIT_* valuesBrian2007-03-131-0/+2
|
* Replace color, z, w, texture interpolants with new generic attrib interpolants.Brian2007-02-021-17/+9
|
* New span attrStart/attrStepX/attrStepY fields to replace fog, specular, etc. ↵Brian2007-02-021-8/+5
| | | | fields. More to come.
* get rid of unused span->start fieldBrian2007-02-021-4/+2
|
* commentsBrian2007-02-011-0/+3
|
* New SWspanarrays attribs[] array.Brian2007-02-011-26/+12
| | | | | | | Replace texcoord[], varying[], etc. arrays with single attribs[] array, indexed by FRAG_ATTRIB_* values. Eliminates need to copy data into fragment program machine input registers. Will lead to future clean-ups.
* move span-related types/tokens into s_span.hBrian2007-02-011-0/+201
|
* Lots of changes to support runtime renderbuffer depths.Brian Paul2006-10-121-2/+2
| | | | | | _swrast_read_rgba_span() now takes a datatype parameter. New optimization for glReadPixels(format=GL_RGB). New glCopyPixels optimization for the simple, common cases.
* New SWspan and SWspanarrays typedefs.Brian Paul2006-10-011-8/+8
|
* Initial work for supporting different renderbuffer color depths at runtime.Brian Paul2006-09-251-0/+5
|
* added _swrast_get_row()Brian Paul2005-09-301-0/+5
|
* added _swrast_put_row()Brian Paul2005-09-291-0/+5
|
* Fix potential segfault when trying to read pixels outside renderbuffer bounds.Brian Paul2005-09-161-1/+6
| | | | Use _swrast_get_values() which does clipping.
* Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul2005-05-041-3/+3
| | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
* Consolidate _swrast_write_texture_span() into _swrast_write_rgba_span().Brian Paul2004-12-181-11/+6
|
* 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-12/+12
|
* Fix up some fragment program texture enable issues.Brian Paul2003-03-151-3/+8
| | | | Implemented TXD instruction.
* Added ctx parameter to _mesa_debug()Brian Paul2002-06-151-1/+3
| | | | | | Added _mesa_printf() Updated SetDrawBuffer() function in all drivers (ala 4.0.3) Import 4.0.3/DRI changes.
* Klaus Niederkrueger's latest changes: use INIT_SPAN() to init span primitiveBrian Paul2002-04-121-7/+6
| | | | type, width, interp mask and array mask.
* Simplified fog code.Brian Paul2002-02-171-1/+4
|
* More span improvements. Removed _mesa_write_monocolor_span().Brian Paul2002-01-281-5/+2
| | | | | Removed last of span.filled* flags and Klaus's macros. More simplification of triangle functions.
* More span clean-up, mostly texture-related.Brian Paul2002-01-281-18/+2
| | | | | _mesa_rasterize_span() is gone, replaced by new _mesa_write_textured_span(). Removed some unneeded triangle functions - more simplification possible.
* LOTS of changes, building upon Klaus's work.Brian Paul2002-01-271-25/+11
| | | | | struct sw_span is used throughout span/fragment processing. This is leading to less code and more chances for optimization.
* Klaus's latest patches and some clean-upBrian Paul2002-01-211-4/+4
|
* latest changes from KlausBrian Paul2002-01-161-1/+5
|
* Klaus's latest patches: change texcoord[3] to texcoord[4] everywhereBrian Paul2002-01-101-9/+9
|