summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_bitmap.c
Commit message (Collapse)AuthorAgeFilesLines
* 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