aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_blend.c
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]>
* swrast: define, use SWRAST_MAX_WIDTH/HEIGHTBrian Paul2012-02-241-1/+1
| | | | We'll get rid of MAX_WIDTH, MAX_HEIGHT soon.
* swrast: remove gl_renderbuffer::DataType assertionsBrian Paul2012-01-241-1/+0
| | | | This field will go away, so remove some uses of it.
* mesa: Use ColorLogicOpEnabled instead of _LogicOpEnabledIan Romanick2011-09-191-1/+1
| | | | | | | | | | Since GL_EXT_blend_logic_op is removed, _LogicOpEnabled and ColorLogicOpEnabled always have the same value. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
* mesa/colormac: introduce inline helper for 4 unclamped float to ubyte.Dave Airlie2011-09-141-6/+2
| | | | | | | | | This introduces an UNCLAMPED_FLOAT_TO_UBYTE x 4 inline function, as suggested by Brian. It uses it in a few places I noticed from previous color changes, and also some core mesa places. I haven't updated other places yet. Signed-off-by: Dave Airlie <[email protected]>
* mesa: begin implementation of GL_ARB_draw_buffers_blendBrian Paul2011-01-151-46/+46
|
* swrast: avoid large stack allocations in blend codeBrian Paul2010-12-021-1/+13
|
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-13/+13
|
* Remove _mesa_memcpy in favor of plain memcpy.Kenneth Graunke2010-02-191-1/+1
| | | | This may break the SUNOS4 build, but it's no longer relevant.
* mesa: prefix a bunch of #include lines with "main/".Brian Paul2008-09-181-4/+4
| | | | | This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code...
* mesa: fix float blend bugMark Anderson2008-08-201-3/+4
|
* New SWspan and SWspanarrays typedefs.Brian Paul2006-10-011-2/+1
|
* more changes for runtime renderbuffer depthsBrian Paul2006-09-291-635/+340
|
* Initial work for supporting different renderbuffer color depths at runtime.Brian Paul2006-09-251-142/+566
|
* Change logicop, blend, masking functions to use the colors/indexes in theBrian Paul2006-09-241-4/+5
| | | | sw_span object, rather than an explicit parameter.
* Fix potential segfault when trying to read pixels outside renderbuffer bounds.Brian Paul2005-09-161-2/+2
| | | | Use _swrast_get_values() which does clipping.
* Remove last of the old span code.Brian Paul2005-06-021-10/+2
|
* Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul2005-05-041-13/+13
| | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
* s/BlendEquatioRGB/BlendEquationRGB/Brian Paul2004-01-281-5/+5
|
* Added support for EXT_blend_equation_separate / ATI_blend_equation_separate.Ian Romanick2004-01-271-25/+93
| | | | | The internal driver interface was also changed to use BlendEquationSeparate instead of BlendEquation.
* added blurb about NVIDIA extensionsBrian Paul2004-01-141-2/+10
|
* fix GL_MIN/MAX w/ glBlendFuncSeparate bug (Ian Romanick)Brian Paul2003-12-151-22/+21
|
* Ville Syrjala's logic op patchBrian Paul2003-11-121-1/+1
|
* fixes for x86 buildsBrian Paul2003-06-101-5/+4
|
* 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-4/+4
|
* patches from Gerk Huisma for float-channel renderingBrian Paul2002-10-171-24/+47
|
* struct sw_span is again allocated on the stack, but the arrays of spanBrian Paul2002-08-071-6/+7
| | | | | | | data are broken out into a new struct span_arrays which is allocated per-context (to avoid huge stack allocations - a problem on Windows). This lets us use span.redStep instead of span->redStep (for example) to hopefully get slightly better performance in the triangle functions.
* blending fixes for CHAN_TYPE==GL_FLOAT (Gerk Huisma)Brian Paul2002-06-301-1/+38
|
* Added min and max blend functions.Jose Fonseca2002-04-191-3/+15
| | | | Slight optimization of _mesa_mmx_blend_add.
* MMX add blending function added.Jose Fonseca2002-04-191-2/+8
|
* MMX modulate belding function added.Jose Fonseca2002-04-191-2/+8
| | | | Factorization of more common MMX code.
* new MMX blend code (Jose Fonseca)Brian Paul2002-04-101-5/+3
|
* fixed 16 bit/channel problem in blend_modulate()Brian Paul2002-04-041-5/+14
|
* blend_add() modified for GLfloat channelsBrian Paul2002-04-041-5/+15
|
* more blending updates from JoseBrian Paul2002-04-021-19/+9
|
* faster blending (Jose Fonseca)Brian Paul2002-04-021-1/+13
|
* fixed inequality in an assertionBrian Paul2002-03-271-2/+2
|
* fix compiler warning (windows)Karl Schultz2002-02-121-2/+2
|
* Converted line drawing over to new span code, pb no longer used.Brian Paul2002-02-021-30/+1
| | | | | Big clean-up of line drawing code. Removed many obsolete span processing functions.
* sw_span can now hold x/y arrays of fragment positions - getting ready toBrian Paul2002-02-021-22/+29
| | | | | ditch the pb (pixel buffer) code. Converted point drawing, bitmaps and aa lines to use new span functions.
* special case blend optmizations (Jeremy Fitzhardinge)Brian Paul2001-12-131-6/+54
|
* disable MMX blend code until it gets fixedBrian Paul2001-07-161-2/+3
|
* assorted changes for supporting GLfloat color channels (not done)Brian Paul2001-07-131-1/+8
|
* 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-10/+8
|
* More g++ warning fixes. Fixes for CHAN_BITS==16, it seems to work.Brian Paul2001-03-081-8/+16
|