summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_bitmap.c
AgeCommit message (Collapse)AuthorFilesLines
2021-12-03mesa: Delete libmesa_classicDylan Baker1-223/+0
We no longer have any classic drivers, so we no longer need libmesa_classic Reviewed-by: Emma Anholt <emma@anholt.net> Acked-by: Jason Ekstrand <jason@jlekstrand.net> Acked-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10153>
2015-02-23mesa: Use assert() instead of ASSERT wrapper.Matt Turner1-3/+3
Acked-by: Eric Anholt <eric@anholt.net>
2013-06-05mesa: remove outdated version lines in commentsRico Schüller1-1/+0
Signed-off-by: Brian Paul <brianp@vmware.com>
2013-04-23mesa: Restore 78-column wrapping of license text in C-style comments.Kenneth Graunke1-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 <brianp@vmware.com>
2013-04-23mesa: Add "OR COPYRIGHT HOLDERS" to license text disclaiming liability.Kenneth Graunke1-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 <brianp@vmware.com>
2013-04-23mesa: Change "BRIAN PAUL" to "THE AUTHORS" in license text.Kenneth Graunke1-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 <brianp@vmware.com>
2012-02-24swrast: define, use SWRAST_MAX_WIDTH/HEIGHTBrian Paul1-1/+1
We'll get rid of MAX_WIDTH, MAX_HEIGHT soon.
2011-02-28mesa: move PBO-related functions into a new fileBrian Paul1-0/+1
2010-10-13Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg1-2/+2
2010-03-03swrast: Remove support for Bitmap into a color-index bufferIan Romanick1-12/+3
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-01-14Merge branch 'mesa_7_7_branch'Jakob Bornecrantz1-1/+0
Conflicts: src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/auxiliary/util/Makefile src/gallium/drivers/r300/r300_state_derived.c
2010-01-13swrast: Remove unnecessary header from s_bitmap.c.Vinson Lee1-1/+0
2009-12-31swrast: add check for conditional renderingBrian Paul1-0/+4
2009-09-03mesa: consolidate PBO map/unmap helpersBrian Paul1-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().
2009-01-30swrast: replace RENDER_START/FINISH macros with inline functionsBrian Paul1-5/+4
2008-09-18mesa: prefix a bunch of #include lines with "main/".Brian Paul1-5/+5
This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code...
2008-03-21Refactor PBO validate/map code.Brian1-5/+3
We always need to do PBO validation, so do that in core Mesa before calling driver routine.
2008-03-21add a number of PBO validate/map/unmap functionsBrian1-25/+7
Helper functions for (some) drivers, including swrast.
2007-06-29simplify INIT_SPAN codeBrian1-2/+6
2007-05-20Overhaul/simplify SWvertex and SWspan attribute handling.Brian1-17/+2
Instead of separate fog/specular/texcoord/varying code, just treat all of them as generic attributes. Simplifies the point/line/triangle functions.
2007-04-21Fix color sum bug 10688.Brian1-2/+1
2007-03-26Add _swrast_span_default_secondary_color() for use with glBitmap, ↵Brian1-0/+2
glDrawPixels, etc. Secondary color wasn't getting added to post-texture color when drawing bitmaps, images. See bug 10409.
2006-10-04use _swrast_span_default_color() in the disabled code tooBrian Paul1-13/+1
2006-10-04call _swrast_span_default_color() to simplify _swrast_Bitmap(), improved ↵Brian Paul1-18/+7
comments
2006-10-01New SWspan and SWspanarrays typedefs.Brian Paul1-2/+2
2005-10-31check swrast->_FogEnabled instead of ctx->Fog.EnabledBrian Paul1-2/+2
2005-01-29remove stray span.y++Brian Paul1-1/+1
2004-11-10GL_(UN)PACK_SKIP_IMAGES should only be applied to 3D texture pack/unpackingBrian Paul1-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.
2004-10-31Allow the software fallback glDrawPixels, glReadPixels, glBitmap commands toBrian Paul1-8/+26
work with real, hardware-based PBOs in the future by mapping/unmapping the PBO buffer as needed.
2004-05-04Fix minor warnings found with g++.Brian Paul1-1/+2
2004-03-13Implementation of GL_EXT_pixel_buffer_object extension.Brian Paul1-3/+10
Note: extension may not be finalized yet - subject to change! Note: implementation not fully suitable for h/w implementation yet.
2003-11-25current raster color index should be GLfloatBrian Paul1-2/+2
2003-04-08Added ctx->Texture._EnabledCoordUnits bitfield.Brian Paul1-6/+4
Fixed some vertex array / vertex program glitches with glDrawElements. Fixed some fragment program runtime bugs. Non-trivial Cg programs are running now.
2003-03-25replace _mesa_ prefix with _swrast_, remove s_histogram.[ch]Brian Paul1-13/+13
2003-03-01Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]Brian Paul1-2/+1
Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
2002-11-25set default texcoords for glBitmap/glDrawPixelsBrian Paul1-2/+6
2002-08-07struct sw_span is again allocated on the stack, but the arrays of spanBrian Paul1-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.
2002-04-19Allocate a sw_span struct in the swrast context instead of allocating itBrian Paul1-47/+46
on the stack frame in the point/line/triangle functions. (Klaus Niederkrueger) This should solve the performance problem Karl found on Windows.
2002-04-12Klaus Niederkrueger's latest changes: use INIT_SPAN() to init span primitiveBrian Paul1-13/+13
type, width, interp mask and array mask.
2002-02-17don't include s_fog.hBrian Paul1-2/+1
2002-02-15added alternate glBitmap code (disabled)Brian Paul1-1/+112
2002-02-02sw_span can now hold x/y arrays of fragment positions - getting ready toBrian Paul1-37/+43
ditch the pb (pixel buffer) code. Converted point drawing, bitmaps and aa lines to use new span functions.
2001-12-14vertex program check-inBrian Paul1-2/+2
2001-06-26More raster fog coord fixes.Brian Paul1-11/+9
New truncate vs. floor comments in drawpixels.c Added current raster secondary color state, not used yet.
2001-06-18fix glDraw/CopyPixels w/ fog bug. minor fog code clean-ups.Brian Paul1-4/+6
2001-05-30added current raster fog coord and related codeBrian Paul1-4/+9
2001-05-09don't call _mesa_win_fog_coords_from_z() if fog is disabled, fixes FP exceptionBrian Paul1-2/+5
2001-05-03interpolate fog valus as floats, not fixed - fixed the swrast fog problemBrian Paul1-2/+2
2001-03-19Split driver struct into swrast/tnl/core components.Keith Whitwell1-2/+7
2001-03-12Consistent copyright info (version number, date) across all files.Gareth Hughes1-10/+7