~ubuntu-branches/ubuntu/precise/mesa/precise-security

« back to all changes in this revision

Viewing changes to src/mesa/main/api_exec_es1_remap_helper.h

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers, Steve Beattie
  • Date: 2012-10-19 09:04:04 UTC
  • mfrom: (163.1.4 precise-proposed)
  • Revision ID: package-import@ubuntu.com-20121019090404-5zbjpsp6knv7zl3b
Tags: 8.0.4-0ubuntu0.2
[ Steve Beattie ]
* SECURITY UPDATE: samplers array overflow (LP: #1046933)
  - debian/patches/50-CVE-2012-2864.patch: ensure that more than
    MAX_SAMPLERS are not used
  - CVE-2012-2864

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* DO NOT EDIT - This file generated automatically by remap_helper.py (from Mesa) script */
2
 
 
3
 
/*
4
 
 * Copyright (C) 2009 Chia-I Wu <olv@0xlab.org>
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
 
 * Chia-I Wu,
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
 
#include "main/dispatch.h"
29
 
#include "main/remap.h"
30
 
 
31
 
/* this is internal to remap.c */
32
 
#ifndef need_MESA_remap_table
33
 
#error Only remap.c should include this file!
34
 
#endif /* need_MESA_remap_table */
35
 
 
36
 
 
37
 
static const char _mesa_function_pool[] =
38
 
   /* _mesa_function_pool[0]: GetTexParameteriv (offset 283) */
39
 
   "iip\0"
40
 
   "glGetTexParameteriv\0"
41
 
   "\0"
42
 
   /* _mesa_function_pool[25]: DisableClientState (offset 309) */
43
 
   "i\0"
44
 
   "glDisableClientState\0"
45
 
   "\0"
46
 
   /* _mesa_function_pool[49]: MapBufferOES (will be remapped) */
47
 
   "ii\0"
48
 
   "glMapBufferOES\0"
49
 
   "\0"
50
 
   /* _mesa_function_pool[68]: MultMatrixxOES (will be remapped) */
51
 
   "p\0"
52
 
   "glMultMatrixxOES\0"
53
 
   "glMultMatrixx\0"
54
 
   "\0"
55
 
   /* _mesa_function_pool[102]: DrawTexfOES (will be remapped) */
56
 
   "fffff\0"
57
 
   "glDrawTexfOES\0"
58
 
   "\0"
59
 
   /* _mesa_function_pool[123]: BindRenderbufferOES (will be remapped) */
60
 
   "ii\0"
61
 
   "glBindRenderbufferOES\0"
62
 
   "\0"
63
 
   /* _mesa_function_pool[149]: LoadIdentity (offset 290) */
64
 
   "\0"
65
 
   "glLoadIdentity\0"
66
 
   "\0"
67
 
   /* _mesa_function_pool[166]: GetTexParameterfv (offset 282) */
68
 
   "iip\0"
69
 
   "glGetTexParameterfv\0"
70
 
   "\0"
71
 
   /* _mesa_function_pool[191]: ColorPointer (offset 308) */
72
 
   "iiip\0"
73
 
   "glColorPointer\0"
74
 
   "\0"
75
 
   /* _mesa_function_pool[212]: MaterialxvOES (will be remapped) */
76
 
   "iip\0"
77
 
   "glMaterialxvOES\0"
78
 
   "glMaterialxv\0"
79
 
   "\0"
80
 
   /* _mesa_function_pool[246]: IsFramebufferOES (will be remapped) */
81
 
   "i\0"
82
 
   "glIsFramebufferOES\0"
83
 
   "\0"
84
 
   /* _mesa_function_pool[268]: EGLImageTargetRenderbufferStorageOES (will be remapped) */
85
 
   "ip\0"
86
 
   "glEGLImageTargetRenderbufferStorageOES\0"
87
 
   "\0"
88
 
   /* _mesa_function_pool[311]: LineWidth (offset 168) */
89
 
   "f\0"
90
 
   "glLineWidth\0"
91
 
   "\0"
92
 
   /* _mesa_function_pool[326]: GetBufferPointervOES (will be remapped) */
93
 
   "iip\0"
94
 
   "glGetBufferPointervOES\0"
95
 
   "\0"
96
 
   /* _mesa_function_pool[354]: DepthRangexOES (will be remapped) */
97
 
   "ii\0"
98
 
   "glDepthRangexOES\0"
99
 
   "glDepthRangex\0"
100
 
   "\0"
101
 
   /* _mesa_function_pool[389]: FramebufferTexture2DOES (will be remapped) */
102
 
   "iiiii\0"
103
 
   "glFramebufferTexture2DOES\0"
104
 
   "\0"
105
 
   /* _mesa_function_pool[422]: Finish (offset 216) */
106
 
   "\0"
107
 
   "glFinish\0"
108
 
   "\0"
109
 
   /* _mesa_function_pool[433]: ClearStencil (offset 207) */
110
 
   "i\0"
111
 
   "glClearStencil\0"
112
 
   "\0"
113
 
   /* _mesa_function_pool[451]: GetTexGenfvOES (offset 279) */
114
 
   "iip\0"
115
 
   "glGetTexGenfvOES\0"
116
 
   "\0"
117
 
   /* _mesa_function_pool[473]: GenBuffers (will be remapped) */
118
 
   "ip\0"
119
 
   "glGenBuffers\0"
120
 
   "\0"
121
 
   /* _mesa_function_pool[490]: MatrixMode (offset 293) */
122
 
   "i\0"
123
 
   "glMatrixMode\0"
124
 
   "\0"
125
 
   /* _mesa_function_pool[506]: DrawTexivOES (will be remapped) */
126
 
   "p\0"
127
 
   "glDrawTexivOES\0"
128
 
   "\0"
129
 
   /* _mesa_function_pool[524]: LineWidthxOES (will be remapped) */
130
 
   "i\0"
131
 
   "glLineWidthxOES\0"
132
 
   "glLineWidthx\0"
133
 
   "\0"
134
 
   /* _mesa_function_pool[556]: Color4f (offset 29) */
135
 
   "ffff\0"
136
 
   "glColor4f\0"
137
 
   "\0"
138
 
   /* _mesa_function_pool[572]: TexGenfOES (offset 190) */
139
 
   "iif\0"
140
 
   "glTexGenfOES\0"
141
 
   "\0"
142
 
   /* _mesa_function_pool[590]: GetMaterialfv (offset 269) */
143
 
   "iip\0"
144
 
   "glGetMaterialfv\0"
145
 
   "\0"
146
 
   /* _mesa_function_pool[611]: BlendFuncSeparateOES (will be remapped) */
147
 
   "iiii\0"
148
 
   "glBlendFuncSeparateOES\0"
149
 
   "\0"
150
 
   /* _mesa_function_pool[640]: IsEnabled (offset 286) */
151
 
   "i\0"
152
 
   "glIsEnabled\0"
153
 
   "\0"
154
 
   /* _mesa_function_pool[655]: ShadeModel (offset 177) */
155
 
   "i\0"
156
 
   "glShadeModel\0"
157
 
   "\0"
158
 
   /* _mesa_function_pool[671]: Materialfv (offset 170) */
159
 
   "iip\0"
160
 
   "glMaterialfv\0"
161
 
   "\0"
162
 
   /* _mesa_function_pool[689]: Hint (offset 158) */
163
 
   "ii\0"
164
 
   "glHint\0"
165
 
   "\0"
166
 
   /* _mesa_function_pool[700]: TexGenfvOES (offset 191) */
167
 
   "iip\0"
168
 
   "glTexGenfvOES\0"
169
 
   "\0"
170
 
   /* _mesa_function_pool[719]: GetTexGenxvOES (will be remapped) */
171
 
   "iip\0"
172
 
   "glGetTexGenxvOES\0"
173
 
   "\0"
174
 
   /* _mesa_function_pool[741]: CopyTexSubImage2D (offset 326) */
175
 
   "iiiiiiii\0"
176
 
   "glCopyTexSubImage2D\0"
177
 
   "\0"
178
 
   /* _mesa_function_pool[771]: SampleCoverage (will be remapped) */
179
 
   "fi\0"
180
 
   "glSampleCoverage\0"
181
 
   "\0"
182
 
   /* _mesa_function_pool[792]: VertexPointer (offset 321) */
183
 
   "iiip\0"
184
 
   "glVertexPointer\0"
185
 
   "\0"
186
 
   /* _mesa_function_pool[814]: PixelStorei (offset 250) */
187
 
   "ii\0"
188
 
   "glPixelStorei\0"
189
 
   "\0"
190
 
   /* _mesa_function_pool[832]: DrawElements (offset 311) */
191
 
   "iiip\0"
192
 
   "glDrawElements\0"
193
 
   "\0"
194
 
   /* _mesa_function_pool[853]: PointSizexOES (will be remapped) */
195
 
   "i\0"
196
 
   "glPointSizexOES\0"
197
 
   "glPointSizex\0"
198
 
   "\0"
199
 
   /* _mesa_function_pool[885]: TexParameterxvOES (will be remapped) */
200
 
   "iip\0"
201
 
   "glTexParameterxvOES\0"
202
 
   "glTexParameterxv\0"
203
 
   "\0"
204
 
   /* _mesa_function_pool[927]: IsBuffer (will be remapped) */
205
 
   "i\0"
206
 
   "glIsBuffer\0"
207
 
   "\0"
208
 
   /* _mesa_function_pool[941]: TexGenxOES (will be remapped) */
209
 
   "iii\0"
210
 
   "glTexGenxOES\0"
211
 
   "\0"
212
 
   /* _mesa_function_pool[959]: Disable (offset 214) */
213
 
   "i\0"
214
 
   "glDisable\0"
215
 
   "\0"
216
 
   /* _mesa_function_pool[972]: Fogfv (offset 154) */
217
 
   "ip\0"
218
 
   "glFogfv\0"
219
 
   "\0"
220
 
   /* _mesa_function_pool[984]: TexGenxvOES (will be remapped) */
221
 
   "iip\0"
222
 
   "glTexGenxvOES\0"
223
 
   "\0"
224
 
   /* _mesa_function_pool[1003]: TexEnvxvOES (will be remapped) */
225
 
   "iip\0"
226
 
   "glTexEnvxvOES\0"
227
 
   "glTexEnvxv\0"
228
 
   "\0"
229
 
   /* _mesa_function_pool[1033]: TexEnvxOES (will be remapped) */
230
 
   "iii\0"
231
 
   "glTexEnvxOES\0"
232
 
   "glTexEnvx\0"
233
 
   "\0"
234
 
   /* _mesa_function_pool[1061]: BufferData (will be remapped) */
235
 
   "iipi\0"
236
 
   "glBufferData\0"
237
 
   "\0"
238
 
   /* _mesa_function_pool[1080]: BlendEquationOES (offset 337) */
239
 
   "i\0"
240
 
   "glBlendEquationOES\0"
241
 
   "\0"
242
 
   /* _mesa_function_pool[1102]: IsTexture (offset 330) */
243
 
   "i\0"
244
 
   "glIsTexture\0"
245
 
   "\0"
246
 
   /* _mesa_function_pool[1117]: Color4xOES (will be remapped) */
247
 
   "iiii\0"
248
 
   "glColor4xOES\0"
249
 
   "glColor4x\0"
250
 
   "\0"
251
 
   /* _mesa_function_pool[1146]: TexSubImage2D (offset 333) */
252
 
   "iiiiiiiip\0"
253
 
   "glTexSubImage2D\0"
254
 
   "\0"
255
 
   /* _mesa_function_pool[1173]: LightxvOES (will be remapped) */
256
 
   "iip\0"
257
 
   "glLightxvOES\0"
258
 
   "glLightxv\0"
259
 
   "\0"
260
 
   /* _mesa_function_pool[1201]: ClipPlanexOES (will be remapped) */
261
 
   "ip\0"
262
 
   "glClipPlanexOES\0"
263
 
   "glClipPlanex\0"
264
 
   "\0"
265
 
   /* _mesa_function_pool[1234]: LightxOES (will be remapped) */
266
 
   "iii\0"
267
 
   "glLightxOES\0"
268
 
   "glLightx\0"
269
 
   "\0"
270
 
   /* _mesa_function_pool[1260]: GetFixedvOES (will be remapped) */
271
 
   "ip\0"
272
 
   "glGetFixedvOES\0"
273
 
   "glGetFixedv\0"
274
 
   "\0"
275
 
   /* _mesa_function_pool[1291]: DrawTexiOES (will be remapped) */
276
 
   "iiiii\0"
277
 
   "glDrawTexiOES\0"
278
 
   "\0"
279
 
   /* _mesa_function_pool[1312]: GetTexEnvxvOES (will be remapped) */
280
 
   "iip\0"
281
 
   "glGetTexEnvxvOES\0"
282
 
   "glGetTexEnvxv\0"
283
 
   "\0"
284
 
   /* _mesa_function_pool[1348]: MultiTexCoord4f (offset 402) */
285
 
   "iffff\0"
286
 
   "glMultiTexCoord4f\0"
287
 
   "\0"
288
 
   /* _mesa_function_pool[1373]: Viewport (offset 305) */
289
 
   "iiii\0"
290
 
   "glViewport\0"
291
 
   "\0"
292
 
   /* _mesa_function_pool[1390]: GetError (offset 261) */
293
 
   "\0"
294
 
   "glGetError\0"
295
 
   "\0"
296
 
   /* _mesa_function_pool[1403]: RenderbufferStorageOES (will be remapped) */
297
 
   "iiii\0"
298
 
   "glRenderbufferStorageOES\0"
299
 
   "\0"
300
 
   /* _mesa_function_pool[1434]: AlphaFuncxOES (will be remapped) */
301
 
   "ii\0"
302
 
   "glAlphaFuncxOES\0"
303
 
   "glAlphaFuncx\0"
304
 
   "\0"
305
 
   /* _mesa_function_pool[1467]: LightModelfv (offset 164) */
306
 
   "ip\0"
307
 
   "glLightModelfv\0"
308
 
   "\0"
309
 
   /* _mesa_function_pool[1486]: CompressedTexSubImage2D (will be remapped) */
310
 
   "iiiiiiiip\0"
311
 
   "glCompressedTexSubImage2D\0"
312
 
   "\0"
313
 
   /* _mesa_function_pool[1523]: Normal3f (offset 56) */
314
 
   "fff\0"
315
 
   "glNormal3f\0"
316
 
   "\0"
317
 
   /* _mesa_function_pool[1539]: StencilMask (offset 209) */
318
 
   "i\0"
319
 
   "glStencilMask\0"
320
 
   "\0"
321
 
   /* _mesa_function_pool[1556]: EGLImageTargetTexture2DOES (will be remapped) */
322
 
   "ip\0"
323
 
   "glEGLImageTargetTexture2DOES\0"
324
 
   "\0"
325
 
   /* _mesa_function_pool[1589]: LightModelxOES (will be remapped) */
326
 
   "ii\0"
327
 
   "glLightModelxOES\0"
328
 
   "glLightModelx\0"
329
 
   "\0"
330
 
   /* _mesa_function_pool[1624]: MultiDrawElementsEXT (will be remapped) */
331
 
   "ipipi\0"
332
 
   "glMultiDrawElementsEXT\0"
333
 
   "\0"
334
 
   /* _mesa_function_pool[1654]: OrthoxOES (will be remapped) */
335
 
   "iiiiii\0"
336
 
   "glOrthoxOES\0"
337
 
   "glOrthox\0"
338
 
   "\0"
339
 
   /* _mesa_function_pool[1683]: DepthMask (offset 211) */
340
 
   "i\0"
341
 
   "glDepthMask\0"
342
 
   "\0"
343
 
   /* _mesa_function_pool[1698]: SampleCoveragexOES (will be remapped) */
344
 
   "ii\0"
345
 
   "glSampleCoveragexOES\0"
346
 
   "glSampleCoveragex\0"
347
 
   "\0"
348
 
   /* _mesa_function_pool[1741]: TexCoordPointer (offset 320) */
349
 
   "iiip\0"
350
 
   "glTexCoordPointer\0"
351
 
   "\0"
352
 
   /* _mesa_function_pool[1765]: StencilOp (offset 244) */
353
 
   "iii\0"
354
 
   "glStencilOp\0"
355
 
   "\0"
356
 
   /* _mesa_function_pool[1782]: FrontFace (offset 157) */
357
 
   "i\0"
358
 
   "glFrontFace\0"
359
 
   "\0"
360
 
   /* _mesa_function_pool[1797]: TexEnvfv (offset 185) */
361
 
   "iip\0"
362
 
   "glTexEnvfv\0"
363
 
   "\0"
364
 
   /* _mesa_function_pool[1813]: FrustumxOES (will be remapped) */
365
 
   "iiiiii\0"
366
 
   "glFrustumxOES\0"
367
 
   "glFrustumx\0"
368
 
   "\0"
369
 
   /* _mesa_function_pool[1846]: BindFramebufferOES (will be remapped) */
370
 
   "ii\0"
371
 
   "glBindFramebufferOES\0"
372
 
   "\0"
373
 
   /* _mesa_function_pool[1871]: DrawTexsOES (will be remapped) */
374
 
   "iiiii\0"
375
 
   "glDrawTexsOES\0"
376
 
   "\0"
377
 
   /* _mesa_function_pool[1892]: DrawTexfvOES (will be remapped) */
378
 
   "p\0"
379
 
   "glDrawTexfvOES\0"
380
 
   "\0"
381
 
   /* _mesa_function_pool[1910]: GetClipPlanefOES (will be remapped) */
382
 
   "ip\0"
383
 
   "glGetClipPlanefOES\0"
384
 
   "glGetClipPlanef\0"
385
 
   "\0"
386
 
   /* _mesa_function_pool[1949]: Lightf (offset 159) */
387
 
   "iif\0"
388
 
   "glLightf\0"
389
 
   "\0"
390
 
   /* _mesa_function_pool[1963]: EnableClientState (offset 313) */
391
 
   "i\0"
392
 
   "glEnableClientState\0"
393
 
   "\0"
394
 
   /* _mesa_function_pool[1986]: LoadMatrixf (offset 291) */
395
 
   "p\0"
396
 
   "glLoadMatrixf\0"
397
 
   "\0"
398
 
   /* _mesa_function_pool[2003]: MaterialxOES (will be remapped) */
399
 
   "iii\0"
400
 
   "glMaterialxOES\0"
401
 
   "glMaterialx\0"
402
 
   "\0"
403
 
   /* _mesa_function_pool[2035]: ClearDepthf (will be remapped) */
404
 
   "f\0"
405
 
   "glClearDepthf\0"
406
 
   "glClearDepthfOES\0"
407
 
   "\0"
408
 
   /* _mesa_function_pool[2069]: GetMaterialxvOES (will be remapped) */
409
 
   "iip\0"
410
 
   "glGetMaterialxvOES\0"
411
 
   "glGetMaterialxv\0"
412
 
   "\0"
413
 
   /* _mesa_function_pool[2109]: IsRenderbufferOES (will be remapped) */
414
 
   "i\0"
415
 
   "glIsRenderbufferOES\0"
416
 
   "\0"
417
 
   /* _mesa_function_pool[2132]: MultiTexCoord4xOES (will be remapped) */
418
 
   "iiiii\0"
419
 
   "glMultiTexCoord4xOES\0"
420
 
   "glMultiTexCoord4x\0"
421
 
   "\0"
422
 
   /* _mesa_function_pool[2178]: CullFace (offset 152) */
423
 
   "i\0"
424
 
   "glCullFace\0"
425
 
   "\0"
426
 
   /* _mesa_function_pool[2192]: BindTexture (offset 307) */
427
 
   "ii\0"
428
 
   "glBindTexture\0"
429
 
   "\0"
430
 
   /* _mesa_function_pool[2210]: LogicOp (offset 242) */
431
 
   "i\0"
432
 
   "glLogicOp\0"
433
 
   "\0"
434
 
   /* _mesa_function_pool[2223]: Translatef (offset 304) */
435
 
   "fff\0"
436
 
   "glTranslatef\0"
437
 
   "\0"
438
 
   /* _mesa_function_pool[2241]: ActiveTexture (offset 374) */
439
 
   "i\0"
440
 
   "glActiveTexture\0"
441
 
   "\0"
442
 
   /* _mesa_function_pool[2260]: PointSize (offset 173) */
443
 
   "f\0"
444
 
   "glPointSize\0"
445
 
   "\0"
446
 
   /* _mesa_function_pool[2275]: StencilFunc (offset 243) */
447
 
   "iii\0"
448
 
   "glStencilFunc\0"
449
 
   "\0"
450
 
   /* _mesa_function_pool[2294]: MultMatrixf (offset 294) */
451
 
   "p\0"
452
 
   "glMultMatrixf\0"
453
 
   "\0"
454
 
   /* _mesa_function_pool[2311]: GetFramebufferAttachmentParameterivOES (will be remapped) */
455
 
   "iiip\0"
456
 
   "glGetFramebufferAttachmentParameterivOES\0"
457
 
   "\0"
458
 
   /* _mesa_function_pool[2358]: PointParameterxOES (will be remapped) */
459
 
   "ii\0"
460
 
   "glPointParameterxOES\0"
461
 
   "glPointParameterx\0"
462
 
   "\0"
463
 
   /* _mesa_function_pool[2401]: TexParameteriv (offset 181) */
464
 
   "iip\0"
465
 
   "glTexParameteriv\0"
466
 
   "\0"
467
 
   /* _mesa_function_pool[2423]: GenRenderbuffersOES (will be remapped) */
468
 
   "ip\0"
469
 
   "glGenRenderbuffersOES\0"
470
 
   "\0"
471
 
   /* _mesa_function_pool[2449]: Materialf (offset 169) */
472
 
   "iif\0"
473
 
   "glMaterialf\0"
474
 
   "\0"
475
 
   /* _mesa_function_pool[2466]: DrawTexxOES (will be remapped) */
476
 
   "iiiii\0"
477
 
   "glDrawTexxOES\0"
478
 
   "\0"
479
 
   /* _mesa_function_pool[2487]: DeleteRenderbuffersOES (will be remapped) */
480
 
   "ip\0"
481
 
   "glDeleteRenderbuffersOES\0"
482
 
   "\0"
483
 
   /* _mesa_function_pool[2516]: GenTextures (offset 328) */
484
 
   "ip\0"
485
 
   "glGenTextures\0"
486
 
   "\0"
487
 
   /* _mesa_function_pool[2534]: TexParameterfv (offset 179) */
488
 
   "iip\0"
489
 
   "glTexParameterfv\0"
490
 
   "\0"
491
 
   /* _mesa_function_pool[2556]: NormalPointer (offset 318) */
492
 
   "iip\0"
493
 
   "glNormalPointer\0"
494
 
   "\0"
495
 
   /* _mesa_function_pool[2577]: TranslatexOES (will be remapped) */
496
 
   "iii\0"
497
 
   "glTranslatexOES\0"
498
 
   "glTranslatex\0"
499
 
   "\0"
500
 
   /* _mesa_function_pool[2611]: DrawTexxvOES (will be remapped) */
501
 
   "p\0"
502
 
   "glDrawTexxvOES\0"
503
 
   "\0"
504
 
   /* _mesa_function_pool[2629]: GetTexEnvfv (offset 276) */
505
 
   "iip\0"
506
 
   "glGetTexEnvfv\0"
507
 
   "\0"
508
 
   /* _mesa_function_pool[2648]: FrustumfOES (will be remapped) */
509
 
   "ffffff\0"
510
 
   "glFrustumfOES\0"
511
 
   "glFrustumf\0"
512
 
   "\0"
513
 
   /* _mesa_function_pool[2681]: PolygonOffsetxOES (will be remapped) */
514
 
   "ii\0"
515
 
   "glPolygonOffsetxOES\0"
516
 
   "glPolygonOffsetx\0"
517
 
   "\0"
518
 
   /* _mesa_function_pool[2722]: ClearColor (offset 206) */
519
 
   "ffff\0"
520
 
   "glClearColor\0"
521
 
   "\0"
522
 
   /* _mesa_function_pool[2741]: ClearColorxOES (will be remapped) */
523
 
   "iiii\0"
524
 
   "glClearColorxOES\0"
525
 
   "glClearColorx\0"
526
 
   "\0"
527
 
   /* _mesa_function_pool[2778]: ClearDepthxOES (will be remapped) */
528
 
   "i\0"
529
 
   "glClearDepthxOES\0"
530
 
   "glClearDepthx\0"
531
 
   "\0"
532
 
   /* _mesa_function_pool[2812]: GetPointerv (offset 329) */
533
 
   "ip\0"
534
 
   "glGetPointerv\0"
535
 
   "\0"
536
 
   /* _mesa_function_pool[2830]: GetTexParameterxvOES (will be remapped) */
537
 
   "iip\0"
538
 
   "glGetTexParameterxvOES\0"
539
 
   "glGetTexParameterxv\0"
540
 
   "\0"
541
 
   /* _mesa_function_pool[2878]: PointParameterf (will be remapped) */
542
 
   "if\0"
543
 
   "glPointParameterf\0"
544
 
   "\0"
545
 
   /* _mesa_function_pool[2900]: GetLightxvOES (will be remapped) */
546
 
   "iip\0"
547
 
   "glGetLightxvOES\0"
548
 
   "glGetLightxv\0"
549
 
   "\0"
550
 
   /* _mesa_function_pool[2934]: GenFramebuffersOES (will be remapped) */
551
 
   "ip\0"
552
 
   "glGenFramebuffersOES\0"
553
 
   "\0"
554
 
   /* _mesa_function_pool[2959]: TexEnviv (offset 187) */
555
 
   "iip\0"
556
 
   "glTexEnviv\0"
557
 
   "\0"
558
 
   /* _mesa_function_pool[2975]: OrthofOES (will be remapped) */
559
 
   "ffffff\0"
560
 
   "glOrthofOES\0"
561
 
   "glOrthof\0"
562
 
   "\0"
563
 
   /* _mesa_function_pool[3004]: GetFloatv (offset 262) */
564
 
   "ip\0"
565
 
   "glGetFloatv\0"
566
 
   "\0"
567
 
   /* _mesa_function_pool[3020]: BlendFunc (offset 241) */
568
 
   "ii\0"
569
 
   "glBlendFunc\0"
570
 
   "\0"
571
 
   /* _mesa_function_pool[3036]: RotatexOES (will be remapped) */
572
 
   "iiii\0"
573
 
   "glRotatexOES\0"
574
 
   "glRotatex\0"
575
 
   "\0"
576
 
   /* _mesa_function_pool[3065]: CompressedTexImage2D (will be remapped) */
577
 
   "iiiiiiip\0"
578
 
   "glCompressedTexImage2D\0"
579
 
   "\0"
580
 
   /* _mesa_function_pool[3098]: TexGeniOES (offset 192) */
581
 
   "iii\0"
582
 
   "glTexGeniOES\0"
583
 
   "\0"
584
 
   /* _mesa_function_pool[3116]: Scalef (offset 302) */
585
 
   "fff\0"
586
 
   "glScalef\0"
587
 
   "\0"
588
 
   /* _mesa_function_pool[3130]: QueryMatrixxOES (will be remapped) */
589
 
   "pp\0"
590
 
   "glQueryMatrixxOES\0"
591
 
   "\0"
592
 
   /* _mesa_function_pool[3152]: Flush (offset 217) */
593
 
   "\0"
594
 
   "glFlush\0"
595
 
   "\0"
596
 
   /* _mesa_function_pool[3162]: UnmapBufferOES (will be remapped) */
597
 
   "i\0"
598
 
   "glUnmapBufferOES\0"
599
 
   "\0"
600
 
   /* _mesa_function_pool[3182]: GetIntegerv (offset 263) */
601
 
   "ip\0"
602
 
   "glGetIntegerv\0"
603
 
   "\0"
604
 
   /* _mesa_function_pool[3200]: AlphaFunc (offset 240) */
605
 
   "if\0"
606
 
   "glAlphaFunc\0"
607
 
   "\0"
608
 
   /* _mesa_function_pool[3216]: GetBooleanv (offset 258) */
609
 
   "ip\0"
610
 
   "glGetBooleanv\0"
611
 
   "\0"
612
 
   /* _mesa_function_pool[3234]: BlendEquationSeparateOES (will be remapped) */
613
 
   "ii\0"
614
 
   "glBlendEquationSeparateOES\0"
615
 
   "\0"
616
 
   /* _mesa_function_pool[3265]: ReadPixels (offset 256) */
617
 
   "iiiiiip\0"
618
 
   "glReadPixels\0"
619
 
   "\0"
620
 
   /* _mesa_function_pool[3287]: DeleteBuffers (will be remapped) */
621
 
   "ip\0"
622
 
   "glDeleteBuffers\0"
623
 
   "\0"
624
 
   /* _mesa_function_pool[3307]: Normal3xOES (will be remapped) */
625
 
   "iii\0"
626
 
   "glNormal3xOES\0"
627
 
   "glNormal3x\0"
628
 
   "\0"
629
 
   /* _mesa_function_pool[3337]: GetTexEnviv (offset 277) */
630
 
   "iip\0"
631
 
   "glGetTexEnviv\0"
632
 
   "\0"
633
 
   /* _mesa_function_pool[3356]: FogxOES (will be remapped) */
634
 
   "ii\0"
635
 
   "glFogxOES\0"
636
 
   "glFogx\0"
637
 
   "\0"
638
 
   /* _mesa_function_pool[3377]: TexGenivOES (offset 193) */
639
 
   "iip\0"
640
 
   "glTexGenivOES\0"
641
 
   "\0"
642
 
   /* _mesa_function_pool[3396]: TexParameterf (offset 178) */
643
 
   "iif\0"
644
 
   "glTexParameterf\0"
645
 
   "\0"
646
 
   /* _mesa_function_pool[3417]: TexParameteri (offset 180) */
647
 
   "iii\0"
648
 
   "glTexParameteri\0"
649
 
   "\0"
650
 
   /* _mesa_function_pool[3438]: FogxvOES (will be remapped) */
651
 
   "ip\0"
652
 
   "glFogxvOES\0"
653
 
   "glFogxv\0"
654
 
   "\0"
655
 
   /* _mesa_function_pool[3461]: BufferSubData (will be remapped) */
656
 
   "iiip\0"
657
 
   "glBufferSubData\0"
658
 
   "\0"
659
 
   /* _mesa_function_pool[3483]: GetRenderbufferParameterivOES (will be remapped) */
660
 
   "iip\0"
661
 
   "glGetRenderbufferParameterivOES\0"
662
 
   "\0"
663
 
   /* _mesa_function_pool[3520]: PointParameterfv (will be remapped) */
664
 
   "ip\0"
665
 
   "glPointParameterfv\0"
666
 
   "\0"
667
 
   /* _mesa_function_pool[3543]: TexEnvi (offset 186) */
668
 
   "iii\0"
669
 
   "glTexEnvi\0"
670
 
   "\0"
671
 
   /* _mesa_function_pool[3558]: TexParameterxOES (will be remapped) */
672
 
   "iii\0"
673
 
   "glTexParameterxOES\0"
674
 
   "glTexParameterx\0"
675
 
   "\0"
676
 
   /* _mesa_function_pool[3598]: TexEnvf (offset 184) */
677
 
   "iif\0"
678
 
   "glTexEnvf\0"
679
 
   "\0"
680
 
   /* _mesa_function_pool[3613]: TexImage2D (offset 183) */
681
 
   "iiiiiiiip\0"
682
 
   "glTexImage2D\0"
683
 
   "\0"
684
 
   /* _mesa_function_pool[3637]: LightModelf (offset 163) */
685
 
   "if\0"
686
 
   "glLightModelf\0"
687
 
   "\0"
688
 
   /* _mesa_function_pool[3655]: DrawTexsvOES (will be remapped) */
689
 
   "p\0"
690
 
   "glDrawTexsvOES\0"
691
 
   "\0"
692
 
   /* _mesa_function_pool[3673]: GetLightfv (offset 264) */
693
 
   "iip\0"
694
 
   "glGetLightfv\0"
695
 
   "\0"
696
 
   /* _mesa_function_pool[3691]: DeleteFramebuffersOES (will be remapped) */
697
 
   "ip\0"
698
 
   "glDeleteFramebuffersOES\0"
699
 
   "\0"
700
 
   /* _mesa_function_pool[3719]: CheckFramebufferStatusOES (will be remapped) */
701
 
   "i\0"
702
 
   "glCheckFramebufferStatusOES\0"
703
 
   "\0"
704
 
   /* _mesa_function_pool[3750]: PushMatrix (offset 298) */
705
 
   "\0"
706
 
   "glPushMatrix\0"
707
 
   "\0"
708
 
   /* _mesa_function_pool[3765]: DeleteTextures (offset 327) */
709
 
   "ip\0"
710
 
   "glDeleteTextures\0"
711
 
   "\0"
712
 
   /* _mesa_function_pool[3786]: DrawArrays (offset 310) */
713
 
   "iii\0"
714
 
   "glDrawArrays\0"
715
 
   "\0"
716
 
   /* _mesa_function_pool[3804]: DepthRangef (will be remapped) */
717
 
   "ff\0"
718
 
   "glDepthRangef\0"
719
 
   "glDepthRangefOES\0"
720
 
   "\0"
721
 
   /* _mesa_function_pool[3839]: Rotatef (offset 300) */
722
 
   "ffff\0"
723
 
   "glRotatef\0"
724
 
   "\0"
725
 
   /* _mesa_function_pool[3855]: BindBuffer (will be remapped) */
726
 
   "ii\0"
727
 
   "glBindBuffer\0"
728
 
   "\0"
729
 
   /* _mesa_function_pool[3872]: ColorMask (offset 210) */
730
 
   "iiii\0"
731
 
   "glColorMask\0"
732
 
   "\0"
733
 
   /* _mesa_function_pool[3890]: Clear (offset 203) */
734
 
   "i\0"
735
 
   "glClear\0"
736
 
   "\0"
737
 
   /* _mesa_function_pool[3901]: PopMatrix (offset 297) */
738
 
   "\0"
739
 
   "glPopMatrix\0"
740
 
   "\0"
741
 
   /* _mesa_function_pool[3915]: GetTexGenivOES (offset 280) */
742
 
   "iip\0"
743
 
   "glGetTexGenivOES\0"
744
 
   "\0"
745
 
   /* _mesa_function_pool[3937]: ClipPlanefOES (will be remapped) */
746
 
   "ip\0"
747
 
   "glClipPlanefOES\0"
748
 
   "glClipPlanef\0"
749
 
   "\0"
750
 
   /* _mesa_function_pool[3970]: Scissor (offset 176) */
751
 
   "iiii\0"
752
 
   "glScissor\0"
753
 
   "\0"
754
 
   /* _mesa_function_pool[3986]: Fogf (offset 153) */
755
 
   "if\0"
756
 
   "glFogf\0"
757
 
   "\0"
758
 
   /* _mesa_function_pool[3997]: Enable (offset 215) */
759
 
   "i\0"
760
 
   "glEnable\0"
761
 
   "\0"
762
 
   /* _mesa_function_pool[4009]: PolygonOffset (offset 319) */
763
 
   "ff\0"
764
 
   "glPolygonOffset\0"
765
 
   "\0"
766
 
   /* _mesa_function_pool[4029]: PointParameterxvOES (will be remapped) */
767
 
   "ip\0"
768
 
   "glPointParameterxvOES\0"
769
 
   "glPointParameterxv\0"
770
 
   "\0"
771
 
   /* _mesa_function_pool[4074]: ScalexOES (will be remapped) */
772
 
   "iii\0"
773
 
   "glScalexOES\0"
774
 
   "glScalex\0"
775
 
   "\0"
776
 
   /* _mesa_function_pool[4100]: GetBufferParameteriv (will be remapped) */
777
 
   "iip\0"
778
 
   "glGetBufferParameteriv\0"
779
 
   "\0"
780
 
   /* _mesa_function_pool[4128]: MultiDrawArraysEXT (will be remapped) */
781
 
   "ippi\0"
782
 
   "glMultiDrawArraysEXT\0"
783
 
   "\0"
784
 
   /* _mesa_function_pool[4155]: FramebufferRenderbufferOES (will be remapped) */
785
 
   "iiii\0"
786
 
   "glFramebufferRenderbufferOES\0"
787
 
   "\0"
788
 
   /* _mesa_function_pool[4190]: ClientActiveTexture (offset 375) */
789
 
   "i\0"
790
 
   "glClientActiveTexture\0"
791
 
   "\0"
792
 
   /* _mesa_function_pool[4215]: DepthFunc (offset 245) */
793
 
   "i\0"
794
 
   "glDepthFunc\0"
795
 
   "\0"
796
 
   /* _mesa_function_pool[4230]: GetString (offset 275) */
797
 
   "i\0"
798
 
   "glGetString\0"
799
 
   "\0"
800
 
   /* _mesa_function_pool[4245]: GetClipPlanexOES (will be remapped) */
801
 
   "ip\0"
802
 
   "glGetClipPlanexOES\0"
803
 
   "glGetClipPlanex\0"
804
 
   "\0"
805
 
   /* _mesa_function_pool[4284]: Color4ub (offset 35) */
806
 
   "iiii\0"
807
 
   "glColor4ub\0"
808
 
   "\0"
809
 
   /* _mesa_function_pool[4301]: CopyTexImage2D (offset 324) */
810
 
   "iiiiiiii\0"
811
 
   "glCopyTexImage2D\0"
812
 
   "\0"
813
 
   /* _mesa_function_pool[4328]: Lightfv (offset 160) */
814
 
   "iip\0"
815
 
   "glLightfv\0"
816
 
   "\0"
817
 
   /* _mesa_function_pool[4343]: LoadMatrixxOES (will be remapped) */
818
 
   "p\0"
819
 
   "glLoadMatrixxOES\0"
820
 
   "glLoadMatrixx\0"
821
 
   "\0"
822
 
   /* _mesa_function_pool[4377]: LightModelxvOES (will be remapped) */
823
 
   "ip\0"
824
 
   "glLightModelxvOES\0"
825
 
   "glLightModelxv\0"
826
 
   "\0"
827
 
   /* _mesa_function_pool[4414]: PointSizePointerOES (will be remapped) */
828
 
   "iip\0"
829
 
   "glPointSizePointerOES\0"
830
 
   "\0"
831
 
   /* _mesa_function_pool[4441]: GenerateMipmapOES (will be remapped) */
832
 
   "i\0"
833
 
   "glGenerateMipmapOES\0"
834
 
   "\0"
835
 
   ;
836
 
 
837
 
/* these functions need to be remapped */
838
 
static const struct gl_function_pool_remap MESA_remap_table_functions[] = {
839
 
   {   771, SampleCoverage_remap_index },
840
 
   {  3065, CompressedTexImage2D_remap_index },
841
 
   {  1486, CompressedTexSubImage2D_remap_index },
842
 
   {  3855, BindBuffer_remap_index },
843
 
   {  1061, BufferData_remap_index },
844
 
   {  3461, BufferSubData_remap_index },
845
 
   {  3287, DeleteBuffers_remap_index },
846
 
   {   473, GenBuffers_remap_index },
847
 
   {  4100, GetBufferParameteriv_remap_index },
848
 
   {   326, GetBufferPointervOES_remap_index },
849
 
   {   927, IsBuffer_remap_index },
850
 
   {    49, MapBufferOES_remap_index },
851
 
   {  3162, UnmapBufferOES_remap_index },
852
 
   {  2035, ClearDepthf_remap_index },
853
 
   {  3804, DepthRangef_remap_index },
854
 
   {   102, DrawTexfOES_remap_index },
855
 
   {  1892, DrawTexfvOES_remap_index },
856
 
   {  1291, DrawTexiOES_remap_index },
857
 
   {   506, DrawTexivOES_remap_index },
858
 
   {  1871, DrawTexsOES_remap_index },
859
 
   {  3655, DrawTexsvOES_remap_index },
860
 
   {  2466, DrawTexxOES_remap_index },
861
 
   {  2611, DrawTexxvOES_remap_index },
862
 
   {  4414, PointSizePointerOES_remap_index },
863
 
   {  3130, QueryMatrixxOES_remap_index },
864
 
   {  2878, PointParameterf_remap_index },
865
 
   {  3520, PointParameterfv_remap_index },
866
 
   {  4128, MultiDrawArraysEXT_remap_index },
867
 
   {  1624, MultiDrawElementsEXT_remap_index },
868
 
   {   611, BlendFuncSeparateOES_remap_index },
869
 
   {  1434, AlphaFuncxOES_remap_index },
870
 
   {  2741, ClearColorxOES_remap_index },
871
 
   {  2778, ClearDepthxOES_remap_index },
872
 
   {  1201, ClipPlanexOES_remap_index },
873
 
   {  1117, Color4xOES_remap_index },
874
 
   {   354, DepthRangexOES_remap_index },
875
 
   {  3356, FogxOES_remap_index },
876
 
   {  3438, FogxvOES_remap_index },
877
 
   {  1813, FrustumxOES_remap_index },
878
 
   {  4245, GetClipPlanexOES_remap_index },
879
 
   {  1260, GetFixedvOES_remap_index },
880
 
   {  2900, GetLightxvOES_remap_index },
881
 
   {  2069, GetMaterialxvOES_remap_index },
882
 
   {  1312, GetTexEnvxvOES_remap_index },
883
 
   {   719, GetTexGenxvOES_remap_index },
884
 
   {  2830, GetTexParameterxvOES_remap_index },
885
 
   {  1589, LightModelxOES_remap_index },
886
 
   {  4377, LightModelxvOES_remap_index },
887
 
   {  1234, LightxOES_remap_index },
888
 
   {  1173, LightxvOES_remap_index },
889
 
   {   524, LineWidthxOES_remap_index },
890
 
   {  4343, LoadMatrixxOES_remap_index },
891
 
   {  2003, MaterialxOES_remap_index },
892
 
   {   212, MaterialxvOES_remap_index },
893
 
   {    68, MultMatrixxOES_remap_index },
894
 
   {  2132, MultiTexCoord4xOES_remap_index },
895
 
   {  3307, Normal3xOES_remap_index },
896
 
   {  1654, OrthoxOES_remap_index },
897
 
   {  2358, PointParameterxOES_remap_index },
898
 
   {  4029, PointParameterxvOES_remap_index },
899
 
   {   853, PointSizexOES_remap_index },
900
 
   {  2681, PolygonOffsetxOES_remap_index },
901
 
   {  3036, RotatexOES_remap_index },
902
 
   {  1698, SampleCoveragexOES_remap_index },
903
 
   {  4074, ScalexOES_remap_index },
904
 
   {  1033, TexEnvxOES_remap_index },
905
 
   {  1003, TexEnvxvOES_remap_index },
906
 
   {   941, TexGenxOES_remap_index },
907
 
   {   984, TexGenxvOES_remap_index },
908
 
   {  3558, TexParameterxOES_remap_index },
909
 
   {   885, TexParameterxvOES_remap_index },
910
 
   {  2577, TranslatexOES_remap_index },
911
 
   {  3937, ClipPlanefOES_remap_index },
912
 
   {  2648, FrustumfOES_remap_index },
913
 
   {  1910, GetClipPlanefOES_remap_index },
914
 
   {  2975, OrthofOES_remap_index },
915
 
   {  3234, BlendEquationSeparateOES_remap_index },
916
 
   {  1846, BindFramebufferOES_remap_index },
917
 
   {   123, BindRenderbufferOES_remap_index },
918
 
   {  3719, CheckFramebufferStatusOES_remap_index },
919
 
   {  3691, DeleteFramebuffersOES_remap_index },
920
 
   {  2487, DeleteRenderbuffersOES_remap_index },
921
 
   {  4155, FramebufferRenderbufferOES_remap_index },
922
 
   {   389, FramebufferTexture2DOES_remap_index },
923
 
   {  2934, GenFramebuffersOES_remap_index },
924
 
   {  2423, GenRenderbuffersOES_remap_index },
925
 
   {  4441, GenerateMipmapOES_remap_index },
926
 
   {  2311, GetFramebufferAttachmentParameterivOES_remap_index },
927
 
   {  3483, GetRenderbufferParameterivOES_remap_index },
928
 
   {   246, IsFramebufferOES_remap_index },
929
 
   {  2109, IsRenderbufferOES_remap_index },
930
 
   {  1403, RenderbufferStorageOES_remap_index },
931
 
   {   268, EGLImageTargetRenderbufferStorageOES_remap_index },
932
 
   {  1556, EGLImageTargetTexture2DOES_remap_index },
933
 
   {    -1, -1 }
934
 
};
935
 
 
936
 
/* these functions are in the ABI, but have alternative names */
937
 
static const struct gl_function_remap MESA_alt_functions[] = {
938
 
   {    -1, -1 }
939
 
};
940