Hash :
120b61d3
Author :
Date :
2019-08-21T12:51:58
Use ShaderProgramID in place of GLuint handles Bug: angleproject:3804 Change-Id: I5dc640004c2cc054c53261e8e939b6a9f5fc23bb Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1762363 Commit-Queue: Jiacheng Lu <lujc@google.com> Reviewed-by: Tobin Ehlis <tobine@google.com>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158
// GENERATED FILE - DO NOT EDIT.
// Generated by generate_entry_points.py using data from gl.xml and wgl.xml.
//
// Copyright 2019 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// validationGL41_autogen.h:
// Validation functions for the OpenGL 4.1 entry points.
#ifndef LIBANGLE_VALIDATION_GL41_AUTOGEN_H_
#define LIBANGLE_VALIDATION_GL41_AUTOGEN_H_
#include "common/PackedEnums.h"
namespace gl
{
class Context;
bool ValidateDepthRangeArrayv(Context *context, GLuint first, GLsizei count, const GLdouble *v);
bool ValidateDepthRangeIndexed(Context *context, GLuint index, GLdouble n, GLdouble f);
bool ValidateGetDoublei_v(Context *context, GLenum target, GLuint index, GLdouble *data);
bool ValidateGetFloati_v(Context *context, GLenum target, GLuint index, GLfloat *data);
bool ValidateGetVertexAttribLdv(Context *context, GLuint index, GLenum pname, GLdouble *params);
bool ValidateProgramUniform1d(Context *context,
ShaderProgramID programPacked,
GLint location,
GLdouble v0);
bool ValidateProgramUniform1dv(Context *context,
ShaderProgramID programPacked,
GLint location,
GLsizei count,
const GLdouble *value);
bool ValidateProgramUniform2d(Context *context,
ShaderProgramID programPacked,
GLint location,
GLdouble v0,
GLdouble v1);
bool ValidateProgramUniform2dv(Context *context,
ShaderProgramID programPacked,
GLint location,
GLsizei count,
const GLdouble *value);
bool ValidateProgramUniform3d(Context *context,
ShaderProgramID programPacked,
GLint location,
GLdouble v0,
GLdouble v1,
GLdouble v2);
bool ValidateProgramUniform3dv(Context *context,
ShaderProgramID programPacked,
GLint location,
GLsizei count,
const GLdouble *value);
bool ValidateProgramUniform4d(Context *context,
ShaderProgramID programPacked,
GLint location,
GLdouble v0,
GLdouble v1,
GLdouble v2,
GLdouble v3);
bool ValidateProgramUniform4dv(Context *context,
ShaderProgramID programPacked,
GLint location,
GLsizei count,
const GLdouble *value);
bool ValidateProgramUniformMatrix2dv(Context *context,
ShaderProgramID programPacked,
GLint location,
GLsizei count,
GLboolean transpose,
const GLdouble *value);
bool ValidateProgramUniformMatrix2x3dv(Context *context,
ShaderProgramID programPacked,
GLint location,
GLsizei count,
GLboolean transpose,
const GLdouble *value);
bool ValidateProgramUniformMatrix2x4dv(Context *context,
ShaderProgramID programPacked,
GLint location,
GLsizei count,
GLboolean transpose,
const GLdouble *value);
bool ValidateProgramUniformMatrix3dv(Context *context,
ShaderProgramID programPacked,
GLint location,
GLsizei count,
GLboolean transpose,
const GLdouble *value);
bool ValidateProgramUniformMatrix3x2dv(Context *context,
ShaderProgramID programPacked,
GLint location,
GLsizei count,
GLboolean transpose,
const GLdouble *value);
bool ValidateProgramUniformMatrix3x4dv(Context *context,
ShaderProgramID programPacked,
GLint location,
GLsizei count,
GLboolean transpose,
const GLdouble *value);
bool ValidateProgramUniformMatrix4dv(Context *context,
ShaderProgramID programPacked,
GLint location,
GLsizei count,
GLboolean transpose,
const GLdouble *value);
bool ValidateProgramUniformMatrix4x2dv(Context *context,
ShaderProgramID programPacked,
GLint location,
GLsizei count,
GLboolean transpose,
const GLdouble *value);
bool ValidateProgramUniformMatrix4x3dv(Context *context,
ShaderProgramID programPacked,
GLint location,
GLsizei count,
GLboolean transpose,
const GLdouble *value);
bool ValidateScissorArrayv(Context *context, GLuint first, GLsizei count, const GLint *v);
bool ValidateScissorIndexed(Context *context,
GLuint index,
GLint left,
GLint bottom,
GLsizei width,
GLsizei height);
bool ValidateScissorIndexedv(Context *context, GLuint index, const GLint *v);
bool ValidateVertexAttribL1d(Context *context, GLuint index, GLdouble x);
bool ValidateVertexAttribL1dv(Context *context, GLuint index, const GLdouble *v);
bool ValidateVertexAttribL2d(Context *context, GLuint index, GLdouble x, GLdouble y);
bool ValidateVertexAttribL2dv(Context *context, GLuint index, const GLdouble *v);
bool ValidateVertexAttribL3d(Context *context, GLuint index, GLdouble x, GLdouble y, GLdouble z);
bool ValidateVertexAttribL3dv(Context *context, GLuint index, const GLdouble *v);
bool ValidateVertexAttribL4d(Context *context,
GLuint index,
GLdouble x,
GLdouble y,
GLdouble z,
GLdouble w);
bool ValidateVertexAttribL4dv(Context *context, GLuint index, const GLdouble *v);
bool ValidateVertexAttribLPointer(Context *context,
GLuint index,
GLint size,
GLenum type,
GLsizei stride,
const void *pointer);
bool ValidateViewportArrayv(Context *context, GLuint first, GLsizei count, const GLfloat *v);
bool ValidateViewportIndexedf(Context *context,
GLuint index,
GLfloat x,
GLfloat y,
GLfloat w,
GLfloat h);
bool ValidateViewportIndexedfv(Context *context, GLuint index, const GLfloat *v);
} // namespace gl
#endif // LIBANGLE_VALIDATION_GL41_AUTOGEN_H_