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

SWcontext Struct Reference

SWContext? More...

#include <s_context.h>


Data Fields

swrast_device_driver Driver
 Driver interface:. More...

GLboolean AllowVertexFog
 Configuration mechanisms to make software rasterizer match characteristics of the hardware rasterizer (if present):. More...

GLboolean AllowPixelFog
GLuint _RasterMask
 Derived values, invalidated on statechanges, updated from _swrast_validate_derived():. More...

GLfloat _MinMagThresh [MAX_TEXTURE_IMAGE_UNITS]
GLfloat _BackfaceSign
GLboolean _PreferPixelFog
GLboolean _AnyTextureCombine
GLchan _FogColor [3]
GLboolean _FogEnabled
GLboolean _IntegerAccumMode
 Storing unscaled integers? More...

GLfloat _IntegerAccumScaler
 Implicit scale factor. More...

GLchanCurAuxBuffer
GLuint StippleCounter
 Line stipple counter. More...

GLuint NewState
GLuint StateChanges
GLenum Primitive
GLbitfield CurrentBufferBit
span_arraysSpanArrays
 Typically, we'll allocate a sw_span structure as a local variable and set its 'array' pointer to point to this object. More...

sw_span PointSpan
 Used to buffer N GL_POINTS, instead of rendering one by one. More...

blend_func BlendFunc
 Internal hooks, kept uptodate by the same mechanism as above. More...

texture_sample_func TextureSample [MAX_TEXTURE_IMAGE_UNITS]
GLchanTexelBuffer
 Buffer for saving the sampled texture colors. More...

void(* choose_point )(GLcontext *)
 Mechanism to allow driver (like X11) to register further software rasterization routines. More...

void(* choose_line )(GLcontext *)
void(* choose_triangle )(GLcontext *)
GLuint invalidate_point
GLuint invalidate_line
GLuint invalidate_triangle
void(* InvalidateState )(GLcontext *ctx, GLuint new_state)
 Function pointers for dispatch behind public entrypoints. More...

swrast_point_func Point
swrast_line_func Line
swrast_tri_func Triangle
swrast_point_func SpecPoint
 Placeholders for when separate specular (or secondary color) is enabled but texturing is not. More...

swrast_line_func SpecLine
swrast_tri_func SpecTriangle


Detailed Description

SWContext?


Field Documentation

GLboolean SWcontext::_AnyTextureCombine
 

GLfloat SWcontext::_BackfaceSign
 

GLchan SWcontext::_FogColor[3]
 

GLboolean SWcontext::_FogEnabled
 

GLboolean SWcontext::_IntegerAccumMode
 

Storing unscaled integers?

GLfloat SWcontext::_IntegerAccumScaler
 

Implicit scale factor.

GLfloat SWcontext::_MinMagThresh[MAX_TEXTURE_IMAGE_UNITS]
 

GLboolean SWcontext::_PreferPixelFog
 

GLuint SWcontext::_RasterMask
 

Derived values, invalidated on statechanges, updated from _swrast_validate_derived():.

GLboolean SWcontext::AllowPixelFog
 

GLboolean SWcontext::AllowVertexFog
 

Configuration mechanisms to make software rasterizer match characteristics of the hardware rasterizer (if present):.

blend_func SWcontext::BlendFunc
 

Internal hooks, kept uptodate by the same mechanism as above.

void(* SWcontext::choose_line)( GLcontext * )
 

void(* SWcontext::choose_point)( GLcontext * )
 

Mechanism to allow driver (like X11) to register further software rasterization routines.

void(* SWcontext::choose_triangle)( GLcontext * )
 

GLchan* SWcontext::CurAuxBuffer
 

GLbitfield SWcontext::CurrentBufferBit
 

struct swrast_device_driver SWcontext::Driver
 

Driver interface:.

GLuint SWcontext::invalidate_line
 

GLuint SWcontext::invalidate_point
 

GLuint SWcontext::invalidate_triangle
 

void(* SWcontext::InvalidateState)( GLcontext *ctx, GLuint new_state )
 

Function pointers for dispatch behind public entrypoints.

swrast_line_func SWcontext::Line
 

GLuint SWcontext::NewState
 

swrast_point_func SWcontext::Point
 

struct sw_span SWcontext::PointSpan
 

Used to buffer N GL_POINTS, instead of rendering one by one.

GLenum SWcontext::Primitive
 

struct span_arrays* SWcontext::SpanArrays
 

Typically, we'll allocate a sw_span structure as a local variable and set its 'array' pointer to point to this object.

The reason is this object is big and causes problems when allocated on the stack on some systems.

swrast_line_func SWcontext::SpecLine
 

swrast_point_func SWcontext::SpecPoint
 

Placeholders for when separate specular (or secondary color) is enabled but texturing is not.

swrast_tri_func SWcontext::SpecTriangle
 

GLuint SWcontext::StateChanges
 

GLuint SWcontext::StippleCounter
 

Line stipple counter.

GLchan* SWcontext::TexelBuffer
 

Buffer for saving the sampled texture colors.

Needed for GL_ARB_texture_env_crossbar implementation.

texture_sample_func SWcontext::TextureSample[MAX_TEXTURE_IMAGE_UNITS]
 

swrast_tri_func SWcontext::Triangle
 


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