-/* $Id: s_masking.h,v 1.5 2002/02/02 21:40:33 brianp Exp $ */
-
/*
* Mesa 3-D graphics library
- * Version: 4.1
+ * Version: 6.5.2
*
- * Copyright (C) 1999-2002 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2006 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
#include "swrast.h"
-/*
- * Implement glColorMask for a span of RGBA pixels.
- */
-extern void
-_mesa_mask_rgba_span( GLcontext *ctx, const struct sw_span *span,
- GLchan rgba[][4] );
-
-
extern void
-_mesa_mask_rgba_array( GLcontext *ctx, GLuint n, GLint x, GLint y,
- GLchan rgba[][4] );
-
-
-/*
- * Implement glIndexMask for a span of CI pixels.
- */
-extern void
-_mesa_mask_index_span( GLcontext *ctx, const struct sw_span *span,
- GLuint index[] );
+_swrast_mask_rgba_span(GLcontext *ctx, struct gl_renderbuffer *rb,
+ SWspan *span);
extern void
-_mesa_mask_index_array( GLcontext *ctx,
- GLuint n, GLint x, GLint y, GLuint index[] );
-
+_swrast_mask_ci_span(GLcontext *ctx, struct gl_renderbuffer *rb,
+ SWspan *span);
#endif