tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

validationES1_autogen.h (18269B)


      1 // GENERATED FILE - DO NOT EDIT.
      2 // Generated by generate_entry_points.py using data from gl.xml and gl_angle_ext.xml.
      3 //
      4 // Copyright 2020 The ANGLE Project Authors. All rights reserved.
      5 // Use of this source code is governed by a BSD-style license that can be
      6 // found in the LICENSE file.
      7 //
      8 // validationES1_autogen.h:
      9 //   Validation functions for the OpenGL ES 1.0 entry points.
     10 
     11 #ifndef LIBANGLE_VALIDATION_ES1_AUTOGEN_H_
     12 #define LIBANGLE_VALIDATION_ES1_AUTOGEN_H_
     13 
     14 #include "common/PackedEnums.h"
     15 #include "common/entry_points_enum_autogen.h"
     16 
     17 namespace gl
     18 {
     19 class Context;
     20 
     21 bool ValidateAlphaFunc(const Context *context,
     22                       angle::EntryPoint entryPoint,
     23                       AlphaTestFunc funcPacked,
     24                       GLfloat ref);
     25 bool ValidateAlphaFuncx(const Context *context,
     26                        angle::EntryPoint entryPoint,
     27                        AlphaTestFunc funcPacked,
     28                        GLfixed ref);
     29 bool ValidateClearColorx(const Context *context,
     30                         angle::EntryPoint entryPoint,
     31                         GLfixed red,
     32                         GLfixed green,
     33                         GLfixed blue,
     34                         GLfixed alpha);
     35 bool ValidateClearDepthx(const Context *context, angle::EntryPoint entryPoint, GLfixed depth);
     36 bool ValidateClientActiveTexture(const Context *context,
     37                                 angle::EntryPoint entryPoint,
     38                                 GLenum texture);
     39 bool ValidateClipPlanef(const Context *context,
     40                        angle::EntryPoint entryPoint,
     41                        GLenum p,
     42                        const GLfloat *eqn);
     43 bool ValidateClipPlanex(const Context *context,
     44                        angle::EntryPoint entryPoint,
     45                        GLenum plane,
     46                        const GLfixed *equation);
     47 bool ValidateColor4f(const Context *context,
     48                     angle::EntryPoint entryPoint,
     49                     GLfloat red,
     50                     GLfloat green,
     51                     GLfloat blue,
     52                     GLfloat alpha);
     53 bool ValidateColor4ub(const Context *context,
     54                      angle::EntryPoint entryPoint,
     55                      GLubyte red,
     56                      GLubyte green,
     57                      GLubyte blue,
     58                      GLubyte alpha);
     59 bool ValidateColor4x(const Context *context,
     60                     angle::EntryPoint entryPoint,
     61                     GLfixed red,
     62                     GLfixed green,
     63                     GLfixed blue,
     64                     GLfixed alpha);
     65 bool ValidateColorPointer(const Context *context,
     66                          angle::EntryPoint entryPoint,
     67                          GLint size,
     68                          VertexAttribType typePacked,
     69                          GLsizei stride,
     70                          const void *pointer);
     71 bool ValidateDepthRangex(const Context *context,
     72                         angle::EntryPoint entryPoint,
     73                         GLfixed n,
     74                         GLfixed f);
     75 bool ValidateDisableClientState(const Context *context,
     76                                angle::EntryPoint entryPoint,
     77                                ClientVertexArrayType arrayPacked);
     78 bool ValidateEnableClientState(const Context *context,
     79                               angle::EntryPoint entryPoint,
     80                               ClientVertexArrayType arrayPacked);
     81 bool ValidateFogf(const Context *context,
     82                  angle::EntryPoint entryPoint,
     83                  GLenum pname,
     84                  GLfloat param);
     85 bool ValidateFogfv(const Context *context,
     86                   angle::EntryPoint entryPoint,
     87                   GLenum pname,
     88                   const GLfloat *params);
     89 bool ValidateFogx(const Context *context,
     90                  angle::EntryPoint entryPoint,
     91                  GLenum pname,
     92                  GLfixed param);
     93 bool ValidateFogxv(const Context *context,
     94                   angle::EntryPoint entryPoint,
     95                   GLenum pname,
     96                   const GLfixed *param);
     97 bool ValidateFrustumf(const Context *context,
     98                      angle::EntryPoint entryPoint,
     99                      GLfloat l,
    100                      GLfloat r,
    101                      GLfloat b,
    102                      GLfloat t,
    103                      GLfloat n,
    104                      GLfloat f);
    105 bool ValidateFrustumx(const Context *context,
    106                      angle::EntryPoint entryPoint,
    107                      GLfixed l,
    108                      GLfixed r,
    109                      GLfixed b,
    110                      GLfixed t,
    111                      GLfixed n,
    112                      GLfixed f);
    113 bool ValidateGetClipPlanef(const Context *context,
    114                           angle::EntryPoint entryPoint,
    115                           GLenum plane,
    116                           const GLfloat *equation);
    117 bool ValidateGetClipPlanex(const Context *context,
    118                           angle::EntryPoint entryPoint,
    119                           GLenum plane,
    120                           const GLfixed *equation);
    121 bool ValidateGetFixedv(const Context *context,
    122                       angle::EntryPoint entryPoint,
    123                       GLenum pname,
    124                       const GLfixed *params);
    125 bool ValidateGetLightfv(const Context *context,
    126                        angle::EntryPoint entryPoint,
    127                        GLenum light,
    128                        LightParameter pnamePacked,
    129                        const GLfloat *params);
    130 bool ValidateGetLightxv(const Context *context,
    131                        angle::EntryPoint entryPoint,
    132                        GLenum light,
    133                        LightParameter pnamePacked,
    134                        const GLfixed *params);
    135 bool ValidateGetMaterialfv(const Context *context,
    136                           angle::EntryPoint entryPoint,
    137                           GLenum face,
    138                           MaterialParameter pnamePacked,
    139                           const GLfloat *params);
    140 bool ValidateGetMaterialxv(const Context *context,
    141                           angle::EntryPoint entryPoint,
    142                           GLenum face,
    143                           MaterialParameter pnamePacked,
    144                           const GLfixed *params);
    145 bool ValidateGetTexEnvfv(const Context *context,
    146                         angle::EntryPoint entryPoint,
    147                         TextureEnvTarget targetPacked,
    148                         TextureEnvParameter pnamePacked,
    149                         const GLfloat *params);
    150 bool ValidateGetTexEnviv(const Context *context,
    151                         angle::EntryPoint entryPoint,
    152                         TextureEnvTarget targetPacked,
    153                         TextureEnvParameter pnamePacked,
    154                         const GLint *params);
    155 bool ValidateGetTexEnvxv(const Context *context,
    156                         angle::EntryPoint entryPoint,
    157                         TextureEnvTarget targetPacked,
    158                         TextureEnvParameter pnamePacked,
    159                         const GLfixed *params);
    160 bool ValidateGetTexParameterxv(const Context *context,
    161                               angle::EntryPoint entryPoint,
    162                               TextureType targetPacked,
    163                               GLenum pname,
    164                               const GLfixed *params);
    165 bool ValidateLightModelf(const Context *context,
    166                         angle::EntryPoint entryPoint,
    167                         GLenum pname,
    168                         GLfloat param);
    169 bool ValidateLightModelfv(const Context *context,
    170                          angle::EntryPoint entryPoint,
    171                          GLenum pname,
    172                          const GLfloat *params);
    173 bool ValidateLightModelx(const Context *context,
    174                         angle::EntryPoint entryPoint,
    175                         GLenum pname,
    176                         GLfixed param);
    177 bool ValidateLightModelxv(const Context *context,
    178                          angle::EntryPoint entryPoint,
    179                          GLenum pname,
    180                          const GLfixed *param);
    181 bool ValidateLightf(const Context *context,
    182                    angle::EntryPoint entryPoint,
    183                    GLenum light,
    184                    LightParameter pnamePacked,
    185                    GLfloat param);
    186 bool ValidateLightfv(const Context *context,
    187                     angle::EntryPoint entryPoint,
    188                     GLenum light,
    189                     LightParameter pnamePacked,
    190                     const GLfloat *params);
    191 bool ValidateLightx(const Context *context,
    192                    angle::EntryPoint entryPoint,
    193                    GLenum light,
    194                    LightParameter pnamePacked,
    195                    GLfixed param);
    196 bool ValidateLightxv(const Context *context,
    197                     angle::EntryPoint entryPoint,
    198                     GLenum light,
    199                     LightParameter pnamePacked,
    200                     const GLfixed *params);
    201 bool ValidateLineWidthx(const Context *context, angle::EntryPoint entryPoint, GLfixed width);
    202 bool ValidateLoadIdentity(const Context *context, angle::EntryPoint entryPoint);
    203 bool ValidateLoadMatrixf(const Context *context, angle::EntryPoint entryPoint, const GLfloat *m);
    204 bool ValidateLoadMatrixx(const Context *context, angle::EntryPoint entryPoint, const GLfixed *m);
    205 bool ValidateLogicOp(const Context *context,
    206                     angle::EntryPoint entryPoint,
    207                     LogicalOperation opcodePacked);
    208 bool ValidateMaterialf(const Context *context,
    209                       angle::EntryPoint entryPoint,
    210                       GLenum face,
    211                       MaterialParameter pnamePacked,
    212                       GLfloat param);
    213 bool ValidateMaterialfv(const Context *context,
    214                        angle::EntryPoint entryPoint,
    215                        GLenum face,
    216                        MaterialParameter pnamePacked,
    217                        const GLfloat *params);
    218 bool ValidateMaterialx(const Context *context,
    219                       angle::EntryPoint entryPoint,
    220                       GLenum face,
    221                       MaterialParameter pnamePacked,
    222                       GLfixed param);
    223 bool ValidateMaterialxv(const Context *context,
    224                        angle::EntryPoint entryPoint,
    225                        GLenum face,
    226                        MaterialParameter pnamePacked,
    227                        const GLfixed *param);
    228 bool ValidateMatrixMode(const Context *context,
    229                        angle::EntryPoint entryPoint,
    230                        MatrixType modePacked);
    231 bool ValidateMultMatrixf(const Context *context, angle::EntryPoint entryPoint, const GLfloat *m);
    232 bool ValidateMultMatrixx(const Context *context, angle::EntryPoint entryPoint, const GLfixed *m);
    233 bool ValidateMultiTexCoord4f(const Context *context,
    234                             angle::EntryPoint entryPoint,
    235                             GLenum target,
    236                             GLfloat s,
    237                             GLfloat t,
    238                             GLfloat r,
    239                             GLfloat q);
    240 bool ValidateMultiTexCoord4x(const Context *context,
    241                             angle::EntryPoint entryPoint,
    242                             GLenum texture,
    243                             GLfixed s,
    244                             GLfixed t,
    245                             GLfixed r,
    246                             GLfixed q);
    247 bool ValidateNormal3f(const Context *context,
    248                      angle::EntryPoint entryPoint,
    249                      GLfloat nx,
    250                      GLfloat ny,
    251                      GLfloat nz);
    252 bool ValidateNormal3x(const Context *context,
    253                      angle::EntryPoint entryPoint,
    254                      GLfixed nx,
    255                      GLfixed ny,
    256                      GLfixed nz);
    257 bool ValidateNormalPointer(const Context *context,
    258                           angle::EntryPoint entryPoint,
    259                           VertexAttribType typePacked,
    260                           GLsizei stride,
    261                           const void *pointer);
    262 bool ValidateOrthof(const Context *context,
    263                    angle::EntryPoint entryPoint,
    264                    GLfloat l,
    265                    GLfloat r,
    266                    GLfloat b,
    267                    GLfloat t,
    268                    GLfloat n,
    269                    GLfloat f);
    270 bool ValidateOrthox(const Context *context,
    271                    angle::EntryPoint entryPoint,
    272                    GLfixed l,
    273                    GLfixed r,
    274                    GLfixed b,
    275                    GLfixed t,
    276                    GLfixed n,
    277                    GLfixed f);
    278 bool ValidatePointParameterf(const Context *context,
    279                             angle::EntryPoint entryPoint,
    280                             PointParameter pnamePacked,
    281                             GLfloat param);
    282 bool ValidatePointParameterfv(const Context *context,
    283                              angle::EntryPoint entryPoint,
    284                              PointParameter pnamePacked,
    285                              const GLfloat *params);
    286 bool ValidatePointParameterx(const Context *context,
    287                             angle::EntryPoint entryPoint,
    288                             PointParameter pnamePacked,
    289                             GLfixed param);
    290 bool ValidatePointParameterxv(const Context *context,
    291                              angle::EntryPoint entryPoint,
    292                              PointParameter pnamePacked,
    293                              const GLfixed *params);
    294 bool ValidatePointSize(const Context *context, angle::EntryPoint entryPoint, GLfloat size);
    295 bool ValidatePointSizex(const Context *context, angle::EntryPoint entryPoint, GLfixed size);
    296 bool ValidatePolygonOffsetx(const Context *context,
    297                            angle::EntryPoint entryPoint,
    298                            GLfixed factor,
    299                            GLfixed units);
    300 bool ValidatePopMatrix(const Context *context, angle::EntryPoint entryPoint);
    301 bool ValidatePushMatrix(const Context *context, angle::EntryPoint entryPoint);
    302 bool ValidateRotatef(const Context *context,
    303                     angle::EntryPoint entryPoint,
    304                     GLfloat angle,
    305                     GLfloat x,
    306                     GLfloat y,
    307                     GLfloat z);
    308 bool ValidateRotatex(const Context *context,
    309                     angle::EntryPoint entryPoint,
    310                     GLfixed angle,
    311                     GLfixed x,
    312                     GLfixed y,
    313                     GLfixed z);
    314 bool ValidateSampleCoveragex(const Context *context,
    315                             angle::EntryPoint entryPoint,
    316                             GLclampx value,
    317                             GLboolean invert);
    318 bool ValidateScalef(const Context *context,
    319                    angle::EntryPoint entryPoint,
    320                    GLfloat x,
    321                    GLfloat y,
    322                    GLfloat z);
    323 bool ValidateScalex(const Context *context,
    324                    angle::EntryPoint entryPoint,
    325                    GLfixed x,
    326                    GLfixed y,
    327                    GLfixed z);
    328 bool ValidateShadeModel(const Context *context,
    329                        angle::EntryPoint entryPoint,
    330                        ShadingModel modePacked);
    331 bool ValidateTexCoordPointer(const Context *context,
    332                             angle::EntryPoint entryPoint,
    333                             GLint size,
    334                             VertexAttribType typePacked,
    335                             GLsizei stride,
    336                             const void *pointer);
    337 bool ValidateTexEnvf(const Context *context,
    338                     angle::EntryPoint entryPoint,
    339                     TextureEnvTarget targetPacked,
    340                     TextureEnvParameter pnamePacked,
    341                     GLfloat param);
    342 bool ValidateTexEnvfv(const Context *context,
    343                      angle::EntryPoint entryPoint,
    344                      TextureEnvTarget targetPacked,
    345                      TextureEnvParameter pnamePacked,
    346                      const GLfloat *params);
    347 bool ValidateTexEnvi(const Context *context,
    348                     angle::EntryPoint entryPoint,
    349                     TextureEnvTarget targetPacked,
    350                     TextureEnvParameter pnamePacked,
    351                     GLint param);
    352 bool ValidateTexEnviv(const Context *context,
    353                      angle::EntryPoint entryPoint,
    354                      TextureEnvTarget targetPacked,
    355                      TextureEnvParameter pnamePacked,
    356                      const GLint *params);
    357 bool ValidateTexEnvx(const Context *context,
    358                     angle::EntryPoint entryPoint,
    359                     TextureEnvTarget targetPacked,
    360                     TextureEnvParameter pnamePacked,
    361                     GLfixed param);
    362 bool ValidateTexEnvxv(const Context *context,
    363                      angle::EntryPoint entryPoint,
    364                      TextureEnvTarget targetPacked,
    365                      TextureEnvParameter pnamePacked,
    366                      const GLfixed *params);
    367 bool ValidateTexParameterx(const Context *context,
    368                           angle::EntryPoint entryPoint,
    369                           TextureType targetPacked,
    370                           GLenum pname,
    371                           GLfixed param);
    372 bool ValidateTexParameterxv(const Context *context,
    373                            angle::EntryPoint entryPoint,
    374                            TextureType targetPacked,
    375                            GLenum pname,
    376                            const GLfixed *params);
    377 bool ValidateTranslatef(const Context *context,
    378                        angle::EntryPoint entryPoint,
    379                        GLfloat x,
    380                        GLfloat y,
    381                        GLfloat z);
    382 bool ValidateTranslatex(const Context *context,
    383                        angle::EntryPoint entryPoint,
    384                        GLfixed x,
    385                        GLfixed y,
    386                        GLfixed z);
    387 bool ValidateVertexPointer(const Context *context,
    388                           angle::EntryPoint entryPoint,
    389                           GLint size,
    390                           VertexAttribType typePacked,
    391                           GLsizei stride,
    392                           const void *pointer);
    393 }  // namespace gl
    394 
    395 #endif  // LIBANGLE_VALIDATION_ES1_AUTOGEN_H_