#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 NORMAL_STAGE_DATA | ( | stage | ) | ((struct normal_stage_data *)stage->privatePtr) |
| 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.
Initial value:
{
"normal transform",
NULL,
alloc_normal_data,
free_normal_data,
validate_normal_stage,
run_normal_stage
}
1.5.4