1 //
2 // Copyright 2019 The ANGLE Project Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
5 //
6
7 // validationGL11.cpp: Validation functions for OpenGL 1.1 entry point parameters
8
9 #include "libANGLE/validationGL11_autogen.h"
10
11 namespace gl
12 {
13
ValidateAreTexturesResident(Context * context,GLsizei n,const GLuint * textures,GLboolean * residences)14 bool ValidateAreTexturesResident(Context *context,
15 GLsizei n,
16 const GLuint *textures,
17 GLboolean *residences)
18 {
19 return true;
20 }
21
ValidateArrayElement(Context * context,GLint i)22 bool ValidateArrayElement(Context *context, GLint i)
23 {
24 return true;
25 }
26
ValidateCopyTexImage1D(Context * context,GLenum target,GLint level,GLenum internalformat,GLint x,GLint y,GLsizei width,GLint border)27 bool ValidateCopyTexImage1D(Context *context,
28 GLenum target,
29 GLint level,
30 GLenum internalformat,
31 GLint x,
32 GLint y,
33 GLsizei width,
34 GLint border)
35 {
36 return true;
37 }
38
ValidateCopyTexSubImage1D(Context * context,GLenum target,GLint level,GLint xoffset,GLint x,GLint y,GLsizei width)39 bool ValidateCopyTexSubImage1D(Context *context,
40 GLenum target,
41 GLint level,
42 GLint xoffset,
43 GLint x,
44 GLint y,
45 GLsizei width)
46 {
47 return true;
48 }
49
ValidateEdgeFlagPointer(Context * context,GLsizei stride,const void * pointer)50 bool ValidateEdgeFlagPointer(Context *context, GLsizei stride, const void *pointer)
51 {
52 return true;
53 }
54
ValidateIndexPointer(Context * context,GLenum type,GLsizei stride,const void * pointer)55 bool ValidateIndexPointer(Context *context, GLenum type, GLsizei stride, const void *pointer)
56 {
57 return true;
58 }
59
ValidateIndexub(Context * context,GLubyte c)60 bool ValidateIndexub(Context *context, GLubyte c)
61 {
62 return true;
63 }
64
ValidateIndexubv(Context * context,const GLubyte * c)65 bool ValidateIndexubv(Context *context, const GLubyte *c)
66 {
67 return true;
68 }
69
ValidateInterleavedArrays(Context * context,GLenum format,GLsizei stride,const void * pointer)70 bool ValidateInterleavedArrays(Context *context, GLenum format, GLsizei stride, const void *pointer)
71 {
72 return true;
73 }
74
ValidatePopClientAttrib(Context * context)75 bool ValidatePopClientAttrib(Context *context)
76 {
77 return true;
78 }
79
ValidatePrioritizeTextures(Context * context,GLsizei n,const GLuint * textures,const GLfloat * priorities)80 bool ValidatePrioritizeTextures(Context *context,
81 GLsizei n,
82 const GLuint *textures,
83 const GLfloat *priorities)
84 {
85 return true;
86 }
87
ValidatePushClientAttrib(Context * context,GLbitfield mask)88 bool ValidatePushClientAttrib(Context *context, GLbitfield mask)
89 {
90 return true;
91 }
92
ValidateTexSubImage1D(Context * context,GLenum target,GLint level,GLint xoffset,GLsizei width,GLenum format,GLenum type,const void * pixels)93 bool ValidateTexSubImage1D(Context *context,
94 GLenum target,
95 GLint level,
96 GLint xoffset,
97 GLsizei width,
98 GLenum format,
99 GLenum type,
100 const void *pixels)
101 {
102 return true;
103 }
104
105 } // namespace gl
106