Added a couple missing proxy types.
[mesa.git] / src / glx / x11 / indirect_size.h
1 /* DO NOT EDIT - This file generated automatically by glX_proto_send.py (from Mesa) script */
2
3 /*
4 * (C) Copyright IBM Corporation 2004
5 * 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, sub license,
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 (including the next
15 * paragraph) shall be included in all copies or substantial portions of the
16 * Software.
17 *
18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
21 * IBM,
22 * AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
23 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
24 * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
25 * SOFTWARE.
26 */
27
28
29 /**
30 * \file
31 * Prototypes for functions used to determine the number of data elements in
32 * various GLX protocol messages.
33 *
34 * \author Ian Romanick <idr@us.ibm.com>
35 */
36
37 #if !defined( _GLXSIZE_H_ )
38 # define _GLXSIZE_H_
39
40
41 # if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96)
42 # define PURE __attribute__((pure))
43 # else
44 # define PURE
45 # endif
46
47 # if defined(__i386__) && defined(__GNUC__)
48 # define FASTCALL __attribute__((fastcall))
49 # else
50 # define FASTCALL
51 # endif
52
53 # if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)
54 # define INTERNAL __attribute__((visibility("internal")))
55 # else
56 # define INTERNAL
57 # endif
58
59 extern INTERNAL PURE FASTCALL GLint __glCallLists_size(GLenum);
60 extern INTERNAL PURE FASTCALL GLint __glFogfv_size(GLenum);
61 extern INTERNAL PURE FASTCALL GLint __glFogiv_size(GLenum);
62 extern INTERNAL PURE FASTCALL GLint __glLightfv_size(GLenum);
63 extern INTERNAL PURE FASTCALL GLint __glLightiv_size(GLenum);
64 extern INTERNAL PURE FASTCALL GLint __glLightModelfv_size(GLenum);
65 extern INTERNAL PURE FASTCALL GLint __glLightModeliv_size(GLenum);
66 extern INTERNAL PURE FASTCALL GLint __glMaterialfv_size(GLenum);
67 extern INTERNAL PURE FASTCALL GLint __glMaterialiv_size(GLenum);
68 extern INTERNAL PURE FASTCALL GLint __glTexParameterfv_size(GLenum);
69 extern INTERNAL PURE FASTCALL GLint __glTexParameteriv_size(GLenum);
70 extern INTERNAL PURE FASTCALL GLint __glTexEnvfv_size(GLenum);
71 extern INTERNAL PURE FASTCALL GLint __glTexEnviv_size(GLenum);
72 extern INTERNAL PURE FASTCALL GLint __glTexGendv_size(GLenum);
73 extern INTERNAL PURE FASTCALL GLint __glTexGenfv_size(GLenum);
74 extern INTERNAL PURE FASTCALL GLint __glTexGeniv_size(GLenum);
75 extern INTERNAL PURE FASTCALL GLint __glMap1d_size(GLenum);
76 extern INTERNAL PURE FASTCALL GLint __glMap1f_size(GLenum);
77 extern INTERNAL PURE FASTCALL GLint __glMap2d_size(GLenum);
78 extern INTERNAL PURE FASTCALL GLint __glMap2f_size(GLenum);
79 extern INTERNAL PURE FASTCALL GLint __glColorTableParameterfv_size(GLenum);
80 extern INTERNAL PURE FASTCALL GLint __glColorTableParameteriv_size(GLenum);
81 extern INTERNAL PURE FASTCALL GLint __glConvolutionParameterfv_size(GLenum);
82 extern INTERNAL PURE FASTCALL GLint __glConvolutionParameteriv_size(GLenum);
83 extern INTERNAL PURE FASTCALL GLint __glPointParameterfvEXT_size(GLenum);
84 extern INTERNAL PURE FASTCALL GLint __glPointParameterivNV_size(GLenum);
85
86 # undef INTERNAL
87 # undef PURE
88 # undef FASTCALL
89 #endif /* !defined( _GLXSIZE_H_ ) */