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

t_dd_imm_primtmp.h File Reference


Defines

#define DBG   0
#define DRAW_LINELOOP_LINE(a, b)
#define DO_TRISTRIP_TRI(vert0, vert1)
#define DO_TRIFAN_TRI(vert0, vert1)
#define DO_POLY_TRI(vert0, vert1)

Functions

static void TAG() flush_point_0 (GLcontext *ctx, TNL_VERTEX *v0)
static void TAG() flush_line_1 (GLcontext *ctx, TNL_VERTEX *v0)
static void TAG() flush_line_0 (GLcontext *ctx, TNL_VERTEX *v0)
static void TAG() flush_line_loop_2 (GLcontext *ctx, TNL_VERTEX *v0)
static void TAG() flush_line_loop_1 (GLcontext *ctx, TNL_VERTEX *v0)
static void TAG() flush_line_loop_0 (GLcontext *ctx, TNL_VERTEX *v0)
static void TAG() end_line_loop (GLcontext *ctx)
static void TAG() flush_line_strip_2 (GLcontext *ctx, TNL_VERTEX *v0)
static void TAG() flush_line_strip_1 (GLcontext *ctx, TNL_VERTEX *v0)
static void TAG() flush_line_strip_0 (GLcontext *ctx, TNL_VERTEX *v0)
static void TAG() flush_triangle_2 (GLcontext *ctx, TNL_VERTEX *v0)
static void TAG() flush_triangle_1 (GLcontext *ctx, TNL_VERTEX *v0)
static void TAG() flush_triangle_0 (GLcontext *ctx, TNL_VERTEX *v0)
static void TAG() flush_tri_strip_3 (GLcontext *ctx, TNL_VERTEX *v0)
static void TAG() flush_tri_strip_2 (GLcontext *ctx, TNL_VERTEX *v0)
static void TAG() flush_tri_strip_1 (GLcontext *ctx, TNL_VERTEX *v0)
static void TAG() flush_tri_strip_0 (GLcontext *ctx, TNL_VERTEX *v0)
static void TAG() flush_tri_strip_4 (GLcontext *ctx, TNL_VERTEX *v0)
static void TAG() flush_tri_strip_5 (GLcontext *ctx, TNL_VERTEX *v0)
static void TAG() flush_tri_fan_2 (GLcontext *ctx, TNL_VERTEX *v0)
static void TAG() flush_tri_fan_1 (GLcontext *ctx, TNL_VERTEX *v0)
static void TAG() flush_tri_fan_0 (GLcontext *ctx, TNL_VERTEX *v0)
static void TAG() flush_tri_fan_3 (GLcontext *ctx, TNL_VERTEX *v0)
static void TAG() flush_quad_3 (GLcontext *ctx, TNL_VERTEX *v0)
static void TAG() flush_quad_2 (GLcontext *ctx, TNL_VERTEX *v0)
static void TAG() flush_quad_1 (GLcontext *ctx, TNL_VERTEX *v0)
static void TAG() flush_quad_0 (GLcontext *ctx, TNL_VERTEX *v0)
static void TAG() flush_quad_strip_3 (GLcontext *ctx, TNL_VERTEX *v0)
static void TAG() flush_quad_strip_2 (GLcontext *ctx, TNL_VERTEX *v0)
static void TAG() flush_quad_strip_1 (GLcontext *ctx, TNL_VERTEX *v0)
static void TAG() flush_quad_strip_0 (GLcontext *ctx, TNL_VERTEX *v0)
static void TAG() flush_poly_2 (GLcontext *ctx, TNL_VERTEX *v0)
static void TAG() flush_poly_1 (GLcontext *ctx, TNL_VERTEX *v0)
static void TAG() flush_poly_0 (GLcontext *ctx, TNL_VERTEX *v0)
static void TAG() flush_poly_3 (GLcontext *ctx, TNL_VERTEX *v0)
void(*)(GLcontext *, TNL_VERTEX *) TAG (flush_tab)[GL_POLYGON+1]


