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

s_tritemp.h File Reference


Defines

#define CLAMP_INTERPOLANT(CHANNEL, CHANNELSTEP, LEN)

Functions

static void NAME (GLcontext *ctx, const SWvertex *v0, const SWvertex *v1, const SWvertex *v2)


Define Documentation

#define CLAMP_INTERPOLANT ( CHANNEL,
CHANNELSTEP,
LEN   ) 

Value:

do {                                                            \
   GLfixed endVal = span.CHANNEL + (LEN) * span.CHANNELSTEP;    \
   if (endVal < 0) {                                            \
      span.CHANNEL -= endVal;                                   \
   }                                                            \
   if (span.CHANNEL < 0) {                                      \
      span.CHANNEL = 0;                                         \
   }                                                            \
} while (0)


Function Documentation

static void NAME ( GLcontext ctx,
const SWvertex v0,
const SWvertex v1,
const SWvertex v2 
) [static]


Generated on Sun Sep 27 06:48:05 2009 for Mesa Software Rasterization (swrast) by  doxygen 1.5.4