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

t_dd_dmatmp2.h File Reference


Detailed Description

Template for render stages which build and emit vertices directly to fixed-size dma buffers.

Useful for rendering strips and other native primitives where clipping and per-vertex tweaks such as those in t_dd_tritmp.h are not required.


Defines

#define EMIT_TWO_ELTS(dest, offset, elt0, elt1)

Functions

static ELT_TYPE *TAG() emit_elts (GLcontext *ctx, ELT_TYPE *dest, GLuint *elts, GLuint nr)
static ELT_TYPE *TAG() emit_consecutive_elts (GLcontext *ctx, ELT_TYPE *dest, GLuint start, GLuint nr)
static void TAG() render_points_verts (GLcontext *ctx, GLuint start, GLuint count, GLuint flags)
static void TAG() render_lines_verts (GLcontext *ctx, GLuint start, GLuint count, GLuint flags)
static void TAG() render_line_strip_verts (GLcontext *ctx, GLuint start, GLuint count, GLuint flags)
static void TAG() render_line_loop_verts (GLcontext *ctx, GLuint start, GLuint count, GLuint flags)
static void TAG() render_triangles_verts (GLcontext *ctx, GLuint start, GLuint count, GLuint flags)
static void TAG() render_tri_strip_verts (GLcontext *ctx, GLuint start, GLuint count, GLuint flags)
static void TAG() render_tri_fan_verts (GLcontext *ctx, GLuint start, GLuint count, GLuint flags)
static void TAG() render_poly_verts (GLcontext *ctx, GLuint start, GLuint count, GLuint flags)
static void TAG() render_quad_strip_verts (GLcontext *ctx, GLuint start, GLuint count, GLuint flags)
static void TAG() render_quads_verts (GLcontext *ctx, GLuint start, GLuint count, GLuint flags)
static void TAG() render_noop (GLcontext *ctx, GLuint start, GLuint count, GLuint flags)
static tnl_render_func TAG (render_tab_verts)[GL_POLYGON+2]
static void TAG() render_points_elts (GLcontext *ctx, GLuint start, GLuint count, GLuint flags)
static void TAG() render_lines_elts (GLcontext *ctx, GLuint start, GLuint count, GLuint flags)
static void TAG() render_line_strip_elts (GLcontext *ctx, GLuint start, GLuint count, GLuint flags)
static void TAG() render_line_loop_elts (GLcontext *ctx, GLuint start, GLuint count, GLuint flags)
static void TAG() render_triangles_elts (GLcontext *ctx, GLuint start, GLuint count, GLuint flags)
static void TAG() render_tri_strip_elts (GLcontext *ctx, GLuint start, GLuint count, GLuint flags)
static void TAG() render_tri_fan_elts (GLcontext *ctx, GLuint start, GLuint count, GLuint flags)
static void TAG() render_poly_elts (GLcontext *ctx, GLuint start, GLuint count, GLuint flags)
static void TAG() render_quad_strip_elts (GLcontext *ctx, GLuint start, GLuint count, GLuint flags)
static void TAG() render_quads_elts (GLcontext *ctx, GLuint start, GLuint count, GLuint flags)
static tnl_render_func TAG (render_tab_elts)[GL_POLYGON+2]


Define Documentation

#define EMIT_TWO_ELTS ( dest,
offset,
elt0,
elt1   ) 

Value:

do {                                            \
   (dest)[offset] = (elt0);                     \
   (dest)[offset+1] = (elt1);                   \
} while (0)


Function Documentation

static ELT_TYPE* TAG() emit_consecutive_elts ( GLcontext ctx,
ELT_TYPE *  dest,
GLuint  start,
GLuint  nr 
) [static]

static ELT_TYPE* TAG() emit_elts ( GLcontext ctx,
ELT_TYPE *  dest,
GLuint *  elts,
GLuint  nr 
) [static]

static void TAG() render_line_loop_elts ( GLcontext ctx,
GLuint  start,
GLuint  count,
GLuint  flags 
) [static]

static void TAG() render_line_loop_verts ( GLcontext ctx,
GLuint  start,
GLuint  count,
GLuint  flags 
) [static]

static void TAG() render_line_strip_elts ( GLcontext ctx,
GLuint  start,
GLuint  count,
GLuint  flags 
) [static]

static void TAG() render_line_strip_verts ( GLcontext ctx,
GLuint  start,
GLuint  count,
GLuint  flags 
) [static]

static void TAG() render_lines_elts ( GLcontext ctx,
GLuint  start,
GLuint  count,
GLuint  flags 
) [static]

static void TAG() render_lines_verts ( GLcontext ctx,
GLuint  start,
GLuint  count,
GLuint  flags 
) [static]

static void TAG() render_noop ( GLcontext ctx,
GLuint  start,
GLuint  count,
GLuint  flags 
) [static]

static void TAG() render_points_elts ( GLcontext ctx,
GLuint  start,
GLuint  count,
GLuint  flags 
) [static]

static void TAG() render_points_verts ( GLcontext ctx,
GLuint  start,
GLuint  count,
GLuint  flags 
) [static]

static void TAG() render_poly_elts ( GLcontext ctx,
GLuint  start,
GLuint  count,
GLuint  flags 
) [static]

static void TAG() render_poly_verts ( GLcontext ctx,
GLuint  start,
GLuint  count,
GLuint  flags 
) [static]

static void TAG() render_quad_strip_elts ( GLcontext ctx,
GLuint  start,
GLuint  count,
GLuint  flags 
) [static]

static void TAG() render_quad_strip_verts ( GLcontext ctx,
GLuint  start,
GLuint  count,
GLuint  flags 
) [static]

static void TAG() render_quads_elts ( GLcontext ctx,
GLuint  start,
GLuint  count,
GLuint  flags 
) [static]

static void TAG() render_quads_verts ( GLcontext ctx,
GLuint  start,
GLuint  count,
GLuint  flags 
) [static]

static void TAG() render_tri_fan_elts ( GLcontext ctx,
GLuint  start,
GLuint  count,
GLuint  flags 
) [static]

static void TAG() render_tri_fan_verts ( GLcontext ctx,
GLuint  start,
GLuint  count,
GLuint  flags 
) [static]

static void TAG() render_tri_strip_elts ( GLcontext ctx,
GLuint  start,
GLuint  count,
GLuint  flags 
) [static]

static void TAG() render_tri_strip_verts ( GLcontext ctx,
GLuint  start,
GLuint  count,
GLuint  flags 
) [static]

static void TAG() render_triangles_elts ( GLcontext ctx,
GLuint  start,
GLuint  count,
GLuint  flags 
) [static]

static void TAG() render_triangles_verts ( GLcontext ctx,
GLuint  start,
GLuint  count,
GLuint  flags 
) [static]

static tnl_render_func TAG ( render_tab_elts   )  [static]

static tnl_render_func TAG ( render_tab_verts   )  [static]


Generated on Sun Sep 27 06:48:12 2009 for Mesa tnl_dd by  doxygen 1.5.4