Define Documentation

#define DBG   0

#define DO_POLY_TRI ( vert0,
vert1   ) 

Value:

if (!HAVE_POLYGONS || FALLBACK_OR_CLIPPING) {   \
      TNL_VERTEX *v2 = IMM_VERTICES( vert0 );                   \
      TNL_VERTEX *v1 = IMM_VERTICES( vert1 );                   \
      TAG(draw_tri)( ctx, v1, v0, v2 );                         \
   } else if (EXTEND_PRIM( 1 )) {                               \
      EMIT_VERTEX( v0 );                                        \
   } else {                                                     \
      TNL_VERTEX *v2 = IMM_VERTICES( vert0 );                   \
      TNL_VERTEX *v1 = IMM_VERTICES( vert1 );                   \
      BEGIN_PRIM( GL_POLYGON, 3 );                              \
      EMIT_VERTEX( v2 );                                        \
      EMIT_VERTEX( v1 );                                        \
      EMIT_VERTEX( v0 );                                        \
   }

#define DO_TRIFAN_TRI ( vert0,
vert1   ) 

Value:

if (!HAVE_TRI_FAN || FALLBACK_OR_CLIPPING) {    \
      TNL_VERTEX *v2 = IMM_VERTICES( vert0 );                   \
      TNL_VERTEX *v1 = IMM_VERTICES( vert1 );                   \
      TAG(draw_tri)( ctx, v2, v1, v0 );                         \
   } else if (EXTEND_PRIM( 1 )) {                               \
      EMIT_VERTEX( v0 );                                        \
   } else {                                                     \
      TNL_VERTEX *v2 = IMM_VERTICES( vert0 );                   \
      TNL_VERTEX *v1 = IMM_VERTICES( vert1 );                   \
      BEGIN_PRIM( GL_TRIANGLE_FAN, 3 );                         \
      EMIT_VERTEX( v2 );                                        \
      EMIT_VERTEX( v1 );                                        \
      EMIT_VERTEX( v0 );                                        \
   }

#define DO_TRISTRIP_TRI ( vert0,
vert1   ) 

Value:

if (!HAVE_TRI_STRIP || FALLBACK_OR_CLIPPING) {  \
      TNL_VERTEX *v2 = IMM_VERTICES( vert0 );                   \
      TNL_VERTEX *v1 = IMM_VERTICES( vert1 );                   \
      TAG(draw_tri)( ctx, v2, v1, v0 );                         \
   } else if (EXTEND_PRIM( 1 )) {                               \
      EMIT_VERTEX( v0 );                                        \
   } else {                                                     \
      TNL_VERTEX *v2 = IMM_VERTICES( vert0 );                   \
      TNL_VERTEX *v1 = IMM_VERTICES( vert1 );                   \
      BEGIN_PRIM( GL_TRIANGLE_STRIP, 3 );                       \
      EMIT_VERTEX( v2 );                                        \
      EMIT_VERTEX( v1 );                                        \
      EMIT_VERTEX( v0 );                                        \
   }

#define DRAW_LINELOOP_LINE ( a,
 ) 

Value:

if (!HAVE_LINE_STRIP || FALLBACK_OR_CLIPPING) { \
      CLIP_OR_DRAW_LINE( ctx, a, b );                   \
   } else if (EXTEND_PRIM( 1 )) {                       \
      EMIT_VERTEX( b );                                 \
   } else {                                             \
      BEGIN_PRIM( GL_LINE_STRIP, 2 );                   \
      EMIT_VERTEX( a );                                 \
      EMIT_VERTEX( b );                                 \
   }


Function Documentation

static void TAG() end_line_loop ( GLcontext ctx  )  [static]

static void TAG() flush_line_0 ( GLcontext ctx,
TNL_VERTEX *  v0 
) [static]

static void TAG() flush_line_1 ( GLcontext ctx,
TNL_VERTEX *  v0 
) [static]

