Home | History | Annotate | Download | only in mesa
      1 /* DO NOT EDIT - This file generated automatically by glX_proto_send.py (from Mesa) script */
      2 
      3 /*
      4  * Copyright 1998-1999 Precision Insight, Inc., Cedar Park, Texas.
      5  * (C) Copyright IBM Corporation 2004
      6  * All Rights Reserved.
      7  *
      8  * Permission is hereby granted, free of charge, to any person obtaining a
      9  * copy of this software and associated documentation files (the "Software"),
     10  * to deal in the Software without restriction, including without limitation
     11  * the rights to use, copy, modify, merge, publish, distribute, sub license,
     12  * and/or sell copies of the Software, and to permit persons to whom the
     13  * Software is furnished to do so, subject to the following conditions:
     14  *
     15  * The above copyright notice and this permission notice (including the next
     16  * paragraph) shall be included in all copies or substantial portions of the
     17  * Software.
     18  *
     19  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
     20  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
     21  * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.  IN NO EVENT SHALL
     22  * PRECISION INSIGHT, IBM,
     23  * AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
     24  * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
     25  * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
     26  * SOFTWARE.
     27  */
     28 
     29 /**
     30  * \file indirect_init.c
     31  * Initialize indirect rendering dispatch table.
     32  *
     33  * \author Kevin E. Martin <kevin (at) precisioninsight.com>
     34  * \author Brian Paul <brian (at) precisioninsight.com>
     35  * \author Ian Romanick <idr (at) us.ibm.com>
     36  */
     37 
     38 #include "indirect_init.h"
     39 #include "indirect.h"
     40 #include "glapi.h"
     41 #include <assert.h>
     42 
     43 
     44 /**
     45  * No-op function used to initialize functions that have no GLX protocol
     46  * support.
     47  */
     48 static int NoOp(void)
     49 {
     50     return 0;
     51 }
     52 
     53 /**
     54  * Create and initialize a new GL dispatch table.  The table is initialized
     55  * with GLX indirect rendering protocol functions.
     56  */
     57 struct _glapi_table * __glXNewIndirectAPI( void )
     58 {
     59     _glapi_proc *table;
     60     unsigned entries;
     61     unsigned i;
     62     int o;
     63 
     64     entries = _glapi_get_dispatch_table_size();
     65     table = (_glapi_proc *) Xmalloc(entries * sizeof(_glapi_proc));
     66 
     67     /* first, set all entries to point to no-op functions */
     68     for (i = 0; i < entries; i++) {
     69        table[i] = (_glapi_proc) NoOp;
     70     }
     71 
     72     /* now, initialize the entries we understand */
     73 
     74     /* 1.0 */
     75 
     76     table[213] = (_glapi_proc) __indirect_glAccum;
     77     table[240] = (_glapi_proc) __indirect_glAlphaFunc;
     78     table[7] = (_glapi_proc) __indirect_glBegin;
     79     table[8] = (_glapi_proc) __indirect_glBitmap;
     80     table[241] = (_glapi_proc) __indirect_glBlendFunc;
     81     table[2] = (_glapi_proc) __indirect_glCallList;
     82     table[3] = (_glapi_proc) __indirect_glCallLists;
     83     table[203] = (_glapi_proc) __indirect_glClear;
     84     table[204] = (_glapi_proc) __indirect_glClearAccum;
     85     table[206] = (_glapi_proc) __indirect_glClearColor;
     86     table[208] = (_glapi_proc) __indirect_glClearDepth;
     87     table[205] = (_glapi_proc) __indirect_glClearIndex;
     88     table[207] = (_glapi_proc) __indirect_glClearStencil;
     89     table[150] = (_glapi_proc) __indirect_glClipPlane;
     90     table[9] = (_glapi_proc) __indirect_glColor3b;
     91     table[10] = (_glapi_proc) __indirect_glColor3bv;
     92     table[11] = (_glapi_proc) __indirect_glColor3d;
     93     table[12] = (_glapi_proc) __indirect_glColor3dv;
     94     table[13] = (_glapi_proc) __indirect_glColor3f;
     95     table[14] = (_glapi_proc) __indirect_glColor3fv;
     96     table[15] = (_glapi_proc) __indirect_glColor3i;
     97     table[16] = (_glapi_proc) __indirect_glColor3iv;
     98     table[17] = (_glapi_proc) __indirect_glColor3s;
     99     table[18] = (_glapi_proc) __indirect_glColor3sv;
    100     table[19] = (_glapi_proc) __indirect_glColor3ub;
    101     table[20] = (_glapi_proc) __indirect_glColor3ubv;
    102     table[21] = (_glapi_proc) __indirect_glColor3ui;
    103     table[22] = (_glapi_proc) __indirect_glColor3uiv;
    104     table[23] = (_glapi_proc) __indirect_glColor3us;
    105     table[24] = (_glapi_proc) __indirect_glColor3usv;
    106     table[25] = (_glapi_proc) __indirect_glColor4b;
    107     table[26] = (_glapi_proc) __indirect_glColor4bv;
    108     table[27] = (_glapi_proc) __indirect_glColor4d;
    109     table[28] = (_glapi_proc) __indirect_glColor4dv;
    110     table[29] = (_glapi_proc) __indirect_glColor4f;
    111     table[30] = (_glapi_proc) __indirect_glColor4fv;
    112     table[31] = (_glapi_proc) __indirect_glColor4i;
    113     table[32] = (_glapi_proc) __indirect_glColor4iv;
    114     table[33] = (_glapi_proc) __indirect_glColor4s;
    115     table[34] = (_glapi_proc) __indirect_glColor4sv;
    116     table[35] = (_glapi_proc) __indirect_glColor4ub;
    117     table[36] = (_glapi_proc) __indirect_glColor4ubv;
    118     table[37] = (_glapi_proc) __indirect_glColor4ui;
    119     table[38] = (_glapi_proc) __indirect_glColor4uiv;
    120     table[39] = (_glapi_proc) __indirect_glColor4us;
    121     table[40] = (_glapi_proc) __indirect_glColor4usv;
    122     table[210] = (_glapi_proc) __indirect_glColorMask;
    123     table[151] = (_glapi_proc) __indirect_glColorMaterial;
    124     table[255] = (_glapi_proc) __indirect_glCopyPixels;
    125     table[152] = (_glapi_proc) __indirect_glCullFace;
    126     table[4] = (_glapi_proc) __indirect_glDeleteLists;
    127     table[245] = (_glapi_proc) __indirect_glDepthFunc;
    128     table[211] = (_glapi_proc) __indirect_glDepthMask;
    129     table[288] = (_glapi_proc) __indirect_glDepthRange;
    130     table[214] = (_glapi_proc) __indirect_glDisable;
    131     table[202] = (_glapi_proc) __indirect_glDrawBuffer;
    132     table[257] = (_glapi_proc) __indirect_glDrawPixels;
    133     table[41] = (_glapi_proc) __indirect_glEdgeFlag;
    134     table[42] = (_glapi_proc) __indirect_glEdgeFlagv;
    135     table[215] = (_glapi_proc) __indirect_glEnable;
    136     table[43] = (_glapi_proc) __indirect_glEnd;
    137     table[1] = (_glapi_proc) __indirect_glEndList;
    138     table[228] = (_glapi_proc) __indirect_glEvalCoord1d;
    139     table[229] = (_glapi_proc) __indirect_glEvalCoord1dv;
    140     table[230] = (_glapi_proc) __indirect_glEvalCoord1f;
    141     table[231] = (_glapi_proc) __indirect_glEvalCoord1fv;
    142     table[232] = (_glapi_proc) __indirect_glEvalCoord2d;
    143     table[233] = (_glapi_proc) __indirect_glEvalCoord2dv;
    144     table[234] = (_glapi_proc) __indirect_glEvalCoord2f;
    145     table[235] = (_glapi_proc) __indirect_glEvalCoord2fv;
    146     table[236] = (_glapi_proc) __indirect_glEvalMesh1;
    147     table[238] = (_glapi_proc) __indirect_glEvalMesh2;
    148     table[237] = (_glapi_proc) __indirect_glEvalPoint1;
    149     table[239] = (_glapi_proc) __indirect_glEvalPoint2;
    150     table[194] = (_glapi_proc) __indirect_glFeedbackBuffer;
    151     table[216] = (_glapi_proc) __indirect_glFinish;
    152     table[217] = (_glapi_proc) __indirect_glFlush;
    153     table[153] = (_glapi_proc) __indirect_glFogf;
    154     table[154] = (_glapi_proc) __indirect_glFogfv;
    155     table[155] = (_glapi_proc) __indirect_glFogi;
    156     table[156] = (_glapi_proc) __indirect_glFogiv;
    157     table[157] = (_glapi_proc) __indirect_glFrontFace;
    158     table[289] = (_glapi_proc) __indirect_glFrustum;
    159     table[5] = (_glapi_proc) __indirect_glGenLists;
    160     table[258] = (_glapi_proc) __indirect_glGetBooleanv;
    161     table[259] = (_glapi_proc) __indirect_glGetClipPlane;
    162     table[260] = (_glapi_proc) __indirect_glGetDoublev;
    163     table[261] = (_glapi_proc) __indirect_glGetError;
    164     table[262] = (_glapi_proc) __indirect_glGetFloatv;
    165     table[263] = (_glapi_proc) __indirect_glGetIntegerv;
    166     table[264] = (_glapi_proc) __indirect_glGetLightfv;
    167     table[265] = (_glapi_proc) __indirect_glGetLightiv;
    168     table[266] = (_glapi_proc) __indirect_glGetMapdv;
    169     table[267] = (_glapi_proc) __indirect_glGetMapfv;
    170     table[268] = (_glapi_proc) __indirect_glGetMapiv;
    171     table[269] = (_glapi_proc) __indirect_glGetMaterialfv;
    172     table[270] = (_glapi_proc) __indirect_glGetMaterialiv;
    173     table[271] = (_glapi_proc) __indirect_glGetPixelMapfv;
    174     table[272] = (_glapi_proc) __indirect_glGetPixelMapuiv;
    175     table[273] = (_glapi_proc) __indirect_glGetPixelMapusv;
    176     table[274] = (_glapi_proc) __indirect_glGetPolygonStipple;
    177     table[275] = (_glapi_proc) __indirect_glGetString;
    178     table[276] = (_glapi_proc) __indirect_glGetTexEnvfv;
    179     table[277] = (_glapi_proc) __indirect_glGetTexEnviv;
    180     table[278] = (_glapi_proc) __indirect_glGetTexGendv;
    181     table[279] = (_glapi_proc) __indirect_glGetTexGenfv;
    182     table[280] = (_glapi_proc) __indirect_glGetTexGeniv;
    183     table[281] = (_glapi_proc) __indirect_glGetTexImage;
    184     table[284] = (_glapi_proc) __indirect_glGetTexLevelParameterfv;
    185     table[285] = (_glapi_proc) __indirect_glGetTexLevelParameteriv;
    186     table[282] = (_glapi_proc) __indirect_glGetTexParameterfv;
    187     table[283] = (_glapi_proc) __indirect_glGetTexParameteriv;
    188     table[158] = (_glapi_proc) __indirect_glHint;
    189     table[212] = (_glapi_proc) __indirect_glIndexMask;
    190     table[44] = (_glapi_proc) __indirect_glIndexd;
    191     table[45] = (_glapi_proc) __indirect_glIndexdv;
    192     table[46] = (_glapi_proc) __indirect_glIndexf;
    193     table[47] = (_glapi_proc) __indirect_glIndexfv;
    194     table[48] = (_glapi_proc) __indirect_glIndexi;
    195     table[49] = (_glapi_proc) __indirect_glIndexiv;
    196     table[50] = (_glapi_proc) __indirect_glIndexs;
    197     table[51] = (_glapi_proc) __indirect_glIndexsv;
    198     table[197] = (_glapi_proc) __indirect_glInitNames;
    199     table[286] = (_glapi_proc) __indirect_glIsEnabled;
    200     table[287] = (_glapi_proc) __indirect_glIsList;
    201     table[163] = (_glapi_proc) __indirect_glLightModelf;
    202     table[164] = (_glapi_proc) __indirect_glLightModelfv;
    203     table[165] = (_glapi_proc) __indirect_glLightModeli;
    204     table[166] = (_glapi_proc) __indirect_glLightModeliv;
    205     table[159] = (_glapi_proc) __indirect_glLightf;
    206     table[160] = (_glapi_proc) __indirect_glLightfv;
    207     table[161] = (_glapi_proc) __indirect_glLighti;
    208     table[162] = (_glapi_proc) __indirect_glLightiv;
    209     table[167] = (_glapi_proc) __indirect_glLineStipple;
    210     table[168] = (_glapi_proc) __indirect_glLineWidth;
    211     table[6] = (_glapi_proc) __indirect_glListBase;
    212     table[290] = (_glapi_proc) __indirect_glLoadIdentity;
    213     table[292] = (_glapi_proc) __indirect_glLoadMatrixd;
    214     table[291] = (_glapi_proc) __indirect_glLoadMatrixf;
    215     table[198] = (_glapi_proc) __indirect_glLoadName;
    216     table[242] = (_glapi_proc) __indirect_glLogicOp;
    217     table[220] = (_glapi_proc) __indirect_glMap1d;
    218     table[221] = (_glapi_proc) __indirect_glMap1f;
    219     table[222] = (_glapi_proc) __indirect_glMap2d;
    220     table[223] = (_glapi_proc) __indirect_glMap2f;
    221     table[224] = (_glapi_proc) __indirect_glMapGrid1d;
    222     table[225] = (_glapi_proc) __indirect_glMapGrid1f;
    223     table[226] = (_glapi_proc) __indirect_glMapGrid2d;
    224     table[227] = (_glapi_proc) __indirect_glMapGrid2f;
    225     table[169] = (_glapi_proc) __indirect_glMaterialf;
    226     table[170] = (_glapi_proc) __indirect_glMaterialfv;
    227     table[171] = (_glapi_proc) __indirect_glMateriali;
    228     table[172] = (_glapi_proc) __indirect_glMaterialiv;
    229     table[293] = (_glapi_proc) __indirect_glMatrixMode;
    230     table[295] = (_glapi_proc) __indirect_glMultMatrixd;
    231     table[294] = (_glapi_proc) __indirect_glMultMatrixf;
    232     table[0] = (_glapi_proc) __indirect_glNewList;
    233     table[52] = (_glapi_proc) __indirect_glNormal3b;
    234     table[53] = (_glapi_proc) __indirect_glNormal3bv;
    235     table[54] = (_glapi_proc) __indirect_glNormal3d;
    236     table[55] = (_glapi_proc) __indirect_glNormal3dv;
    237     table[56] = (_glapi_proc) __indirect_glNormal3f;
    238     table[57] = (_glapi_proc) __indirect_glNormal3fv;
    239     table[58] = (_glapi_proc) __indirect_glNormal3i;
    240     table[59] = (_glapi_proc) __indirect_glNormal3iv;
    241     table[60] = (_glapi_proc) __indirect_glNormal3s;
    242     table[61] = (_glapi_proc) __indirect_glNormal3sv;
    243     table[296] = (_glapi_proc) __indirect_glOrtho;
    244     table[199] = (_glapi_proc) __indirect_glPassThrough;
    245     table[251] = (_glapi_proc) __indirect_glPixelMapfv;
    246     table[252] = (_glapi_proc) __indirect_glPixelMapuiv;
    247     table[253] = (_glapi_proc) __indirect_glPixelMapusv;
    248     table[249] = (_glapi_proc) __indirect_glPixelStoref;
    249     table[250] = (_glapi_proc) __indirect_glPixelStorei;
    250     table[247] = (_glapi_proc) __indirect_glPixelTransferf;
    251     table[248] = (_glapi_proc) __indirect_glPixelTransferi;
    252     table[246] = (_glapi_proc) __indirect_glPixelZoom;
    253     table[173] = (_glapi_proc) __indirect_glPointSize;
    254     table[174] = (_glapi_proc) __indirect_glPolygonMode;
    255     table[175] = (_glapi_proc) __indirect_glPolygonStipple;
    256     table[218] = (_glapi_proc) __indirect_glPopAttrib;
    257     table[297] = (_glapi_proc) __indirect_glPopMatrix;
    258     table[200] = (_glapi_proc) __indirect_glPopName;
    259     table[219] = (_glapi_proc) __indirect_glPushAttrib;
    260     table[298] = (_glapi_proc) __indirect_glPushMatrix;
    261     table[201] = (_glapi_proc) __indirect_glPushName;
    262     table[62] = (_glapi_proc) __indirect_glRasterPos2d;
    263     table[63] = (_glapi_proc) __indirect_glRasterPos2dv;
    264     table[64] = (_glapi_proc) __indirect_glRasterPos2f;
    265     table[65] = (_glapi_proc) __indirect_glRasterPos2fv;
    266     table[66] = (_glapi_proc) __indirect_glRasterPos2i;
    267     table[67] = (_glapi_proc) __indirect_glRasterPos2iv;
    268     table[68] = (_glapi_proc) __indirect_glRasterPos2s;
    269     table[69] = (_glapi_proc) __indirect_glRasterPos2sv;
    270     table[70] = (_glapi_proc) __indirect_glRasterPos3d;
    271     table[71] = (_glapi_proc) __indirect_glRasterPos3dv;
    272     table[72] = (_glapi_proc) __indirect_glRasterPos3f;
    273     table[73] = (_glapi_proc) __indirect_glRasterPos3fv;
    274     table[74] = (_glapi_proc) __indirect_glRasterPos3i;
    275     table[75] = (_glapi_proc) __indirect_glRasterPos3iv;
    276     table[76] = (_glapi_proc) __indirect_glRasterPos3s;
    277     table[77] = (_glapi_proc) __indirect_glRasterPos3sv;
    278     table[78] = (_glapi_proc) __indirect_glRasterPos4d;
    279     table[79] = (_glapi_proc) __indirect_glRasterPos4dv;
    280     table[80] = (_glapi_proc) __indirect_glRasterPos4f;
    281     table[81] = (_glapi_proc) __indirect_glRasterPos4fv;
    282     table[82] = (_glapi_proc) __indirect_glRasterPos4i;
    283     table[83] = (_glapi_proc) __indirect_glRasterPos4iv;
    284     table[84] = (_glapi_proc) __indirect_glRasterPos4s;
    285     table[85] = (_glapi_proc) __indirect_glRasterPos4sv;
    286     table[254] = (_glapi_proc) __indirect_glReadBuffer;
    287     table[256] = (_glapi_proc) __indirect_glReadPixels;
    288     table[86] = (_glapi_proc) __indirect_glRectd;
    289     table[87] = (_glapi_proc) __indirect_glRectdv;
    290     table[88] = (_glapi_proc) __indirect_glRectf;
    291     table[89] = (_glapi_proc) __indirect_glRectfv;
    292     table[90] = (_glapi_proc) __indirect_glRecti;
    293     table[91] = (_glapi_proc) __indirect_glRectiv;
    294     table[92] = (_glapi_proc) __indirect_glRects;
    295     table[93] = (_glapi_proc) __indirect_glRectsv;
    296     table[196] = (_glapi_proc) __indirect_glRenderMode;
    297     table[299] = (_glapi_proc) __indirect_glRotated;
    298     table[300] = (_glapi_proc) __indirect_glRotatef;
    299     table[301] = (_glapi_proc) __indirect_glScaled;
    300     table[302] = (_glapi_proc) __indirect_glScalef;
    301     table[176] = (_glapi_proc) __indirect_glScissor;
    302     table[195] = (_glapi_proc) __indirect_glSelectBuffer;
    303     table[177] = (_glapi_proc) __indirect_glShadeModel;
    304     table[243] = (_glapi_proc) __indirect_glStencilFunc;
    305     table[209] = (_glapi_proc) __indirect_glStencilMask;
    306     table[244] = (_glapi_proc) __indirect_glStencilOp;
    307     table[94] = (_glapi_proc) __indirect_glTexCoord1d;
    308     table[95] = (_glapi_proc) __indirect_glTexCoord1dv;
    309     table[96] = (_glapi_proc) __indirect_glTexCoord1f;
    310     table[97] = (_glapi_proc) __indirect_glTexCoord1fv;
    311     table[98] = (_glapi_proc) __indirect_glTexCoord1i;
    312     table[99] = (_glapi_proc) __indirect_glTexCoord1iv;
    313     table[100] = (_glapi_proc) __indirect_glTexCoord1s;
    314     table[101] = (_glapi_proc) __indirect_glTexCoord1sv;
    315     table[102] = (_glapi_proc) __indirect_glTexCoord2d;
    316     table[103] = (_glapi_proc) __indirect_glTexCoord2dv;
    317     table[104] = (_glapi_proc) __indirect_glTexCoord2f;
    318     table[105] = (_glapi_proc) __indirect_glTexCoord2fv;
    319     table[106] = (_glapi_proc) __indirect_glTexCoord2i;
    320     table[107] = (_glapi_proc) __indirect_glTexCoord2iv;
    321     table[108] = (_glapi_proc) __indirect_glTexCoord2s;
    322     table[109] = (_glapi_proc) __indirect_glTexCoord2sv;
    323     table[110] = (_glapi_proc) __indirect_glTexCoord3d;
    324     table[111] = (_glapi_proc) __indirect_glTexCoord3dv;
    325     table[112] = (_glapi_proc) __indirect_glTexCoord3f;
    326     table[113] = (_glapi_proc) __indirect_glTexCoord3fv;
    327     table[114] = (_glapi_proc) __indirect_glTexCoord3i;
    328     table[115] = (_glapi_proc) __indirect_glTexCoord3iv;
    329     table[116] = (_glapi_proc) __indirect_glTexCoord3s;
    330     table[117] = (_glapi_proc) __indirect_glTexCoord3sv;
    331     table[118] = (_glapi_proc) __indirect_glTexCoord4d;
    332     table[119] = (_glapi_proc) __indirect_glTexCoord4dv;
    333     table[120] = (_glapi_proc) __indirect_glTexCoord4f;
    334     table[121] = (_glapi_proc) __indirect_glTexCoord4fv;
    335     table[122] = (_glapi_proc) __indirect_glTexCoord4i;
    336     table[123] = (_glapi_proc) __indirect_glTexCoord4iv;
    337     table[124] = (_glapi_proc) __indirect_glTexCoord4s;
    338     table[125] = (_glapi_proc) __indirect_glTexCoord4sv;
    339     table[184] = (_glapi_proc) __indirect_glTexEnvf;
    340     table[185] = (_glapi_proc) __indirect_glTexEnvfv;
    341     table[186] = (_glapi_proc) __indirect_glTexEnvi;
    342     table[187] = (_glapi_proc) __indirect_glTexEnviv;
    343     table[188] = (_glapi_proc) __indirect_glTexGend;
    344     table[189] = (_glapi_proc) __indirect_glTexGendv;
    345     table[190] = (_glapi_proc) __indirect_glTexGenf;
    346     table[191] = (_glapi_proc) __indirect_glTexGenfv;
    347     table[192] = (_glapi_proc) __indirect_glTexGeni;
    348     table[193] = (_glapi_proc) __indirect_glTexGeniv;
    349     table[182] = (_glapi_proc) __indirect_glTexImage1D;
    350     table[183] = (_glapi_proc) __indirect_glTexImage2D;
    351     table[178] = (_glapi_proc) __indirect_glTexParameterf;
    352     table[179] = (_glapi_proc) __indirect_glTexParameterfv;
    353     table[180] = (_glapi_proc) __indirect_glTexParameteri;
    354     table[181] = (_glapi_proc) __indirect_glTexParameteriv;
    355     table[303] = (_glapi_proc) __indirect_glTranslated;
    356     table[304] = (_glapi_proc) __indirect_glTranslatef;
    357     table[126] = (_glapi_proc) __indirect_glVertex2d;
    358     table[127] = (_glapi_proc) __indirect_glVertex2dv;
    359     table[128] = (_glapi_proc) __indirect_glVertex2f;
    360     table[129] = (_glapi_proc) __indirect_glVertex2fv;
    361     table[130] = (_glapi_proc) __indirect_glVertex2i;
    362     table[131] = (_glapi_proc) __indirect_glVertex2iv;
    363     table[132] = (_glapi_proc) __indirect_glVertex2s;
    364     table[133] = (_glapi_proc) __indirect_glVertex2sv;
    365     table[134] = (_glapi_proc) __indirect_glVertex3d;
    366     table[135] = (_glapi_proc) __indirect_glVertex3dv;
    367     table[136] = (_glapi_proc) __indirect_glVertex3f;
    368     table[137] = (_glapi_proc) __indirect_glVertex3fv;
    369     table[138] = (_glapi_proc) __indirect_glVertex3i;
    370     table[139] = (_glapi_proc) __indirect_glVertex3iv;
    371     table[140] = (_glapi_proc) __indirect_glVertex3s;
    372     table[141] = (_glapi_proc) __indirect_glVertex3sv;
    373     table[142] = (_glapi_proc) __indirect_glVertex4d;
    374     table[143] = (_glapi_proc) __indirect_glVertex4dv;
    375     table[144] = (_glapi_proc) __indirect_glVertex4f;
    376     table[145] = (_glapi_proc) __indirect_glVertex4fv;
    377     table[146] = (_glapi_proc) __indirect_glVertex4i;
    378     table[147] = (_glapi_proc) __indirect_glVertex4iv;
    379     table[148] = (_glapi_proc) __indirect_glVertex4s;
    380     table[149] = (_glapi_proc) __indirect_glVertex4sv;
    381     table[305] = (_glapi_proc) __indirect_glViewport;
    382 
    383     /* 1.1 */
    384 
    385     table[322] = (_glapi_proc) __indirect_glAreTexturesResident;
    386     table[306] = (_glapi_proc) __indirect_glArrayElement;
    387     table[307] = (_glapi_proc) __indirect_glBindTexture;
    388     table[308] = (_glapi_proc) __indirect_glColorPointer;
    389     table[323] = (_glapi_proc) __indirect_glCopyTexImage1D;
    390     table[324] = (_glapi_proc) __indirect_glCopyTexImage2D;
    391     table[325] = (_glapi_proc) __indirect_glCopyTexSubImage1D;
    392     table[326] = (_glapi_proc) __indirect_glCopyTexSubImage2D;
    393     table[327] = (_glapi_proc) __indirect_glDeleteTextures;
    394     table[309] = (_glapi_proc) __indirect_glDisableClientState;
    395     table[310] = (_glapi_proc) __indirect_glDrawArrays;
    396     table[311] = (_glapi_proc) __indirect_glDrawElements;
    397     table[312] = (_glapi_proc) __indirect_glEdgeFlagPointer;
    398     table[313] = (_glapi_proc) __indirect_glEnableClientState;
    399     table[328] = (_glapi_proc) __indirect_glGenTextures;
    400     table[329] = (_glapi_proc) __indirect_glGetPointerv;
    401     table[314] = (_glapi_proc) __indirect_glIndexPointer;
    402     table[315] = (_glapi_proc) __indirect_glIndexub;
    403     table[316] = (_glapi_proc) __indirect_glIndexubv;
    404     table[317] = (_glapi_proc) __indirect_glInterleavedArrays;
    405     table[330] = (_glapi_proc) __indirect_glIsTexture;
    406     table[318] = (_glapi_proc) __indirect_glNormalPointer;
    407     table[319] = (_glapi_proc) __indirect_glPolygonOffset;
    408     table[334] = (_glapi_proc) __indirect_glPopClientAttrib;
    409     table[331] = (_glapi_proc) __indirect_glPrioritizeTextures;
    410     table[335] = (_glapi_proc) __indirect_glPushClientAttrib;
    411     table[320] = (_glapi_proc) __indirect_glTexCoordPointer;
    412     table[332] = (_glapi_proc) __indirect_glTexSubImage1D;
    413     table[333] = (_glapi_proc) __indirect_glTexSubImage2D;
    414     table[321] = (_glapi_proc) __indirect_glVertexPointer;
    415 
    416     /* 1.2 */
    417 
    418     table[336] = (_glapi_proc) __indirect_glBlendColor;
    419     table[337] = (_glapi_proc) __indirect_glBlendEquation;
    420     table[346] = (_glapi_proc) __indirect_glColorSubTable;
    421     table[339] = (_glapi_proc) __indirect_glColorTable;
    422     table[340] = (_glapi_proc) __indirect_glColorTableParameterfv;
    423     table[341] = (_glapi_proc) __indirect_glColorTableParameteriv;
    424     table[348] = (_glapi_proc) __indirect_glConvolutionFilter1D;
    425     table[349] = (_glapi_proc) __indirect_glConvolutionFilter2D;
    426     table[350] = (_glapi_proc) __indirect_glConvolutionParameterf;
    427     table[351] = (_glapi_proc) __indirect_glConvolutionParameterfv;
    428     table[352] = (_glapi_proc) __indirect_glConvolutionParameteri;
    429     table[353] = (_glapi_proc) __indirect_glConvolutionParameteriv;
    430     table[347] = (_glapi_proc) __indirect_glCopyColorSubTable;
    431     table[342] = (_glapi_proc) __indirect_glCopyColorTable;
    432     table[354] = (_glapi_proc) __indirect_glCopyConvolutionFilter1D;
    433     table[355] = (_glapi_proc) __indirect_glCopyConvolutionFilter2D;
    434     table[373] = (_glapi_proc) __indirect_glCopyTexSubImage3D;
    435     table[338] = (_glapi_proc) __indirect_glDrawRangeElements;
    436     table[343] = (_glapi_proc) __indirect_glGetColorTable;
    437     table[344] = (_glapi_proc) __indirect_glGetColorTableParameterfv;
    438     table[345] = (_glapi_proc) __indirect_glGetColorTableParameteriv;
    439     table[356] = (_glapi_proc) __indirect_glGetConvolutionFilter;
    440     table[357] = (_glapi_proc) __indirect_glGetConvolutionParameterfv;
    441     table[358] = (_glapi_proc) __indirect_glGetConvolutionParameteriv;
    442     table[361] = (_glapi_proc) __indirect_glGetHistogram;
    443     table[362] = (_glapi_proc) __indirect_glGetHistogramParameterfv;
    444     table[363] = (_glapi_proc) __indirect_glGetHistogramParameteriv;
    445     table[364] = (_glapi_proc) __indirect_glGetMinmax;
    446     table[365] = (_glapi_proc) __indirect_glGetMinmaxParameterfv;
    447     table[366] = (_glapi_proc) __indirect_glGetMinmaxParameteriv;
    448     table[359] = (_glapi_proc) __indirect_glGetSeparableFilter;
    449     table[367] = (_glapi_proc) __indirect_glHistogram;
    450     table[368] = (_glapi_proc) __indirect_glMinmax;
    451     table[369] = (_glapi_proc) __indirect_glResetHistogram;
    452     table[370] = (_glapi_proc) __indirect_glResetMinmax;
    453     table[360] = (_glapi_proc) __indirect_glSeparableFilter2D;
    454     table[371] = (_glapi_proc) __indirect_glTexImage3D;
    455     table[372] = (_glapi_proc) __indirect_glTexSubImage3D;
    456 
    457     /*   1. GL_ARB_multitexture */
    458 
    459     table[374] = (_glapi_proc) __indirect_glActiveTextureARB;
    460     table[375] = (_glapi_proc) __indirect_glClientActiveTextureARB;
    461     table[376] = (_glapi_proc) __indirect_glMultiTexCoord1dARB;
    462     table[377] = (_glapi_proc) __indirect_glMultiTexCoord1dvARB;
    463     table[378] = (_glapi_proc) __indirect_glMultiTexCoord1fARB;
    464     table[379] = (_glapi_proc) __indirect_glMultiTexCoord1fvARB;
    465     table[380] = (_glapi_proc) __indirect_glMultiTexCoord1iARB;
    466     table[381] = (_glapi_proc) __indirect_glMultiTexCoord1ivARB;
    467     table[382] = (_glapi_proc) __indirect_glMultiTexCoord1sARB;
    468     table[383] = (_glapi_proc) __indirect_glMultiTexCoord1svARB;
    469     table[384] = (_glapi_proc) __indirect_glMultiTexCoord2dARB;
    470     table[385] = (_glapi_proc) __indirect_glMultiTexCoord2dvARB;
    471     table[386] = (_glapi_proc) __indirect_glMultiTexCoord2fARB;
    472     table[387] = (_glapi_proc) __indirect_glMultiTexCoord2fvARB;
    473     table[388] = (_glapi_proc) __indirect_glMultiTexCoord2iARB;
    474     table[389] = (_glapi_proc) __indirect_glMultiTexCoord2ivARB;
    475     table[390] = (_glapi_proc) __indirect_glMultiTexCoord2sARB;
    476     table[391] = (_glapi_proc) __indirect_glMultiTexCoord2svARB;
    477     table[392] = (_glapi_proc) __indirect_glMultiTexCoord3dARB;
    478     table[393] = (_glapi_proc) __indirect_glMultiTexCoord3dvARB;
    479     table[394] = (_glapi_proc) __indirect_glMultiTexCoord3fARB;
    480     table[395] = (_glapi_proc) __indirect_glMultiTexCoord3fvARB;
    481     table[396] = (_glapi_proc) __indirect_glMultiTexCoord3iARB;
    482     table[397] = (_glapi_proc) __indirect_glMultiTexCoord3ivARB;
    483     table[398] = (_glapi_proc) __indirect_glMultiTexCoord3sARB;
    484     table[399] = (_glapi_proc) __indirect_glMultiTexCoord3svARB;
    485     table[400] = (_glapi_proc) __indirect_glMultiTexCoord4dARB;
    486     table[401] = (_glapi_proc) __indirect_glMultiTexCoord4dvARB;
    487     table[402] = (_glapi_proc) __indirect_glMultiTexCoord4fARB;
    488     table[403] = (_glapi_proc) __indirect_glMultiTexCoord4fvARB;
    489     table[404] = (_glapi_proc) __indirect_glMultiTexCoord4iARB;
    490     table[405] = (_glapi_proc) __indirect_glMultiTexCoord4ivARB;
    491     table[406] = (_glapi_proc) __indirect_glMultiTexCoord4sARB;
    492     table[407] = (_glapi_proc) __indirect_glMultiTexCoord4svARB;
    493 
    494     /*   3. GL_ARB_transpose_matrix */
    495 
    496     o = _glapi_get_proc_offset("glLoadTransposeMatrixdARB");
    497     assert(o > 0);
    498     table[o] = (_glapi_proc) __indirect_glLoadTransposeMatrixdARB;
    499     o = _glapi_get_proc_offset("glLoadTransposeMatrixfARB");
    500     assert(o > 0);
    501     table[o] = (_glapi_proc) __indirect_glLoadTransposeMatrixfARB;
    502     o = _glapi_get_proc_offset("glMultTransposeMatrixdARB");
    503     assert(o > 0);
    504     table[o] = (_glapi_proc) __indirect_glMultTransposeMatrixdARB;
    505     o = _glapi_get_proc_offset("glMultTransposeMatrixfARB");
    506     assert(o > 0);
    507     table[o] = (_glapi_proc) __indirect_glMultTransposeMatrixfARB;
    508 
    509     /*   5. GL_ARB_multisample */
    510 
    511     o = _glapi_get_proc_offset("glSampleCoverageARB");
    512     assert(o > 0);
    513     table[o] = (_glapi_proc) __indirect_glSampleCoverageARB;
    514 
    515     /*  12. GL_ARB_texture_compression */
    516 
    517     o = _glapi_get_proc_offset("glCompressedTexImage1DARB");
    518     assert(o > 0);
    519     table[o] = (_glapi_proc) __indirect_glCompressedTexImage1DARB;
    520     o = _glapi_get_proc_offset("glCompressedTexImage2DARB");
    521     assert(o > 0);
    522     table[o] = (_glapi_proc) __indirect_glCompressedTexImage2DARB;
    523     o = _glapi_get_proc_offset("glCompressedTexImage3DARB");
    524     assert(o > 0);
    525     table[o] = (_glapi_proc) __indirect_glCompressedTexImage3DARB;
    526     o = _glapi_get_proc_offset("glCompressedTexSubImage1DARB");
    527     assert(o > 0);
    528     table[o] = (_glapi_proc) __indirect_glCompressedTexSubImage1DARB;
    529     o = _glapi_get_proc_offset("glCompressedTexSubImage2DARB");
    530     assert(o > 0);
    531     table[o] = (_glapi_proc) __indirect_glCompressedTexSubImage2DARB;
    532     o = _glapi_get_proc_offset("glCompressedTexSubImage3DARB");
    533     assert(o > 0);
    534     table[o] = (_glapi_proc) __indirect_glCompressedTexSubImage3DARB;
    535     o = _glapi_get_proc_offset("glGetCompressedTexImageARB");
    536     assert(o > 0);
    537     table[o] = (_glapi_proc) __indirect_glGetCompressedTexImageARB;
    538 
    539     /*  26. GL_ARB_vertex_program */
    540 
    541     o = _glapi_get_proc_offset("glDisableVertexAttribArrayARB");
    542     assert(o > 0);
    543     table[o] = (_glapi_proc) __indirect_glDisableVertexAttribArrayARB;
    544     o = _glapi_get_proc_offset("glEnableVertexAttribArrayARB");
    545     assert(o > 0);
    546     table[o] = (_glapi_proc) __indirect_glEnableVertexAttribArrayARB;
    547     o = _glapi_get_proc_offset("glGetProgramEnvParameterdvARB");
    548     assert(o > 0);
    549     table[o] = (_glapi_proc) __indirect_glGetProgramEnvParameterdvARB;
    550     o = _glapi_get_proc_offset("glGetProgramEnvParameterfvARB");
    551     assert(o > 0);
    552     table[o] = (_glapi_proc) __indirect_glGetProgramEnvParameterfvARB;
    553     o = _glapi_get_proc_offset("glGetProgramLocalParameterdvARB");
    554     assert(o > 0);
    555     table[o] = (_glapi_proc) __indirect_glGetProgramLocalParameterdvARB;
    556     o = _glapi_get_proc_offset("glGetProgramLocalParameterfvARB");
    557     assert(o > 0);
    558     table[o] = (_glapi_proc) __indirect_glGetProgramLocalParameterfvARB;
    559     o = _glapi_get_proc_offset("glGetProgramStringARB");
    560     assert(o > 0);
    561     table[o] = (_glapi_proc) __indirect_glGetProgramStringARB;
    562     o = _glapi_get_proc_offset("glGetProgramivARB");
    563     assert(o > 0);
    564     table[o] = (_glapi_proc) __indirect_glGetProgramivARB;
    565     o = _glapi_get_proc_offset("glGetVertexAttribdvARB");
    566     assert(o > 0);
    567     table[o] = (_glapi_proc) __indirect_glGetVertexAttribdvARB;
    568     o = _glapi_get_proc_offset("glGetVertexAttribfvARB");
    569     assert(o > 0);
    570     table[o] = (_glapi_proc) __indirect_glGetVertexAttribfvARB;
    571     o = _glapi_get_proc_offset("glGetVertexAttribivARB");
    572     assert(o > 0);
    573     table[o] = (_glapi_proc) __indirect_glGetVertexAttribivARB;
    574     o = _glapi_get_proc_offset("glProgramEnvParameter4dARB");
    575     assert(o > 0);
    576     table[o] = (_glapi_proc) __indirect_glProgramEnvParameter4dARB;
    577     o = _glapi_get_proc_offset("glProgramEnvParameter4dvARB");
    578     assert(o > 0);
    579     table[o] = (_glapi_proc) __indirect_glProgramEnvParameter4dvARB;
    580     o = _glapi_get_proc_offset("glProgramEnvParameter4fARB");
    581     assert(o > 0);
    582     table[o] = (_glapi_proc) __indirect_glProgramEnvParameter4fARB;
    583     o = _glapi_get_proc_offset("glProgramEnvParameter4fvARB");
    584     assert(o > 0);
    585     table[o] = (_glapi_proc) __indirect_glProgramEnvParameter4fvARB;
    586     o = _glapi_get_proc_offset("glProgramLocalParameter4dARB");
    587     assert(o > 0);
    588     table[o] = (_glapi_proc) __indirect_glProgramLocalParameter4dARB;
    589     o = _glapi_get_proc_offset("glProgramLocalParameter4dvARB");
    590     assert(o > 0);
    591     table[o] = (_glapi_proc) __indirect_glProgramLocalParameter4dvARB;
    592     o = _glapi_get_proc_offset("glProgramLocalParameter4fARB");
    593     assert(o > 0);
    594     table[o] = (_glapi_proc) __indirect_glProgramLocalParameter4fARB;
    595     o = _glapi_get_proc_offset("glProgramLocalParameter4fvARB");
    596     assert(o > 0);
    597     table[o] = (_glapi_proc) __indirect_glProgramLocalParameter4fvARB;
    598     o = _glapi_get_proc_offset("glProgramStringARB");
    599     assert(o > 0);
    600     table[o] = (_glapi_proc) __indirect_glProgramStringARB;
    601     o = _glapi_get_proc_offset("glVertexAttrib1dARB");
    602     assert(o > 0);
    603     table[o] = (_glapi_proc) __indirect_glVertexAttrib1dARB;
    604     o = _glapi_get_proc_offset("glVertexAttrib1dvARB");
    605     assert(o > 0);
    606     table[o] = (_glapi_proc) __indirect_glVertexAttrib1dvARB;
    607     o = _glapi_get_proc_offset("glVertexAttrib1fARB");
    608     assert(o > 0);
    609     table[o] = (_glapi_proc) __indirect_glVertexAttrib1fARB;
    610     o = _glapi_get_proc_offset("glVertexAttrib1fvARB");
    611     assert(o > 0);
    612     table[o] = (_glapi_proc) __indirect_glVertexAttrib1fvARB;
    613     o = _glapi_get_proc_offset("glVertexAttrib1sARB");
    614     assert(o > 0);
    615     table[o] = (_glapi_proc) __indirect_glVertexAttrib1sARB;
    616     o = _glapi_get_proc_offset("glVertexAttrib1svARB");
    617     assert(o > 0);
    618     table[o] = (_glapi_proc) __indirect_glVertexAttrib1svARB;
    619     o = _glapi_get_proc_offset("glVertexAttrib2dARB");
    620     assert(o > 0);
    621     table[o] = (_glapi_proc) __indirect_glVertexAttrib2dARB;
    622     o = _glapi_get_proc_offset("glVertexAttrib2dvARB");
    623     assert(o > 0);
    624     table[o] = (_glapi_proc) __indirect_glVertexAttrib2dvARB;
    625     o = _glapi_get_proc_offset("glVertexAttrib2fARB");
    626     assert(o > 0);
    627     table[o] = (_glapi_proc) __indirect_glVertexAttrib2fARB;
    628     o = _glapi_get_proc_offset("glVertexAttrib2fvARB");
    629     assert(o > 0);
    630     table[o] = (_glapi_proc) __indirect_glVertexAttrib2fvARB;
    631     o = _glapi_get_proc_offset("glVertexAttrib2sARB");
    632     assert(o > 0);
    633     table[o] = (_glapi_proc) __indirect_glVertexAttrib2sARB;
    634     o = _glapi_get_proc_offset("glVertexAttrib2svARB");
    635     assert(o > 0);
    636     table[o] = (_glapi_proc) __indirect_glVertexAttrib2svARB;
    637     o = _glapi_get_proc_offset("glVertexAttrib3dARB");
    638     assert(o > 0);
    639     table[o] = (_glapi_proc) __indirect_glVertexAttrib3dARB;
    640     o = _glapi_get_proc_offset("glVertexAttrib3dvARB");
    641     assert(o > 0);
    642     table[o] = (_glapi_proc) __indirect_glVertexAttrib3dvARB;
    643     o = _glapi_get_proc_offset("glVertexAttrib3fARB");
    644     assert(o > 0);
    645     table[o] = (_glapi_proc) __indirect_glVertexAttrib3fARB;
    646     o = _glapi_get_proc_offset("glVertexAttrib3fvARB");
    647     assert(o > 0);
    648     table[o] = (_glapi_proc) __indirect_glVertexAttrib3fvARB;
    649     o = _glapi_get_proc_offset("glVertexAttrib3sARB");
    650     assert(o > 0);
    651     table[o] = (_glapi_proc) __indirect_glVertexAttrib3sARB;
    652     o = _glapi_get_proc_offset("glVertexAttrib3svARB");
    653     assert(o > 0);
    654     table[o] = (_glapi_proc) __indirect_glVertexAttrib3svARB;
    655     o = _glapi_get_proc_offset("glVertexAttrib4NbvARB");
    656     assert(o > 0);
    657     table[o] = (_glapi_proc) __indirect_glVertexAttrib4NbvARB;
    658     o = _glapi_get_proc_offset("glVertexAttrib4NivARB");
    659     assert(o > 0);
    660     table[o] = (_glapi_proc) __indirect_glVertexAttrib4NivARB;
    661     o = _glapi_get_proc_offset("glVertexAttrib4NsvARB");
    662     assert(o > 0);
    663     table[o] = (_glapi_proc) __indirect_glVertexAttrib4NsvARB;
    664     o = _glapi_get_proc_offset("glVertexAttrib4NubARB");
    665     assert(o > 0);
    666     table[o] = (_glapi_proc) __indirect_glVertexAttrib4NubARB;
    667     o = _glapi_get_proc_offset("glVertexAttrib4NubvARB");
    668     assert(o > 0);
    669     table[o] = (_glapi_proc) __indirect_glVertexAttrib4NubvARB;
    670     o = _glapi_get_proc_offset("glVertexAttrib4NuivARB");
    671     assert(o > 0);
    672     table[o] = (_glapi_proc) __indirect_glVertexAttrib4NuivARB;
    673     o = _glapi_get_proc_offset("glVertexAttrib4NusvARB");
    674     assert(o > 0);
    675     table[o] = (_glapi_proc) __indirect_glVertexAttrib4NusvARB;
    676     o = _glapi_get_proc_offset("glVertexAttrib4bvARB");
    677     assert(o > 0);
    678     table[o] = (_glapi_proc) __indirect_glVertexAttrib4bvARB;
    679     o = _glapi_get_proc_offset("glVertexAttrib4dARB");
    680     assert(o > 0);
    681     table[o] = (_glapi_proc) __indirect_glVertexAttrib4dARB;
    682     o = _glapi_get_proc_offset("glVertexAttrib4dvARB");
    683     assert(o > 0);
    684     table[o] = (_glapi_proc) __indirect_glVertexAttrib4dvARB;
    685     o = _glapi_get_proc_offset("glVertexAttrib4fARB");
    686     assert(o > 0);
    687     table[o] = (_glapi_proc) __indirect_glVertexAttrib4fARB;
    688     o = _glapi_get_proc_offset("glVertexAttrib4fvARB");
    689     assert(o > 0);
    690     table[o] = (_glapi_proc) __indirect_glVertexAttrib4fvARB;
    691     o = _glapi_get_proc_offset("glVertexAttrib4ivARB");
    692     assert(o > 0);
    693     table[o] = (_glapi_proc) __indirect_glVertexAttrib4ivARB;
    694     o = _glapi_get_proc_offset("glVertexAttrib4sARB");
    695     assert(o > 0);
    696     table[o] = (_glapi_proc) __indirect_glVertexAttrib4sARB;
    697     o = _glapi_get_proc_offset("glVertexAttrib4svARB");
    698     assert(o > 0);
    699     table[o] = (_glapi_proc) __indirect_glVertexAttrib4svARB;
    700     o = _glapi_get_proc_offset("glVertexAttrib4ubvARB");
    701     assert(o > 0);
    702     table[o] = (_glapi_proc) __indirect_glVertexAttrib4ubvARB;
    703     o = _glapi_get_proc_offset("glVertexAttrib4uivARB");
    704     assert(o > 0);
    705     table[o] = (_glapi_proc) __indirect_glVertexAttrib4uivARB;
    706     o = _glapi_get_proc_offset("glVertexAttrib4usvARB");
    707     assert(o > 0);
    708     table[o] = (_glapi_proc) __indirect_glVertexAttrib4usvARB;
    709     o = _glapi_get_proc_offset("glVertexAttribPointerARB");
    710     assert(o > 0);
    711     table[o] = (_glapi_proc) __indirect_glVertexAttribPointerARB;
    712 
    713     /*  29. GL_ARB_occlusion_query */
    714 
    715     o = _glapi_get_proc_offset("glBeginQueryARB");
    716     assert(o > 0);
    717     table[o] = (_glapi_proc) __indirect_glBeginQueryARB;
    718     o = _glapi_get_proc_offset("glDeleteQueriesARB");
    719     assert(o > 0);
    720     table[o] = (_glapi_proc) __indirect_glDeleteQueriesARB;
    721     o = _glapi_get_proc_offset("glEndQueryARB");
    722     assert(o > 0);
    723     table[o] = (_glapi_proc) __indirect_glEndQueryARB;
    724     o = _glapi_get_proc_offset("glGenQueriesARB");
    725     assert(o > 0);
    726     table[o] = (_glapi_proc) __indirect_glGenQueriesARB;
    727     o = _glapi_get_proc_offset("glGetQueryObjectivARB");
    728     assert(o > 0);
    729     table[o] = (_glapi_proc) __indirect_glGetQueryObjectivARB;
    730     o = _glapi_get_proc_offset("glGetQueryObjectuivARB");
    731     assert(o > 0);
    732     table[o] = (_glapi_proc) __indirect_glGetQueryObjectuivARB;
    733     o = _glapi_get_proc_offset("glGetQueryivARB");
    734     assert(o > 0);
    735     table[o] = (_glapi_proc) __indirect_glGetQueryivARB;
    736     o = _glapi_get_proc_offset("glIsQueryARB");
    737     assert(o > 0);
    738     table[o] = (_glapi_proc) __indirect_glIsQueryARB;
    739 
    740     /*  37. GL_ARB_draw_buffers */
    741 
    742     o = _glapi_get_proc_offset("glDrawBuffersARB");
    743     assert(o > 0);
    744     table[o] = (_glapi_proc) __indirect_glDrawBuffersARB;
    745 
    746     /*  39. GL_ARB_color_buffer_float */
    747 
    748     o = _glapi_get_proc_offset("glClampColorARB");
    749     assert(o > 0);
    750     table[o] = (_glapi_proc) __indirect_glClampColorARB;
    751 
    752     /*  45. GL_ARB_framebuffer_object */
    753 
    754     o = _glapi_get_proc_offset("glRenderbufferStorageMultisample");
    755     assert(o > 0);
    756     table[o] = (_glapi_proc) __indirect_glRenderbufferStorageMultisample;
    757 
    758     /*  25. GL_SGIS_multisample */
    759 
    760     o = _glapi_get_proc_offset("glSampleMaskSGIS");
    761     assert(o > 0);
    762     table[o] = (_glapi_proc) __indirect_glSampleMaskSGIS;
    763     o = _glapi_get_proc_offset("glSamplePatternSGIS");
    764     assert(o > 0);
    765     table[o] = (_glapi_proc) __indirect_glSamplePatternSGIS;
    766 
    767     /*  30. GL_EXT_vertex_array */
    768 
    769     o = _glapi_get_proc_offset("glColorPointerEXT");
    770     assert(o > 0);
    771     table[o] = (_glapi_proc) __indirect_glColorPointerEXT;
    772     o = _glapi_get_proc_offset("glEdgeFlagPointerEXT");
    773     assert(o > 0);
    774     table[o] = (_glapi_proc) __indirect_glEdgeFlagPointerEXT;
    775     o = _glapi_get_proc_offset("glIndexPointerEXT");
    776     assert(o > 0);
    777     table[o] = (_glapi_proc) __indirect_glIndexPointerEXT;
    778     o = _glapi_get_proc_offset("glNormalPointerEXT");
    779     assert(o > 0);
    780     table[o] = (_glapi_proc) __indirect_glNormalPointerEXT;
    781     o = _glapi_get_proc_offset("glTexCoordPointerEXT");
    782     assert(o > 0);
    783     table[o] = (_glapi_proc) __indirect_glTexCoordPointerEXT;
    784     o = _glapi_get_proc_offset("glVertexPointerEXT");
    785     assert(o > 0);
    786     table[o] = (_glapi_proc) __indirect_glVertexPointerEXT;
    787 
    788     /*  54. GL_EXT_point_parameters */
    789 
    790     o = _glapi_get_proc_offset("glPointParameterfEXT");
    791     assert(o > 0);
    792     table[o] = (_glapi_proc) __indirect_glPointParameterfEXT;
    793     o = _glapi_get_proc_offset("glPointParameterfvEXT");
    794     assert(o > 0);
    795     table[o] = (_glapi_proc) __indirect_glPointParameterfvEXT;
    796 
    797     /* 145. GL_EXT_secondary_color */
    798 
    799     o = _glapi_get_proc_offset("glSecondaryColor3bEXT");
    800     assert(o > 0);
    801     table[o] = (_glapi_proc) __indirect_glSecondaryColor3bEXT;
    802     o = _glapi_get_proc_offset("glSecondaryColor3bvEXT");
    803     assert(o > 0);
    804     table[o] = (_glapi_proc) __indirect_glSecondaryColor3bvEXT;
    805     o = _glapi_get_proc_offset("glSecondaryColor3dEXT");
    806     assert(o > 0);
    807     table[o] = (_glapi_proc) __indirect_glSecondaryColor3dEXT;
    808     o = _glapi_get_proc_offset("glSecondaryColor3dvEXT");
    809     assert(o > 0);
    810     table[o] = (_glapi_proc) __indirect_glSecondaryColor3dvEXT;
    811     o = _glapi_get_proc_offset("glSecondaryColor3fEXT");
    812     assert(o > 0);
    813     table[o] = (_glapi_proc) __indirect_glSecondaryColor3fEXT;
    814     o = _glapi_get_proc_offset("glSecondaryColor3fvEXT");
    815     assert(o > 0);
    816     table[o] = (_glapi_proc) __indirect_glSecondaryColor3fvEXT;
    817     o = _glapi_get_proc_offset("glSecondaryColor3iEXT");
    818     assert(o > 0);
    819     table[o] = (_glapi_proc) __indirect_glSecondaryColor3iEXT;
    820     o = _glapi_get_proc_offset("glSecondaryColor3ivEXT");
    821     assert(o > 0);
    822     table[o] = (_glapi_proc) __indirect_glSecondaryColor3ivEXT;
    823     o = _glapi_get_proc_offset("glSecondaryColor3sEXT");
    824     assert(o > 0);
    825     table[o] = (_glapi_proc) __indirect_glSecondaryColor3sEXT;
    826     o = _glapi_get_proc_offset("glSecondaryColor3svEXT");
    827     assert(o > 0);
    828     table[o] = (_glapi_proc) __indirect_glSecondaryColor3svEXT;
    829     o = _glapi_get_proc_offset("glSecondaryColor3ubEXT");
    830     assert(o > 0);
    831     table[o] = (_glapi_proc) __indirect_glSecondaryColor3ubEXT;
    832     o = _glapi_get_proc_offset("glSecondaryColor3ubvEXT");
    833     assert(o > 0);
    834     table[o] = (_glapi_proc) __indirect_glSecondaryColor3ubvEXT;
    835     o = _glapi_get_proc_offset("glSecondaryColor3uiEXT");
    836     assert(o > 0);
    837     table[o] = (_glapi_proc) __indirect_glSecondaryColor3uiEXT;
    838     o = _glapi_get_proc_offset("glSecondaryColor3uivEXT");
    839     assert(o > 0);
    840     table[o] = (_glapi_proc) __indirect_glSecondaryColor3uivEXT;
    841     o = _glapi_get_proc_offset("glSecondaryColor3usEXT");
    842     assert(o > 0);
    843     table[o] = (_glapi_proc) __indirect_glSecondaryColor3usEXT;
    844     o = _glapi_get_proc_offset("glSecondaryColor3usvEXT");
    845     assert(o > 0);
    846     table[o] = (_glapi_proc) __indirect_glSecondaryColor3usvEXT;
    847     o = _glapi_get_proc_offset("glSecondaryColorPointerEXT");
    848     assert(o > 0);
    849     table[o] = (_glapi_proc) __indirect_glSecondaryColorPointerEXT;
    850 
    851     /* 148. GL_EXT_multi_draw_arrays */
    852 
    853     o = _glapi_get_proc_offset("glMultiDrawArraysEXT");
    854     assert(o > 0);
    855     table[o] = (_glapi_proc) __indirect_glMultiDrawArraysEXT;
    856     o = _glapi_get_proc_offset("glMultiDrawElementsEXT");
    857     assert(o > 0);
    858     table[o] = (_glapi_proc) __indirect_glMultiDrawElementsEXT;
    859 
    860     /* 149. GL_EXT_fog_coord */
    861 
    862     o = _glapi_get_proc_offset("glFogCoordPointerEXT");
    863     assert(o > 0);
    864     table[o] = (_glapi_proc) __indirect_glFogCoordPointerEXT;
    865     o = _glapi_get_proc_offset("glFogCoorddEXT");
    866     assert(o > 0);
    867     table[o] = (_glapi_proc) __indirect_glFogCoorddEXT;
    868     o = _glapi_get_proc_offset("glFogCoorddvEXT");
    869     assert(o > 0);
    870     table[o] = (_glapi_proc) __indirect_glFogCoorddvEXT;
    871     o = _glapi_get_proc_offset("glFogCoordfEXT");
    872     assert(o > 0);
    873     table[o] = (_glapi_proc) __indirect_glFogCoordfEXT;
    874     o = _glapi_get_proc_offset("glFogCoordfvEXT");
    875     assert(o > 0);
    876     table[o] = (_glapi_proc) __indirect_glFogCoordfvEXT;
    877 
    878     /* 173. GL_EXT_blend_func_separate */
    879 
    880     o = _glapi_get_proc_offset("glBlendFuncSeparateEXT");
    881     assert(o > 0);
    882     table[o] = (_glapi_proc) __indirect_glBlendFuncSeparateEXT;
    883 
    884     /* 197. GL_MESA_window_pos */
    885 
    886     o = _glapi_get_proc_offset("glWindowPos2dMESA");
    887     assert(o > 0);
    888     table[o] = (_glapi_proc) __indirect_glWindowPos2dMESA;
    889     o = _glapi_get_proc_offset("glWindowPos2dvMESA");
    890     assert(o > 0);
    891     table[o] = (_glapi_proc) __indirect_glWindowPos2dvMESA;
    892     o = _glapi_get_proc_offset("glWindowPos2fMESA");
    893     assert(o > 0);
    894     table[o] = (_glapi_proc) __indirect_glWindowPos2fMESA;
    895     o = _glapi_get_proc_offset("glWindowPos2fvMESA");
    896     assert(o > 0);
    897     table[o] = (_glapi_proc) __indirect_glWindowPos2fvMESA;
    898     o = _glapi_get_proc_offset("glWindowPos2iMESA");
    899     assert(o > 0);
    900     table[o] = (_glapi_proc) __indirect_glWindowPos2iMESA;
    901     o = _glapi_get_proc_offset("glWindowPos2ivMESA");
    902     assert(o > 0);
    903     table[o] = (_glapi_proc) __indirect_glWindowPos2ivMESA;
    904     o = _glapi_get_proc_offset("glWindowPos2sMESA");
    905     assert(o > 0);
    906     table[o] = (_glapi_proc) __indirect_glWindowPos2sMESA;
    907     o = _glapi_get_proc_offset("glWindowPos2svMESA");
    908     assert(o > 0);
    909     table[o] = (_glapi_proc) __indirect_glWindowPos2svMESA;
    910     o = _glapi_get_proc_offset("glWindowPos3dMESA");
    911     assert(o > 0);
    912     table[o] = (_glapi_proc) __indirect_glWindowPos3dMESA;
    913     o = _glapi_get_proc_offset("glWindowPos3dvMESA");
    914     assert(o > 0);
    915     table[o] = (_glapi_proc) __indirect_glWindowPos3dvMESA;
    916     o = _glapi_get_proc_offset("glWindowPos3fMESA");
    917     assert(o > 0);
    918     table[o] = (_glapi_proc) __indirect_glWindowPos3fMESA;
    919     o = _glapi_get_proc_offset("glWindowPos3fvMESA");
    920     assert(o > 0);
    921     table[o] = (_glapi_proc) __indirect_glWindowPos3fvMESA;
    922     o = _glapi_get_proc_offset("glWindowPos3iMESA");
    923     assert(o > 0);
    924     table[o] = (_glapi_proc) __indirect_glWindowPos3iMESA;
    925     o = _glapi_get_proc_offset("glWindowPos3ivMESA");
    926     assert(o > 0);
    927     table[o] = (_glapi_proc) __indirect_glWindowPos3ivMESA;
    928     o = _glapi_get_proc_offset("glWindowPos3sMESA");
    929     assert(o > 0);
    930     table[o] = (_glapi_proc) __indirect_glWindowPos3sMESA;
    931     o = _glapi_get_proc_offset("glWindowPos3svMESA");
    932     assert(o > 0);
    933     table[o] = (_glapi_proc) __indirect_glWindowPos3svMESA;
    934 
    935     /* 233. GL_NV_vertex_program */
    936 
    937     o = _glapi_get_proc_offset("glAreProgramsResidentNV");
    938     assert(o > 0);
    939     table[o] = (_glapi_proc) __indirect_glAreProgramsResidentNV;
    940     o = _glapi_get_proc_offset("glBindProgramNV");
    941     assert(o > 0);
    942     table[o] = (_glapi_proc) __indirect_glBindProgramNV;
    943     o = _glapi_get_proc_offset("glDeleteProgramsNV");
    944     assert(o > 0);
    945     table[o] = (_glapi_proc) __indirect_glDeleteProgramsNV;
    946     o = _glapi_get_proc_offset("glExecuteProgramNV");
    947     assert(o > 0);
    948     table[o] = (_glapi_proc) __indirect_glExecuteProgramNV;
    949     o = _glapi_get_proc_offset("glGenProgramsNV");
    950     assert(o > 0);
    951     table[o] = (_glapi_proc) __indirect_glGenProgramsNV;
    952     o = _glapi_get_proc_offset("glGetProgramParameterdvNV");
    953     assert(o > 0);
    954     table[o] = (_glapi_proc) __indirect_glGetProgramParameterdvNV;
    955     o = _glapi_get_proc_offset("glGetProgramParameterfvNV");
    956     assert(o > 0);
    957     table[o] = (_glapi_proc) __indirect_glGetProgramParameterfvNV;
    958     o = _glapi_get_proc_offset("glGetProgramStringNV");
    959     assert(o > 0);
    960     table[o] = (_glapi_proc) __indirect_glGetProgramStringNV;
    961     o = _glapi_get_proc_offset("glGetProgramivNV");
    962     assert(o > 0);
    963     table[o] = (_glapi_proc) __indirect_glGetProgramivNV;
    964     o = _glapi_get_proc_offset("glGetTrackMatrixivNV");
    965     assert(o > 0);
    966     table[o] = (_glapi_proc) __indirect_glGetTrackMatrixivNV;
    967     o = _glapi_get_proc_offset("glGetVertexAttribPointervNV");
    968     assert(o > 0);
    969     table[o] = (_glapi_proc) __indirect_glGetVertexAttribPointervNV;
    970     o = _glapi_get_proc_offset("glGetVertexAttribdvNV");
    971     assert(o > 0);
    972     table[o] = (_glapi_proc) __indirect_glGetVertexAttribdvNV;
    973     o = _glapi_get_proc_offset("glGetVertexAttribfvNV");
    974     assert(o > 0);
    975     table[o] = (_glapi_proc) __indirect_glGetVertexAttribfvNV;
    976     o = _glapi_get_proc_offset("glGetVertexAttribivNV");
    977     assert(o > 0);
    978     table[o] = (_glapi_proc) __indirect_glGetVertexAttribivNV;
    979     o = _glapi_get_proc_offset("glIsProgramNV");
    980     assert(o > 0);
    981     table[o] = (_glapi_proc) __indirect_glIsProgramNV;
    982     o = _glapi_get_proc_offset("glLoadProgramNV");
    983     assert(o > 0);
    984     table[o] = (_glapi_proc) __indirect_glLoadProgramNV;
    985     o = _glapi_get_proc_offset("glProgramParameters4dvNV");
    986     assert(o > 0);
    987     table[o] = (_glapi_proc) __indirect_glProgramParameters4dvNV;
    988     o = _glapi_get_proc_offset("glProgramParameters4fvNV");
    989     assert(o > 0);
    990     table[o] = (_glapi_proc) __indirect_glProgramParameters4fvNV;
    991     o = _glapi_get_proc_offset("glRequestResidentProgramsNV");
    992     assert(o > 0);
    993     table[o] = (_glapi_proc) __indirect_glRequestResidentProgramsNV;
    994     o = _glapi_get_proc_offset("glTrackMatrixNV");
    995     assert(o > 0);
    996     table[o] = (_glapi_proc) __indirect_glTrackMatrixNV;
    997     o = _glapi_get_proc_offset("glVertexAttrib1dNV");
    998     assert(o > 0);
    999     table[o] = (_glapi_proc) __indirect_glVertexAttrib1dNV;
   1000     o = _glapi_get_proc_offset("glVertexAttrib1dvNV");
   1001     assert(o > 0);
   1002     table[o] = (_glapi_proc) __indirect_glVertexAttrib1dvNV;
   1003     o = _glapi_get_proc_offset("glVertexAttrib1fNV");
   1004     assert(o > 0);
   1005     table[o] = (_glapi_proc) __indirect_glVertexAttrib1fNV;
   1006     o = _glapi_get_proc_offset("glVertexAttrib1fvNV");
   1007     assert(o > 0);
   1008     table[o] = (_glapi_proc) __indirect_glVertexAttrib1fvNV;
   1009     o = _glapi_get_proc_offset("glVertexAttrib1sNV");
   1010     assert(o > 0);
   1011     table[o] = (_glapi_proc) __indirect_glVertexAttrib1sNV;
   1012     o = _glapi_get_proc_offset("glVertexAttrib1svNV");
   1013     assert(o > 0);
   1014     table[o] = (_glapi_proc) __indirect_glVertexAttrib1svNV;
   1015     o = _glapi_get_proc_offset("glVertexAttrib2dNV");
   1016     assert(o > 0);
   1017     table[o] = (_glapi_proc) __indirect_glVertexAttrib2dNV;
   1018     o = _glapi_get_proc_offset("glVertexAttrib2dvNV");
   1019     assert(o > 0);
   1020     table[o] = (_glapi_proc) __indirect_glVertexAttrib2dvNV;
   1021     o = _glapi_get_proc_offset("glVertexAttrib2fNV");
   1022     assert(o > 0);
   1023     table[o] = (_glapi_proc) __indirect_glVertexAttrib2fNV;
   1024     o = _glapi_get_proc_offset("glVertexAttrib2fvNV");
   1025     assert(o > 0);
   1026     table[o] = (_glapi_proc) __indirect_glVertexAttrib2fvNV;
   1027     o = _glapi_get_proc_offset("glVertexAttrib2sNV");
   1028     assert(o > 0);
   1029     table[o] = (_glapi_proc) __indirect_glVertexAttrib2sNV;
   1030     o = _glapi_get_proc_offset("glVertexAttrib2svNV");
   1031     assert(o > 0);
   1032     table[o] = (_glapi_proc) __indirect_glVertexAttrib2svNV;
   1033     o = _glapi_get_proc_offset("glVertexAttrib3dNV");
   1034     assert(o > 0);
   1035     table[o] = (_glapi_proc) __indirect_glVertexAttrib3dNV;
   1036     o = _glapi_get_proc_offset("glVertexAttrib3dvNV");
   1037     assert(o > 0);
   1038     table[o] = (_glapi_proc) __indirect_glVertexAttrib3dvNV;
   1039     o = _glapi_get_proc_offset("glVertexAttrib3fNV");
   1040     assert(o > 0);
   1041     table[o] = (_glapi_proc) __indirect_glVertexAttrib3fNV;
   1042     o = _glapi_get_proc_offset("glVertexAttrib3fvNV");
   1043     assert(o > 0);
   1044     table[o] = (_glapi_proc) __indirect_glVertexAttrib3fvNV;
   1045     o = _glapi_get_proc_offset("glVertexAttrib3sNV");
   1046     assert(o > 0);
   1047     table[o] = (_glapi_proc) __indirect_glVertexAttrib3sNV;
   1048     o = _glapi_get_proc_offset("glVertexAttrib3svNV");
   1049     assert(o > 0);
   1050     table[o] = (_glapi_proc) __indirect_glVertexAttrib3svNV;
   1051     o = _glapi_get_proc_offset("glVertexAttrib4dNV");
   1052     assert(o > 0);
   1053     table[o] = (_glapi_proc) __indirect_glVertexAttrib4dNV;
   1054     o = _glapi_get_proc_offset("glVertexAttrib4dvNV");
   1055     assert(o > 0);
   1056     table[o] = (_glapi_proc) __indirect_glVertexAttrib4dvNV;
   1057     o = _glapi_get_proc_offset("glVertexAttrib4fNV");
   1058     assert(o > 0);
   1059     table[o] = (_glapi_proc) __indirect_glVertexAttrib4fNV;
   1060     o = _glapi_get_proc_offset("glVertexAttrib4fvNV");
   1061     assert(o > 0);
   1062     table[o] = (_glapi_proc) __indirect_glVertexAttrib4fvNV;
   1063     o = _glapi_get_proc_offset("glVertexAttrib4sNV");
   1064     assert(o > 0);
   1065     table[o] = (_glapi_proc) __indirect_glVertexAttrib4sNV;
   1066     o = _glapi_get_proc_offset("glVertexAttrib4svNV");
   1067     assert(o > 0);
   1068     table[o] = (_glapi_proc) __indirect_glVertexAttrib4svNV;
   1069     o = _glapi_get_proc_offset("glVertexAttrib4ubNV");
   1070     assert(o > 0);
   1071     table[o] = (_glapi_proc) __indirect_glVertexAttrib4ubNV;
   1072     o = _glapi_get_proc_offset("glVertexAttrib4ubvNV");
   1073     assert(o > 0);
   1074     table[o] = (_glapi_proc) __indirect_glVertexAttrib4ubvNV;
   1075     o = _glapi_get_proc_offset("glVertexAttribPointerNV");
   1076     assert(o > 0);
   1077     table[o] = (_glapi_proc) __indirect_glVertexAttribPointerNV;
   1078     o = _glapi_get_proc_offset("glVertexAttribs1dvNV");
   1079     assert(o > 0);
   1080     table[o] = (_glapi_proc) __indirect_glVertexAttribs1dvNV;
   1081     o = _glapi_get_proc_offset("glVertexAttribs1fvNV");
   1082     assert(o > 0);
   1083     table[o] = (_glapi_proc) __indirect_glVertexAttribs1fvNV;
   1084     o = _glapi_get_proc_offset("glVertexAttribs1svNV");
   1085     assert(o > 0);
   1086     table[o] = (_glapi_proc) __indirect_glVertexAttribs1svNV;
   1087     o = _glapi_get_proc_offset("glVertexAttribs2dvNV");
   1088     assert(o > 0);
   1089     table[o] = (_glapi_proc) __indirect_glVertexAttribs2dvNV;
   1090     o = _glapi_get_proc_offset("glVertexAttribs2fvNV");
   1091     assert(o > 0);
   1092     table[o] = (_glapi_proc) __indirect_glVertexAttribs2fvNV;
   1093     o = _glapi_get_proc_offset("glVertexAttribs2svNV");
   1094     assert(o > 0);
   1095     table[o] = (_glapi_proc) __indirect_glVertexAttribs2svNV;
   1096     o = _glapi_get_proc_offset("glVertexAttribs3dvNV");
   1097     assert(o > 0);
   1098     table[o] = (_glapi_proc) __indirect_glVertexAttribs3dvNV;
   1099     o = _glapi_get_proc_offset("glVertexAttribs3fvNV");
   1100     assert(o > 0);
   1101     table[o] = (_glapi_proc) __indirect_glVertexAttribs3fvNV;
   1102     o = _glapi_get_proc_offset("glVertexAttribs3svNV");
   1103     assert(o > 0);
   1104     table[o] = (_glapi_proc) __indirect_glVertexAttribs3svNV;
   1105     o = _glapi_get_proc_offset("glVertexAttribs4dvNV");
   1106     assert(o > 0);
   1107     table[o] = (_glapi_proc) __indirect_glVertexAttribs4dvNV;
   1108     o = _glapi_get_proc_offset("glVertexAttribs4fvNV");
   1109     assert(o > 0);
   1110     table[o] = (_glapi_proc) __indirect_glVertexAttribs4fvNV;
   1111     o = _glapi_get_proc_offset("glVertexAttribs4svNV");
   1112     assert(o > 0);
   1113     table[o] = (_glapi_proc) __indirect_glVertexAttribs4svNV;
   1114     o = _glapi_get_proc_offset("glVertexAttribs4ubvNV");
   1115     assert(o > 0);
   1116     table[o] = (_glapi_proc) __indirect_glVertexAttribs4ubvNV;
   1117 
   1118     /* 262. GL_NV_point_sprite */
   1119 
   1120     o = _glapi_get_proc_offset("glPointParameteriNV");
   1121     assert(o > 0);
   1122     table[o] = (_glapi_proc) __indirect_glPointParameteriNV;
   1123     o = _glapi_get_proc_offset("glPointParameterivNV");
   1124     assert(o > 0);
   1125     table[o] = (_glapi_proc) __indirect_glPointParameterivNV;
   1126 
   1127     /* 268. GL_EXT_stencil_two_side */
   1128 
   1129     o = _glapi_get_proc_offset("glActiveStencilFaceEXT");
   1130     assert(o > 0);
   1131     table[o] = (_glapi_proc) __indirect_glActiveStencilFaceEXT;
   1132 
   1133     /* 282. GL_NV_fragment_program */
   1134 
   1135     o = _glapi_get_proc_offset("glGetProgramNamedParameterdvNV");
   1136     assert(o > 0);
   1137     table[o] = (_glapi_proc) __indirect_glGetProgramNamedParameterdvNV;
   1138     o = _glapi_get_proc_offset("glGetProgramNamedParameterfvNV");
   1139     assert(o > 0);
   1140     table[o] = (_glapi_proc) __indirect_glGetProgramNamedParameterfvNV;
   1141     o = _glapi_get_proc_offset("glProgramNamedParameter4dNV");
   1142     assert(o > 0);
   1143     table[o] = (_glapi_proc) __indirect_glProgramNamedParameter4dNV;
   1144     o = _glapi_get_proc_offset("glProgramNamedParameter4dvNV");
   1145     assert(o > 0);
   1146     table[o] = (_glapi_proc) __indirect_glProgramNamedParameter4dvNV;
   1147     o = _glapi_get_proc_offset("glProgramNamedParameter4fNV");
   1148     assert(o > 0);
   1149     table[o] = (_glapi_proc) __indirect_glProgramNamedParameter4fNV;
   1150     o = _glapi_get_proc_offset("glProgramNamedParameter4fvNV");
   1151     assert(o > 0);
   1152     table[o] = (_glapi_proc) __indirect_glProgramNamedParameter4fvNV;
   1153 
   1154     /* 299. GL_EXT_blend_equation_separate */
   1155 
   1156     o = _glapi_get_proc_offset("glBlendEquationSeparateEXT");
   1157     assert(o > 0);
   1158     table[o] = (_glapi_proc) __indirect_glBlendEquationSeparateEXT;
   1159 
   1160     /* 310. GL_EXT_framebuffer_object */
   1161 
   1162     o = _glapi_get_proc_offset("glBindFramebufferEXT");
   1163     assert(o > 0);
   1164     table[o] = (_glapi_proc) __indirect_glBindFramebufferEXT;
   1165     o = _glapi_get_proc_offset("glBindRenderbufferEXT");
   1166     assert(o > 0);
   1167     table[o] = (_glapi_proc) __indirect_glBindRenderbufferEXT;
   1168     o = _glapi_get_proc_offset("glCheckFramebufferStatusEXT");
   1169     assert(o > 0);
   1170     table[o] = (_glapi_proc) __indirect_glCheckFramebufferStatusEXT;
   1171     o = _glapi_get_proc_offset("glDeleteFramebuffersEXT");
   1172     assert(o > 0);
   1173     table[o] = (_glapi_proc) __indirect_glDeleteFramebuffersEXT;
   1174     o = _glapi_get_proc_offset("glDeleteRenderbuffersEXT");
   1175     assert(o > 0);
   1176     table[o] = (_glapi_proc) __indirect_glDeleteRenderbuffersEXT;
   1177     o = _glapi_get_proc_offset("glFramebufferRenderbufferEXT");
   1178     assert(o > 0);
   1179     table[o] = (_glapi_proc) __indirect_glFramebufferRenderbufferEXT;
   1180     o = _glapi_get_proc_offset("glFramebufferTexture1DEXT");
   1181     assert(o > 0);
   1182     table[o] = (_glapi_proc) __indirect_glFramebufferTexture1DEXT;
   1183     o = _glapi_get_proc_offset("glFramebufferTexture2DEXT");
   1184     assert(o > 0);
   1185     table[o] = (_glapi_proc) __indirect_glFramebufferTexture2DEXT;
   1186     o = _glapi_get_proc_offset("glFramebufferTexture3DEXT");
   1187     assert(o > 0);
   1188     table[o] = (_glapi_proc) __indirect_glFramebufferTexture3DEXT;
   1189     o = _glapi_get_proc_offset("glGenFramebuffersEXT");
   1190     assert(o > 0);
   1191     table[o] = (_glapi_proc) __indirect_glGenFramebuffersEXT;
   1192     o = _glapi_get_proc_offset("glGenRenderbuffersEXT");
   1193     assert(o > 0);
   1194     table[o] = (_glapi_proc) __indirect_glGenRenderbuffersEXT;
   1195     o = _glapi_get_proc_offset("glGenerateMipmapEXT");
   1196     assert(o > 0);
   1197     table[o] = (_glapi_proc) __indirect_glGenerateMipmapEXT;
   1198     o = _glapi_get_proc_offset("glGetFramebufferAttachmentParameterivEXT");
   1199     assert(o > 0);
   1200     table[o] = (_glapi_proc) __indirect_glGetFramebufferAttachmentParameterivEXT;
   1201     o = _glapi_get_proc_offset("glGetRenderbufferParameterivEXT");
   1202     assert(o > 0);
   1203     table[o] = (_glapi_proc) __indirect_glGetRenderbufferParameterivEXT;
   1204     o = _glapi_get_proc_offset("glIsFramebufferEXT");
   1205     assert(o > 0);
   1206     table[o] = (_glapi_proc) __indirect_glIsFramebufferEXT;
   1207     o = _glapi_get_proc_offset("glIsRenderbufferEXT");
   1208     assert(o > 0);
   1209     table[o] = (_glapi_proc) __indirect_glIsRenderbufferEXT;
   1210     o = _glapi_get_proc_offset("glRenderbufferStorageEXT");
   1211     assert(o > 0);
   1212     table[o] = (_glapi_proc) __indirect_glRenderbufferStorageEXT;
   1213 
   1214     /* 316. GL_EXT_framebuffer_blit */
   1215 
   1216     o = _glapi_get_proc_offset("glBlitFramebufferEXT");
   1217     assert(o > 0);
   1218     table[o] = (_glapi_proc) __indirect_glBlitFramebufferEXT;
   1219 
   1220     /* 329. GL_EXT_texture_array */
   1221 
   1222     o = _glapi_get_proc_offset("glFramebufferTextureLayerEXT");
   1223     assert(o > 0);
   1224     table[o] = (_glapi_proc) __indirect_glFramebufferTextureLayerEXT;
   1225 
   1226     return (struct _glapi_table *) table;
   1227 }
   1228 
   1229