• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // GENERATED FILE - DO NOT EDIT.
2 // Generated by generate_entry_points.py using data from gl.xml and wgl.xml.
3 //
4 // Copyright 2019 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 // validationGL46_autogen.h:
9 //   Validation functions for the OpenGL 4.6 entry points.
10 
11 #ifndef LIBANGLE_VALIDATION_GL46_AUTOGEN_H_
12 #define LIBANGLE_VALIDATION_GL46_AUTOGEN_H_
13 
14 #include "common/PackedEnums.h"
15 
16 namespace gl
17 {
18 class Context;
19 
20 bool ValidateMultiDrawArraysIndirectCount(Context *context,
21                                           GLenum mode,
22                                           const void *indirect,
23                                           GLintptr drawcount,
24                                           GLsizei maxdrawcount,
25                                           GLsizei stride);
26 bool ValidateMultiDrawElementsIndirectCount(Context *context,
27                                             GLenum mode,
28                                             GLenum type,
29                                             const void *indirect,
30                                             GLintptr drawcount,
31                                             GLsizei maxdrawcount,
32                                             GLsizei stride);
33 bool ValidatePolygonOffsetClamp(Context *context, GLfloat factor, GLfloat units, GLfloat clamp);
34 bool ValidateSpecializeShader(Context *context,
35                               GLuint shader,
36                               const GLchar *pEntryPoint,
37                               GLuint numSpecializationConstants,
38                               const GLuint *pConstantIndex,
39                               const GLuint *pConstantValue);
40 }  // namespace gl
41 
42 #endif  // LIBANGLE_VALIDATION_GL46_AUTOGEN_H_
43