core  array_cache  math  swrast  swrast_setup  tnl  tnl_dd 
Main Page   Data Structures   File List   Data Fields   Globals  

The TNL-module

6.1

TNL stands for "transform and lighting", i.e. this module implements a pipeline that receives as input a buffer of vertices and does all necessary transformations (rotations, clipping, vertex shader etc.) and passes then the output to the rasterizer.

The tnl_pipeline contains the array of all stages, which should be applied. Each stage is a black-box, which is described by an tnl_pipeline_stage. The function _tnl_run_pipeline applies all the stages to the vertex_buffer TNLcontext::vb, where the vertex data is stored. The last stage in the pipeline is the rasterizer.

The initial vertex_buffer data may either come from an immediate structure or client vertex_arrays or display lists:


Generated on Sun May 16 15:55:27 2004 for Mesa Transform and Lighting (tnl) by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001