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 // entry_points_gl_4_5_autogen.h: 9 // Defines the GL 4.5 entry points. 10 11 #ifndef LIBGL_ENTRY_POINTS_GL_4_5_AUTOGEN_H_ 12 #define LIBGL_ENTRY_POINTS_GL_4_5_AUTOGEN_H_ 13 14 #include <export.h> 15 #include "angle_gl.h" 16 17 namespace gl 18 { 19 ANGLE_EXPORT void GL_APIENTRY BindTextureUnit(GLuint unit, GLuint texture); 20 ANGLE_EXPORT void GL_APIENTRY BlitNamedFramebuffer(GLuint readFramebuffer, 21 GLuint drawFramebuffer, 22 GLint srcX0, 23 GLint srcY0, 24 GLint srcX1, 25 GLint srcY1, 26 GLint dstX0, 27 GLint dstY0, 28 GLint dstX1, 29 GLint dstY1, 30 GLbitfield mask, 31 GLenum filter); 32 ANGLE_EXPORT GLenum GL_APIENTRY CheckNamedFramebufferStatus(GLuint framebuffer, GLenum target); 33 ANGLE_EXPORT void GL_APIENTRY ClearNamedBufferData(GLuint buffer, 34 GLenum internalformat, 35 GLenum format, 36 GLenum type, 37 const void *data); 38 ANGLE_EXPORT void GL_APIENTRY ClearNamedBufferSubData(GLuint buffer, 39 GLenum internalformat, 40 GLintptr offset, 41 GLsizeiptr size, 42 GLenum format, 43 GLenum type, 44 const void *data); 45 ANGLE_EXPORT void GL_APIENTRY ClearNamedFramebufferfi(GLuint framebuffer, 46 GLenum buffer, 47 GLint drawbuffer, 48 GLfloat depth, 49 GLint stencil); 50 ANGLE_EXPORT void GL_APIENTRY ClearNamedFramebufferfv(GLuint framebuffer, 51 GLenum buffer, 52 GLint drawbuffer, 53 const GLfloat *value); 54 ANGLE_EXPORT void GL_APIENTRY ClearNamedFramebufferiv(GLuint framebuffer, 55 GLenum buffer, 56 GLint drawbuffer, 57 const GLint *value); 58 ANGLE_EXPORT void GL_APIENTRY ClearNamedFramebufferuiv(GLuint framebuffer, 59 GLenum buffer, 60 GLint drawbuffer, 61 const GLuint *value); 62 ANGLE_EXPORT void GL_APIENTRY ClipControl(GLenum origin, GLenum depth); 63 ANGLE_EXPORT void GL_APIENTRY CompressedTextureSubImage1D(GLuint texture, 64 GLint level, 65 GLint xoffset, 66 GLsizei width, 67 GLenum format, 68 GLsizei imageSize, 69 const void *data); 70 ANGLE_EXPORT void GL_APIENTRY CompressedTextureSubImage2D(GLuint texture, 71 GLint level, 72 GLint xoffset, 73 GLint yoffset, 74 GLsizei width, 75 GLsizei height, 76 GLenum format, 77 GLsizei imageSize, 78 const void *data); 79 ANGLE_EXPORT void GL_APIENTRY CompressedTextureSubImage3D(GLuint texture, 80 GLint level, 81 GLint xoffset, 82 GLint yoffset, 83 GLint zoffset, 84 GLsizei width, 85 GLsizei height, 86 GLsizei depth, 87 GLenum format, 88 GLsizei imageSize, 89 const void *data); 90 ANGLE_EXPORT void GL_APIENTRY CopyNamedBufferSubData(GLuint readBuffer, 91 GLuint writeBuffer, 92 GLintptr readOffset, 93 GLintptr writeOffset, 94 GLsizeiptr size); 95 ANGLE_EXPORT void GL_APIENTRY 96 CopyTextureSubImage1D(GLuint texture, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); 97 ANGLE_EXPORT void GL_APIENTRY CopyTextureSubImage2D(GLuint texture, 98 GLint level, 99 GLint xoffset, 100 GLint yoffset, 101 GLint x, 102 GLint y, 103 GLsizei width, 104 GLsizei height); 105 ANGLE_EXPORT void GL_APIENTRY CopyTextureSubImage3D(GLuint texture, 106 GLint level, 107 GLint xoffset, 108 GLint yoffset, 109 GLint zoffset, 110 GLint x, 111 GLint y, 112 GLsizei width, 113 GLsizei height); 114 ANGLE_EXPORT void GL_APIENTRY CreateBuffers(GLsizei n, GLuint *buffers); 115 ANGLE_EXPORT void GL_APIENTRY CreateFramebuffers(GLsizei n, GLuint *framebuffers); 116 ANGLE_EXPORT void GL_APIENTRY CreateProgramPipelines(GLsizei n, GLuint *pipelines); 117 ANGLE_EXPORT void GL_APIENTRY CreateQueries(GLenum target, GLsizei n, GLuint *ids); 118 ANGLE_EXPORT void GL_APIENTRY CreateRenderbuffers(GLsizei n, GLuint *renderbuffers); 119 ANGLE_EXPORT void GL_APIENTRY CreateSamplers(GLsizei n, GLuint *samplers); 120 ANGLE_EXPORT void GL_APIENTRY CreateTextures(GLenum target, GLsizei n, GLuint *textures); 121 ANGLE_EXPORT void GL_APIENTRY CreateTransformFeedbacks(GLsizei n, GLuint *ids); 122 ANGLE_EXPORT void GL_APIENTRY CreateVertexArrays(GLsizei n, GLuint *arrays); 123 ANGLE_EXPORT void GL_APIENTRY DisableVertexArrayAttrib(GLuint vaobj, GLuint index); 124 ANGLE_EXPORT void GL_APIENTRY EnableVertexArrayAttrib(GLuint vaobj, GLuint index); 125 ANGLE_EXPORT void GL_APIENTRY FlushMappedNamedBufferRange(GLuint buffer, 126 GLintptr offset, 127 GLsizeiptr length); 128 ANGLE_EXPORT void GL_APIENTRY GenerateTextureMipmap(GLuint texture); 129 ANGLE_EXPORT void GL_APIENTRY GetCompressedTextureImage(GLuint texture, 130 GLint level, 131 GLsizei bufSize, 132 void *pixels); 133 ANGLE_EXPORT void GL_APIENTRY GetCompressedTextureSubImage(GLuint texture, 134 GLint level, 135 GLint xoffset, 136 GLint yoffset, 137 GLint zoffset, 138 GLsizei width, 139 GLsizei height, 140 GLsizei depth, 141 GLsizei bufSize, 142 void *pixels); 143 ANGLE_EXPORT GLenum GL_APIENTRY GetGraphicsResetStatus(); 144 ANGLE_EXPORT void GL_APIENTRY GetNamedBufferParameteri64v(GLuint buffer, 145 GLenum pname, 146 GLint64 *params); 147 ANGLE_EXPORT void GL_APIENTRY GetNamedBufferParameteriv(GLuint buffer, GLenum pname, GLint *params); 148 ANGLE_EXPORT void GL_APIENTRY GetNamedBufferPointerv(GLuint buffer, GLenum pname, void **params); 149 ANGLE_EXPORT void GL_APIENTRY GetNamedBufferSubData(GLuint buffer, 150 GLintptr offset, 151 GLsizeiptr size, 152 void *data); 153 ANGLE_EXPORT void GL_APIENTRY GetNamedFramebufferAttachmentParameteriv(GLuint framebuffer, 154 GLenum attachment, 155 GLenum pname, 156 GLint *params); 157 ANGLE_EXPORT void GL_APIENTRY GetNamedFramebufferParameteriv(GLuint framebuffer, 158 GLenum pname, 159 GLint *param); 160 ANGLE_EXPORT void GL_APIENTRY GetNamedRenderbufferParameteriv(GLuint renderbuffer, 161 GLenum pname, 162 GLint *params); 163 ANGLE_EXPORT void GL_APIENTRY GetQueryBufferObjecti64v(GLuint id, 164 GLuint buffer, 165 GLenum pname, 166 GLintptr offset); 167 ANGLE_EXPORT void GL_APIENTRY GetQueryBufferObjectiv(GLuint id, 168 GLuint buffer, 169 GLenum pname, 170 GLintptr offset); 171 ANGLE_EXPORT void GL_APIENTRY GetQueryBufferObjectui64v(GLuint id, 172 GLuint buffer, 173 GLenum pname, 174 GLintptr offset); 175 ANGLE_EXPORT void GL_APIENTRY GetQueryBufferObjectuiv(GLuint id, 176 GLuint buffer, 177 GLenum pname, 178 GLintptr offset); 179 ANGLE_EXPORT void GL_APIENTRY GetTextureImage(GLuint texture, 180 GLint level, 181 GLenum format, 182 GLenum type, 183 GLsizei bufSize, 184 void *pixels); 185 ANGLE_EXPORT void GL_APIENTRY GetTextureLevelParameterfv(GLuint texture, 186 GLint level, 187 GLenum pname, 188 GLfloat *params); 189 ANGLE_EXPORT void GL_APIENTRY GetTextureLevelParameteriv(GLuint texture, 190 GLint level, 191 GLenum pname, 192 GLint *params); 193 ANGLE_EXPORT void GL_APIENTRY GetTextureParameterIiv(GLuint texture, GLenum pname, GLint *params); 194 ANGLE_EXPORT void GL_APIENTRY GetTextureParameterIuiv(GLuint texture, GLenum pname, GLuint *params); 195 ANGLE_EXPORT void GL_APIENTRY GetTextureParameterfv(GLuint texture, GLenum pname, GLfloat *params); 196 ANGLE_EXPORT void GL_APIENTRY GetTextureParameteriv(GLuint texture, GLenum pname, GLint *params); 197 ANGLE_EXPORT void GL_APIENTRY GetTextureSubImage(GLuint texture, 198 GLint level, 199 GLint xoffset, 200 GLint yoffset, 201 GLint zoffset, 202 GLsizei width, 203 GLsizei height, 204 GLsizei depth, 205 GLenum format, 206 GLenum type, 207 GLsizei bufSize, 208 void *pixels); 209 ANGLE_EXPORT void GL_APIENTRY GetTransformFeedbacki64_v(GLuint xfb, 210 GLenum pname, 211 GLuint index, 212 GLint64 *param); 213 ANGLE_EXPORT void GL_APIENTRY GetTransformFeedbacki_v(GLuint xfb, 214 GLenum pname, 215 GLuint index, 216 GLint *param); 217 ANGLE_EXPORT void GL_APIENTRY GetTransformFeedbackiv(GLuint xfb, GLenum pname, GLint *param); 218 ANGLE_EXPORT void GL_APIENTRY GetVertexArrayIndexed64iv(GLuint vaobj, 219 GLuint index, 220 GLenum pname, 221 GLint64 *param); 222 ANGLE_EXPORT void GL_APIENTRY GetVertexArrayIndexediv(GLuint vaobj, 223 GLuint index, 224 GLenum pname, 225 GLint *param); 226 ANGLE_EXPORT void GL_APIENTRY GetVertexArrayiv(GLuint vaobj, GLenum pname, GLint *param); 227 ANGLE_EXPORT void GL_APIENTRY 228 GetnColorTable(GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table); 229 ANGLE_EXPORT void GL_APIENTRY GetnCompressedTexImage(GLenum target, 230 GLint lod, 231 GLsizei bufSize, 232 void *pixels); 233 ANGLE_EXPORT void GL_APIENTRY 234 GetnConvolutionFilter(GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image); 235 ANGLE_EXPORT void GL_APIENTRY GetnHistogram(GLenum target, 236 GLboolean reset, 237 GLenum format, 238 GLenum type, 239 GLsizei bufSize, 240 void *values); 241 ANGLE_EXPORT void GL_APIENTRY GetnMapdv(GLenum target, GLenum query, GLsizei bufSize, GLdouble *v); 242 ANGLE_EXPORT void GL_APIENTRY GetnMapfv(GLenum target, GLenum query, GLsizei bufSize, GLfloat *v); 243 ANGLE_EXPORT void GL_APIENTRY GetnMapiv(GLenum target, GLenum query, GLsizei bufSize, GLint *v); 244 ANGLE_EXPORT void GL_APIENTRY GetnMinmax(GLenum target, 245 GLboolean reset, 246 GLenum format, 247 GLenum type, 248 GLsizei bufSize, 249 void *values); 250 ANGLE_EXPORT void GL_APIENTRY GetnPixelMapfv(GLenum map, GLsizei bufSize, GLfloat *values); 251 ANGLE_EXPORT void GL_APIENTRY GetnPixelMapuiv(GLenum map, GLsizei bufSize, GLuint *values); 252 ANGLE_EXPORT void GL_APIENTRY GetnPixelMapusv(GLenum map, GLsizei bufSize, GLushort *values); 253 ANGLE_EXPORT void GL_APIENTRY GetnPolygonStipple(GLsizei bufSize, GLubyte *pattern); 254 ANGLE_EXPORT void GL_APIENTRY GetnSeparableFilter(GLenum target, 255 GLenum format, 256 GLenum type, 257 GLsizei rowBufSize, 258 void *row, 259 GLsizei columnBufSize, 260 void *column, 261 void *span); 262 ANGLE_EXPORT void GL_APIENTRY 263 GetnTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels); 264 ANGLE_EXPORT void GL_APIENTRY GetnUniformdv(GLuint program, 265 GLint location, 266 GLsizei bufSize, 267 GLdouble *params); 268 ANGLE_EXPORT void GL_APIENTRY GetnUniformfv(GLuint program, 269 GLint location, 270 GLsizei bufSize, 271 GLfloat *params); 272 ANGLE_EXPORT void GL_APIENTRY GetnUniformiv(GLuint program, 273 GLint location, 274 GLsizei bufSize, 275 GLint *params); 276 ANGLE_EXPORT void GL_APIENTRY GetnUniformuiv(GLuint program, 277 GLint location, 278 GLsizei bufSize, 279 GLuint *params); 280 ANGLE_EXPORT void GL_APIENTRY InvalidateNamedFramebufferData(GLuint framebuffer, 281 GLsizei numAttachments, 282 const GLenum *attachments); 283 ANGLE_EXPORT void GL_APIENTRY InvalidateNamedFramebufferSubData(GLuint framebuffer, 284 GLsizei numAttachments, 285 const GLenum *attachments, 286 GLint x, 287 GLint y, 288 GLsizei width, 289 GLsizei height); 290 ANGLE_EXPORT void *GL_APIENTRY MapNamedBuffer(GLuint buffer, GLenum access); 291 ANGLE_EXPORT void *GL_APIENTRY MapNamedBufferRange(GLuint buffer, 292 GLintptr offset, 293 GLsizeiptr length, 294 GLbitfield access); 295 ANGLE_EXPORT void GL_APIENTRY MemoryBarrierByRegion(GLbitfield barriers); 296 ANGLE_EXPORT void GL_APIENTRY NamedBufferData(GLuint buffer, 297 GLsizeiptr size, 298 const void *data, 299 GLenum usage); 300 ANGLE_EXPORT void GL_APIENTRY NamedBufferStorage(GLuint buffer, 301 GLsizeiptr size, 302 const void *data, 303 GLbitfield flags); 304 ANGLE_EXPORT void GL_APIENTRY NamedBufferSubData(GLuint buffer, 305 GLintptr offset, 306 GLsizeiptr size, 307 const void *data); 308 ANGLE_EXPORT void GL_APIENTRY NamedFramebufferDrawBuffer(GLuint framebuffer, GLenum buf); 309 ANGLE_EXPORT void GL_APIENTRY NamedFramebufferDrawBuffers(GLuint framebuffer, 310 GLsizei n, 311 const GLenum *bufs); 312 ANGLE_EXPORT void GL_APIENTRY NamedFramebufferParameteri(GLuint framebuffer, 313 GLenum pname, 314 GLint param); 315 ANGLE_EXPORT void GL_APIENTRY NamedFramebufferReadBuffer(GLuint framebuffer, GLenum src); 316 ANGLE_EXPORT void GL_APIENTRY NamedFramebufferRenderbuffer(GLuint framebuffer, 317 GLenum attachment, 318 GLenum renderbuffertarget, 319 GLuint renderbuffer); 320 ANGLE_EXPORT void GL_APIENTRY NamedFramebufferTexture(GLuint framebuffer, 321 GLenum attachment, 322 GLuint texture, 323 GLint level); 324 ANGLE_EXPORT void GL_APIENTRY NamedFramebufferTextureLayer(GLuint framebuffer, 325 GLenum attachment, 326 GLuint texture, 327 GLint level, 328 GLint layer); 329 ANGLE_EXPORT void GL_APIENTRY NamedRenderbufferStorage(GLuint renderbuffer, 330 GLenum internalformat, 331 GLsizei width, 332 GLsizei height); 333 ANGLE_EXPORT void GL_APIENTRY NamedRenderbufferStorageMultisample(GLuint renderbuffer, 334 GLsizei samples, 335 GLenum internalformat, 336 GLsizei width, 337 GLsizei height); 338 ANGLE_EXPORT void GL_APIENTRY ReadnPixels(GLint x, 339 GLint y, 340 GLsizei width, 341 GLsizei height, 342 GLenum format, 343 GLenum type, 344 GLsizei bufSize, 345 void *data); 346 ANGLE_EXPORT void GL_APIENTRY TextureBarrier(); 347 ANGLE_EXPORT void GL_APIENTRY TextureBuffer(GLuint texture, GLenum internalformat, GLuint buffer); 348 ANGLE_EXPORT void GL_APIENTRY TextureBufferRange(GLuint texture, 349 GLenum internalformat, 350 GLuint buffer, 351 GLintptr offset, 352 GLsizeiptr size); 353 ANGLE_EXPORT void GL_APIENTRY TextureParameterIiv(GLuint texture, 354 GLenum pname, 355 const GLint *params); 356 ANGLE_EXPORT void GL_APIENTRY TextureParameterIuiv(GLuint texture, 357 GLenum pname, 358 const GLuint *params); 359 ANGLE_EXPORT void GL_APIENTRY TextureParameterf(GLuint texture, GLenum pname, GLfloat param); 360 ANGLE_EXPORT void GL_APIENTRY TextureParameterfv(GLuint texture, 361 GLenum pname, 362 const GLfloat *param); 363 ANGLE_EXPORT void GL_APIENTRY TextureParameteri(GLuint texture, GLenum pname, GLint param); 364 ANGLE_EXPORT void GL_APIENTRY TextureParameteriv(GLuint texture, GLenum pname, const GLint *param); 365 ANGLE_EXPORT void GL_APIENTRY TextureStorage1D(GLuint texture, 366 GLsizei levels, 367 GLenum internalformat, 368 GLsizei width); 369 ANGLE_EXPORT void GL_APIENTRY TextureStorage2D(GLuint texture, 370 GLsizei levels, 371 GLenum internalformat, 372 GLsizei width, 373 GLsizei height); 374 ANGLE_EXPORT void GL_APIENTRY TextureStorage2DMultisample(GLuint texture, 375 GLsizei samples, 376 GLenum internalformat, 377 GLsizei width, 378 GLsizei height, 379 GLboolean fixedsamplelocations); 380 ANGLE_EXPORT void GL_APIENTRY TextureStorage3D(GLuint texture, 381 GLsizei levels, 382 GLenum internalformat, 383 GLsizei width, 384 GLsizei height, 385 GLsizei depth); 386 ANGLE_EXPORT void GL_APIENTRY TextureStorage3DMultisample(GLuint texture, 387 GLsizei samples, 388 GLenum internalformat, 389 GLsizei width, 390 GLsizei height, 391 GLsizei depth, 392 GLboolean fixedsamplelocations); 393 ANGLE_EXPORT void GL_APIENTRY TextureSubImage1D(GLuint texture, 394 GLint level, 395 GLint xoffset, 396 GLsizei width, 397 GLenum format, 398 GLenum type, 399 const void *pixels); 400 ANGLE_EXPORT void GL_APIENTRY TextureSubImage2D(GLuint texture, 401 GLint level, 402 GLint xoffset, 403 GLint yoffset, 404 GLsizei width, 405 GLsizei height, 406 GLenum format, 407 GLenum type, 408 const void *pixels); 409 ANGLE_EXPORT void GL_APIENTRY TextureSubImage3D(GLuint texture, 410 GLint level, 411 GLint xoffset, 412 GLint yoffset, 413 GLint zoffset, 414 GLsizei width, 415 GLsizei height, 416 GLsizei depth, 417 GLenum format, 418 GLenum type, 419 const void *pixels); 420 ANGLE_EXPORT void GL_APIENTRY TransformFeedbackBufferBase(GLuint xfb, GLuint index, GLuint buffer); 421 ANGLE_EXPORT void GL_APIENTRY TransformFeedbackBufferRange(GLuint xfb, 422 GLuint index, 423 GLuint buffer, 424 GLintptr offset, 425 GLsizeiptr size); 426 ANGLE_EXPORT GLboolean GL_APIENTRY UnmapNamedBuffer(GLuint buffer); 427 ANGLE_EXPORT void GL_APIENTRY VertexArrayAttribBinding(GLuint vaobj, 428 GLuint attribindex, 429 GLuint bindingindex); 430 ANGLE_EXPORT void GL_APIENTRY VertexArrayAttribFormat(GLuint vaobj, 431 GLuint attribindex, 432 GLint size, 433 GLenum type, 434 GLboolean normalized, 435 GLuint relativeoffset); 436 ANGLE_EXPORT void GL_APIENTRY VertexArrayAttribIFormat(GLuint vaobj, 437 GLuint attribindex, 438 GLint size, 439 GLenum type, 440 GLuint relativeoffset); 441 ANGLE_EXPORT void GL_APIENTRY VertexArrayAttribLFormat(GLuint vaobj, 442 GLuint attribindex, 443 GLint size, 444 GLenum type, 445 GLuint relativeoffset); 446 ANGLE_EXPORT void GL_APIENTRY VertexArrayBindingDivisor(GLuint vaobj, 447 GLuint bindingindex, 448 GLuint divisor); 449 ANGLE_EXPORT void GL_APIENTRY VertexArrayElementBuffer(GLuint vaobj, GLuint buffer); 450 ANGLE_EXPORT void GL_APIENTRY VertexArrayVertexBuffer(GLuint vaobj, 451 GLuint bindingindex, 452 GLuint buffer, 453 GLintptr offset, 454 GLsizei stride); 455 ANGLE_EXPORT void GL_APIENTRY VertexArrayVertexBuffers(GLuint vaobj, 456 GLuint first, 457 GLsizei count, 458 const GLuint *buffers, 459 const GLintptr *offsets, 460 const GLsizei *strides); 461 } // namespace gl 462 463 #endif // LIBGL_ENTRY_POINTS_GL_4_5_AUTOGEN_H_ 464