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

t_vertex.c File Reference

#include "main/glheader.h"
#include "main/context.h"
#include "main/colormac.h"
#include "t_context.h"
#include "t_vertex.h"

Defines

#define DBG   0

Functions

static GLboolean match_fastpath (struct tnl_clipspace *vtx, const struct tnl_clipspace_fastpath *fp)
static GLboolean search_fastpath_emit (struct tnl_clipspace *vtx)
void _tnl_register_fastpath (struct tnl_clipspace *vtx, GLboolean match_strides)
static void choose_emit_func (GLcontext *ctx, GLuint count, GLubyte *dest)
static void choose_interp_func (GLcontext *ctx, GLfloat t, GLuint edst, GLuint eout, GLuint ein, GLboolean force_boundary)
static void choose_copy_pv_func (GLcontext *ctx, GLuint edst, GLuint esrc)
void _tnl_interp (GLcontext *ctx, GLfloat t, GLuint edst, GLuint eout, GLuint ein, GLboolean force_boundary)
void _tnl_copy_pv (GLcontext *ctx, GLuint edst, GLuint esrc)
void _tnl_get_attr (GLcontext *ctx, const void *vin, GLenum attr, GLfloat *dest)
void _tnl_set_attr (GLcontext *ctx, void *vout, GLenum attr, const GLfloat *src)
void * _tnl_get_vertex (GLcontext *ctx, GLuint nr)
void _tnl_invalidate_vertex_state (GLcontext *ctx, GLuint new_state)
static void invalidate_funcs (struct tnl_clipspace *vtx)
GLuint _tnl_install_attrs (GLcontext *ctx, const struct tnl_attr_map *map, GLuint nr, const GLfloat *vp, GLuint unpacked_size)
void _tnl_invalidate_vertices (GLcontext *ctx, GLuint newinputs)
void _tnl_notify_pipeline_output_change (GLcontext *ctx)
static void adjust_input_ptrs (GLcontext *ctx, GLint diff)
static void update_input_ptrs (GLcontext *ctx, GLuint start)
void _tnl_build_vertices (GLcontext *ctx, GLuint start, GLuint end, GLuint newinputs)
void * _tnl_emit_vertices_to_buffer (GLcontext *ctx, GLuint start, GLuint end, void *dest)
void * _tnl_emit_indexed_vertices_to_buffer (GLcontext *ctx, const GLuint *elts, GLuint start, GLuint end, void *dest)
void _tnl_init_vertices (GLcontext *ctx, GLuint vb_size, GLuint max_vertex_size)
void _tnl_free_vertices (GLcontext *ctx)


Define Documentation

#define DBG   0


Function Documentation

void _tnl_build_vertices ( GLcontext ctx,
GLuint  start,
GLuint  end,
GLuint  newinputs 
)

void _tnl_copy_pv ( GLcontext ctx,
GLuint  edst,
GLuint  esrc 
)

void* _tnl_emit_indexed_vertices_to_buffer ( GLcontext ctx,
const GLuint *  elts,
GLuint  start,
GLuint  end,
void *  dest 
)

void* _tnl_emit_vertices_to_buffer ( GLcontext ctx,
GLuint  start,
GLuint  end,
void *  dest 
)

void _tnl_free_vertices ( GLcontext ctx  ) 

void _tnl_get_attr ( GLcontext ctx,
const void *  vin,
GLenum  attr,
GLfloat *  dest 
)

void* _tnl_get_vertex ( GLcontext ctx,
GLuint  nr 
)

void _tnl_init_vertices ( GLcontext ctx,
GLuint  vb_size,
GLuint  max_vertex_size 
)

GLuint _tnl_install_attrs ( GLcontext ctx,
const struct tnl_attr_map map,
GLuint  nr,
const GLfloat *  vp,
GLuint  unpacked_size 
)

void _tnl_interp ( GLcontext ctx,
GLfloat  t,
GLuint  edst,
GLuint  eout,
GLuint  ein,
GLboolean  force_boundary 
)

void _tnl_invalidate_vertex_state ( GLcontext ctx,
GLuint  new_state 
)

void _tnl_invalidate_vertices ( GLcontext ctx,
GLuint  newinputs 
)

void _tnl_notify_pipeline_output_change ( GLcontext ctx  ) 

void _tnl_register_fastpath ( struct tnl_clipspace vtx,
GLboolean  match_strides 
)

void _tnl_set_attr ( GLcontext ctx,
void *  vout,
GLenum  attr,
const GLfloat *  src 
)

static void adjust_input_ptrs ( GLcontext ctx,
GLint  diff 
) [static]

static void choose_copy_pv_func ( GLcontext ctx,
GLuint  edst,
GLuint  esrc 
) [static]

static void choose_emit_func ( GLcontext ctx,
GLuint  count,
GLubyte *  dest 
) [static]

static void choose_interp_func ( GLcontext ctx,
GLfloat  t,
GLuint  edst,
GLuint  eout,
GLuint  ein,
GLboolean  force_boundary 
) [static]

static void invalidate_funcs ( struct tnl_clipspace vtx  )  [static]

static GLboolean match_fastpath ( struct tnl_clipspace vtx,
const struct tnl_clipspace_fastpath fp 
) [static]

static GLboolean search_fastpath_emit ( struct tnl_clipspace vtx  )  [static]

static void update_input_ptrs ( GLcontext ctx,
GLuint  start 
) [static]


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