ReactOS 0.4.15-dev-7654-g6bc40d3
masking.h
Go to the documentation of this file.
1/* $Id: masking.h,v 1.1 1996/09/13 01:38:16 brianp Exp $ */
2
3/*
4 * Mesa 3-D graphics library
5 * Version: 2.0
6 * Copyright (C) 1995-1996 Brian Paul
7 *
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version.
12 *
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Library General Public License for more details.
17 *
18 * You should have received a copy of the GNU Library General Public
19 * License along with this library; if not, write to the Free
20 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 */
22
23
24/*
25 * $Log: masking.h,v $
26 * Revision 1.1 1996/09/13 01:38:16 brianp
27 * Initial revision
28 *
29 */
30
31
32#ifndef MASKING_H
33#define MASKING_H
34
35
36#include "types.h"
37
38
39
40extern void gl_IndexMask( GLcontext *ctx, GLuint mask );
41
44
45
46/*
47 * Implement glColorMask for a span of RGBA pixels.
48 */
49extern void gl_mask_color_span( GLcontext *ctx,
53
54
55
56/*
57 * Implement glColorMask for an array of RGBA pixels.
58 */
60 GLuint n, const GLint x[], const GLint y[],
63 const GLubyte mask[] );
64
65
66
67/*
68 * Implement glIndexMask for a span of CI pixels.
69 */
70extern void gl_mask_index_span( GLcontext *ctx,
72
73
74
75/*
76 * Implement glIndexMask for an array of CI pixels.
77 */
79 GLuint n, const GLint x[], const GLint y[],
80 GLuint index[], const GLubyte mask[] );
81
82
83
84#endif
85
unsigned char GLubyte
Definition: gl.h:157
GLclampf green
Definition: gl.h:1740
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLclampf GLclampf GLclampf alpha
Definition: gl.h:1740
unsigned int GLuint
Definition: gl.h:159
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
GLclampf GLclampf blue
Definition: gl.h:1740
int GLint
Definition: gl.h:156
unsigned char GLboolean
Definition: gl.h:151
GLdouble n
Definition: glext.h:7729
GLuint index
Definition: glext.h:6031
GLenum GLint GLuint mask
Definition: glext.h:6028
#define red
Definition: linetest.c:67
void gl_mask_color_pixels(GLcontext *ctx, GLuint n, const GLint x[], const GLint y[], GLubyte red[], GLubyte green[], GLubyte blue[], GLubyte alpha[], const GLubyte mask[])
Definition: masking.c:125
void gl_IndexMask(GLcontext *ctx, GLuint mask)
Definition: masking.c:64
void gl_mask_index_pixels(GLcontext *ctx, GLuint n, const GLint x[], const GLint y[], GLuint index[], const GLubyte mask[])
Definition: masking.c:183
void gl_ColorMask(GLcontext *ctx, GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
Definition: masking.c:76
void gl_mask_index_span(GLcontext *ctx, GLuint n, GLint x, GLint y, GLuint index[])
Definition: masking.c:161
void gl_mask_color_span(GLcontext *ctx, GLuint n, GLint x, GLint y, GLubyte red[], GLubyte green[], GLubyte blue[], GLubyte alpha[])
Definition: masking.c:93