X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fswrast%2Fs_masking.h;h=0596cb3f458b8ad7c4fdff3bae598c13c5170b44;hb=a02870f4f61a66560b3eb75f98a7fe57ebcb6ed6;hp=f9f61e950fb82ca153bfe30e49eb39d6c8132e75;hpb=45bc887da226403f2c41077e40ca38b6f60f1359;p=mesa.git diff --git a/src/mesa/swrast/s_masking.h b/src/mesa/swrast/s_masking.h index f9f61e950fb..0596cb3f458 100644 --- a/src/mesa/swrast/s_masking.h +++ b/src/mesa/swrast/s_masking.h @@ -1,10 +1,8 @@ -/* $Id: s_masking.h,v 1.6 2003/03/25 02:23:47 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"), @@ -33,30 +31,13 @@ #include "swrast.h" -/* - * Implement glColorMask for a span of RGBA pixels. - */ -extern void -_swrast_mask_rgba_span( GLcontext *ctx, const struct sw_span *span, - GLchan rgba[][4] ); - - extern void -_swrast_mask_rgba_array( GLcontext *ctx, GLuint n, GLint x, GLint y, - GLchan rgba[][4] ); - - -/* - * Implement glIndexMask for a span of CI pixels. - */ -extern void -_swrast_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 -_swrast_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