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

eval.c File Reference

#include "glheader.h"
#include "imports.h"
#include "colormac.h"
#include "context.h"
#include "eval.h"
#include "macros.h"
#include "mtypes.h"

Functions

GLuint _mesa_evaluator_components (GLenum target)
static struct gl_1d_mapget_1d_map (GLcontext *ctx, GLenum target)
static struct gl_2d_mapget_2d_map (GLcontext *ctx, GLenum target)
GLfloat * _mesa_copy_map_points1f (GLenum target, GLint ustride, GLint uorder, const GLfloat *points)
GLfloat * _mesa_copy_map_points1d (GLenum target, GLint ustride, GLint uorder, const GLdouble *points)
GLfloat * _mesa_copy_map_points2f (GLenum target, GLint ustride, GLint uorder, GLint vstride, GLint vorder, const GLfloat *points)
GLfloat * _mesa_copy_map_points2d (GLenum target, GLint ustride, GLint uorder, GLint vstride, GLint vorder, const GLdouble *points)
static void map1 (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, const GLvoid *points, GLenum type)
void GLAPIENTRY _mesa_Map1f (GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points)
void GLAPIENTRY _mesa_Map1d (GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points)
static void map2 (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLvoid *points, GLenum type)
void GLAPIENTRY _mesa_Map2f (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points)
void GLAPIENTRY _mesa_Map2d (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points)
void GLAPIENTRY _mesa_GetMapdv (GLenum target, GLenum query, GLdouble *v)
void GLAPIENTRY _mesa_GetMapfv (GLenum target, GLenum query, GLfloat *v)
void GLAPIENTRY _mesa_GetMapiv (GLenum target, GLenum query, GLint *v)
void GLAPIENTRY _mesa_MapGrid1f (GLint un, GLfloat u1, GLfloat u2)
void GLAPIENTRY _mesa_MapGrid1d (GLint un, GLdouble u1, GLdouble u2)
void GLAPIENTRY _mesa_MapGrid2f (GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2)
void GLAPIENTRY _mesa_MapGrid2d (GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2)
static void init_1d_map (struct gl_1d_map *map, int n, const float *initial)
 Initialize a 1-D evaluator map.
static void init_2d_map (struct gl_2d_map *map, int n, const float *initial)
 Initialize a 2-D evaluator map.
void _mesa_init_eval (GLcontext *ctx)
void _mesa_free_eval_data (GLcontext *ctx)


Function Documentation

GLfloat* _mesa_copy_map_points1d ( GLenum  target,
GLint  ustride,
GLint  uorder,
const GLdouble *  points 
)

GLfloat* _mesa_copy_map_points1f ( GLenum  target,
GLint  ustride,
GLint  uorder,
const GLfloat *  points 
)

GLfloat* _mesa_copy_map_points2d ( GLenum  target,
GLint  ustride,
GLint  uorder,
GLint  vstride,
GLint  vorder,
const GLdouble *  points 
)

GLfloat* _mesa_copy_map_points2f ( GLenum  target,
GLint  ustride,
GLint  uorder,
GLint  vstride,
GLint  vorder,
const GLfloat *  points 
)

GLuint _mesa_evaluator_components ( GLenum  target  ) 

void _mesa_free_eval_data ( GLcontext ctx  ) 

void GLAPIENTRY _mesa_GetMapdv ( GLenum  target,
GLenum  query,
GLdouble *  v 
)

void GLAPIENTRY _mesa_GetMapfv ( GLenum  target,
GLenum  query,
GLfloat *  v 
)

void GLAPIENTRY _mesa_GetMapiv ( GLenum  target,
GLenum  query,
GLint *  v 
)

void _mesa_init_eval ( GLcontext ctx  ) 

void GLAPIENTRY _mesa_Map1d ( GLenum  target,
GLdouble  u1,
GLdouble  u2,
GLint  stride,
GLint  order,
const GLdouble *  points 
)

void GLAPIENTRY _mesa_Map1f ( GLenum  target,
GLfloat  u1,
GLfloat  u2,
GLint  stride,
GLint  order,
const GLfloat *  points 
)

void GLAPIENTRY _mesa_Map2d ( GLenum  target,
GLdouble  u1,
GLdouble  u2,
GLint  ustride,
GLint  uorder,
GLdouble  v1,
GLdouble  v2,
GLint  vstride,
GLint  vorder,
const GLdouble *  points 
)

void GLAPIENTRY _mesa_Map2f ( GLenum  target,
GLfloat  u1,
GLfloat  u2,
GLint  ustride,
GLint  uorder,
GLfloat  v1,
GLfloat  v2,
GLint  vstride,
GLint  vorder,
const GLfloat *  points 
)

void GLAPIENTRY _mesa_MapGrid1d ( GLint  un,
GLdouble  u1,
GLdouble  u2 
)

void GLAPIENTRY _mesa_MapGrid1f ( GLint  un,
GLfloat  u1,
GLfloat  u2 
)

void GLAPIENTRY _mesa_MapGrid2d ( GLint  un,
GLdouble  u1,
GLdouble  u2,
GLint  vn,
GLdouble  v1,
GLdouble  v2 
)

void GLAPIENTRY _mesa_MapGrid2f ( GLint  un,
GLfloat  u1,
GLfloat  u2,
GLint  vn,
GLfloat  v1,
GLfloat  v2 
)

static struct gl_1d_map* get_1d_map ( GLcontext ctx,
GLenum  target 
) [static, read]

static struct gl_2d_map* get_2d_map ( GLcontext ctx,
GLenum  target 
) [static, read]

static void init_1d_map ( struct gl_1d_map map,
int  n,
const float *  initial 
) [static]

Initialize a 1-D evaluator map.

static void init_2d_map ( struct gl_2d_map map,
int  n,
const float *  initial 
) [static]

Initialize a 2-D evaluator map.

static void map1 ( GLenum  target,
GLfloat  u1,
GLfloat  u2,
GLint  ustride,
GLint  uorder,
const GLvoid *  points,
GLenum  type 
) [static]

static void map2 ( GLenum  target,
GLfloat  u1,
GLfloat  u2,
GLint  ustride,
GLint  uorder,
GLfloat  v1,
GLfloat  v2,
GLint  vstride,
GLint  vorder,
const GLvoid *  points,
GLenum  type 
) [static]


Generated on Sun Sep 27 06:47:45 2009 for Mesa Main by  doxygen 1.5.4