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 // validationGL44.cpp: Validation functions for OpenGL 4.4 entry point parameters
8
9 #include "libANGLE/validationGL44_autogen.h"
10
11 namespace gl
12 {
13
ValidateBindBuffersBase(Context * context,GLenum target,GLuint first,GLsizei count,const BufferID * buffers)14 bool ValidateBindBuffersBase(Context *context,
15 GLenum target,
16 GLuint first,
17 GLsizei count,
18 const BufferID *buffers)
19 {
20 return true;
21 }
22
ValidateBindBuffersRange(Context * context,GLenum target,GLuint first,GLsizei count,const BufferID * buffers,const GLintptr * offsets,const GLsizeiptr * sizes)23 bool ValidateBindBuffersRange(Context *context,
24 GLenum target,
25 GLuint first,
26 GLsizei count,
27 const BufferID *buffers,
28 const GLintptr *offsets,
29 const GLsizeiptr *sizes)
30 {
31 return true;
32 }
33
ValidateBindImageTextures(Context * context,GLuint first,GLsizei count,const GLuint * textures)34 bool ValidateBindImageTextures(Context *context,
35 GLuint first,
36 GLsizei count,
37 const GLuint *textures)
38 {
39 return true;
40 }
41
ValidateBindSamplers(Context * context,GLuint first,GLsizei count,const GLuint * samplers)42 bool ValidateBindSamplers(Context *context, GLuint first, GLsizei count, const GLuint *samplers)
43 {
44 return true;
45 }
46
ValidateBindTextures(Context * context,GLuint first,GLsizei count,const GLuint * textures)47 bool ValidateBindTextures(Context *context, GLuint first, GLsizei count, const GLuint *textures)
48 {
49 return true;
50 }
51
ValidateBindVertexBuffers(Context * context,GLuint first,GLsizei count,const BufferID * buffers,const GLintptr * offsets,const GLsizei * strides)52 bool ValidateBindVertexBuffers(Context *context,
53 GLuint first,
54 GLsizei count,
55 const BufferID *buffers,
56 const GLintptr *offsets,
57 const GLsizei *strides)
58 {
59 return true;
60 }
61
ValidateBufferStorage(Context * context,GLenum target,GLsizeiptr size,const void * data,GLbitfield flags)62 bool ValidateBufferStorage(Context *context,
63 GLenum target,
64 GLsizeiptr size,
65 const void *data,
66 GLbitfield flags)
67 {
68 return true;
69 }
70
ValidateClearTexImage(Context * context,TextureID texture,GLint level,GLenum format,GLenum type,const void * data)71 bool ValidateClearTexImage(Context *context,
72 TextureID texture,
73 GLint level,
74 GLenum format,
75 GLenum type,
76 const void *data)
77 {
78 return true;
79 }
80
ValidateClearTexSubImage(Context * context,TextureID texture,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLsizei width,GLsizei height,GLsizei depth,GLenum format,GLenum type,const void * data)81 bool ValidateClearTexSubImage(Context *context,
82 TextureID texture,
83 GLint level,
84 GLint xoffset,
85 GLint yoffset,
86 GLint zoffset,
87 GLsizei width,
88 GLsizei height,
89 GLsizei depth,
90 GLenum format,
91 GLenum type,
92 const void *data)
93 {
94 return true;
95 }
96
97 } // namespace gl
98