aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast_setup/ss_vbtmp.h
Commit message (Collapse)AuthorAgeFilesLines
* Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick2003-06-051-1/+0
|
* Use 'ndc' instead of 'proj' terminology.Brian Paul2003-02-041-17/+17
| | | | Added a bunch of const qualifiers.
* First batch of code for GL_NV_fragment_program.Brian Paul2003-01-141-5/+5
| | | | | Re-org of some GL_NV_vertex_program code. Replace MAX_TEXTURE_UNITS with MAX_TEXTURE_COORD_UNITS and MAX_TEXTURE_IMAGE_UNITS.
* updated email addressesBrian Paul2002-10-291-2/+2
|
* added two (GLchan *) castsBrian Paul2002-04-191-3/+3
|
* Another vertex program checkpoint: clean-up of vertex attribute storageBrian Paul2002-01-061-6/+7
| | | | | | in vertex_buffer. Improved vertex program pipeline stage such that output registers can be processed in a loop. Getting closer to where we need to be in order to implement performance optimizations...
* Vertex program checkpoint commit: converted all vertex attributes (color,Brian Paul2002-01-051-3/+3
| | | | | | normal, texcoords, fogcoord, secondary color, etc) to GLfloat[4] datatype. Aliasing of glVertex, glNormal, glColor, glFogCoord, etc. to glVertexAttrib now complete.
* Replace old matrix stacks with new code based on struct matrix_stack.Brian Paul2001-12-181-3/+3
| | | | | | Moved vertex program hash table into shared context state. Implemented reference counting for vertex programs. Replaced tnl "ProjectedClip" with "Ndc" (normalized device coordinates).
* Lighting now emits colors as CHAN_TYPE, as it used to. This will requireKeith Whitwell2001-07-171-16/+13
| | | | minor adjustments in the dri drivers for twosided lighting to work again.
* Rename some of the tnl->Driver.* functions to tnl->Driver.Render.*, to make itKeith Whitwell2001-07-121-64/+174
| | | | | | | | | | | | | | clear that these are owned by t_vb_render.c. Make swrast_setup opaque - it now hooks itself directly into tnl->Driver.Render.*. Add a _swsetup_Wakeup() call that does this. Update X11 (tested), osmesa and FX drivers for this change. FX compiles but is probably broken as the changes there are large. It was the only remaining driver that used the internal _swsetup_ functions for interp and copy_pv. This usage has been replaced with code from the DRI tdfx driver.
* Restore optimization for cva glArrayElement operation.Keith Whitwell2001-04-301-4/+4
|
* Support for floating point color representation in tnl module.Keith Whitwell2001-04-281-7/+11
|
* Removed DD_Z_NEVER.Brian Paul2001-03-291-2/+2
| | | | | | Replaced SEPERATE with SEPARATE. Renumbered _NEW_ flags. Removed _NEW_COLORTABLE.
* Consistent copyright info (version number, date) across all files.Gareth Hughes2001-03-121-17/+19
|
* More g++ warning fixes. Fixes for CHAN_BITS==16, it seems to work.Brian Paul2001-03-081-3/+3
|
* Allow swrast to cope (fairly) cleanly with GL_SEPERATE_SPECULAR whenKeith Whitwell2001-02-161-0/+8
| | | | | | | | | | | | | texturing is not enabled, and without requiring the two colors be added externally. As a part of this, collapsed the decomposition of quads into triangles inside swrast to be hardwired into _swrast_Quad; removed s_quads.[ch]. Removed checks on texture state from t_vb_light.c, which was previously required by swrast. Moved the t_dd_ templates to a new directory.
* Fixed conform problems with recent material tracking change.Keith Whitwell2001-02-161-8/+0
| | | | | | Remove redundant 'update_materials' stage. Fix conform segfault with seperate specular colors in mustpass.c. These tests still fail, however.
* Removed knowledge of swrast Clear/Bitmap/Accum/Draw/Read/CopyPixelsKeith Whitwell2001-01-291-1/+4
| | | | | | | | | | | | functions from core mesa -- if drivers need these fallbacks they must now call them themselves. Introduced hooks for clip-vertex-interpolation and the rendering of clipped lines and polygons. Allows drivers to interpolate their hardware-format vertices directly. Used in dri drivers to replace fastpath code. Slight optimizations to pipeline build/run routines.
* Lots of GLchan datatype changes.Brian Paul2001-01-241-2/+2
| | | | | | | | | Added GLvector4us datatype in math/m_vector.[ch] Added _math_trans_4us() in math/m_translate.[ch] Choose GLvector4ub, GLvector4us, GLvector4f at compile time based on CHAN_BITS. Made Driver.ClearColor() and Driver.ClearIndex() optional driver functions. Changed args to Driver.ClearColor(), updated drivers. Reordered files in Makefile.X11
* Fixed conform feedback and drawelements tests.Keith Whitwell2001-01-141-1/+1
| | | | Use correct pv when rasterizing unfilled polys.
* Major rework of tnl moduleKeith Whitwell2000-12-261-43/+56
| | | | | | | New array_cache module Support 8 texture units in core mesa (now support 8 everywhere) Rework core mesa statechange operations to avoid flushing on many noop statechanges.
* Compute attenuated point size in a new pipeline stage.Brian Paul2000-12-081-1/+7
| | | | Store computed point size in the SWvertex struct.
* Support for swappable t&l modules, including an example one in the FXKeith Whitwell2000-11-241-1/+1
| | | | driver (enable with FX_ALLOW_VTXFMT=t).
* Move the transform and lighting code to two new directoriesKeith Whitwell2000-11-161-1/+2
| | | | | | | | | | | | | | | 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.
* A new module to provide RasterSetup and advanced triangle/line/pointKeith Whitwell2000-11-051-0/+117
functionality layered on top of the software rasterizer. An example entrypoint: void _swsetup_Triangle( GLcontext, GLuint, GLuint, GLuint, GLuint ) will coerce the software rasterizer to draw flat, twoside-lit, unfilled and offset triangles (including decomposition to points or lines).