Home | History | Annotate | Download | only in main
      1 /*
      2  * Copyright 2008 VMware, Inc.
      3  * All Rights Reserved.
      4  *
      5  * Permission is hereby granted, free of charge, to any person obtaining a
      6  * copy of this software and associated documentation files (the "Software"),
      7  * to deal in the Software without restriction, including without limitation
      8  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
      9  * and/or sell copies of the Software, and to permit persons to whom the
     10  * Software is furnished to do so, subject to the following conditions:
     11  *
     12  * The above copyright notice and this permission notice shall be included
     13  * in all copies or substantial portions of the Software.
     14  *
     15  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
     16  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
     17  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
     18  * VMWARE BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
     19  * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
     20  * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
     21  * SOFTWARE.
     22  */
     23 
     24 #ifndef ES1_CONVERSION_H
     25 #define ES1_CONVERSION_H
     26 
     27 #ifndef GL_APIENTRY
     28 #define GL_APIENTRY GLAPIENTRY
     29 #endif
     30 
     31 void GL_APIENTRY
     32 _mesa_AlphaFuncx(GLenum func, GLclampx ref);
     33 
     34 void GL_APIENTRY
     35 _mesa_ClearColorx(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha);
     36 
     37 void GL_APIENTRY
     38 _mesa_ClearDepthx(GLclampx depth);
     39 
     40 void GL_APIENTRY
     41 _mesa_ClipPlanef(GLenum plane, const GLfloat *equation);
     42 
     43 void GL_APIENTRY
     44 _mesa_ClipPlanex(GLenum plane, const GLfixed *equation);
     45 
     46 void GL_APIENTRY
     47 _es_Color4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
     48 
     49 void GL_APIENTRY
     50 _mesa_Color4x(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
     51 
     52 void GL_APIENTRY
     53 _mesa_DepthRangex(GLclampx zNear, GLclampx zFar);
     54 
     55 void GL_APIENTRY
     56 _mesa_DrawTexxOES(GLfixed x, GLfixed y, GLfixed z, GLfixed w, GLfixed h);
     57 
     58 void GL_APIENTRY
     59 _mesa_DrawTexxvOES(const GLfixed *coords);
     60 
     61 void GL_APIENTRY
     62 _mesa_Fogx(GLenum pname, GLfixed param);
     63 
     64 void GL_APIENTRY
     65 _mesa_Fogxv(GLenum pname, const GLfixed *params);
     66 
     67 void GL_APIENTRY
     68 _mesa_Frustumf(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top,
     69              GLfloat zNear, GLfloat zFar);
     70 
     71 void GL_APIENTRY
     72 _mesa_Frustumx(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top,
     73              GLfixed zNear, GLfixed zFar);
     74 
     75 void GL_APIENTRY
     76 _mesa_GetClipPlanef(GLenum plane, GLfloat *equation);
     77 
     78 void GL_APIENTRY
     79 _mesa_GetClipPlanex(GLenum plane, GLfixed *equation);
     80 
     81 void GL_APIENTRY
     82 _mesa_GetLightxv(GLenum light, GLenum pname, GLfixed *params);
     83 
     84 void GL_APIENTRY
     85 _mesa_GetMaterialxv(GLenum face, GLenum pname, GLfixed *params);
     86 
     87 void GL_APIENTRY
     88 _check_GetTexGenivOES(GLenum coord, GLenum pname, GLint *params);
     89 
     90 void GL_APIENTRY
     91 _mesa_GetTexEnvxv(GLenum target, GLenum pname, GLfixed *params);
     92 
     93 void GL_APIENTRY
     94 _mesa_GetTexGenxvOES(GLenum coord, GLenum pname, GLfixed *params);
     95 
     96 void GL_APIENTRY
     97 _mesa_GetTexParameterxv(GLenum target, GLenum pname, GLfixed *params);
     98 
     99 void GL_APIENTRY
    100 _mesa_LightModelx(GLenum pname, GLfixed param);
    101 
    102 void GL_APIENTRY
    103 _mesa_LightModelxv(GLenum pname, const GLfixed *params);
    104 
    105 void GL_APIENTRY
    106 _mesa_Lightx(GLenum light, GLenum pname, GLfixed param);
    107 
    108 void GL_APIENTRY
    109 _mesa_Lightxv(GLenum light, GLenum pname, const GLfixed *params);
    110 
    111 void GL_APIENTRY
    112 _mesa_LineWidthx(GLfixed width);
    113 
    114 void GL_APIENTRY
    115 _mesa_LoadMatrixx(const GLfixed *m);
    116 
    117 void GL_APIENTRY
    118 _mesa_Materialx(GLenum face, GLenum pname, GLfixed param);
    119 
    120 void GL_APIENTRY
    121 _mesa_Materialxv(GLenum face, GLenum pname, const GLfixed *params);
    122 
    123 void GL_APIENTRY
    124 _mesa_MultMatrixx(const GLfixed *m);
    125 
    126 void GL_APIENTRY
    127 _mesa_MultiTexCoord4x(GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
    128 
    129 void GL_APIENTRY
    130 _mesa_Normal3x(GLfixed nx, GLfixed ny, GLfixed nz);
    131 
    132 void GL_APIENTRY
    133 _mesa_Orthof(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top,
    134            GLfloat zNear, GLfloat zFar);
    135 
    136 void GL_APIENTRY
    137 _mesa_Orthox(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top,
    138            GLfixed zNear, GLfixed zFar);
    139 
    140 void GL_APIENTRY
    141 _mesa_PointParameterx(GLenum pname, GLfixed param);
    142 
    143 void GL_APIENTRY
    144 _mesa_PointParameterxv(GLenum pname, const GLfixed *params);
    145 
    146 void GL_APIENTRY
    147 _mesa_PointSizex(GLfixed size);
    148 
    149 void GL_APIENTRY
    150 _mesa_PolygonOffsetx(GLfixed factor, GLfixed units);
    151 
    152 void GL_APIENTRY
    153 _mesa_Rotatex(GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
    154 
    155 void GL_APIENTRY
    156 _mesa_SampleCoveragex(GLclampx value, GLboolean invert);
    157 
    158 void GL_APIENTRY
    159 _mesa_Scalex(GLfixed x, GLfixed y, GLfixed z);
    160 
    161 void GL_APIENTRY
    162 _mesa_TexEnvx(GLenum target, GLenum pname, GLfixed param);
    163 
    164 void GL_APIENTRY
    165 _mesa_TexEnvxv(GLenum target, GLenum pname, const GLfixed *params);
    166 
    167 void GL_APIENTRY
    168 _check_TexGeniOES(GLenum coord, GLenum pname, GLint param);
    169 
    170 void GL_APIENTRY
    171 _check_TexGenivOES(GLenum coord, GLenum pname, const GLint *params);
    172 
    173 void GL_APIENTRY
    174 _mesa_TexGenxOES(GLenum coord, GLenum pname, GLfixed param);
    175 
    176 void GL_APIENTRY
    177 _mesa_TexGenxvOES(GLenum coord, GLenum pname, const GLfixed *params);
    178 
    179 void GL_APIENTRY
    180 _mesa_TexParameterx(GLenum target, GLenum pname, GLfixed param);
    181 
    182 void GL_APIENTRY
    183 _mesa_TexParameterxv(GLenum target, GLenum pname, const GLfixed *params);
    184 
    185 void GL_APIENTRY
    186 _mesa_Translatex(GLfixed x, GLfixed y, GLfixed z);
    187 
    188 #endif /* ES1_CONVERSION_H */
    189