static void TAG() flush_line_loop_0 ( GLcontext ctx,
TNL_VERTEX *  v0 
) [static]

static void TAG() flush_line_loop_1 ( GLcontext ctx,
TNL_VERTEX *  v0 
) [static]

static void TAG() flush_line_loop_2 ( GLcontext ctx,
TNL_VERTEX *  v0 
) [static]

static void TAG() flush_line_strip_0 ( GLcontext ctx,
TNL_VERTEX *  v0 
) [static]

static void TAG() flush_line_strip_1 ( GLcontext ctx,
TNL_VERTEX *  v0 
) [static]

static void TAG() flush_line_strip_2 ( GLcontext ctx,
TNL_VERTEX *  v0 
) [static]

static void TAG() flush_point_0 ( GLcontext ctx,
TNL_VERTEX *  v0 
) [static]

static void TAG() flush_poly_0 ( GLcontext ctx,
TNL_VERTEX *  v0 
) [static]

static void TAG() flush_poly_1 ( GLcontext ctx,
TNL_VERTEX *  v0 
) [static]

static void TAG() flush_poly_2 ( GLcontext ctx,
TNL_VERTEX *  v0 
) [static]

static void TAG() flush_poly_3 ( GLcontext ctx,
TNL_VERTEX *  v0 
) [static]

static void TAG() flush_quad_0 ( GLcontext ctx,
TNL_VERTEX *  v0 
) [static]

static void TAG() flush_quad_1 ( GLcontext ctx,
TNL_VERTEX *  v0 
) [static]

static void TAG() flush_quad_2 ( GLcontext ctx,
TNL_VERTEX *  v0 
) [static]

static void TAG() flush_quad_3 ( GLcontext ctx,
TNL_VERTEX *  v0 
) [static]

static void TAG() flush_quad_strip_0 ( GLcontext ctx,
TNL_VERTEX *  v0 
) [static]

static void TAG() flush_quad_strip_1 ( GLcontext ctx,
TNL_VERTEX *  v0 
) [static]

static void TAG() flush_quad_strip_2 ( GLcontext ctx,
TNL_VERTEX *  v0 
) [static]

static void TAG() flush_quad_strip_3 ( GLcontext ctx,
TNL_VERTEX *  v0 
) [static]

static void TAG() flush_tri_fan_0 ( GLcontext ctx,
TNL_VERTEX *  v0 
) [static]

static void TAG() flush_tri_fan_1 ( GLcontext ctx,
TNL_VERTEX *  v0 
) [static]

static void TAG() flush_tri_fan_2 ( GLcontext ctx,
TNL_VERTEX *  v0 
) [static]

static void TAG() flush_tri_fan_3 ( GLcontext ctx,
TNL_VERTEX *  v0 
) [static]

static void TAG() flush_tri_strip_0 ( GLcontext ctx,
TNL_VERTEX *  v0 
) [static]

static void TAG() flush_tri_strip_1 ( GLcontext ctx,
TNL_VERTEX *  v0 
) [static]

static void TAG() flush_tri_strip_2 ( GLcontext ctx,
TNL_VERTEX *  v0 
) [static]

static void TAG() flush_tri_strip_3 ( GLcontext ctx,
TNL_VERTEX *  v0 
) [static]

static void TAG() flush_tri_strip_4 ( GLcontext ctx,
TNL_VERTEX *  v0 
) [static]

static void TAG() flush_tri_strip_5 ( GLcontext ctx,
TNL_VERTEX *  v0 
) [static]

static void TAG() flush_triangle_0 ( GLcontext ctx,
TNL_VERTEX *  v0 
) [static]

static void TAG() flush_triangle_1 ( GLcontext ctx,
TNL_VERTEX *  v0 
) [static]

static void TAG() flush_triangle_2 ( GLcontext ctx,
TNL_VERTEX *  v0 
) [static]

void(*)( GLcontext *, TNL_VERTEX * ) TAG ( flush_tab   ) 


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