summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/common
Commit message (Collapse)AuthorAgeFilesLines
* fix use of projected vertices with notex vertices when DO_PTEX isn't set.Alan Hourihane2001-04-091-7/+3
|
* Add quad and quad_stripAlan Hourihane2001-04-071-6/+56
|
* add FINISH function at end of each render_* functionAlan Hourihane2001-04-062-4/+31
| | | | fix typo.
* Fix calculation of fog coordinate in translate_vertex().Keith Whitwell2001-03-301-2/+2
|
* More updates. Radeon tnl module still disabled by default.Gareth Hughes2001-03-201-9/+9
|
* Fix lineloops.Keith Whitwell2001-03-181-2/+2
|
* Revert earlier changes protecting against null VB->TexCoordPtr[x]. DoKeith Whitwell2001-03-172-208/+153
| | | | this a better way via check_tex_sizes().
* Fix typo.Gareth Hughes2001-03-141-2/+2
|
* Initial templates for immediate mode fastpaths, or custom tnl modules.Gareth Hughes2001-03-132-11/+33
| | | | Completely untested and incomplete. More to follow.
* Consistent copyright info (version number, date) across all files.Gareth Hughes2001-03-128-294/+357
|
* Support for swappable tnl modules.Gareth Hughes2001-03-111-27/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Core Mesa provides a neutral tnl module that verifies the currently module before installing the tnl function pointers in a lazy fashion. It also records which tnl functions have been swapped out, and only restores these when tnl modules themselves are swapped. Fallback strategies: Drivers set a bitmask of dangerous stage changes. When such a state change occurs, the driver should restore the neutral tnl module via _mesa_restore_exec_vtxfmt(). The neutral tnl module will call _mesa_update_state(), followed by ctx->Driver.ValidateTnlModule() if the validation bitmask matches the new state bitmask. The driver should call _tnl_wakeup_exec() if it can no longer handle the current state, which will revert to the default tnl module. In this case, previous vertices should be replayed as required (depending on the current primitive) after the new tnl module is installed. If the driver uses chooser functions for any part of the tnl module, these should generally be reinstalled as part of the fallback to the neutral tnl module. For example, if the lighting state changes, a driver might fall back to the neutral tnl module, verify that the current lighting state can be handled, and use the chooser function to pick the most efficient implementation of the current lighting state. It is up to the drivers to detect and handle fallback cases caused by tnl function calls themselves (such as glTexCoord4f* if the current tnl module can't handle projected textures, for example).
* fixed RBGA ifdef typoBrian Paul2001-03-081-1/+1
|
* added an assertion in the init code, just to be safeBrian Paul2001-03-071-0/+3
|
* fixed segfaults when tex unit 1 enabled, but not unit 0 (conform)Brian Paul2001-03-051-116/+160
|
* DO_POINT renamed DO_POINTSKeith Whitwell2001-03-051-2/+2
|
* Changes for ffbKeith Whitwell2001-03-052-68/+178
|
* Fix typoKeith Whitwell2001-03-051-1/+1
|
* Add missing cases for viewport transform. Remove INVALIDATE_STORED_VERTICSKeith Whitwell2001-03-052-14/+25
| | | | macro
* Uncomment some defaults.Keith Whitwell2001-03-011-11/+11
|
* Bugfixes for vertex format, templatesKeith Whitwell2001-03-013-45/+36
|
* Templates are in working order.Keith Whitwell2001-02-285-282/+593
|
* Template workKeith Whitwell2001-02-244-408/+679
|
* Allow swrast to cope (fairly) cleanly with GL_SEPERATE_SPECULAR whenKeith Whitwell2001-02-167-0/+2783
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.