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(const Context * context,GLsizei n,const GLuint * textures,const GLboolean * residences)14 bool ValidateAreTexturesResident(const Context *context,
15 GLsizei n,
16 const GLuint *textures,
17 const GLboolean *residences)
18 {
19 return true;
20 }
21
ValidateArrayElement(const Context * context,GLint i)22 bool ValidateArrayElement(const Context *context, GLint i)
23 {
24 return true;
25 }
26
ValidateCopyTexImage1D(const Context * context,GLenum target,GLint level,GLenum internalformat,GLint x,GLint y,GLsizei width,GLint border)27 bool ValidateCopyTexImage1D(const 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(const Context * context,GLenum target,GLint level,GLint xoffset,GLint x,GLint y,GLsizei width)39 bool ValidateCopyTexSubImage1D(const 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(const Context * context,GLsizei stride,const void * pointer)50 bool ValidateEdgeFlagPointer(const Context *context, GLsizei stride, const void *pointer)
51 {
52 return true;
53 }
54
ValidateIndexPointer(const Context * context,GLenum type,GLsizei stride,const void * pointer)55 bool ValidateIndexPointer(const Context *context, GLenum type, GLsizei stride, const void *pointer)
56 {
57 return true;
58 }
59
ValidateIndexub(const Context * context,GLubyte c)60 bool ValidateIndexub(const Context *context, GLubyte c)
61 {
62 return true;
63 }
64
ValidateIndexubv(const Context * context,const GLubyte * c)65 bool ValidateIndexubv(const Context *context, const GLubyte *c)
66 {
67 return true;
68 }
69
ValidateInterleavedArrays(const Context * context,GLenum format,GLsizei stride,const void * pointer)70 bool ValidateInterleavedArrays(const Context *context,
71 GLenum format,
72 GLsizei stride,
73 const void *pointer)
74 {
75 return true;
76 }
77
ValidatePopClientAttrib(const Context * context)78 bool ValidatePopClientAttrib(const Context *context)
79 {
80 return true;
81 }
82
ValidatePrioritizeTextures(const Context * context,GLsizei n,const GLuint * textures,const GLfloat * priorities)83 bool ValidatePrioritizeTextures(const Context *context,
84 GLsizei n,
85 const GLuint *textures,
86 const GLfloat *priorities)
87 {
88 return true;
89 }
90
ValidatePushClientAttrib(const Context * context,GLbitfield mask)91 bool ValidatePushClientAttrib(const Context *context, GLbitfield mask)
92 {
93 return true;
94 }
95
ValidateTexSubImage1D(const Context * context,GLenum target,GLint level,GLint xoffset,GLsizei width,GLenum format,GLenum type,const void * pixels)96 bool ValidateTexSubImage1D(const Context *context,
97 GLenum target,
98 GLint level,
99 GLint xoffset,
100 GLsizei width,
101 GLenum format,
102 GLenum type,
103 const void *pixels)
104 {
105 return true;
106 }
107
108 } // namespace gl
109