summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_bitmap.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.
* mesa: move PBO-related functions into a new fileBrian Paul2011-02-281-0/+1
|
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-2/+2
|
* swrast: Remove support for Bitmap into a color-index bufferIan Romanick2010-03-031-12/+3
| | | | Signed-off-by: Ian Romanick <[email protected]>
* Merge branch 'mesa_7_7_branch'Jakob Bornecrantz2010-01-141-1/+0
|\ | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/auxiliary/util/Makefile src/gallium/drivers/r300/r300_state_derived.c
| * swrast: Remove unnecessary header from s_bitmap.c.Vinson Lee2010-01-131-1/+0
| |
* | swrast: add check for conditional renderingBrian Paul2009-12-311-0/+4
|/
* mesa: consolidate PBO map/unmap helpersBrian Paul2009-09-031-2/+2
| | | | | | | Instead of _mesa_map_readpix_pbo() use _mesa_map_pbo_source(). Instead of _mesa_map_drawpix_pbo() and _mesa_map_bitmap_pbo() use _mesa_map_pbo_dest().
* swrast: replace RENDER_START/FINISH macros with inline functionsBrian Paul2009-01-301-5/+4
|
* mesa: prefix a bunch of #include lines with "main/".Brian Paul2008-09-181-5/+5
| | | | | This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code...
* Refactor PBO validate/map code.Brian2008-03-211-5/+3
| | | | We always need to do PBO validation, so do that in core Mesa before calling driver routine.
* add a number of PBO validate/map/unmap functionsBrian2008-03-211-25/+7
| | | | Helper functions for (some) drivers, including swrast.
* simplify INIT_SPAN codeBrian2007-06-291-2/+6
|
* Overhaul/simplify SWvertex and SWspan attribute handling.Brian2007-05-201-17/+2
| | | | | Instead of separate fog/specular/texcoord/varying code, just treat all of them as generic attributes. Simplifies the point/line/triangle functions.
* Fix color sum bug 10688.Brian2007-04-211-2/+1
|
* Add _swrast_span_default_secondary_color() for use with glBitmap, ↵Brian2007-03-261-0/+2
| | | | | | | glDrawPixels, etc. Secondary color wasn't getting added to post-texture color when drawing bitmaps, images. See bug 10409.
* use _swrast_span_default_color() in the disabled code tooBrian Paul2006-10-041-13/+1
|
* call _swrast_span_default_color() to simplify _swrast_Bitmap(), improved ↵Brian Paul2006-10-041-18/+7
| | | | comments
* New SWspan and SWspanarrays typedefs.Brian Paul2006-10-011-2/+2
|
* check swrast->_FogEnabled instead of ctx->Fog.EnabledBrian Paul2005-10-311-2/+2
|
* remove stray span.y++Brian Paul2005-01-291-1/+1
|
* GL_(UN)PACK_SKIP_IMAGES should only be applied to 3D texture pack/unpackingBrian Paul2004-11-101-5/+5
| | | | | | | and ignored for 1D and 2D images. Need to pass in image dimensions (1,2,3) to the _mesa_image_address() function. This change gets propogated to some other routines. Also added new _mesa_image_address[123]d() convenience functions.
* Allow the software fallback glDrawPixels, glReadPixels, glBitmap commands toBrian Paul2004-10-311-8/+26
| | | | | work with real, hardware-based PBOs in the future by mapping/unmapping the PBO buffer as needed.
* Fix minor warnings found with g++.Brian Paul2004-05-041-1/+2
|
* Implementation of GL_EXT_pixel_buffer_object extension.Brian Paul2004-03-131-3/+10
| | | | | Note: extension may not be finalized yet - subject to change! Note: implementation not fully suitable for h/w implementation yet.
* current raster color index should be GLfloatBrian Paul2003-11-251-2/+2
|
* Added ctx->Texture._EnabledCoordUnits bitfield.Brian Paul2003-04-081-6/+4
| | | | | | Fixed some vertex array / vertex program glitches with glDrawElements. Fixed some fragment program runtime bugs. Non-trivial Cg programs are running now.
* replace _mesa_ prefix with _swrast_, remove s_histogram.[ch]Brian Paul2003-03-251-13/+13
|
* Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]Brian Paul2003-03-011-2/+1
| | | | | Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
* set default texcoords for glBitmap/glDrawPixelsBrian Paul2002-11-251-2/+6
|
* struct sw_span is again allocated on the stack, but the arrays of spanBrian Paul2002-08-071-46/+46
| | | | | | | 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.
* Allocate a sw_span struct in the swrast context instead of allocating itBrian Paul2002-04-191-47/+46
| | | | | on the stack frame in the point/line/triangle functions. (Klaus Niederkrueger) This should solve the performance problem Karl found on Windows.
* Klaus Niederkrueger's latest changes: use INIT_SPAN() to init span primitiveBrian Paul2002-04-121-13/+13
| | | | type, width, interp mask and array mask.
* don't include s_fog.hBrian Paul2002-02-171-2/+1
|
* added alternate glBitmap code (disabled)Brian Paul2002-02-151-1/+112
|
* sw_span can now hold x/y arrays of fragment positions - getting ready toBrian Paul2002-02-021-37/+43
| | | | | ditch the pb (pixel buffer) code. Converted point drawing, bitmaps and aa lines to use new span functions.
* vertex program check-inBrian Paul2001-12-141-2/+2
|
* More raster fog coord fixes.Brian Paul2001-06-261-11/+9
| | | | | New truncate vs. floor comments in drawpixels.c Added current raster secondary color state, not used yet.
* fix glDraw/CopyPixels w/ fog bug. minor fog code clean-ups.Brian Paul2001-06-181-4/+6
|
* added current raster fog coord and related codeBrian Paul2001-05-301-4/+9
|
* don't call _mesa_win_fog_coords_from_z() if fog is disabled, fixes FP exceptionBrian Paul2001-05-091-2/+5
|
* interpolate fog valus as floats, not fixed - fixed the swrast fog problemBrian Paul2001-05-031-2/+2
|
* Split driver struct into swrast/tnl/core components.Keith Whitwell2001-03-191-2/+7
|
* Consistent copyright info (version number, date) across all files.Gareth Hughes2001-03-121-10/+7
|
* lots of gl_*() to _mesa_*() namespace clean-upBrian Paul2001-03-031-2/+2
|
* Replaced struct gl_visual with struct __GLcontextModesRec from glcore.h.Brian Paul2001-01-231-5/+5
| | | | | Replace "RGBAMode" with "rgbMode", etc. Other minor clean-ups.