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

t_vertex_generic.c File Reference

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

Defines

#define DEBUG_INSERT
#define EMIT5(NR, F0, F1, F2, F3, F4, NAME)
#define EMIT2(F0, F1, NAME)
#define EMIT3(F0, F1, F2, NAME)
#define EMIT4(F0, F1, F2, F3, NAME)

Functions

static INLINE void insert_4f_viewport_4 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_4f_viewport_3 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_4f_viewport_2 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_4f_viewport_1 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_3f_viewport_3 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_3f_viewport_2 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_3f_viewport_1 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_2f_viewport_2 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_2f_viewport_1 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_4f_4 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_4f_3 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_4f_2 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_4f_1 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_3f_xyw_4 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_3f_xyw_err (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_3f_3 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_3f_2 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_3f_1 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_2f_2 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_2f_1 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_1f_1 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_null (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_4chan_4f_rgba_4 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_4chan_4f_rgba_3 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_4chan_4f_rgba_2 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_4chan_4f_rgba_1 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_4ub_4f_rgba_4 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_4ub_4f_rgba_3 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_4ub_4f_rgba_2 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_4ub_4f_rgba_1 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_4ub_4f_bgra_4 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_4ub_4f_bgra_3 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_4ub_4f_bgra_2 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_4ub_4f_bgra_1 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_4ub_4f_argb_4 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_4ub_4f_argb_3 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_4ub_4f_argb_2 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_4ub_4f_argb_1 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_4ub_4f_abgr_4 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_4ub_4f_abgr_3 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_4ub_4f_abgr_2 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_4ub_4f_abgr_1 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_3ub_3f_rgb_3 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_3ub_3f_rgb_2 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_3ub_3f_rgb_1 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_3ub_3f_bgr_3 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_3ub_3f_bgr_2 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_3ub_3f_bgr_1 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static INLINE void insert_1ub_1f_1 (const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in)
static void extract_4f_viewport (const struct tnl_clipspace_attr *a, GLfloat *out, const GLubyte *v)
static void extract_3f_viewport (const struct tnl_clipspace_attr *a, GLfloat *out, const GLubyte *v)
static void extract_2f_viewport (const struct tnl_clipspace_attr *a, GLfloat *out, const GLubyte *v)
static void extract_4f (const struct tnl_clipspace_attr *a, GLfloat *out, const GLubyte *v)
static void extract_3f_xyw (const struct tnl_clipspace_attr *a, GLfloat *out, const GLubyte *v)
static void extract_3f (const struct tnl_clipspace_attr *a, GLfloat *out, const GLubyte *v)
static void extract_2f (const struct tnl_clipspace_attr *a, GLfloat *out, const GLubyte *v)
static void extract_1f (const struct tnl_clipspace_attr *a, GLfloat *out, const GLubyte *v)
static void extract_4chan_4f_rgba (const struct tnl_clipspace_attr *a, GLfloat *out, const GLubyte *v)
static void extract_4ub_4f_rgba (const struct tnl_clipspace_attr *a, GLfloat *out, const GLubyte *v)
static void extract_4ub_4f_bgra (const struct tnl_clipspace_attr *a, GLfloat *out, const GLubyte *v)
static void extract_4ub_4f_argb (const struct tnl_clipspace_attr *a, GLfloat *out, const GLubyte *v)
static void extract_4ub_4f_abgr (const struct tnl_clipspace_attr *a, GLfloat *out, const GLubyte *v)
static void extract_3ub_3f_rgb (const struct tnl_clipspace_attr *a, GLfloat *out, const GLubyte *v)
static void extract_3ub_3f_bgr (const struct tnl_clipspace_attr *a, GLfloat *out, const GLubyte *v)
static void extract_1ub_1f (const struct tnl_clipspace_attr *a, GLfloat *out, const GLubyte *v)
void _tnl_generate_hardwired_emit (GLcontext *ctx)
void _tnl_generic_emit (GLcontext *ctx, GLuint count, GLubyte *v)
void _tnl_generic_interp (GLcontext *ctx, GLfloat t, GLuint edst, GLuint eout, GLuint ein, GLboolean force_boundary)
void _tnl_generic_copy_pv (GLcontext *ctx, GLuint edst, GLuint esrc)
void _tnl_generic_interp_extras (GLcontext *ctx, GLfloat t, GLuint dst, GLuint out, GLuint in, GLboolean force_boundary)
void _tnl_generic_copy_pv_extras (GLcontext *ctx, GLuint dst, GLuint src)

Variables

struct tnl_format_info _tnl_format_info [EMIT_MAX]


Define Documentation

#define DEBUG_INSERT

#define EMIT2 ( F0,
F1,
NAME   ) 

Value:

EMIT5(2, F0, F1, insert_null, \
                                  insert_null, insert_null, NAME)

#define EMIT3 ( F0,
F1,
F2,
NAME   ) 

Value:

