#include "main/glheader.h"
#include "main/mtypes.h"
#include "main/dd.h"
#include "main/imports.h"
#include "t_context.h"
#include "t_pipeline.h"
Data Structures | |
struct | point_stage_data |
Defines | |
#define | POINT_STAGE_DATA(stage) ((struct point_stage_data *)stage->privatePtr) |
Functions | |
static GLboolean | run_point_stage (GLcontext *ctx, struct tnl_pipeline_stage *stage) |
Compute point size for each vertex from the vertex eye-space Z coordinate and the point size attenuation factors. | |
static GLboolean | alloc_point_data (GLcontext *ctx, struct tnl_pipeline_stage *stage) |
static void | free_point_data (struct tnl_pipeline_stage *stage) |
Variables | |
struct tnl_pipeline_stage | _tnl_point_attenuation_stage |
#define POINT_STAGE_DATA | ( | stage | ) | ((struct point_stage_data *)stage->privatePtr) |
static GLboolean alloc_point_data | ( | GLcontext * | ctx, | |
struct tnl_pipeline_stage * | stage | |||
) | [static] |
static void free_point_data | ( | struct tnl_pipeline_stage * | stage | ) | [static] |
static GLboolean run_point_stage | ( | GLcontext * | ctx, | |
struct tnl_pipeline_stage * | stage | |||
) | [static] |
Compute point size for each vertex from the vertex eye-space Z coordinate and the point size attenuation factors.
Only done when point size attenuation is enabled and vertex program is disabled.
Initial value:
{ "point size attenuation", NULL, alloc_point_data, free_point_data, NULL, run_point_stage }