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