• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 
2 /*
3  * Mesa 3-D graphics library
4  *
5  * Copyright (C) 1999-2001  Brian Paul   All Rights Reserved.
6  *
7  * Permission is hereby granted, free of charge, to any person obtaining a
8  * copy of this software and associated documentation files (the "Software"),
9  * to deal in the Software without restriction, including without limitation
10  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
11  * and/or sell copies of the Software, and to permit persons to whom the
12  * Software is furnished to do so, subject to the following conditions:
13  *
14  * The above copyright notice and this permission notice shall be included
15  * in all copies or substantial portions of the Software.
16  *
17  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
18  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
20  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
21  * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
22  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
23  * OTHER DEALINGS IN THE SOFTWARE.
24  */
25 
26 
27 #ifndef CONVOLVE_H
28 #define CONVOLVE_H
29 
30 
31 #include "glheader.h"
32 
33 struct _glapi_table;
34 
35 void GLAPIENTRY
36 _mesa_ConvolutionFilter1D(GLenum target, GLenum internalFormat, GLsizei width,
37                           GLenum format, GLenum type, const GLvoid *image);
38 void GLAPIENTRY
39 _mesa_ConvolutionFilter2D(GLenum target, GLenum internalFormat, GLsizei width,
40                           GLsizei height, GLenum format, GLenum type,
41                           const GLvoid *image);
42 void GLAPIENTRY
43 _mesa_ConvolutionParameterf(GLenum target, GLenum pname, GLfloat param);
44 void GLAPIENTRY
45 _mesa_ConvolutionParameterfv(GLenum target, GLenum pname,
46                              const GLfloat *params);
47 void GLAPIENTRY
48 _mesa_ConvolutionParameteri(GLenum target, GLenum pname, GLint param);
49 void GLAPIENTRY
50 _mesa_ConvolutionParameteriv(GLenum target, GLenum pname, const GLint *params);
51 void GLAPIENTRY
52 _mesa_CopyConvolutionFilter1D(GLenum target, GLenum internalFormat, GLint x,
53                               GLint y, GLsizei width);
54 void GLAPIENTRY
55 _mesa_CopyConvolutionFilter2D(GLenum target, GLenum internalFormat, GLint x,
56                               GLint y, GLsizei width, GLsizei height);
57 void GLAPIENTRY
58 _mesa_GetnConvolutionFilterARB(GLenum target, GLenum format, GLenum type,
59                                GLsizei bufSize, GLvoid *image);
60 void GLAPIENTRY
61 _mesa_GetConvolutionFilter(GLenum target, GLenum format, GLenum type,
62                            GLvoid *image);
63 void GLAPIENTRY
64 _mesa_GetConvolutionParameterfv(GLenum target, GLenum pname, GLfloat *params);
65 void GLAPIENTRY
66 _mesa_GetConvolutionParameteriv(GLenum target, GLenum pname, GLint *params);
67 void GLAPIENTRY
68 _mesa_GetnSeparableFilterARB(GLenum target, GLenum format, GLenum type,
69                              GLsizei rowBufSize, GLvoid *row,
70                              GLsizei columnBufSize,  GLvoid *column,
71                              GLvoid *span);
72 void GLAPIENTRY
73 _mesa_GetSeparableFilter(GLenum target, GLenum format, GLenum type,
74                          GLvoid *row, GLvoid *column, GLvoid *span);
75 void GLAPIENTRY
76 _mesa_SeparableFilter2D(GLenum target, GLenum internalFormat, GLsizei width,
77                         GLsizei height, GLenum format, GLenum type,
78                         const GLvoid *row, const GLvoid *column);
79 
80 #endif /* CONVOLVE_H */
81