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

s_blend.h File Reference

#include "s_context.h"

Functions

void _swrast_blend_span (GLcontext *ctx, struct gl_renderbuffer *rb, SWspan *span)
 Apply the blending operator to a span of pixels.
void _swrast_choose_blend_func (GLcontext *ctx, GLenum chanType)
 Analyze current blending parameters to pick fastest blending function.


Function Documentation

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

Apply the blending operator to a span of pixels.

We can handle horizontal runs of pixels (spans) or arrays of x/y pixel coordinates.

void _swrast_choose_blend_func ( GLcontext ctx,
GLenum  chanType 
)

Analyze current blending parameters to pick fastest blending function.

Result: the ctx->Color.BlendFunc pointer is updated.


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