summaryrefslogtreecommitdiffstats
path: root/gfx/angle/checkout/src/libANGLE/validationGL11.cpp
blob: f4226f1a5b4c1c60959db3596068a25d698e30ad (plain)
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
//
// 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.
//

// validationGL11.cpp: Validation functions for OpenGL 1.1 entry point parameters

#include "libANGLE/validationGL11_autogen.h"

namespace gl
{

bool ValidateAreTexturesResident(Context *context,
                                 GLsizei n,
                                 const GLuint *textures,
                                 GLboolean *residences)
{
    return true;
}

bool ValidateArrayElement(Context *context, GLint i)
{
    return true;
}

bool ValidateCopyTexImage1D(Context *context,
                            GLenum target,
                            GLint level,
                            GLenum internalformat,
                            GLint x,
                            GLint y,
                            GLsizei width,
                            GLint border)
{
    return true;
}

bool ValidateCopyTexSubImage1D(Context *context,
                               GLenum target,
                               GLint level,
                               GLint xoffset,
                               GLint x,
                               GLint y,
                               GLsizei width)
{
    return true;
}

bool ValidateEdgeFlagPointer(Context *context, GLsizei stride, const void *pointer)
{
    return true;
}

bool ValidateIndexPointer(Context *context, GLenum type, GLsizei stride, const void *pointer)
{
    return true;
}

bool ValidateIndexub(Context *context, GLubyte c)
{
    return true;
}

bool ValidateIndexubv(Context *context, const GLubyte *c)
{
    return true;
}

bool ValidateInterleavedArrays(Context *context, GLenum format, GLsizei stride, const void *pointer)
{
    return true;
}

bool ValidatePopClientAttrib(Context *context)
{
    return true;
}

bool ValidatePrioritizeTextures(Context *context,
                                GLsizei n,
                                const GLuint *textures,
                                const GLfloat *priorities)
{
    return true;
}

bool ValidatePushClientAttrib(Context *context, GLbitfield mask)
{
    return true;
}

bool ValidateTexSubImage1D(Context *context,
                           GLenum target,
                           GLint level,
                           GLint xoffset,
                           GLsizei width,
                           GLenum format,
                           GLenum type,
                           const void *pixels)
{
    return true;
}

}  // namespace gl