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

t_vb_normals.c File Reference

#include "main/glheader.h"
#include "main/colormac.h"
#include "main/context.h"
#include "main/macros.h"
#include "main/imports.h"
#include "main/mtypes.h"
#include "math/m_xform.h"
#include "t_context.h"
#include "t_pipeline.h"

Data Structures

struct  normal_stage_data

Defines

#define NORMAL_STAGE_DATA(stage)   ((struct normal_stage_data *)stage->privatePtr)

Functions

static GLboolean run_normal_stage (GLcontext *ctx, struct tnl_pipeline_stage *stage)
static void validate_normal_stage (GLcontext *ctx, struct tnl_pipeline_stage *stage)
 Examine current GL state and set the store->NormalTransform pointer to point to the appropriate normal transformation routine.
static GLboolean alloc_normal_data (GLcontext *ctx, struct tnl_pipeline_stage *stage)
 Allocate stage's private data (storage for transformed normals).
static void free_normal_data (struct tnl_pipeline_stage *stage)
 Free stage's private data.

Variables

struct tnl_pipeline_stage _tnl_normal_transform_stage


Define Documentation

#define NORMAL_STAGE_DATA ( stage   )     ((struct normal_stage_data *)stage->privatePtr)


Function Documentation

static GLboolean alloc_normal_data ( GLcontext ctx,
struct tnl_pipeline_stage stage 
) [static]

Allocate stage's private data (storage for transformed normals).

static void free_normal_data ( struct tnl_pipeline_stage stage  )  [static]

Free stage's private data.

static GLboolean run_normal_stage ( GLcontext ctx,
struct tnl_pipeline_stage stage 
) [static]

static void validate_normal_stage ( GLcontext ctx,
struct tnl_pipeline_stage stage 
) [static]

Examine current GL state and set the store->NormalTransform pointer to point to the appropriate normal transformation routine.


Variable Documentation

struct tnl_pipeline_stage _tnl_normal_transform_stage

Initial value:


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