• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//
2// Each extension function should have one of the following
3// macro definitions:
4//    API_ENTRY(funcname, paramlist, arglist)
5//  -or- (in case funciton has return value)
6//    API_ENTRY_RET(return_type,funcname, paramlist, arglist)
7//
8API_ENTRY(glEGLImageTargetTexture2DOES,
9          (GLenum target, GLeglImageOES image),
10          (target, image))
11
12API_ENTRY(glEGLImageTargetRenderbufferStorageOES,
13          (GLenum target, GLeglImageOES image),
14          (target, image))
15
16API_ENTRY(glBlendEquationSeparateOES,
17          (GLenum modeRGB, GLenum modeAlpha),
18          (modeRGB, modeAlpha))
19
20API_ENTRY(glBlendFuncSeparateOES,
21          (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha),
22          (srcRGB, dstRGB, srcAlpha, dstAlpha))
23
24API_ENTRY(glBlendEquationOES,
25          (GLenum mode),
26          (mode))
27
28API_ENTRY(glCurrentPaletteMatrixOES,
29          (GLuint matrixpaletteindex),
30          (matrixpaletteindex))
31
32API_ENTRY(glLoadPaletteFromModelViewMatrixOES,
33          (void),
34          ())
35
36API_ENTRY(glMatrixIndexPointerOES,
37          (GLint size, GLenum type, GLsizei stride, const GLvoid * pointer),
38          (size, type, stride, pointer))
39
40API_ENTRY(glWeightPointerOES,
41          (GLint size, GLenum type, GLsizei stride, const GLvoid * pointer),
42          (size, type, stride, pointer))
43
44API_ENTRY(glDepthRangefOES,
45          (GLclampf zNear, GLclampf zFar),
46          (zNear, zFar))
47
48API_ENTRY(glFrustumfOES,
49          (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar),
50          (left, right, bottom, top, zNear, zFar))
51
52API_ENTRY(glOrthofOES,
53          (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar),
54          (left, right, bottom, top, zNear, zFar))
55
56API_ENTRY(glClipPlanefOES,
57          (GLenum plane, const GLfloat *equation),
58          (plane, equation))
59
60API_ENTRY(glGetClipPlanefOES,
61          (GLenum pname, GLfloat * eqn),
62          (pname, eqn))
63
64API_ENTRY(glClearDepthfOES,
65          (GLclampf depth),
66          (depth))
67
68API_ENTRY(glPointSizePointerOES,
69          (GLenum type, GLsizei stride, const GLvoid *pointer),
70          (type, stride, pointer))
71
72API_ENTRY(glTexGenfOES,
73          (GLenum coord, GLenum pname, GLfloat param),
74          (coord, pname, param))
75
76API_ENTRY(glTexGenfvOES,
77          (GLenum coord, GLenum pname, const GLfloat *params),
78          (coord, pname, params))
79
80API_ENTRY(glTexGeniOES,
81          (GLenum coord, GLenum pname, GLint param),
82          (coord, pname, param))
83
84API_ENTRY(glTexGenivOES,
85          (GLenum coord, GLenum pname, const GLint *params),
86          (coord, pname, params))
87
88API_ENTRY(glTexGenxOES,
89          (GLenum coord, GLenum pname, GLfixed param),
90          (coord, pname, param))
91
92API_ENTRY(glTexGenxvOES,
93          (GLenum coord, GLenum pname, const GLfixed *params),
94          (coord, pname, params))
95
96API_ENTRY(glGetTexGenfvOES,
97          (GLenum coord, GLenum pname, GLfloat *params),
98          (coord, pname, params))
99
100API_ENTRY(glGetTexGenivOES,
101          (GLenum coord, GLenum pname, GLint *params),
102          (coord, pname, params))
103
104API_ENTRY(glGetTexGenxvOES,
105          (GLenum coord, GLenum pname, GLfixed *params),
106          (coord, pname, params))
107
108API_ENTRY_RET(GLboolean,
109              glIsRenderbufferOES,
110              (GLuint renderbuffer),
111              (renderbuffer))
112
113API_ENTRY(glBindRenderbufferOES,
114          (GLenum target, GLuint renderbuffer),
115          (target, renderbuffer))
116
117API_ENTRY(glDeleteRenderbuffersOES,
118          (GLsizei n, const GLuint* renderbuffers),
119          (n, renderbuffers))
120
121API_ENTRY(glGenRenderbuffersOES,
122          (GLsizei n, GLuint* renderbuffers),
123          (n, renderbuffers))
124
125API_ENTRY(glRenderbufferStorageOES,
126          (GLenum target, GLenum internalformat, GLsizei width, GLsizei height),
127          (target, internalformat, width, height))
128
129API_ENTRY(glGetRenderbufferParameterivOES,
130          (GLenum target, GLenum pname, GLint* params),
131          (target, pname, params))
132
133API_ENTRY_RET(GLboolean,
134              glIsFramebufferOES,
135              (GLuint framebuffer),
136              (framebuffer))
137
138API_ENTRY(glBindFramebufferOES,
139          (GLenum target, GLuint framebuffer),
140          (target, framebuffer))
141
142API_ENTRY(glDeleteFramebuffersOES,
143          (GLsizei n, const GLuint* framebuffers),
144          (n, framebuffers))
145
146API_ENTRY(glGenFramebuffersOES,
147          (GLsizei n, GLuint* framebuffers),
148          (n, framebuffers))
149
150API_ENTRY_RET(GLenum,
151              glCheckFramebufferStatusOES,
152              (GLenum target),
153              (target))
154
155API_ENTRY(glFramebufferTexture2DOES,
156          (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level),
157          (target, attachment, textarget, texture, level))
158
159API_ENTRY(glFramebufferRenderbufferOES,
160          (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer),
161          (target, attachment, renderbuffertarget, renderbuffer))
162
163API_ENTRY(glGetFramebufferAttachmentParameterivOES,
164          (GLenum target, GLenum attachment, GLenum pname, GLint* params),
165          (target, attachment, pname, params))
166
167API_ENTRY(glGenerateMipmapOES,
168          (GLenum target),
169          (target))
170
171API_ENTRY(glDrawTexsOES,
172          (GLshort x, GLshort y, GLshort z, GLshort width, GLshort height),
173          (x, y, z, width, height))
174
175API_ENTRY(glDrawTexiOES,
176          (GLint x, GLint y, GLint z, GLint width, GLint height),
177          (x, y, z, width, height))
178
179API_ENTRY(glDrawTexfOES,
180          (GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height),
181          (x, y, z, width, height))
182
183API_ENTRY(glDrawTexxOES,
184          (GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height),
185          (x, y, z, width, height))
186
187API_ENTRY(glDrawTexsvOES,
188          (const GLshort *coords),
189          (coords))
190
191API_ENTRY(glDrawTexivOES,
192          (const GLint *coords),
193          (coords))
194
195API_ENTRY(glDrawTexfvOES,
196          (const GLfloat *coords),
197          (coords))
198
199API_ENTRY(glDrawTexxvOES,
200          (const GLfixed *coords),
201          (coords))
202