Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | swrast: replace RENDER_START/FINISH macros with inline functions | Brian Paul | 2009-01-30 | 1 | -5/+4 |
| | |||||
* | mesa: prefix a bunch of #include lines with "main/". | Brian Paul | 2008-09-18 | 1 | -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. | Brian | 2008-03-21 | 1 | -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 functions | Brian | 2008-03-21 | 1 | -25/+7 |
| | | | | Helper functions for (some) drivers, including swrast. | ||||
* | simplify INIT_SPAN code | Brian | 2007-06-29 | 1 | -2/+6 |
| | |||||
* | Overhaul/simplify SWvertex and SWspan attribute handling. | Brian | 2007-05-20 | 1 | -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. | Brian | 2007-04-21 | 1 | -2/+1 |
| | |||||
* | Add _swrast_span_default_secondary_color() for use with glBitmap, ↵ | Brian | 2007-03-26 | 1 | -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 too | Brian Paul | 2006-10-04 | 1 | -13/+1 |
| | |||||
* | call _swrast_span_default_color() to simplify _swrast_Bitmap(), improved ↵ | Brian Paul | 2006-10-04 | 1 | -18/+7 |
| | | | | comments | ||||
* | New SWspan and SWspanarrays typedefs. | Brian Paul | 2006-10-01 | 1 | -2/+2 |
| | |||||
* | check swrast->_FogEnabled instead of ctx->Fog.Enabled | Brian Paul | 2005-10-31 | 1 | -2/+2 |
| | |||||
* | remove stray span.y++ | Brian Paul | 2005-01-29 | 1 | -1/+1 |
| | |||||
* | GL_(UN)PACK_SKIP_IMAGES should only be applied to 3D texture pack/unpacking | Brian Paul | 2004-11-10 | 1 | -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 to | Brian Paul | 2004-10-31 | 1 | -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 Paul | 2004-05-04 | 1 | -1/+2 |
| | |||||
* | Implementation of GL_EXT_pixel_buffer_object extension. | Brian Paul | 2004-03-13 | 1 | -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 GLfloat | Brian Paul | 2003-11-25 | 1 | -2/+2 |
| | |||||
* | Added ctx->Texture._EnabledCoordUnits bitfield. | Brian Paul | 2003-04-08 | 1 | -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 Paul | 2003-03-25 | 1 | -13/+13 |
| | |||||
* | Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch] | Brian Paul | 2003-03-01 | 1 | -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/glDrawPixels | Brian Paul | 2002-11-25 | 1 | -2/+6 |
| | |||||
* | struct sw_span is again allocated on the stack, but the arrays of span | Brian Paul | 2002-08-07 | 1 | -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 it | Brian Paul | 2002-04-19 | 1 | -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 primitive | Brian Paul | 2002-04-12 | 1 | -13/+13 |
| | | | | type, width, interp mask and array mask. | ||||
* | don't include s_fog.h | Brian Paul | 2002-02-17 | 1 | -2/+1 |
| | |||||
* | added alternate glBitmap code (disabled) | Brian Paul | 2002-02-15 | 1 | -1/+112 |
| | |||||
* | sw_span can now hold x/y arrays of fragment positions - getting ready to | Brian Paul | 2002-02-02 | 1 | -37/+43 |
| | | | | | ditch the pb (pixel buffer) code. Converted point drawing, bitmaps and aa lines to use new span functions. | ||||
* | vertex program check-in | Brian Paul | 2001-12-14 | 1 | -2/+2 |
| | |||||
* | More raster fog coord fixes. | Brian Paul | 2001-06-26 | 1 | -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 Paul | 2001-06-18 | 1 | -4/+6 |
| | |||||
* | added current raster fog coord and related code | Brian Paul | 2001-05-30 | 1 | -4/+9 |
| | |||||
* | don't call _mesa_win_fog_coords_from_z() if fog is disabled, fixes FP exception | Brian Paul | 2001-05-09 | 1 | -2/+5 |
| | |||||
* | interpolate fog valus as floats, not fixed - fixed the swrast fog problem | Brian Paul | 2001-05-03 | 1 | -2/+2 |
| | |||||
* | Split driver struct into swrast/tnl/core components. | Keith Whitwell | 2001-03-19 | 1 | -2/+7 |
| | |||||
* | Consistent copyright info (version number, date) across all files. | Gareth Hughes | 2001-03-12 | 1 | -10/+7 |
| | |||||
* | lots of gl_*() to _mesa_*() namespace clean-up | Brian Paul | 2001-03-03 | 1 | -2/+2 |
| | |||||
* | Replaced struct gl_visual with struct __GLcontextModesRec from glcore.h. | Brian Paul | 2001-01-23 | 1 | -5/+5 |
| | | | | | Replace "RGBAMode" with "rgbMode", etc. Other minor clean-ups. | ||||
* | Move the transform and lighting code to two new directories | Keith Whitwell | 2000-11-16 | 1 | -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 Whitwell | 2000-11-05 | 1 | -4/+8 |
| | | | | | | with tighter interfaces with the rest of the world. Proper documentation to come. | ||||
* | Moved software rasterizer functionality to new directory. | Keith Whitwell | 2000-10-31 | 1 | -0/+131 |