aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_pointtemp.h
Commit message (Collapse)AuthorAgeFilesLines
* Add a facility to route all rasterization through a fragment programKeith Whitwell2005-05-041-1/+1
| | | | | | | | | | | which is automatically generated to match the current texture environment state. Introduces a new value ctx->FragmentProgram._Active which is true when either _Enabled is true or there is such a fragment program ready to run. To test out on a driver running the software rasterizer, set MESA_TEX_PROG=t in the environment. It goes without saying that performance is lower for the software rasterizer in this mode.
* Consolidate _swrast_write_texture_span() into _swrast_write_rgba_span().Brian Paul2004-12-181-18/+3
|
* don't divide texcoords by q if using a fragment programBrian Paul2004-12-161-8/+19
|
* fixes for fragment programsBrian Paul2004-12-151-3/+7
|
* *** empty log message ***Karl Schultz2004-10-061-0/+15
|
* Handle GL_MAX_VERTEX_ATTRIBS_ARB in glGet*().Brian Paul2004-09-131-3/+1
| | | | Define 2.0 point-sprite related tokens in glheader.h (temporary).
* changes towards GL_ARB_point_sprite (two-zero)Daniel Borca2004-09-131-1/+7
|
* added SPECULAR flag for sprite point functionsBrian Paul2004-04-091-1/+0
|
* Fix color index mode rendering.Brian Paul2004-03-091-2/+2
| | | | Changed SWvertex's index field to GLfloat and fix a few other bits.
* added blurb about NVIDIA extensionsBrian Paul2004-01-141-3/+11
|
* Port over changes from XFree86/Mesa 5.0.2, mostly to silence compiler warnings.Brian Paul2003-12-041-3/+7
|
* Trivial changes to add support for GL_ARB_point_sprite, which is aIan Romanick2003-08-231-1/+1
| | | | subset of GL_NV_point_sprite (which was already supported).
* Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick2003-06-051-1/+0
|
* replace _mesa_ prefix with _swrast_, remove s_histogram.[ch]Brian Paul2003-03-251-9/+9
|
* First batch of code for GL_NV_fragment_program.Brian Paul2003-01-141-3/+3
| | | | | Re-org of some GL_NV_vertex_program code. Replace MAX_TEXTURE_UNITS with MAX_TEXTURE_COORD_UNITS and MAX_TEXTURE_IMAGE_UNITS.
* fix one-bit error in float->int Z calculationBrian Paul2002-11-091-4/+4
|
* Add casts to quiet compiler warnings.Karl Schultz2002-10-181-2/+2
|
* multiple GL_POINTS can now be rendered together into one fragment spanBrian Paul2002-10-041-106/+179
|
* struct sw_span is again allocated on the stack, but the arrays of spanBrian Paul2002-08-071-61/+61
| | | | | | | 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.
* Implemented GL_NV_texture_rectangle extension.Brian Paul2002-06-151-2/+2
| | | | | | | | | Replace struct gl_texure_object's Dimension w/ Target field. Added _EnabledUnits to struct gl_texture_attrib - the _ReallyEnabled field is obsolete, but still present for now. This effectively removes the 8-texture units limit, 32 units now possible, but unlikely! New TEXTURE_1D/2D/3D/CUBE/RECT_BIT tokens for unit->_ReallyEnabled field. Updated device drivers to use ctx->Texture._EnabledUnits.
* replaced experimental MESA_sprite_point with NV_point_spriteBrian Paul2002-05-271-65/+39
|
* Allocate a sw_span struct in the swrast context instead of allocating itBrian Paul2002-04-191-56/+53
| | | | | 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-8/+8
| | | | type, width, interp mask and array mask.
* New mipmap lambda calculation. Previously, trilinear filtering couldBrian Paul2002-03-161-7/+5
| | | | | result in _very_ blurry textures. Still need to do some optimization of the new code in s_span.c
* sw_span can now hold x/y arrays of fragment positions - getting ready toBrian Paul2002-02-021-120/+123
| | | | | ditch the pb (pixel buffer) code. Converted point drawing, bitmaps and aa lines to use new span functions.
* add inf and nan tests to swrast functionsKeith Whitwell2001-12-051-1/+9
|
* silence compiler warnings (last batch for src)Karl Schultz2001-09-191-3/+3
|
* GLchan changesBrian Paul2001-07-191-9/+9
|
* Fix order of decomposition of quad.Keith Whitwell2001-05-171-3/+3
| | | | Remove 'swrast->_MultiTexEnabled' derived value.
* Apply antialiasing coverage factor to alpha after texture application,Brian Paul2001-05-151-10/+14
| | | | not before.
* missed a GLfixed->GLfloat fog changeBrian Paul2001-05-091-14/+13
|
* Consistent copyright info (version number, date) across all files.Gareth Hughes2001-03-121-6/+6
|
* fixed a bunch of g++ warnings/errors. Compiling with g++ can help find lots ↵Brian Paul2001-03-071-7/+7
| | | | of potential problems
* fixed half pixel offset bug in aa point codeBrian Paul2001-01-301-4/+4
|
* minor bug fixesBrian Paul2001-01-041-4/+9
|
* New point rasterization functions based on template code thatBrian Paul2001-01-031-0/+312
handles CI/RGB, texture, antialiasing, attenuation, etc.