core  array_cache  math  swrast  swrast_setup  tnl  tnl_dd 
Main Page   Data Structures   File List   Data Fields   Globals   Related Pages  

points.c File Reference

Point operations. More...

#include "glheader.h"
#include "context.h"
#include "macros.h"
#include "points.h"
#include "texstate.h"
#include "mtypes.h"

Functions

void GLAPIENTRY _mesa_PointSize (GLfloat size)
 Set the point size. More...

void GLAPIENTRY _mesa_PointParameteriNV (GLenum pname, GLint param)
void GLAPIENTRY _mesa_PointParameterivNV (GLenum pname, const GLint *params)
void GLAPIENTRY _mesa_PointParameterfEXT (GLenum pname, GLfloat param)
void GLAPIENTRY _mesa_PointParameterfvEXT (GLenum pname, const GLfloat *params)
void _mesa_init_point (GLcontext *ctx)
 Initialize the context point state. More...


Detailed Description

Point operations.


Function Documentation

void _mesa_init_point GLcontext   ctx
 

Initialize the context point state.

Parameters:
ctx  GL context.
Initializes __GLcontextRec::Point and point related constants in __GLcontextRec::Const.

void GLAPIENTRY _mesa_PointParameterfEXT GLenum    pname,
GLfloat    param
 

void GLAPIENTRY _mesa_PointParameterfvEXT GLenum    pname,
const GLfloat *    params
 

void GLAPIENTRY _mesa_PointParameteriNV GLenum    pname,
GLint    param
 

void GLAPIENTRY _mesa_PointParameterivNV GLenum    pname,
const GLint *    params
 

void GLAPIENTRY _mesa_PointSize GLfloat    size
 

Set the point size.

Parameters:
size  pointer diameter.
See also:
glPointSize().
Verifies the parameter and updates gl_point_attrib::Size. On a change, flushes the vertices, updates the clamped point size and marks the DD_POINT_SIZE flag in __GLcontextRec::_TriangleCaps for the drivers if the size is different from one. Notifies the driver via the dd_function_table::PointSize callback.


Generated on Sun May 16 15:55:12 2004 for Mesa Core by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001