aboutsummaryrefslogtreecommitdiffstats
path: root/emulator/opengl/host/libs/Translator/EGL/ClientAPIExts.in
blob: c3162ebc6850cdf22f8ac86659d619fad7ddc6d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
//
// Each extension function should have one of the following
// macro definitions:
//    API_ENTRY(funcname, paramlist, arglist)
//  -or- (in case funciton has return value)
//    API_ENTRY_RET(return_type,funcname, paramlist, arglist)
//
API_ENTRY(glEGLImageTargetTexture2DOES,
          (GLenum target, GLeglImageOES image),
          (target, image))

API_ENTRY(glEGLImageTargetRenderbufferStorageOES,
          (GLenum target, GLeglImageOES image),
          (target, image))

API_ENTRY(glBlendEquationSeparateOES,
          (GLenum modeRGB, GLenum modeAlpha),
          (modeRGB, modeAlpha))

API_ENTRY(glBlendFuncSeparateOES,
          (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha),
          (srcRGB, dstRGB, srcAlpha, dstAlpha))

API_ENTRY(glBlendEquationOES,
          (GLenum mode),
          (mode))

API_ENTRY(glCurrentPaletteMatrixOES,
          (GLuint matrixpaletteindex),
          (matrixpaletteindex))

API_ENTRY(glLoadPaletteFromModelViewMatrixOES,
          (void),
          ())

API_ENTRY(glMatrixIndexPointerOES,
          (GLint size, GLenum type, GLsizei stride, const GLvoid * pointer),
          (size, type, stride, pointer))

API_ENTRY(glWeightPointerOES,
          (GLint size, GLenum type, GLsizei stride, const GLvoid * pointer),
          (size, type, stride, pointer))

API_ENTRY(glDepthRangefOES,
          (GLclampf zNear, GLclampf zFar),
          (zNear, zFar))

API_ENTRY(glFrustumfOES,
          (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar),
          (left, right, bottom, top, zNear, zFar))

API_ENTRY(glOrthofOES,
          (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar),
          (left, right, bottom, top, zNear, zFar))

API_ENTRY(glClipPlanefOES,
          (GLenum plane, const GLfloat *equation),
          (plane, equation))

API_ENTRY(glGetClipPlanefOES,
          (GLenum pname, GLfloat * eqn),
          (pname, eqn))

API_ENTRY(glClearDepthfOES,
          (GLclampf depth),
          (depth))

API_ENTRY(glPointSizePointerOES,
          (GLenum type, GLsizei stride, const GLvoid *pointer),
          (type, stride, pointer))

API_ENTRY(glTexGenfOES,
          (GLenum coord, GLenum pname, GLfloat param),
          (coord, pname, param))

API_ENTRY(glTexGenfvOES,
          (GLenum coord, GLenum pname, const GLfloat *params),
          (coord, pname, params))

API_ENTRY(glTexGeniOES,
          (GLenum coord, GLenum pname, GLint param),
          (coord, pname, param))

API_ENTRY(glTexGenivOES,
          (GLenum coord, GLenum pname, const GLint *params),
          (coord, pname, params))

API_ENTRY(glTexGenxOES,
          (GLenum coord, GLenum pname, GLfixed param),
          (coord, pname, param))

API_ENTRY(glTexGenxvOES,
          (GLenum coord, GLenum pname, const GLfixed *params),
          (coord, pname, params))

API_ENTRY(glGetTexGenfvOES,
          (GLenum coord, GLenum pname, GLfloat *params),
          (coord, pname, params))

API_ENTRY(glGetTexGenivOES,
          (GLenum coord, GLenum pname, GLint *params),
          (coord, pname, params))

API_ENTRY(glGetTexGenxvOES,
          (GLenum coord, GLenum pname, GLfixed *params),
          (coord, pname, params))

API_ENTRY_RET(GLboolean,
              glIsRenderbufferOES,
              (GLuint renderbuffer),
              (renderbuffer))

API_ENTRY(glBindRenderbufferOES,
          (GLenum target, GLuint renderbuffer),
          (target, renderbuffer))

API_ENTRY(glDeleteRenderbuffersOES,
          (GLsizei n, const GLuint* renderbuffers),
          (n, renderbuffers))

API_ENTRY(glGenRenderbuffersOES,
          (GLsizei n, GLuint* renderbuffers),
          (n, renderbuffers))

API_ENTRY(glRenderbufferStorageOES,
          (GLenum target, GLenum internalformat, GLsizei width, GLsizei height),
          (target, internalformat, width, height))

API_ENTRY(glGetRenderbufferParameterivOES,
          (GLenum target, GLenum pname, GLint* params),
          (target, pname, params))

API_ENTRY_RET(GLboolean,
              glIsFramebufferOES,
              (GLuint framebuffer),
              (framebuffer))

API_ENTRY(glBindFramebufferOES,
          (GLenum target, GLuint framebuffer),
          (target, framebuffer))

API_ENTRY(glDeleteFramebuffersOES,
          (GLsizei n, const GLuint* framebuffers),
          (n, framebuffers))

API_ENTRY(glGenFramebuffersOES,
          (GLsizei n, GLuint* framebuffers),
          (n, framebuffers))

API_ENTRY_RET(GLenum,
              glCheckFramebufferStatusOES,
              (GLenum target),
              (target))

API_ENTRY(glFramebufferTexture2DOES,
          (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level),
          (target, attachment, textarget, texture, level))

API_ENTRY(glFramebufferRenderbufferOES,
          (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer),
          (target, attachment, renderbuffertarget, renderbuffer))

API_ENTRY(glGetFramebufferAttachmentParameterivOES,
          (GLenum target, GLenum attachment, GLenum pname, GLint* params),
          (target, attachment, pname, params))

API_ENTRY(glGenerateMipmapOES,
          (GLenum target),
          (target))

API_ENTRY(glDrawTexsOES,
          (GLshort x, GLshort y, GLshort z, GLshort width, GLshort height),
          (x, y, z, width, height))

API_ENTRY(glDrawTexiOES,
          (GLint x, GLint y, GLint z, GLint width, GLint height),
          (x, y, z, width, height))

API_ENTRY(glDrawTexfOES,
          (GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height),
          (x, y, z, width, height))

API_ENTRY(glDrawTexxOES,
          (GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height),
          (x, y, z, width, height))

API_ENTRY(glDrawTexsvOES,
          (const GLshort *coords),
          (coords))

API_ENTRY(glDrawTexivOES,
          (const GLint *coords),
          (coords))

API_ENTRY(glDrawTexfvOES,
          (const GLfloat *coords),
          (coords))

API_ENTRY(glDrawTexxvOES,
          (const GLfixed *coords),
          (coords))