core | glapi | vbo | math | shader | swrast | swrast_setup | tnl | tnl_dd

tnl.h File Reference

#include "main/mtypes.h"

Functions

GLboolean _tnl_CreateContext (GLcontext *ctx)
void _tnl_DestroyContext (GLcontext *ctx)
void _tnl_InvalidateState (GLcontext *ctx, GLuint new_state)
void _tnl_wakeup (GLcontext *ctx)
void _tnl_need_projected_coords (GLcontext *ctx, GLboolean flag)
 Drivers call this function to tell the TCL module whether or not it wants Normalized Device Coords (NDC) computed.
void _tnl_allow_vertex_fog (GLcontext *ctx, GLboolean value)
void _tnl_allow_pixel_fog (GLcontext *ctx, GLboolean value)
void _tnl_program_string (GLcontext *ctx, GLenum target, struct gl_program *program)
 Called via ctx->Driver.ProgramStringNotify() after a new vertex program string has been parsed.
void _tnl_draw_prims (GLcontext *ctx, const struct gl_client_array *arrays[], const struct _mesa_prim *prim, GLuint nr_prims, const struct _mesa_index_buffer *ib, GLuint min_index, GLuint max_index)
void _tnl_vbo_draw_prims (GLcontext *ctx, const struct gl_client_array *arrays[], const struct _mesa_prim *prim, GLuint nr_prims, const struct _mesa_index_buffer *ib, GLboolean index_bounds_valid, GLuint min_index, GLuint max_index)
void _mesa_load_tracked_matrices (GLcontext *ctx)
void _tnl_RasterPos (GLcontext *ctx, const GLfloat vObj[4])
 glRasterPos transformation.


Function Documentation

void _mesa_load_tracked_matrices ( GLcontext ctx  ) 

void _tnl_allow_pixel_fog ( GLcontext ctx,
GLboolean  value 
)

void _tnl_allow_vertex_fog ( GLcontext ctx,
GLboolean  value 
)

GLboolean _tnl_CreateContext ( GLcontext ctx  ) 

void _tnl_DestroyContext ( GLcontext ctx  ) 

void _tnl_draw_prims ( GLcontext ctx,
const struct gl_client_array arrays[],
const struct _mesa_prim prim,
GLuint  nr_prims,
const struct _mesa_index_buffer ib,
GLuint  min_index,
GLuint  max_index 
)

void _tnl_InvalidateState ( GLcontext ctx,
GLuint  new_state 
)

void _tnl_need_projected_coords ( GLcontext ctx,
GLboolean  mode 
)

Drivers call this function to tell the TCL module whether or not it wants Normalized Device Coords (NDC) computed.

I.e. whether we should "Divide-by-W". Software renders will want that.

void _tnl_program_string ( GLcontext ctx,
GLenum  target,
struct gl_program program 
)

Called via ctx->Driver.ProgramStringNotify() after a new vertex program string has been parsed.

void _tnl_RasterPos ( GLcontext ctx,
const GLfloat  vObj[4] 
)

glRasterPos transformation.

Typically called via ctx->Driver.RasterPos(). XXX some of this code (such as viewport xform, clip testing and setting of ctx->Current.Raster* fields) could get lifted up into the main/rasterpos.c code.

Parameters:
vObj vertex position in object space

void _tnl_vbo_draw_prims ( GLcontext ctx,
const struct gl_client_array arrays[],
const struct _mesa_prim prim,
GLuint  nr_prims,
const struct _mesa_index_buffer ib,
GLboolean  index_bounds_valid,
GLuint  min_index,
GLuint  max_index 
)

void _tnl_wakeup ( GLcontext ctx  ) 


Generated on Sun Sep 27 06:48:09 2009 for Mesa Transform and Lighting (tnl) by  doxygen 1.5.4