xref: /aosp_15_r20/external/angle/src/libANGLE/Context_gles_3_2_autogen.h (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1 // GENERATED FILE - DO NOT EDIT.
2 // Generated by generate_entry_points.py using data from gl.xml.
3 //
4 // Copyright 2020 The ANGLE Project Authors. All rights reserved.
5 // Use of this source code is governed by a BSD-style license that can be
6 // found in the LICENSE file.
7 //
8 // Context_gles_3_2_autogen.h: Creates a macro for interfaces in Context.
9 
10 #ifndef ANGLE_CONTEXT_GLES_3_2_AUTOGEN_H_
11 #define ANGLE_CONTEXT_GLES_3_2_AUTOGEN_H_
12 
13 #define ANGLE_GLES_3_2_CONTEXT_API                                                                 \
14     void blendBarrier();                                                                           \
15     void copyImageSubData(GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX,            \
16                           GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget,                \
17                           GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth,    \
18                           GLsizei srcHeight, GLsizei srcDepth);                                    \
19     void debugMessageCallback(GLDEBUGPROC callback, const void *userParam);                        \
20     void debugMessageControl(GLenum source, GLenum type, GLenum severity, GLsizei count,           \
21                              const GLuint *ids, GLboolean enabled);                                \
22     void debugMessageInsert(GLenum source, GLenum type, GLuint id, GLenum severity,                \
23                             GLsizei length, const GLchar *buf);                                    \
24     void drawElementsBaseVertex(PrimitiveMode modePacked, GLsizei count,                           \
25                                 DrawElementsType typePacked, const void *indices,                  \
26                                 GLint basevertex);                                                 \
27     void drawElementsInstancedBaseVertex(PrimitiveMode modePacked, GLsizei count,                  \
28                                          DrawElementsType typePacked, const void *indices,         \
29                                          GLsizei instancecount, GLint basevertex);                 \
30     void drawRangeElementsBaseVertex(PrimitiveMode modePacked, GLuint start, GLuint end,           \
31                                      GLsizei count, DrawElementsType typePacked,                   \
32                                      const void *indices, GLint basevertex);                       \
33     void framebufferTexture(GLenum target, GLenum attachment, TextureID texturePacked,             \
34                             GLint level);                                                          \
35     GLuint getDebugMessageLog(GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types,       \
36                               GLuint *ids, GLenum *severities, GLsizei *lengths,                   \
37                               GLchar *messageLog);                                                 \
38     GLenum getGraphicsResetStatus();                                                               \
39     void getObjectLabel(GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length,          \
40                         GLchar *label);                                                            \
41     void getObjectPtrLabel(const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);      \
42     void getPointerv(GLenum pname, void **params);                                                 \
43     void getSamplerParameterIiv(SamplerID samplerPacked, GLenum pname, GLint *params);             \
44     void getSamplerParameterIuiv(SamplerID samplerPacked, GLenum pname, GLuint *params);           \
45     void getTexParameterIiv(TextureType targetPacked, GLenum pname, GLint *params);                \
46     void getTexParameterIuiv(TextureType targetPacked, GLenum pname, GLuint *params);              \
47     void getnUniformfv(ShaderProgramID programPacked, UniformLocation locationPacked,              \
48                        GLsizei bufSize, GLfloat *params);                                          \
49     void getnUniformiv(ShaderProgramID programPacked, UniformLocation locationPacked,              \
50                        GLsizei bufSize, GLint *params);                                            \
51     void getnUniformuiv(ShaderProgramID programPacked, UniformLocation locationPacked,             \
52                         GLsizei bufSize, GLuint *params);                                          \
53     void objectLabel(GLenum identifier, GLuint name, GLsizei length, const GLchar *label);         \
54     void objectPtrLabel(const void *ptr, GLsizei length, const GLchar *label);                     \
55     void popDebugGroup();                                                                          \
56     void pushDebugGroup(GLenum source, GLuint id, GLsizei length, const GLchar *message);          \
57     void readnPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type,  \
58                      GLsizei bufSize, void *data);                                                 \
59     void samplerParameterIiv(SamplerID samplerPacked, GLenum pname, const GLint *param);           \
60     void samplerParameterIuiv(SamplerID samplerPacked, GLenum pname, const GLuint *param);         \
61     void texBuffer(TextureType targetPacked, GLenum internalformat, BufferID bufferPacked);        \
62     void texBufferRange(TextureType targetPacked, GLenum internalformat, BufferID bufferPacked,    \
63                         GLintptr offset, GLsizeiptr size);                                         \
64     void texParameterIiv(TextureType targetPacked, GLenum pname, const GLint *params);             \
65     void texParameterIuiv(TextureType targetPacked, GLenum pname, const GLuint *params);           \
66     void texStorage3DMultisample(TextureType targetPacked, GLsizei samples, GLenum internalformat, \
67                                  GLsizei width, GLsizei height, GLsizei depth,                     \
68                                  GLboolean fixedsamplelocations);
69 
70 #endif  // ANGLE_CONTEXT_API_3_2_AUTOGEN_H_
71