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

span_arrays Struct Reference

Arrays of fragment values. More...

#include <s_context.h>


Data Fields

GLchan rgb [MAX_WIDTH][3]
GLchan rgba [MAX_WIDTH][4]
GLuint index [MAX_WIDTH]
GLchan spec [MAX_WIDTH][4]
GLint x [MAX_WIDTH]
 X/Y used for point/line rendering only. More...

GLint y [MAX_WIDTH]
 X/Y used for point/line rendering only. More...

GLdepth z [MAX_WIDTH]
GLfloat fog [MAX_WIDTH]
GLfloat texcoords [MAX_TEXTURE_COORD_UNITS][MAX_WIDTH][4]
GLfloat lambda [MAX_TEXTURE_COORD_UNITS][MAX_WIDTH]
GLfloat coverage [MAX_WIDTH]
GLubyte mask [MAX_WIDTH]
 This mask indicates if fragment is alive or culled. More...


Detailed Description

Arrays of fragment values.

These will either be computed from the x/xStep values above or filled in by glDraw/CopyPixels, etc. These arrays are separated out of sw_span to conserve memory.


Field Documentation

GLfloat span_arrays::coverage[MAX_WIDTH]
 

GLfloat span_arrays::fog[MAX_WIDTH]
 

GLuint span_arrays::index[MAX_WIDTH]
 

GLfloat span_arrays::lambda[MAX_TEXTURE_COORD_UNITS][MAX_WIDTH]
 

GLubyte span_arrays::mask[MAX_WIDTH]
 

This mask indicates if fragment is alive or culled.

GLchan span_arrays::rgb[MAX_WIDTH][3]
 

GLchan span_arrays::rgba[MAX_WIDTH][4]
 

GLchan span_arrays::spec[MAX_WIDTH][4]
 

GLfloat span_arrays::texcoords[MAX_TEXTURE_COORD_UNITS][MAX_WIDTH][4]
 

GLint span_arrays::x[MAX_WIDTH]
 

X/Y used for point/line rendering only.

GLint span_arrays::y[MAX_WIDTH]
 

X/Y used for point/line rendering only.

GLdepth span_arrays::z[MAX_WIDTH]
 


The documentation for this struct was generated from the following file:
Generated on Sun May 16 15:55:22 2004 for Mesa Software Rasterization (swrast) by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001