aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_bitmap.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Move the transform and lighting code to two new directoriesKeith Whitwell2000-11-161-6/+1
| | | | | | | | | | | | | | | math: Provides basic matrix and vector functionality that might be useful to multiple software t&l implementations, and is used by core mesa to manage the Model, Project, etc matrices. tnl: The real transform & lighting code from core mesa, including everything from glVertex3f through vertex buffer handling, transformation, clipping, lighting and handoff to a driver for rasterization. The interfaces of these can be further tightened up, but the basic splitting up of state and code move is done.
* Reorganized software rasterizer as a module which manages its own state,Keith Whitwell2000-11-051-4/+8
| | | | | | 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/+131