~ubuntu-branches/ubuntu/quantal/mesa/quantal

« back to all changes in this revision

Viewing changes to src/mesa/swrast/s_masking.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-02-21 12:44:07 UTC
  • mfrom: (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 22.
  • Revision ID: james.westby@ubuntu.com-20070221124407-rgcacs32mycrtadl
ImportĀ upstreamĀ versionĀ 6.5.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * Mesa 3-D graphics library
3
 
 * Version:  6.3
 
3
 * Version:  6.5.2
4
4
 *
5
 
 * Copyright (C) 1999-2005  Brian Paul   All Rights Reserved.
 
5
 * Copyright (C) 1999-2006  Brian Paul   All Rights Reserved.
6
6
 *
7
7
 * Permission is hereby granted, free of charge, to any person obtaining a
8
8
 * copy of this software and associated documentation files (the "Software"),
31
31
#include "swrast.h"
32
32
 
33
33
 
34
 
/*
35
 
 * Implement glColorMask for a span of RGBA pixels.
36
 
 */
37
34
extern void
38
35
_swrast_mask_rgba_span(GLcontext *ctx, struct gl_renderbuffer *rb,
39
 
                       const struct sw_span *span, GLchan rgba[][4]);
40
 
 
41
 
 
42
 
extern void
43
 
_swrast_mask_rgba_array(GLcontext *ctx, struct gl_renderbuffer *rb,
44
 
                        GLuint n, GLint x, GLint y, GLchan rgba[][4]);
45
 
 
46
 
 
47
 
/*
48
 
 * Implement glIndexMask for a span of CI pixels.
49
 
 */
 
36
                       SWspan *span);
 
37
 
 
38
 
50
39
extern void
51
40
_swrast_mask_ci_span(GLcontext *ctx, struct gl_renderbuffer *rb,
52
 
                     const struct sw_span *span, GLuint index[]);
53
 
 
54
 
extern void
55
 
_swrast_mask_ci_array(GLcontext *ctx, struct gl_renderbuffer *rb,
56
 
                      GLuint n, GLint x, GLint y, GLuint index[]);
 
41
                     SWspan *span);
57
42
 
58
43
#endif