#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. |
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.