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

s_masking.c File Reference

#include "main/glheader.h"
#include "main/macros.h"
#include "s_context.h"
#include "s_masking.h"
#include "s_span.h"

Functions

void _swrast_mask_rgba_span (GLcontext *ctx, struct gl_renderbuffer *rb, SWspan *span)
 Apply the color mask to a span of rgba values.
void _swrast_mask_ci_span (GLcontext *ctx, struct gl_renderbuffer *rb, SWspan *span)
 Apply the index mask to a span of color index values.


Function Documentation

void _swrast_mask_ci_span ( GLcontext ctx,
struct gl_renderbuffer rb,
SWspan span 
)

Apply the index mask to a span of color index values.

void _swrast_mask_rgba_span ( GLcontext ctx,
struct gl_renderbuffer rb,
SWspan span 
)

Apply the color mask to a span of rgba values.


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