EMIT5(3, F0, F1, F2, insert_null, \
                                      insert_null, NAME)

#define EMIT4 ( F0,
F1,
F2,
F3,
NAME   ) 

Value:

EMIT5(4, F0, F1, F2, F3, \
                                          insert_null, NAME)

#define EMIT5 ( NR,
F0,
F1,
F2,
F3,
F4,
NAME   ) 


Function Documentation

void _tnl_generate_hardwired_emit ( GLcontext ctx  ) 

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

void _tnl_generic_copy_pv_extras ( GLcontext ctx,
GLuint  dst,
GLuint  src 
)

void _tnl_generic_emit ( GLcontext ctx,
GLuint  count,
GLubyte *  v 
)

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

void _tnl_generic_interp_extras ( GLcontext ctx,
GLfloat  t,
GLuint  dst,
GLuint  out,
GLuint  in,
GLboolean  force_boundary 
)

static void extract_1f ( const struct tnl_clipspace_attr a,
GLfloat *  out,
const GLubyte *  v 
) [static]

static void extract_1ub_1f ( const struct tnl_clipspace_attr a,
GLfloat *  out,
const GLubyte *  v 
) [static]

static void extract_2f ( const struct tnl_clipspace_attr a,
GLfloat *  out,
const GLubyte *  v 
) [static]

static void extract_2f_viewport ( const struct tnl_clipspace_attr a,
GLfloat *  out,
const GLubyte *  v 
) [static]

static void extract_3f ( const struct tnl_clipspace_attr a,
GLfloat *  out,
const GLubyte *  v 
) [static]

static void extract_3f_viewport ( const struct tnl_clipspace_attr a,
GLfloat *  out,
const GLubyte *  v 
) [static]

static void extract_3f_xyw ( const struct tnl_clipspace_attr a,
GLfloat *  out,
const GLubyte *  v 
) [static]

static void extract_3ub_3f_bgr ( const struct tnl_clipspace_attr a,
GLfloat *  out,
const GLubyte *  v 
) [static]

static void extract_3ub_3f_rgb ( const struct tnl_clipspace_attr a,
GLfloat *  out,
const GLubyte *  v 
) [static]

static void extract_4chan_4f_rgba ( const struct tnl_clipspace_attr a,
GLfloat *  out,
const GLubyte *  v 
) [static]

static void extract_4f ( const struct tnl_clipspace_attr a,
GLfloat *  out,
const GLubyte *  v 
) [static]

static void extract_4f_viewport ( const struct tnl_clipspace_attr a,
GLfloat *  out,
const GLubyte *  v 
) [static]

static void extract_4ub_4f_abgr ( const struct tnl_clipspace_attr a,
GLfloat *  out,
const GLubyte *  v 
) [static]

static void extract_4ub_4f_argb ( const struct tnl_clipspace_attr a,
GLfloat *  out,
const GLubyte *  v 
) [static]

static void extract_4ub_4f_bgra ( const struct tnl_clipspace_attr a,
GLfloat *  out,
const GLubyte *  v 
) [static]

static void extract_4ub_4f_rgba ( const struct tnl_clipspace_attr a,
GLfloat *  out,
const GLubyte *  v 
) [static]

static INLINE void insert_1f_1 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_1ub_1f_1 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_2f_1 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_2f_2 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_2f_viewport_1 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_2f_viewport_2 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_3f_1 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_3f_2 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_3f_3 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_3f_viewport_1 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_3f_viewport_2 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_3f_viewport_3 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_3f_xyw_4 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_3f_xyw_err ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_3ub_3f_bgr_1 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_3ub_3f_bgr_2 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_3ub_3f_bgr_3 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_3ub_3f_rgb_1 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_3ub_3f_rgb_2 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_3ub_3f_rgb_3 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_4chan_4f_rgba_1 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_4chan_4f_rgba_2 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_4chan_4f_rgba_3 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_4chan_4f_rgba_4 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_4f_1 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_4f_2 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_4f_3 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_4f_4 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_4f_viewport_1 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_4f_viewport_2 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_4f_viewport_3 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_4f_viewport_4 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_4ub_4f_abgr_1 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_4ub_4f_abgr_2 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_4ub_4f_abgr_3 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_4ub_4f_abgr_4 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_4ub_4f_argb_1 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_4ub_4f_argb_2 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_4ub_4f_argb_3 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_4ub_4f_argb_4 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_4ub_4f_bgra_1 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_4ub_4f_bgra_2 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_4ub_4f_bgra_3 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_4ub_4f_bgra_4 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_4ub_4f_rgba_1 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_4ub_4f_rgba_2 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_4ub_4f_rgba_3 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_4ub_4f_rgba_4 ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]

static INLINE void insert_null ( const struct tnl_clipspace_attr a,
GLubyte *  v,
const GLfloat *  in 
) [static]


Variable Documentation

struct tnl_format_info _tnl_format_info[EMIT_MAX]


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