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

t_vb_points.c File Reference

#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 Documentation

#define POINT_STAGE_DATA ( stage   )     ((struct point_stage_data *)stage->privatePtr)


Function Documentation

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.


Variable Documentation

struct tnl_pipeline_stage _tnl_point_attenuation_stage

Initial value:

{
   "point size attenuation",    
   NULL,                        
   alloc_point_data,            
   free_point_data,             
   NULL,
   run_point_stage              
}


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