Brandon Jones | 41e59f5 | 2018-05-02 12:45:28 -0700 | [diff] [blame] | 1 | // GENERATED FILE - DO NOT EDIT. |
| 2 | // Generated by generate_entry_points.py using data from gl.xml and gl_angle_ext.xml. |
| 3 | // |
| 4 | // Copyright 2018 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 | // libGLESv2.cpp: Implements the exported OpenGL ES functions. |
| 9 | |
| 10 | #include "angle_gl.h" |
| 11 | |
| 12 | #include "libGLESv2/entry_points_gles_1_0_autogen.h" |
| 13 | #include "libGLESv2/entry_points_gles_2_0_autogen.h" |
| 14 | #include "libGLESv2/entry_points_gles_3_0_autogen.h" |
| 15 | #include "libGLESv2/entry_points_gles_3_1_autogen.h" |
| 16 | #include "libGLESv2/entry_points_gles_ext_autogen.h" |
| 17 | |
| 18 | #include "common/event_tracer.h" |
| 19 | |
| 20 | extern "C" { |
| 21 | |
| 22 | // OpenGL ES 2.0 |
| 23 | void GL_APIENTRY glActiveTexture(GLenum texture) |
| 24 | { |
| 25 | return gl::ActiveTexture(texture); |
| 26 | } |
| 27 | |
| 28 | void GL_APIENTRY glAttachShader(GLuint program, GLuint shader) |
| 29 | { |
| 30 | return gl::AttachShader(program, shader); |
| 31 | } |
| 32 | |
| 33 | void GL_APIENTRY glBindAttribLocation(GLuint program, GLuint index, const GLchar *name) |
| 34 | { |
| 35 | return gl::BindAttribLocation(program, index, name); |
| 36 | } |
| 37 | |
| 38 | void GL_APIENTRY glBindBuffer(GLenum target, GLuint buffer) |
| 39 | { |
| 40 | return gl::BindBuffer(target, buffer); |
| 41 | } |
| 42 | |
| 43 | void GL_APIENTRY glBindFramebuffer(GLenum target, GLuint framebuffer) |
| 44 | { |
| 45 | return gl::BindFramebuffer(target, framebuffer); |
| 46 | } |
| 47 | |
| 48 | void GL_APIENTRY glBindRenderbuffer(GLenum target, GLuint renderbuffer) |
| 49 | { |
| 50 | return gl::BindRenderbuffer(target, renderbuffer); |
| 51 | } |
| 52 | |
| 53 | void GL_APIENTRY glBindTexture(GLenum target, GLuint texture) |
| 54 | { |
| 55 | return gl::BindTexture(target, texture); |
| 56 | } |
| 57 | |
| 58 | void GL_APIENTRY glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) |
| 59 | { |
| 60 | return gl::BlendColor(red, green, blue, alpha); |
| 61 | } |
| 62 | |
| 63 | void GL_APIENTRY glBlendEquation(GLenum mode) |
| 64 | { |
| 65 | return gl::BlendEquation(mode); |
| 66 | } |
| 67 | |
| 68 | void GL_APIENTRY glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha) |
| 69 | { |
| 70 | return gl::BlendEquationSeparate(modeRGB, modeAlpha); |
| 71 | } |
| 72 | |
| 73 | void GL_APIENTRY glBlendFunc(GLenum sfactor, GLenum dfactor) |
| 74 | { |
| 75 | return gl::BlendFunc(sfactor, dfactor); |
| 76 | } |
| 77 | |
| 78 | void GL_APIENTRY glBlendFuncSeparate(GLenum sfactorRGB, |
| 79 | GLenum dfactorRGB, |
| 80 | GLenum sfactorAlpha, |
| 81 | GLenum dfactorAlpha) |
| 82 | { |
| 83 | return gl::BlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); |
| 84 | } |
| 85 | |
| 86 | void GL_APIENTRY glBufferData(GLenum target, GLsizeiptr size, const void *data, GLenum usage) |
| 87 | { |
| 88 | return gl::BufferData(target, size, data, usage); |
| 89 | } |
| 90 | |
| 91 | void GL_APIENTRY glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const void *data) |
| 92 | { |
| 93 | return gl::BufferSubData(target, offset, size, data); |
| 94 | } |
| 95 | |
| 96 | GLenum GL_APIENTRY glCheckFramebufferStatus(GLenum target) |
| 97 | { |
| 98 | return gl::CheckFramebufferStatus(target); |
| 99 | } |
| 100 | |
| 101 | void GL_APIENTRY glClear(GLbitfield mask) |
| 102 | { |
| 103 | return gl::Clear(mask); |
| 104 | } |
| 105 | |
| 106 | void GL_APIENTRY glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) |
| 107 | { |
| 108 | return gl::ClearColor(red, green, blue, alpha); |
| 109 | } |
| 110 | |
| 111 | void GL_APIENTRY glClearDepthf(GLfloat d) |
| 112 | { |
| 113 | return gl::ClearDepthf(d); |
| 114 | } |
| 115 | |
| 116 | void GL_APIENTRY glClearStencil(GLint s) |
| 117 | { |
| 118 | return gl::ClearStencil(s); |
| 119 | } |
| 120 | |
| 121 | void GL_APIENTRY glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) |
| 122 | { |
| 123 | return gl::ColorMask(red, green, blue, alpha); |
| 124 | } |
| 125 | |
| 126 | void GL_APIENTRY glCompileShader(GLuint shader) |
| 127 | { |
| 128 | return gl::CompileShader(shader); |
| 129 | } |
| 130 | |
| 131 | void GL_APIENTRY glCompressedTexImage2D(GLenum target, |
| 132 | GLint level, |
| 133 | GLenum internalformat, |
| 134 | GLsizei width, |
| 135 | GLsizei height, |
| 136 | GLint border, |
| 137 | GLsizei imageSize, |
| 138 | const void *data) |
| 139 | { |
| 140 | return gl::CompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, |
| 141 | data); |
| 142 | } |
| 143 | |
| 144 | void GL_APIENTRY glCompressedTexSubImage2D(GLenum target, |
| 145 | GLint level, |
| 146 | GLint xoffset, |
| 147 | GLint yoffset, |
| 148 | GLsizei width, |
| 149 | GLsizei height, |
| 150 | GLenum format, |
| 151 | GLsizei imageSize, |
| 152 | const void *data) |
| 153 | { |
| 154 | return gl::CompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, |
| 155 | imageSize, data); |
| 156 | } |
| 157 | |
| 158 | void GL_APIENTRY glCopyTexImage2D(GLenum target, |
| 159 | GLint level, |
| 160 | GLenum internalformat, |
| 161 | GLint x, |
| 162 | GLint y, |
| 163 | GLsizei width, |
| 164 | GLsizei height, |
| 165 | GLint border) |
| 166 | { |
| 167 | return gl::CopyTexImage2D(target, level, internalformat, x, y, width, height, border); |
| 168 | } |
| 169 | |
| 170 | void GL_APIENTRY glCopyTexSubImage2D(GLenum target, |
| 171 | GLint level, |
| 172 | GLint xoffset, |
| 173 | GLint yoffset, |
| 174 | GLint x, |
| 175 | GLint y, |
| 176 | GLsizei width, |
| 177 | GLsizei height) |
| 178 | { |
| 179 | return gl::CopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height); |
| 180 | } |
| 181 | |
| 182 | GLuint GL_APIENTRY glCreateProgram() |
| 183 | { |
| 184 | return gl::CreateProgram(); |
| 185 | } |
| 186 | |
| 187 | GLuint GL_APIENTRY glCreateShader(GLenum type) |
| 188 | { |
| 189 | return gl::CreateShader(type); |
| 190 | } |
| 191 | |
| 192 | void GL_APIENTRY glCullFace(GLenum mode) |
| 193 | { |
| 194 | return gl::CullFace(mode); |
| 195 | } |
| 196 | |
| 197 | void GL_APIENTRY glDeleteBuffers(GLsizei n, const GLuint *buffers) |
| 198 | { |
| 199 | return gl::DeleteBuffers(n, buffers); |
| 200 | } |
| 201 | |
| 202 | void GL_APIENTRY glDeleteFramebuffers(GLsizei n, const GLuint *framebuffers) |
| 203 | { |
| 204 | return gl::DeleteFramebuffers(n, framebuffers); |
| 205 | } |
| 206 | |
| 207 | void GL_APIENTRY glDeleteProgram(GLuint program) |
| 208 | { |
| 209 | return gl::DeleteProgram(program); |
| 210 | } |
| 211 | |
| 212 | void GL_APIENTRY glDeleteRenderbuffers(GLsizei n, const GLuint *renderbuffers) |
| 213 | { |
| 214 | return gl::DeleteRenderbuffers(n, renderbuffers); |
| 215 | } |
| 216 | |
| 217 | void GL_APIENTRY glDeleteShader(GLuint shader) |
| 218 | { |
| 219 | return gl::DeleteShader(shader); |
| 220 | } |
| 221 | |
| 222 | void GL_APIENTRY glDeleteTextures(GLsizei n, const GLuint *textures) |
| 223 | { |
| 224 | return gl::DeleteTextures(n, textures); |
| 225 | } |
| 226 | |
| 227 | void GL_APIENTRY glDepthFunc(GLenum func) |
| 228 | { |
| 229 | return gl::DepthFunc(func); |
| 230 | } |
| 231 | |
| 232 | void GL_APIENTRY glDepthMask(GLboolean flag) |
| 233 | { |
| 234 | return gl::DepthMask(flag); |
| 235 | } |
| 236 | |
| 237 | void GL_APIENTRY glDepthRangef(GLfloat n, GLfloat f) |
| 238 | { |
| 239 | return gl::DepthRangef(n, f); |
| 240 | } |
| 241 | |
| 242 | void GL_APIENTRY glDetachShader(GLuint program, GLuint shader) |
| 243 | { |
| 244 | return gl::DetachShader(program, shader); |
| 245 | } |
| 246 | |
| 247 | void GL_APIENTRY glDisable(GLenum cap) |
| 248 | { |
| 249 | return gl::Disable(cap); |
| 250 | } |
| 251 | |
| 252 | void GL_APIENTRY glDisableVertexAttribArray(GLuint index) |
| 253 | { |
| 254 | return gl::DisableVertexAttribArray(index); |
| 255 | } |
| 256 | |
| 257 | void GL_APIENTRY glDrawArrays(GLenum mode, GLint first, GLsizei count) |
| 258 | { |
| 259 | return gl::DrawArrays(mode, first, count); |
| 260 | } |
| 261 | |
| 262 | void GL_APIENTRY glDrawElements(GLenum mode, GLsizei count, GLenum type, const void *indices) |
| 263 | { |
| 264 | return gl::DrawElements(mode, count, type, indices); |
| 265 | } |
| 266 | |
| 267 | void GL_APIENTRY glEnable(GLenum cap) |
| 268 | { |
| 269 | return gl::Enable(cap); |
| 270 | } |
| 271 | |
| 272 | void GL_APIENTRY glEnableVertexAttribArray(GLuint index) |
| 273 | { |
| 274 | return gl::EnableVertexAttribArray(index); |
| 275 | } |
| 276 | |
| 277 | void GL_APIENTRY glFinish() |
| 278 | { |
| 279 | return gl::Finish(); |
| 280 | } |
| 281 | |
| 282 | void GL_APIENTRY glFlush() |
| 283 | { |
| 284 | return gl::Flush(); |
| 285 | } |
| 286 | |
| 287 | void GL_APIENTRY glFramebufferRenderbuffer(GLenum target, |
| 288 | GLenum attachment, |
| 289 | GLenum renderbuffertarget, |
| 290 | GLuint renderbuffer) |
| 291 | { |
| 292 | return gl::FramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer); |
| 293 | } |
| 294 | |
| 295 | void GL_APIENTRY glFramebufferTexture2D(GLenum target, |
| 296 | GLenum attachment, |
| 297 | GLenum textarget, |
| 298 | GLuint texture, |
| 299 | GLint level) |
| 300 | { |
| 301 | return gl::FramebufferTexture2D(target, attachment, textarget, texture, level); |
| 302 | } |
| 303 | |
| 304 | void GL_APIENTRY glFrontFace(GLenum mode) |
| 305 | { |
| 306 | return gl::FrontFace(mode); |
| 307 | } |
| 308 | |
| 309 | void GL_APIENTRY glGenBuffers(GLsizei n, GLuint *buffers) |
| 310 | { |
| 311 | return gl::GenBuffers(n, buffers); |
| 312 | } |
| 313 | |
| 314 | void GL_APIENTRY glGenFramebuffers(GLsizei n, GLuint *framebuffers) |
| 315 | { |
| 316 | return gl::GenFramebuffers(n, framebuffers); |
| 317 | } |
| 318 | |
| 319 | void GL_APIENTRY glGenRenderbuffers(GLsizei n, GLuint *renderbuffers) |
| 320 | { |
| 321 | return gl::GenRenderbuffers(n, renderbuffers); |
| 322 | } |
| 323 | |
| 324 | void GL_APIENTRY glGenTextures(GLsizei n, GLuint *textures) |
| 325 | { |
| 326 | return gl::GenTextures(n, textures); |
| 327 | } |
| 328 | |
| 329 | void GL_APIENTRY glGenerateMipmap(GLenum target) |
| 330 | { |
| 331 | return gl::GenerateMipmap(target); |
| 332 | } |
| 333 | |
| 334 | void GL_APIENTRY glGetActiveAttrib(GLuint program, |
| 335 | GLuint index, |
| 336 | GLsizei bufSize, |
| 337 | GLsizei *length, |
| 338 | GLint *size, |
| 339 | GLenum *type, |
| 340 | GLchar *name) |
| 341 | { |
| 342 | return gl::GetActiveAttrib(program, index, bufSize, length, size, type, name); |
| 343 | } |
| 344 | |
| 345 | void GL_APIENTRY glGetActiveUniform(GLuint program, |
| 346 | GLuint index, |
| 347 | GLsizei bufSize, |
| 348 | GLsizei *length, |
| 349 | GLint *size, |
| 350 | GLenum *type, |
| 351 | GLchar *name) |
| 352 | { |
| 353 | return gl::GetActiveUniform(program, index, bufSize, length, size, type, name); |
| 354 | } |
| 355 | |
| 356 | void GL_APIENTRY glGetAttachedShaders(GLuint program, |
| 357 | GLsizei maxCount, |
| 358 | GLsizei *count, |
| 359 | GLuint *shaders) |
| 360 | { |
| 361 | return gl::GetAttachedShaders(program, maxCount, count, shaders); |
| 362 | } |
| 363 | |
| 364 | GLint GL_APIENTRY glGetAttribLocation(GLuint program, const GLchar *name) |
| 365 | { |
| 366 | return gl::GetAttribLocation(program, name); |
| 367 | } |
| 368 | |
| 369 | void GL_APIENTRY glGetBooleanv(GLenum pname, GLboolean *data) |
| 370 | { |
| 371 | return gl::GetBooleanv(pname, data); |
| 372 | } |
| 373 | |
| 374 | void GL_APIENTRY glGetBufferParameteriv(GLenum target, GLenum pname, GLint *params) |
| 375 | { |
| 376 | return gl::GetBufferParameteriv(target, pname, params); |
| 377 | } |
| 378 | |
| 379 | GLenum GL_APIENTRY glGetError() |
| 380 | { |
| 381 | return gl::GetError(); |
| 382 | } |
| 383 | |
| 384 | void GL_APIENTRY glGetFloatv(GLenum pname, GLfloat *data) |
| 385 | { |
| 386 | return gl::GetFloatv(pname, data); |
| 387 | } |
| 388 | |
| 389 | void GL_APIENTRY glGetFramebufferAttachmentParameteriv(GLenum target, |
| 390 | GLenum attachment, |
| 391 | GLenum pname, |
| 392 | GLint *params) |
| 393 | { |
| 394 | return gl::GetFramebufferAttachmentParameteriv(target, attachment, pname, params); |
| 395 | } |
| 396 | |
| 397 | void GL_APIENTRY glGetIntegerv(GLenum pname, GLint *data) |
| 398 | { |
| 399 | return gl::GetIntegerv(pname, data); |
| 400 | } |
| 401 | |
| 402 | void GL_APIENTRY glGetProgramInfoLog(GLuint program, |
| 403 | GLsizei bufSize, |
| 404 | GLsizei *length, |
| 405 | GLchar *infoLog) |
| 406 | { |
| 407 | return gl::GetProgramInfoLog(program, bufSize, length, infoLog); |
| 408 | } |
| 409 | |
| 410 | void GL_APIENTRY glGetProgramiv(GLuint program, GLenum pname, GLint *params) |
| 411 | { |
| 412 | return gl::GetProgramiv(program, pname, params); |
| 413 | } |
| 414 | |
| 415 | void GL_APIENTRY glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint *params) |
| 416 | { |
| 417 | return gl::GetRenderbufferParameteriv(target, pname, params); |
| 418 | } |
| 419 | |
| 420 | void GL_APIENTRY glGetShaderInfoLog(GLuint shader, |
| 421 | GLsizei bufSize, |
| 422 | GLsizei *length, |
| 423 | GLchar *infoLog) |
| 424 | { |
| 425 | return gl::GetShaderInfoLog(shader, bufSize, length, infoLog); |
| 426 | } |
| 427 | |
| 428 | void GL_APIENTRY glGetShaderPrecisionFormat(GLenum shadertype, |
| 429 | GLenum precisiontype, |
| 430 | GLint *range, |
| 431 | GLint *precision) |
| 432 | { |
| 433 | return gl::GetShaderPrecisionFormat(shadertype, precisiontype, range, precision); |
| 434 | } |
| 435 | |
| 436 | void GL_APIENTRY glGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source) |
| 437 | { |
| 438 | return gl::GetShaderSource(shader, bufSize, length, source); |
| 439 | } |
| 440 | |
| 441 | void GL_APIENTRY glGetShaderiv(GLuint shader, GLenum pname, GLint *params) |
| 442 | { |
| 443 | return gl::GetShaderiv(shader, pname, params); |
| 444 | } |
| 445 | |
| 446 | const GLubyte *GL_APIENTRY glGetString(GLenum name) |
| 447 | { |
| 448 | return gl::GetString(name); |
| 449 | } |
| 450 | |
| 451 | void GL_APIENTRY glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params) |
| 452 | { |
| 453 | return gl::GetTexParameterfv(target, pname, params); |
| 454 | } |
| 455 | |
| 456 | void GL_APIENTRY glGetTexParameteriv(GLenum target, GLenum pname, GLint *params) |
| 457 | { |
| 458 | return gl::GetTexParameteriv(target, pname, params); |
| 459 | } |
| 460 | |
| 461 | GLint GL_APIENTRY glGetUniformLocation(GLuint program, const GLchar *name) |
| 462 | { |
| 463 | return gl::GetUniformLocation(program, name); |
| 464 | } |
| 465 | |
| 466 | void GL_APIENTRY glGetUniformfv(GLuint program, GLint location, GLfloat *params) |
| 467 | { |
| 468 | return gl::GetUniformfv(program, location, params); |
| 469 | } |
| 470 | |
| 471 | void GL_APIENTRY glGetUniformiv(GLuint program, GLint location, GLint *params) |
| 472 | { |
| 473 | return gl::GetUniformiv(program, location, params); |
| 474 | } |
| 475 | |
| 476 | void GL_APIENTRY glGetVertexAttribPointerv(GLuint index, GLenum pname, void **pointer) |
| 477 | { |
| 478 | return gl::GetVertexAttribPointerv(index, pname, pointer); |
| 479 | } |
| 480 | |
| 481 | void GL_APIENTRY glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat *params) |
| 482 | { |
| 483 | return gl::GetVertexAttribfv(index, pname, params); |
| 484 | } |
| 485 | |
| 486 | void GL_APIENTRY glGetVertexAttribiv(GLuint index, GLenum pname, GLint *params) |
| 487 | { |
| 488 | return gl::GetVertexAttribiv(index, pname, params); |
| 489 | } |
| 490 | |
| 491 | void GL_APIENTRY glHint(GLenum target, GLenum mode) |
| 492 | { |
| 493 | return gl::Hint(target, mode); |
| 494 | } |
| 495 | |
| 496 | GLboolean GL_APIENTRY glIsBuffer(GLuint buffer) |
| 497 | { |
| 498 | return gl::IsBuffer(buffer); |
| 499 | } |
| 500 | |
| 501 | GLboolean GL_APIENTRY glIsEnabled(GLenum cap) |
| 502 | { |
| 503 | return gl::IsEnabled(cap); |
| 504 | } |
| 505 | |
| 506 | GLboolean GL_APIENTRY glIsFramebuffer(GLuint framebuffer) |
| 507 | { |
| 508 | return gl::IsFramebuffer(framebuffer); |
| 509 | } |
| 510 | |
| 511 | GLboolean GL_APIENTRY glIsProgram(GLuint program) |
| 512 | { |
| 513 | return gl::IsProgram(program); |
| 514 | } |
| 515 | |
| 516 | GLboolean GL_APIENTRY glIsRenderbuffer(GLuint renderbuffer) |
| 517 | { |
| 518 | return gl::IsRenderbuffer(renderbuffer); |
| 519 | } |
| 520 | |
| 521 | GLboolean GL_APIENTRY glIsShader(GLuint shader) |
| 522 | { |
| 523 | return gl::IsShader(shader); |
| 524 | } |
| 525 | |
| 526 | GLboolean GL_APIENTRY glIsTexture(GLuint texture) |
| 527 | { |
| 528 | return gl::IsTexture(texture); |
| 529 | } |
| 530 | |
| 531 | void GL_APIENTRY glLineWidth(GLfloat width) |
| 532 | { |
| 533 | return gl::LineWidth(width); |
| 534 | } |
| 535 | |
| 536 | void GL_APIENTRY glLinkProgram(GLuint program) |
| 537 | { |
| 538 | return gl::LinkProgram(program); |
| 539 | } |
| 540 | |
| 541 | void GL_APIENTRY glPixelStorei(GLenum pname, GLint param) |
| 542 | { |
| 543 | return gl::PixelStorei(pname, param); |
| 544 | } |
| 545 | |
| 546 | void GL_APIENTRY glPolygonOffset(GLfloat factor, GLfloat units) |
| 547 | { |
| 548 | return gl::PolygonOffset(factor, units); |
| 549 | } |
| 550 | |
| 551 | void GL_APIENTRY glReadPixels(GLint x, |
| 552 | GLint y, |
| 553 | GLsizei width, |
| 554 | GLsizei height, |
| 555 | GLenum format, |
| 556 | GLenum type, |
| 557 | void *pixels) |
| 558 | { |
| 559 | return gl::ReadPixels(x, y, width, height, format, type, pixels); |
| 560 | } |
| 561 | |
| 562 | void GL_APIENTRY glReleaseShaderCompiler() |
| 563 | { |
| 564 | return gl::ReleaseShaderCompiler(); |
| 565 | } |
| 566 | |
| 567 | void GL_APIENTRY glRenderbufferStorage(GLenum target, |
| 568 | GLenum internalformat, |
| 569 | GLsizei width, |
| 570 | GLsizei height) |
| 571 | { |
| 572 | return gl::RenderbufferStorage(target, internalformat, width, height); |
| 573 | } |
| 574 | |
| 575 | void GL_APIENTRY glSampleCoverage(GLfloat value, GLboolean invert) |
| 576 | { |
| 577 | return gl::SampleCoverage(value, invert); |
| 578 | } |
| 579 | |
| 580 | void GL_APIENTRY glScissor(GLint x, GLint y, GLsizei width, GLsizei height) |
| 581 | { |
| 582 | return gl::Scissor(x, y, width, height); |
| 583 | } |
| 584 | |
| 585 | void GL_APIENTRY glShaderBinary(GLsizei count, |
| 586 | const GLuint *shaders, |
| 587 | GLenum binaryformat, |
| 588 | const void *binary, |
| 589 | GLsizei length) |
| 590 | { |
| 591 | return gl::ShaderBinary(count, shaders, binaryformat, binary, length); |
| 592 | } |
| 593 | |
| 594 | void GL_APIENTRY glShaderSource(GLuint shader, |
| 595 | GLsizei count, |
| 596 | const GLchar *const *string, |
| 597 | const GLint *length) |
| 598 | { |
| 599 | return gl::ShaderSource(shader, count, string, length); |
| 600 | } |
| 601 | |
| 602 | void GL_APIENTRY glStencilFunc(GLenum func, GLint ref, GLuint mask) |
| 603 | { |
| 604 | return gl::StencilFunc(func, ref, mask); |
| 605 | } |
| 606 | |
| 607 | void GL_APIENTRY glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask) |
| 608 | { |
| 609 | return gl::StencilFuncSeparate(face, func, ref, mask); |
| 610 | } |
| 611 | |
| 612 | void GL_APIENTRY glStencilMask(GLuint mask) |
| 613 | { |
| 614 | return gl::StencilMask(mask); |
| 615 | } |
| 616 | |
| 617 | void GL_APIENTRY glStencilMaskSeparate(GLenum face, GLuint mask) |
| 618 | { |
| 619 | return gl::StencilMaskSeparate(face, mask); |
| 620 | } |
| 621 | |
| 622 | void GL_APIENTRY glStencilOp(GLenum fail, GLenum zfail, GLenum zpass) |
| 623 | { |
| 624 | return gl::StencilOp(fail, zfail, zpass); |
| 625 | } |
| 626 | |
| 627 | void GL_APIENTRY glStencilOpSeparate(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass) |
| 628 | { |
| 629 | return gl::StencilOpSeparate(face, sfail, dpfail, dppass); |
| 630 | } |
| 631 | |
| 632 | void GL_APIENTRY glTexImage2D(GLenum target, |
| 633 | GLint level, |
| 634 | GLint internalformat, |
| 635 | GLsizei width, |
| 636 | GLsizei height, |
| 637 | GLint border, |
| 638 | GLenum format, |
| 639 | GLenum type, |
| 640 | const void *pixels) |
| 641 | { |
| 642 | return gl::TexImage2D(target, level, internalformat, width, height, border, format, type, |
| 643 | pixels); |
| 644 | } |
| 645 | |
| 646 | void GL_APIENTRY glTexParameterf(GLenum target, GLenum pname, GLfloat param) |
| 647 | { |
| 648 | return gl::TexParameterf(target, pname, param); |
| 649 | } |
| 650 | |
| 651 | void GL_APIENTRY glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params) |
| 652 | { |
| 653 | return gl::TexParameterfv(target, pname, params); |
| 654 | } |
| 655 | |
| 656 | void GL_APIENTRY glTexParameteri(GLenum target, GLenum pname, GLint param) |
| 657 | { |
| 658 | return gl::TexParameteri(target, pname, param); |
| 659 | } |
| 660 | |
| 661 | void GL_APIENTRY glTexParameteriv(GLenum target, GLenum pname, const GLint *params) |
| 662 | { |
| 663 | return gl::TexParameteriv(target, pname, params); |
| 664 | } |
| 665 | |
| 666 | void GL_APIENTRY glTexSubImage2D(GLenum target, |
| 667 | GLint level, |
| 668 | GLint xoffset, |
| 669 | GLint yoffset, |
| 670 | GLsizei width, |
| 671 | GLsizei height, |
| 672 | GLenum format, |
| 673 | GLenum type, |
| 674 | const void *pixels) |
| 675 | { |
| 676 | return gl::TexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels); |
| 677 | } |
| 678 | |
| 679 | void GL_APIENTRY glUniform1f(GLint location, GLfloat v0) |
| 680 | { |
| 681 | return gl::Uniform1f(location, v0); |
| 682 | } |
| 683 | |
| 684 | void GL_APIENTRY glUniform1fv(GLint location, GLsizei count, const GLfloat *value) |
| 685 | { |
| 686 | return gl::Uniform1fv(location, count, value); |
| 687 | } |
| 688 | |
| 689 | void GL_APIENTRY glUniform1i(GLint location, GLint v0) |
| 690 | { |
| 691 | return gl::Uniform1i(location, v0); |
| 692 | } |
| 693 | |
| 694 | void GL_APIENTRY glUniform1iv(GLint location, GLsizei count, const GLint *value) |
| 695 | { |
| 696 | return gl::Uniform1iv(location, count, value); |
| 697 | } |
| 698 | |
| 699 | void GL_APIENTRY glUniform2f(GLint location, GLfloat v0, GLfloat v1) |
| 700 | { |
| 701 | return gl::Uniform2f(location, v0, v1); |
| 702 | } |
| 703 | |
| 704 | void GL_APIENTRY glUniform2fv(GLint location, GLsizei count, const GLfloat *value) |
| 705 | { |
| 706 | return gl::Uniform2fv(location, count, value); |
| 707 | } |
| 708 | |
| 709 | void GL_APIENTRY glUniform2i(GLint location, GLint v0, GLint v1) |
| 710 | { |
| 711 | return gl::Uniform2i(location, v0, v1); |
| 712 | } |
| 713 | |
| 714 | void GL_APIENTRY glUniform2iv(GLint location, GLsizei count, const GLint *value) |
| 715 | { |
| 716 | return gl::Uniform2iv(location, count, value); |
| 717 | } |
| 718 | |
| 719 | void GL_APIENTRY glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2) |
| 720 | { |
| 721 | return gl::Uniform3f(location, v0, v1, v2); |
| 722 | } |
| 723 | |
| 724 | void GL_APIENTRY glUniform3fv(GLint location, GLsizei count, const GLfloat *value) |
| 725 | { |
| 726 | return gl::Uniform3fv(location, count, value); |
| 727 | } |
| 728 | |
| 729 | void GL_APIENTRY glUniform3i(GLint location, GLint v0, GLint v1, GLint v2) |
| 730 | { |
| 731 | return gl::Uniform3i(location, v0, v1, v2); |
| 732 | } |
| 733 | |
| 734 | void GL_APIENTRY glUniform3iv(GLint location, GLsizei count, const GLint *value) |
| 735 | { |
| 736 | return gl::Uniform3iv(location, count, value); |
| 737 | } |
| 738 | |
| 739 | void GL_APIENTRY glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) |
| 740 | { |
| 741 | return gl::Uniform4f(location, v0, v1, v2, v3); |
| 742 | } |
| 743 | |
| 744 | void GL_APIENTRY glUniform4fv(GLint location, GLsizei count, const GLfloat *value) |
| 745 | { |
| 746 | return gl::Uniform4fv(location, count, value); |
| 747 | } |
| 748 | |
| 749 | void GL_APIENTRY glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3) |
| 750 | { |
| 751 | return gl::Uniform4i(location, v0, v1, v2, v3); |
| 752 | } |
| 753 | |
| 754 | void GL_APIENTRY glUniform4iv(GLint location, GLsizei count, const GLint *value) |
| 755 | { |
| 756 | return gl::Uniform4iv(location, count, value); |
| 757 | } |
| 758 | |
| 759 | void GL_APIENTRY glUniformMatrix2fv(GLint location, |
| 760 | GLsizei count, |
| 761 | GLboolean transpose, |
| 762 | const GLfloat *value) |
| 763 | { |
| 764 | return gl::UniformMatrix2fv(location, count, transpose, value); |
| 765 | } |
| 766 | |
| 767 | void GL_APIENTRY glUniformMatrix3fv(GLint location, |
| 768 | GLsizei count, |
| 769 | GLboolean transpose, |
| 770 | const GLfloat *value) |
| 771 | { |
| 772 | return gl::UniformMatrix3fv(location, count, transpose, value); |
| 773 | } |
| 774 | |
| 775 | void GL_APIENTRY glUniformMatrix4fv(GLint location, |
| 776 | GLsizei count, |
| 777 | GLboolean transpose, |
| 778 | const GLfloat *value) |
| 779 | { |
| 780 | return gl::UniformMatrix4fv(location, count, transpose, value); |
| 781 | } |
| 782 | |
| 783 | void GL_APIENTRY glUseProgram(GLuint program) |
| 784 | { |
| 785 | return gl::UseProgram(program); |
| 786 | } |
| 787 | |
| 788 | void GL_APIENTRY glValidateProgram(GLuint program) |
| 789 | { |
| 790 | return gl::ValidateProgram(program); |
| 791 | } |
| 792 | |
| 793 | void GL_APIENTRY glVertexAttrib1f(GLuint index, GLfloat x) |
| 794 | { |
| 795 | return gl::VertexAttrib1f(index, x); |
| 796 | } |
| 797 | |
| 798 | void GL_APIENTRY glVertexAttrib1fv(GLuint index, const GLfloat *v) |
| 799 | { |
| 800 | return gl::VertexAttrib1fv(index, v); |
| 801 | } |
| 802 | |
| 803 | void GL_APIENTRY glVertexAttrib2f(GLuint index, GLfloat x, GLfloat y) |
| 804 | { |
| 805 | return gl::VertexAttrib2f(index, x, y); |
| 806 | } |
| 807 | |
| 808 | void GL_APIENTRY glVertexAttrib2fv(GLuint index, const GLfloat *v) |
| 809 | { |
| 810 | return gl::VertexAttrib2fv(index, v); |
| 811 | } |
| 812 | |
| 813 | void GL_APIENTRY glVertexAttrib3f(GLuint index, GLfloat x, GLfloat y, GLfloat z) |
| 814 | { |
| 815 | return gl::VertexAttrib3f(index, x, y, z); |
| 816 | } |
| 817 | |
| 818 | void GL_APIENTRY glVertexAttrib3fv(GLuint index, const GLfloat *v) |
| 819 | { |
| 820 | return gl::VertexAttrib3fv(index, v); |
| 821 | } |
| 822 | |
| 823 | void GL_APIENTRY glVertexAttrib4f(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
| 824 | { |
| 825 | return gl::VertexAttrib4f(index, x, y, z, w); |
| 826 | } |
| 827 | |
| 828 | void GL_APIENTRY glVertexAttrib4fv(GLuint index, const GLfloat *v) |
| 829 | { |
| 830 | return gl::VertexAttrib4fv(index, v); |
| 831 | } |
| 832 | |
| 833 | void GL_APIENTRY glVertexAttribPointer(GLuint index, |
| 834 | GLint size, |
| 835 | GLenum type, |
| 836 | GLboolean normalized, |
| 837 | GLsizei stride, |
| 838 | const void *pointer) |
| 839 | { |
| 840 | return gl::VertexAttribPointer(index, size, type, normalized, stride, pointer); |
| 841 | } |
| 842 | |
| 843 | void GL_APIENTRY glViewport(GLint x, GLint y, GLsizei width, GLsizei height) |
| 844 | { |
| 845 | return gl::Viewport(x, y, width, height); |
| 846 | } |
| 847 | |
| 848 | // OpenGL ES 3.0 |
| 849 | void GL_APIENTRY glBeginQuery(GLenum target, GLuint id) |
| 850 | { |
| 851 | return gl::BeginQuery(target, id); |
| 852 | } |
| 853 | |
| 854 | void GL_APIENTRY glBeginTransformFeedback(GLenum primitiveMode) |
| 855 | { |
| 856 | return gl::BeginTransformFeedback(primitiveMode); |
| 857 | } |
| 858 | |
| 859 | void GL_APIENTRY glBindBufferBase(GLenum target, GLuint index, GLuint buffer) |
| 860 | { |
| 861 | return gl::BindBufferBase(target, index, buffer); |
| 862 | } |
| 863 | |
| 864 | void GL_APIENTRY |
| 865 | glBindBufferRange(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size) |
| 866 | { |
| 867 | return gl::BindBufferRange(target, index, buffer, offset, size); |
| 868 | } |
| 869 | |
| 870 | void GL_APIENTRY glBindSampler(GLuint unit, GLuint sampler) |
| 871 | { |
| 872 | return gl::BindSampler(unit, sampler); |
| 873 | } |
| 874 | |
| 875 | void GL_APIENTRY glBindTransformFeedback(GLenum target, GLuint id) |
| 876 | { |
| 877 | return gl::BindTransformFeedback(target, id); |
| 878 | } |
| 879 | |
| 880 | void GL_APIENTRY glBindVertexArray(GLuint array) |
| 881 | { |
| 882 | return gl::BindVertexArray(array); |
| 883 | } |
| 884 | |
| 885 | void GL_APIENTRY glBlitFramebuffer(GLint srcX0, |
| 886 | GLint srcY0, |
| 887 | GLint srcX1, |
| 888 | GLint srcY1, |
| 889 | GLint dstX0, |
| 890 | GLint dstY0, |
| 891 | GLint dstX1, |
| 892 | GLint dstY1, |
| 893 | GLbitfield mask, |
| 894 | GLenum filter) |
| 895 | { |
| 896 | return gl::BlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, |
| 897 | filter); |
| 898 | } |
| 899 | |
| 900 | void GL_APIENTRY glClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil) |
| 901 | { |
| 902 | return gl::ClearBufferfi(buffer, drawbuffer, depth, stencil); |
| 903 | } |
| 904 | |
| 905 | void GL_APIENTRY glClearBufferfv(GLenum buffer, GLint drawbuffer, const GLfloat *value) |
| 906 | { |
| 907 | return gl::ClearBufferfv(buffer, drawbuffer, value); |
| 908 | } |
| 909 | |
| 910 | void GL_APIENTRY glClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint *value) |
| 911 | { |
| 912 | return gl::ClearBufferiv(buffer, drawbuffer, value); |
| 913 | } |
| 914 | |
| 915 | void GL_APIENTRY glClearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint *value) |
| 916 | { |
| 917 | return gl::ClearBufferuiv(buffer, drawbuffer, value); |
| 918 | } |
| 919 | |
| 920 | GLenum GL_APIENTRY glClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) |
| 921 | { |
| 922 | return gl::ClientWaitSync(sync, flags, timeout); |
| 923 | } |
| 924 | |
| 925 | void GL_APIENTRY glCompressedTexImage3D(GLenum target, |
| 926 | GLint level, |
| 927 | GLenum internalformat, |
| 928 | GLsizei width, |
| 929 | GLsizei height, |
| 930 | GLsizei depth, |
| 931 | GLint border, |
| 932 | GLsizei imageSize, |
| 933 | const void *data) |
| 934 | { |
| 935 | return gl::CompressedTexImage3D(target, level, internalformat, width, height, depth, border, |
| 936 | imageSize, data); |
| 937 | } |
| 938 | |
| 939 | void GL_APIENTRY glCompressedTexSubImage3D(GLenum target, |
| 940 | GLint level, |
| 941 | GLint xoffset, |
| 942 | GLint yoffset, |
| 943 | GLint zoffset, |
| 944 | GLsizei width, |
| 945 | GLsizei height, |
| 946 | GLsizei depth, |
| 947 | GLenum format, |
| 948 | GLsizei imageSize, |
| 949 | const void *data) |
| 950 | { |
| 951 | return gl::CompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, |
| 952 | depth, format, imageSize, data); |
| 953 | } |
| 954 | |
| 955 | void GL_APIENTRY glCopyBufferSubData(GLenum readTarget, |
| 956 | GLenum writeTarget, |
| 957 | GLintptr readOffset, |
| 958 | GLintptr writeOffset, |
| 959 | GLsizeiptr size) |
| 960 | { |
| 961 | return gl::CopyBufferSubData(readTarget, writeTarget, readOffset, writeOffset, size); |
| 962 | } |
| 963 | |
| 964 | void GL_APIENTRY glCopyTexSubImage3D(GLenum target, |
| 965 | GLint level, |
| 966 | GLint xoffset, |
| 967 | GLint yoffset, |
| 968 | GLint zoffset, |
| 969 | GLint x, |
| 970 | GLint y, |
| 971 | GLsizei width, |
| 972 | GLsizei height) |
| 973 | { |
| 974 | return gl::CopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height); |
| 975 | } |
| 976 | |
| 977 | void GL_APIENTRY glDeleteQueries(GLsizei n, const GLuint *ids) |
| 978 | { |
| 979 | return gl::DeleteQueries(n, ids); |
| 980 | } |
| 981 | |
| 982 | void GL_APIENTRY glDeleteSamplers(GLsizei count, const GLuint *samplers) |
| 983 | { |
| 984 | return gl::DeleteSamplers(count, samplers); |
| 985 | } |
| 986 | |
| 987 | void GL_APIENTRY glDeleteSync(GLsync sync) |
| 988 | { |
| 989 | return gl::DeleteSync(sync); |
| 990 | } |
| 991 | |
| 992 | void GL_APIENTRY glDeleteTransformFeedbacks(GLsizei n, const GLuint *ids) |
| 993 | { |
| 994 | return gl::DeleteTransformFeedbacks(n, ids); |
| 995 | } |
| 996 | |
| 997 | void GL_APIENTRY glDeleteVertexArrays(GLsizei n, const GLuint *arrays) |
| 998 | { |
| 999 | return gl::DeleteVertexArrays(n, arrays); |
| 1000 | } |
| 1001 | |
| 1002 | void GL_APIENTRY glDrawArraysInstanced(GLenum mode, |
| 1003 | GLint first, |
| 1004 | GLsizei count, |
| 1005 | GLsizei instancecount) |
| 1006 | { |
| 1007 | return gl::DrawArraysInstanced(mode, first, count, instancecount); |
| 1008 | } |
| 1009 | |
| 1010 | void GL_APIENTRY glDrawBuffers(GLsizei n, const GLenum *bufs) |
| 1011 | { |
| 1012 | return gl::DrawBuffers(n, bufs); |
| 1013 | } |
| 1014 | |
| 1015 | void GL_APIENTRY glDrawElementsInstanced(GLenum mode, |
| 1016 | GLsizei count, |
| 1017 | GLenum type, |
| 1018 | const void *indices, |
| 1019 | GLsizei instancecount) |
| 1020 | { |
| 1021 | return gl::DrawElementsInstanced(mode, count, type, indices, instancecount); |
| 1022 | } |
| 1023 | |
| 1024 | void GL_APIENTRY glDrawRangeElements(GLenum mode, |
| 1025 | GLuint start, |
| 1026 | GLuint end, |
| 1027 | GLsizei count, |
| 1028 | GLenum type, |
| 1029 | const void *indices) |
| 1030 | { |
| 1031 | return gl::DrawRangeElements(mode, start, end, count, type, indices); |
| 1032 | } |
| 1033 | |
| 1034 | void GL_APIENTRY glEndQuery(GLenum target) |
| 1035 | { |
| 1036 | return gl::EndQuery(target); |
| 1037 | } |
| 1038 | |
| 1039 | void GL_APIENTRY glEndTransformFeedback() |
| 1040 | { |
| 1041 | return gl::EndTransformFeedback(); |
| 1042 | } |
| 1043 | |
| 1044 | GLsync GL_APIENTRY glFenceSync(GLenum condition, GLbitfield flags) |
| 1045 | { |
| 1046 | return gl::FenceSync(condition, flags); |
| 1047 | } |
| 1048 | |
| 1049 | void GL_APIENTRY glFlushMappedBufferRange(GLenum target, GLintptr offset, GLsizeiptr length) |
| 1050 | { |
| 1051 | return gl::FlushMappedBufferRange(target, offset, length); |
| 1052 | } |
| 1053 | |
| 1054 | void GL_APIENTRY glFramebufferTextureLayer(GLenum target, |
| 1055 | GLenum attachment, |
| 1056 | GLuint texture, |
| 1057 | GLint level, |
| 1058 | GLint layer) |
| 1059 | { |
| 1060 | return gl::FramebufferTextureLayer(target, attachment, texture, level, layer); |
| 1061 | } |
| 1062 | |
| 1063 | void GL_APIENTRY glGenQueries(GLsizei n, GLuint *ids) |
| 1064 | { |
| 1065 | return gl::GenQueries(n, ids); |
| 1066 | } |
| 1067 | |
| 1068 | void GL_APIENTRY glGenSamplers(GLsizei count, GLuint *samplers) |
| 1069 | { |
| 1070 | return gl::GenSamplers(count, samplers); |
| 1071 | } |
| 1072 | |
| 1073 | void GL_APIENTRY glGenTransformFeedbacks(GLsizei n, GLuint *ids) |
| 1074 | { |
| 1075 | return gl::GenTransformFeedbacks(n, ids); |
| 1076 | } |
| 1077 | |
| 1078 | void GL_APIENTRY glGenVertexArrays(GLsizei n, GLuint *arrays) |
| 1079 | { |
| 1080 | return gl::GenVertexArrays(n, arrays); |
| 1081 | } |
| 1082 | |
| 1083 | void GL_APIENTRY glGetActiveUniformBlockName(GLuint program, |
| 1084 | GLuint uniformBlockIndex, |
| 1085 | GLsizei bufSize, |
| 1086 | GLsizei *length, |
| 1087 | GLchar *uniformBlockName) |
| 1088 | { |
| 1089 | return gl::GetActiveUniformBlockName(program, uniformBlockIndex, bufSize, length, |
| 1090 | uniformBlockName); |
| 1091 | } |
| 1092 | |
| 1093 | void GL_APIENTRY glGetActiveUniformBlockiv(GLuint program, |
| 1094 | GLuint uniformBlockIndex, |
| 1095 | GLenum pname, |
| 1096 | GLint *params) |
| 1097 | { |
| 1098 | return gl::GetActiveUniformBlockiv(program, uniformBlockIndex, pname, params); |
| 1099 | } |
| 1100 | |
| 1101 | void GL_APIENTRY glGetActiveUniformsiv(GLuint program, |
| 1102 | GLsizei uniformCount, |
| 1103 | const GLuint *uniformIndices, |
| 1104 | GLenum pname, |
| 1105 | GLint *params) |
| 1106 | { |
| 1107 | return gl::GetActiveUniformsiv(program, uniformCount, uniformIndices, pname, params); |
| 1108 | } |
| 1109 | |
| 1110 | void GL_APIENTRY glGetBufferParameteri64v(GLenum target, GLenum pname, GLint64 *params) |
| 1111 | { |
| 1112 | return gl::GetBufferParameteri64v(target, pname, params); |
| 1113 | } |
| 1114 | |
| 1115 | void GL_APIENTRY glGetBufferPointerv(GLenum target, GLenum pname, void **params) |
| 1116 | { |
| 1117 | return gl::GetBufferPointerv(target, pname, params); |
| 1118 | } |
| 1119 | |
| 1120 | GLint GL_APIENTRY glGetFragDataLocation(GLuint program, const GLchar *name) |
| 1121 | { |
| 1122 | return gl::GetFragDataLocation(program, name); |
| 1123 | } |
| 1124 | |
| 1125 | void GL_APIENTRY glGetInteger64i_v(GLenum target, GLuint index, GLint64 *data) |
| 1126 | { |
| 1127 | return gl::GetInteger64i_v(target, index, data); |
| 1128 | } |
| 1129 | |
| 1130 | void GL_APIENTRY glGetInteger64v(GLenum pname, GLint64 *data) |
| 1131 | { |
| 1132 | return gl::GetInteger64v(pname, data); |
| 1133 | } |
| 1134 | |
| 1135 | void GL_APIENTRY glGetIntegeri_v(GLenum target, GLuint index, GLint *data) |
| 1136 | { |
| 1137 | return gl::GetIntegeri_v(target, index, data); |
| 1138 | } |
| 1139 | |
| 1140 | void GL_APIENTRY glGetInternalformativ(GLenum target, |
| 1141 | GLenum internalformat, |
| 1142 | GLenum pname, |
| 1143 | GLsizei bufSize, |
| 1144 | GLint *params) |
| 1145 | { |
| 1146 | return gl::GetInternalformativ(target, internalformat, pname, bufSize, params); |
| 1147 | } |
| 1148 | |
| 1149 | void GL_APIENTRY glGetProgramBinary(GLuint program, |
| 1150 | GLsizei bufSize, |
| 1151 | GLsizei *length, |
| 1152 | GLenum *binaryFormat, |
| 1153 | void *binary) |
| 1154 | { |
| 1155 | return gl::GetProgramBinary(program, bufSize, length, binaryFormat, binary); |
| 1156 | } |
| 1157 | |
| 1158 | void GL_APIENTRY glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint *params) |
| 1159 | { |
| 1160 | return gl::GetQueryObjectuiv(id, pname, params); |
| 1161 | } |
| 1162 | |
| 1163 | void GL_APIENTRY glGetQueryiv(GLenum target, GLenum pname, GLint *params) |
| 1164 | { |
| 1165 | return gl::GetQueryiv(target, pname, params); |
| 1166 | } |
| 1167 | |
| 1168 | void GL_APIENTRY glGetSamplerParameterfv(GLuint sampler, GLenum pname, GLfloat *params) |
| 1169 | { |
| 1170 | return gl::GetSamplerParameterfv(sampler, pname, params); |
| 1171 | } |
| 1172 | |
| 1173 | void GL_APIENTRY glGetSamplerParameteriv(GLuint sampler, GLenum pname, GLint *params) |
| 1174 | { |
| 1175 | return gl::GetSamplerParameteriv(sampler, pname, params); |
| 1176 | } |
| 1177 | |
| 1178 | const GLubyte *GL_APIENTRY glGetStringi(GLenum name, GLuint index) |
| 1179 | { |
| 1180 | return gl::GetStringi(name, index); |
| 1181 | } |
| 1182 | |
| 1183 | void GL_APIENTRY |
| 1184 | glGetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values) |
| 1185 | { |
| 1186 | return gl::GetSynciv(sync, pname, bufSize, length, values); |
| 1187 | } |
| 1188 | |
| 1189 | void GL_APIENTRY glGetTransformFeedbackVarying(GLuint program, |
| 1190 | GLuint index, |
| 1191 | GLsizei bufSize, |
| 1192 | GLsizei *length, |
| 1193 | GLsizei *size, |
| 1194 | GLenum *type, |
| 1195 | GLchar *name) |
| 1196 | { |
| 1197 | return gl::GetTransformFeedbackVarying(program, index, bufSize, length, size, type, name); |
| 1198 | } |
| 1199 | |
| 1200 | GLuint GL_APIENTRY glGetUniformBlockIndex(GLuint program, const GLchar *uniformBlockName) |
| 1201 | { |
| 1202 | return gl::GetUniformBlockIndex(program, uniformBlockName); |
| 1203 | } |
| 1204 | |
| 1205 | void GL_APIENTRY glGetUniformIndices(GLuint program, |
| 1206 | GLsizei uniformCount, |
| 1207 | const GLchar *const *uniformNames, |
| 1208 | GLuint *uniformIndices) |
| 1209 | { |
| 1210 | return gl::GetUniformIndices(program, uniformCount, uniformNames, uniformIndices); |
| 1211 | } |
| 1212 | |
| 1213 | void GL_APIENTRY glGetUniformuiv(GLuint program, GLint location, GLuint *params) |
| 1214 | { |
| 1215 | return gl::GetUniformuiv(program, location, params); |
| 1216 | } |
| 1217 | |
| 1218 | void GL_APIENTRY glGetVertexAttribIiv(GLuint index, GLenum pname, GLint *params) |
| 1219 | { |
| 1220 | return gl::GetVertexAttribIiv(index, pname, params); |
| 1221 | } |
| 1222 | |
| 1223 | void GL_APIENTRY glGetVertexAttribIuiv(GLuint index, GLenum pname, GLuint *params) |
| 1224 | { |
| 1225 | return gl::GetVertexAttribIuiv(index, pname, params); |
| 1226 | } |
| 1227 | |
| 1228 | void GL_APIENTRY glInvalidateFramebuffer(GLenum target, |
| 1229 | GLsizei numAttachments, |
| 1230 | const GLenum *attachments) |
| 1231 | { |
| 1232 | return gl::InvalidateFramebuffer(target, numAttachments, attachments); |
| 1233 | } |
| 1234 | |
| 1235 | void GL_APIENTRY glInvalidateSubFramebuffer(GLenum target, |
| 1236 | GLsizei numAttachments, |
| 1237 | const GLenum *attachments, |
| 1238 | GLint x, |
| 1239 | GLint y, |
| 1240 | GLsizei width, |
| 1241 | GLsizei height) |
| 1242 | { |
| 1243 | return gl::InvalidateSubFramebuffer(target, numAttachments, attachments, x, y, width, height); |
| 1244 | } |
| 1245 | |
| 1246 | GLboolean GL_APIENTRY glIsQuery(GLuint id) |
| 1247 | { |
| 1248 | return gl::IsQuery(id); |
| 1249 | } |
| 1250 | |
| 1251 | GLboolean GL_APIENTRY glIsSampler(GLuint sampler) |
| 1252 | { |
| 1253 | return gl::IsSampler(sampler); |
| 1254 | } |
| 1255 | |
| 1256 | GLboolean GL_APIENTRY glIsSync(GLsync sync) |
| 1257 | { |
| 1258 | return gl::IsSync(sync); |
| 1259 | } |
| 1260 | |
| 1261 | GLboolean GL_APIENTRY glIsTransformFeedback(GLuint id) |
| 1262 | { |
| 1263 | return gl::IsTransformFeedback(id); |
| 1264 | } |
| 1265 | |
| 1266 | GLboolean GL_APIENTRY glIsVertexArray(GLuint array) |
| 1267 | { |
| 1268 | return gl::IsVertexArray(array); |
| 1269 | } |
| 1270 | |
| 1271 | void *GL_APIENTRY glMapBufferRange(GLenum target, |
| 1272 | GLintptr offset, |
| 1273 | GLsizeiptr length, |
| 1274 | GLbitfield access) |
| 1275 | { |
| 1276 | return gl::MapBufferRange(target, offset, length, access); |
| 1277 | } |
| 1278 | |
| 1279 | void GL_APIENTRY glPauseTransformFeedback() |
| 1280 | { |
| 1281 | return gl::PauseTransformFeedback(); |
| 1282 | } |
| 1283 | |
| 1284 | void GL_APIENTRY glProgramBinary(GLuint program, |
| 1285 | GLenum binaryFormat, |
| 1286 | const void *binary, |
| 1287 | GLsizei length) |
| 1288 | { |
| 1289 | return gl::ProgramBinary(program, binaryFormat, binary, length); |
| 1290 | } |
| 1291 | |
| 1292 | void GL_APIENTRY glProgramParameteri(GLuint program, GLenum pname, GLint value) |
| 1293 | { |
| 1294 | return gl::ProgramParameteri(program, pname, value); |
| 1295 | } |
| 1296 | |
| 1297 | void GL_APIENTRY glReadBuffer(GLenum src) |
| 1298 | { |
| 1299 | return gl::ReadBuffer(src); |
| 1300 | } |
| 1301 | |
| 1302 | void GL_APIENTRY glRenderbufferStorageMultisample(GLenum target, |
| 1303 | GLsizei samples, |
| 1304 | GLenum internalformat, |
| 1305 | GLsizei width, |
| 1306 | GLsizei height) |
| 1307 | { |
| 1308 | return gl::RenderbufferStorageMultisample(target, samples, internalformat, width, height); |
| 1309 | } |
| 1310 | |
| 1311 | void GL_APIENTRY glResumeTransformFeedback() |
| 1312 | { |
| 1313 | return gl::ResumeTransformFeedback(); |
| 1314 | } |
| 1315 | |
| 1316 | void GL_APIENTRY glSamplerParameterf(GLuint sampler, GLenum pname, GLfloat param) |
| 1317 | { |
| 1318 | return gl::SamplerParameterf(sampler, pname, param); |
| 1319 | } |
| 1320 | |
| 1321 | void GL_APIENTRY glSamplerParameterfv(GLuint sampler, GLenum pname, const GLfloat *param) |
| 1322 | { |
| 1323 | return gl::SamplerParameterfv(sampler, pname, param); |
| 1324 | } |
| 1325 | |
| 1326 | void GL_APIENTRY glSamplerParameteri(GLuint sampler, GLenum pname, GLint param) |
| 1327 | { |
| 1328 | return gl::SamplerParameteri(sampler, pname, param); |
| 1329 | } |
| 1330 | |
| 1331 | void GL_APIENTRY glSamplerParameteriv(GLuint sampler, GLenum pname, const GLint *param) |
| 1332 | { |
| 1333 | return gl::SamplerParameteriv(sampler, pname, param); |
| 1334 | } |
| 1335 | |
| 1336 | void GL_APIENTRY glTexImage3D(GLenum target, |
| 1337 | GLint level, |
| 1338 | GLint internalformat, |
| 1339 | GLsizei width, |
| 1340 | GLsizei height, |
| 1341 | GLsizei depth, |
| 1342 | GLint border, |
| 1343 | GLenum format, |
| 1344 | GLenum type, |
| 1345 | const void *pixels) |
| 1346 | { |
| 1347 | return gl::TexImage3D(target, level, internalformat, width, height, depth, border, format, type, |
| 1348 | pixels); |
| 1349 | } |
| 1350 | |
| 1351 | void GL_APIENTRY |
| 1352 | glTexStorage2D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height) |
| 1353 | { |
| 1354 | return gl::TexStorage2D(target, levels, internalformat, width, height); |
| 1355 | } |
| 1356 | |
| 1357 | void GL_APIENTRY glTexStorage3D(GLenum target, |
| 1358 | GLsizei levels, |
| 1359 | GLenum internalformat, |
| 1360 | GLsizei width, |
| 1361 | GLsizei height, |
| 1362 | GLsizei depth) |
| 1363 | { |
| 1364 | return gl::TexStorage3D(target, levels, internalformat, width, height, depth); |
| 1365 | } |
| 1366 | |
| 1367 | void GL_APIENTRY glTexSubImage3D(GLenum target, |
| 1368 | GLint level, |
| 1369 | GLint xoffset, |
| 1370 | GLint yoffset, |
| 1371 | GLint zoffset, |
| 1372 | GLsizei width, |
| 1373 | GLsizei height, |
| 1374 | GLsizei depth, |
| 1375 | GLenum format, |
| 1376 | GLenum type, |
| 1377 | const void *pixels) |
| 1378 | { |
| 1379 | return gl::TexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, |
| 1380 | type, pixels); |
| 1381 | } |
| 1382 | |
| 1383 | void GL_APIENTRY glTransformFeedbackVaryings(GLuint program, |
| 1384 | GLsizei count, |
| 1385 | const GLchar *const *varyings, |
| 1386 | GLenum bufferMode) |
| 1387 | { |
| 1388 | return gl::TransformFeedbackVaryings(program, count, varyings, bufferMode); |
| 1389 | } |
| 1390 | |
| 1391 | void GL_APIENTRY glUniform1ui(GLint location, GLuint v0) |
| 1392 | { |
| 1393 | return gl::Uniform1ui(location, v0); |
| 1394 | } |
| 1395 | |
| 1396 | void GL_APIENTRY glUniform1uiv(GLint location, GLsizei count, const GLuint *value) |
| 1397 | { |
| 1398 | return gl::Uniform1uiv(location, count, value); |
| 1399 | } |
| 1400 | |
| 1401 | void GL_APIENTRY glUniform2ui(GLint location, GLuint v0, GLuint v1) |
| 1402 | { |
| 1403 | return gl::Uniform2ui(location, v0, v1); |
| 1404 | } |
| 1405 | |
| 1406 | void GL_APIENTRY glUniform2uiv(GLint location, GLsizei count, const GLuint *value) |
| 1407 | { |
| 1408 | return gl::Uniform2uiv(location, count, value); |
| 1409 | } |
| 1410 | |
| 1411 | void GL_APIENTRY glUniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2) |
| 1412 | { |
| 1413 | return gl::Uniform3ui(location, v0, v1, v2); |
| 1414 | } |
| 1415 | |
| 1416 | void GL_APIENTRY glUniform3uiv(GLint location, GLsizei count, const GLuint *value) |
| 1417 | { |
| 1418 | return gl::Uniform3uiv(location, count, value); |
| 1419 | } |
| 1420 | |
| 1421 | void GL_APIENTRY glUniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) |
| 1422 | { |
| 1423 | return gl::Uniform4ui(location, v0, v1, v2, v3); |
| 1424 | } |
| 1425 | |
| 1426 | void GL_APIENTRY glUniform4uiv(GLint location, GLsizei count, const GLuint *value) |
| 1427 | { |
| 1428 | return gl::Uniform4uiv(location, count, value); |
| 1429 | } |
| 1430 | |
| 1431 | void GL_APIENTRY glUniformBlockBinding(GLuint program, |
| 1432 | GLuint uniformBlockIndex, |
| 1433 | GLuint uniformBlockBinding) |
| 1434 | { |
| 1435 | return gl::UniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding); |
| 1436 | } |
| 1437 | |
| 1438 | void GL_APIENTRY glUniformMatrix2x3fv(GLint location, |
| 1439 | GLsizei count, |
| 1440 | GLboolean transpose, |
| 1441 | const GLfloat *value) |
| 1442 | { |
| 1443 | return gl::UniformMatrix2x3fv(location, count, transpose, value); |
| 1444 | } |
| 1445 | |
| 1446 | void GL_APIENTRY glUniformMatrix2x4fv(GLint location, |
| 1447 | GLsizei count, |
| 1448 | GLboolean transpose, |
| 1449 | const GLfloat *value) |
| 1450 | { |
| 1451 | return gl::UniformMatrix2x4fv(location, count, transpose, value); |
| 1452 | } |
| 1453 | |
| 1454 | void GL_APIENTRY glUniformMatrix3x2fv(GLint location, |
| 1455 | GLsizei count, |
| 1456 | GLboolean transpose, |
| 1457 | const GLfloat *value) |
| 1458 | { |
| 1459 | return gl::UniformMatrix3x2fv(location, count, transpose, value); |
| 1460 | } |
| 1461 | |
| 1462 | void GL_APIENTRY glUniformMatrix3x4fv(GLint location, |
| 1463 | GLsizei count, |
| 1464 | GLboolean transpose, |
| 1465 | const GLfloat *value) |
| 1466 | { |
| 1467 | return gl::UniformMatrix3x4fv(location, count, transpose, value); |
| 1468 | } |
| 1469 | |
| 1470 | void GL_APIENTRY glUniformMatrix4x2fv(GLint location, |
| 1471 | GLsizei count, |
| 1472 | GLboolean transpose, |
| 1473 | const GLfloat *value) |
| 1474 | { |
| 1475 | return gl::UniformMatrix4x2fv(location, count, transpose, value); |
| 1476 | } |
| 1477 | |
| 1478 | void GL_APIENTRY glUniformMatrix4x3fv(GLint location, |
| 1479 | GLsizei count, |
| 1480 | GLboolean transpose, |
| 1481 | const GLfloat *value) |
| 1482 | { |
| 1483 | return gl::UniformMatrix4x3fv(location, count, transpose, value); |
| 1484 | } |
| 1485 | |
| 1486 | GLboolean GL_APIENTRY glUnmapBuffer(GLenum target) |
| 1487 | { |
| 1488 | return gl::UnmapBuffer(target); |
| 1489 | } |
| 1490 | |
| 1491 | void GL_APIENTRY glVertexAttribDivisor(GLuint index, GLuint divisor) |
| 1492 | { |
| 1493 | return gl::VertexAttribDivisor(index, divisor); |
| 1494 | } |
| 1495 | |
| 1496 | void GL_APIENTRY glVertexAttribI4i(GLuint index, GLint x, GLint y, GLint z, GLint w) |
| 1497 | { |
| 1498 | return gl::VertexAttribI4i(index, x, y, z, w); |
| 1499 | } |
| 1500 | |
| 1501 | void GL_APIENTRY glVertexAttribI4iv(GLuint index, const GLint *v) |
| 1502 | { |
| 1503 | return gl::VertexAttribI4iv(index, v); |
| 1504 | } |
| 1505 | |
| 1506 | void GL_APIENTRY glVertexAttribI4ui(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) |
| 1507 | { |
| 1508 | return gl::VertexAttribI4ui(index, x, y, z, w); |
| 1509 | } |
| 1510 | |
| 1511 | void GL_APIENTRY glVertexAttribI4uiv(GLuint index, const GLuint *v) |
| 1512 | { |
| 1513 | return gl::VertexAttribI4uiv(index, v); |
| 1514 | } |
| 1515 | |
| 1516 | void GL_APIENTRY |
| 1517 | glVertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer) |
| 1518 | { |
| 1519 | return gl::VertexAttribIPointer(index, size, type, stride, pointer); |
| 1520 | } |
| 1521 | |
| 1522 | void GL_APIENTRY glWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) |
| 1523 | { |
| 1524 | return gl::WaitSync(sync, flags, timeout); |
| 1525 | } |
| 1526 | |
| 1527 | // OpenGL ES 3.1 |
| 1528 | void GL_APIENTRY glActiveShaderProgram(GLuint pipeline, GLuint program) |
| 1529 | { |
| 1530 | return gl::ActiveShaderProgram(pipeline, program); |
| 1531 | } |
| 1532 | |
| 1533 | void GL_APIENTRY glBindImageTexture(GLuint unit, |
| 1534 | GLuint texture, |
| 1535 | GLint level, |
| 1536 | GLboolean layered, |
| 1537 | GLint layer, |
| 1538 | GLenum access, |
| 1539 | GLenum format) |
| 1540 | { |
| 1541 | return gl::BindImageTexture(unit, texture, level, layered, layer, access, format); |
| 1542 | } |
| 1543 | |
| 1544 | void GL_APIENTRY glBindProgramPipeline(GLuint pipeline) |
| 1545 | { |
| 1546 | return gl::BindProgramPipeline(pipeline); |
| 1547 | } |
| 1548 | |
| 1549 | void GL_APIENTRY glBindVertexBuffer(GLuint bindingindex, |
| 1550 | GLuint buffer, |
| 1551 | GLintptr offset, |
| 1552 | GLsizei stride) |
| 1553 | { |
| 1554 | return gl::BindVertexBuffer(bindingindex, buffer, offset, stride); |
| 1555 | } |
| 1556 | |
| 1557 | GLuint GL_APIENTRY glCreateShaderProgramv(GLenum type, GLsizei count, const GLchar *const *strings) |
| 1558 | { |
| 1559 | return gl::CreateShaderProgramv(type, count, strings); |
| 1560 | } |
| 1561 | |
| 1562 | void GL_APIENTRY glDeleteProgramPipelines(GLsizei n, const GLuint *pipelines) |
| 1563 | { |
| 1564 | return gl::DeleteProgramPipelines(n, pipelines); |
| 1565 | } |
| 1566 | |
| 1567 | void GL_APIENTRY glDispatchCompute(GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z) |
| 1568 | { |
| 1569 | return gl::DispatchCompute(num_groups_x, num_groups_y, num_groups_z); |
| 1570 | } |
| 1571 | |
| 1572 | void GL_APIENTRY glDispatchComputeIndirect(GLintptr indirect) |
| 1573 | { |
| 1574 | return gl::DispatchComputeIndirect(indirect); |
| 1575 | } |
| 1576 | |
| 1577 | void GL_APIENTRY glDrawArraysIndirect(GLenum mode, const void *indirect) |
| 1578 | { |
| 1579 | return gl::DrawArraysIndirect(mode, indirect); |
| 1580 | } |
| 1581 | |
| 1582 | void GL_APIENTRY glDrawElementsIndirect(GLenum mode, GLenum type, const void *indirect) |
| 1583 | { |
| 1584 | return gl::DrawElementsIndirect(mode, type, indirect); |
| 1585 | } |
| 1586 | |
| 1587 | void GL_APIENTRY glFramebufferParameteri(GLenum target, GLenum pname, GLint param) |
| 1588 | { |
| 1589 | return gl::FramebufferParameteri(target, pname, param); |
| 1590 | } |
| 1591 | |
| 1592 | void GL_APIENTRY glGenProgramPipelines(GLsizei n, GLuint *pipelines) |
| 1593 | { |
| 1594 | return gl::GenProgramPipelines(n, pipelines); |
| 1595 | } |
| 1596 | |
| 1597 | void GL_APIENTRY glGetBooleani_v(GLenum target, GLuint index, GLboolean *data) |
| 1598 | { |
| 1599 | return gl::GetBooleani_v(target, index, data); |
| 1600 | } |
| 1601 | |
| 1602 | void GL_APIENTRY glGetFramebufferParameteriv(GLenum target, GLenum pname, GLint *params) |
| 1603 | { |
| 1604 | return gl::GetFramebufferParameteriv(target, pname, params); |
| 1605 | } |
| 1606 | |
| 1607 | void GL_APIENTRY glGetMultisamplefv(GLenum pname, GLuint index, GLfloat *val) |
| 1608 | { |
| 1609 | return gl::GetMultisamplefv(pname, index, val); |
| 1610 | } |
| 1611 | |
| 1612 | void GL_APIENTRY glGetProgramInterfaceiv(GLuint program, |
| 1613 | GLenum programInterface, |
| 1614 | GLenum pname, |
| 1615 | GLint *params) |
| 1616 | { |
| 1617 | return gl::GetProgramInterfaceiv(program, programInterface, pname, params); |
| 1618 | } |
| 1619 | |
| 1620 | void GL_APIENTRY glGetProgramPipelineInfoLog(GLuint pipeline, |
| 1621 | GLsizei bufSize, |
| 1622 | GLsizei *length, |
| 1623 | GLchar *infoLog) |
| 1624 | { |
| 1625 | return gl::GetProgramPipelineInfoLog(pipeline, bufSize, length, infoLog); |
| 1626 | } |
| 1627 | |
| 1628 | void GL_APIENTRY glGetProgramPipelineiv(GLuint pipeline, GLenum pname, GLint *params) |
| 1629 | { |
| 1630 | return gl::GetProgramPipelineiv(pipeline, pname, params); |
| 1631 | } |
| 1632 | |
| 1633 | GLuint GL_APIENTRY glGetProgramResourceIndex(GLuint program, |
| 1634 | GLenum programInterface, |
| 1635 | const GLchar *name) |
| 1636 | { |
| 1637 | return gl::GetProgramResourceIndex(program, programInterface, name); |
| 1638 | } |
| 1639 | |
| 1640 | GLint GL_APIENTRY glGetProgramResourceLocation(GLuint program, |
| 1641 | GLenum programInterface, |
| 1642 | const GLchar *name) |
| 1643 | { |
| 1644 | return gl::GetProgramResourceLocation(program, programInterface, name); |
| 1645 | } |
| 1646 | |
| 1647 | void GL_APIENTRY glGetProgramResourceName(GLuint program, |
| 1648 | GLenum programInterface, |
| 1649 | GLuint index, |
| 1650 | GLsizei bufSize, |
| 1651 | GLsizei *length, |
| 1652 | GLchar *name) |
| 1653 | { |
| 1654 | return gl::GetProgramResourceName(program, programInterface, index, bufSize, length, name); |
| 1655 | } |
| 1656 | |
| 1657 | void GL_APIENTRY glGetProgramResourceiv(GLuint program, |
| 1658 | GLenum programInterface, |
| 1659 | GLuint index, |
| 1660 | GLsizei propCount, |
| 1661 | const GLenum *props, |
| 1662 | GLsizei bufSize, |
| 1663 | GLsizei *length, |
| 1664 | GLint *params) |
| 1665 | { |
| 1666 | return gl::GetProgramResourceiv(program, programInterface, index, propCount, props, bufSize, |
| 1667 | length, params); |
| 1668 | } |
| 1669 | |
| 1670 | void GL_APIENTRY glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params) |
| 1671 | { |
| 1672 | return gl::GetTexLevelParameterfv(target, level, pname, params); |
| 1673 | } |
| 1674 | |
| 1675 | void GL_APIENTRY glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params) |
| 1676 | { |
| 1677 | return gl::GetTexLevelParameteriv(target, level, pname, params); |
| 1678 | } |
| 1679 | |
| 1680 | GLboolean GL_APIENTRY glIsProgramPipeline(GLuint pipeline) |
| 1681 | { |
| 1682 | return gl::IsProgramPipeline(pipeline); |
| 1683 | } |
| 1684 | |
| 1685 | void GL_APIENTRY glMemoryBarrier(GLbitfield barriers) |
| 1686 | { |
| 1687 | return gl::MemoryBarrier(barriers); |
| 1688 | } |
| 1689 | |
| 1690 | void GL_APIENTRY glMemoryBarrierByRegion(GLbitfield barriers) |
| 1691 | { |
| 1692 | return gl::MemoryBarrierByRegion(barriers); |
| 1693 | } |
| 1694 | |
| 1695 | void GL_APIENTRY glProgramUniform1f(GLuint program, GLint location, GLfloat v0) |
| 1696 | { |
| 1697 | return gl::ProgramUniform1f(program, location, v0); |
| 1698 | } |
| 1699 | |
| 1700 | void GL_APIENTRY glProgramUniform1fv(GLuint program, |
| 1701 | GLint location, |
| 1702 | GLsizei count, |
| 1703 | const GLfloat *value) |
| 1704 | { |
| 1705 | return gl::ProgramUniform1fv(program, location, count, value); |
| 1706 | } |
| 1707 | |
| 1708 | void GL_APIENTRY glProgramUniform1i(GLuint program, GLint location, GLint v0) |
| 1709 | { |
| 1710 | return gl::ProgramUniform1i(program, location, v0); |
| 1711 | } |
| 1712 | |
| 1713 | void GL_APIENTRY glProgramUniform1iv(GLuint program, |
| 1714 | GLint location, |
| 1715 | GLsizei count, |
| 1716 | const GLint *value) |
| 1717 | { |
| 1718 | return gl::ProgramUniform1iv(program, location, count, value); |
| 1719 | } |
| 1720 | |
| 1721 | void GL_APIENTRY glProgramUniform1ui(GLuint program, GLint location, GLuint v0) |
| 1722 | { |
| 1723 | return gl::ProgramUniform1ui(program, location, v0); |
| 1724 | } |
| 1725 | |
| 1726 | void GL_APIENTRY glProgramUniform1uiv(GLuint program, |
| 1727 | GLint location, |
| 1728 | GLsizei count, |
| 1729 | const GLuint *value) |
| 1730 | { |
| 1731 | return gl::ProgramUniform1uiv(program, location, count, value); |
| 1732 | } |
| 1733 | |
| 1734 | void GL_APIENTRY glProgramUniform2f(GLuint program, GLint location, GLfloat v0, GLfloat v1) |
| 1735 | { |
| 1736 | return gl::ProgramUniform2f(program, location, v0, v1); |
| 1737 | } |
| 1738 | |
| 1739 | void GL_APIENTRY glProgramUniform2fv(GLuint program, |
| 1740 | GLint location, |
| 1741 | GLsizei count, |
| 1742 | const GLfloat *value) |
| 1743 | { |
| 1744 | return gl::ProgramUniform2fv(program, location, count, value); |
| 1745 | } |
| 1746 | |
| 1747 | void GL_APIENTRY glProgramUniform2i(GLuint program, GLint location, GLint v0, GLint v1) |
| 1748 | { |
| 1749 | return gl::ProgramUniform2i(program, location, v0, v1); |
| 1750 | } |
| 1751 | |
| 1752 | void GL_APIENTRY glProgramUniform2iv(GLuint program, |
| 1753 | GLint location, |
| 1754 | GLsizei count, |
| 1755 | const GLint *value) |
| 1756 | { |
| 1757 | return gl::ProgramUniform2iv(program, location, count, value); |
| 1758 | } |
| 1759 | |
| 1760 | void GL_APIENTRY glProgramUniform2ui(GLuint program, GLint location, GLuint v0, GLuint v1) |
| 1761 | { |
| 1762 | return gl::ProgramUniform2ui(program, location, v0, v1); |
| 1763 | } |
| 1764 | |
| 1765 | void GL_APIENTRY glProgramUniform2uiv(GLuint program, |
| 1766 | GLint location, |
| 1767 | GLsizei count, |
| 1768 | const GLuint *value) |
| 1769 | { |
| 1770 | return gl::ProgramUniform2uiv(program, location, count, value); |
| 1771 | } |
| 1772 | |
| 1773 | void GL_APIENTRY |
| 1774 | glProgramUniform3f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2) |
| 1775 | { |
| 1776 | return gl::ProgramUniform3f(program, location, v0, v1, v2); |
| 1777 | } |
| 1778 | |
| 1779 | void GL_APIENTRY glProgramUniform3fv(GLuint program, |
| 1780 | GLint location, |
| 1781 | GLsizei count, |
| 1782 | const GLfloat *value) |
| 1783 | { |
| 1784 | return gl::ProgramUniform3fv(program, location, count, value); |
| 1785 | } |
| 1786 | |
| 1787 | void GL_APIENTRY glProgramUniform3i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2) |
| 1788 | { |
| 1789 | return gl::ProgramUniform3i(program, location, v0, v1, v2); |
| 1790 | } |
| 1791 | |
| 1792 | void GL_APIENTRY glProgramUniform3iv(GLuint program, |
| 1793 | GLint location, |
| 1794 | GLsizei count, |
| 1795 | const GLint *value) |
| 1796 | { |
| 1797 | return gl::ProgramUniform3iv(program, location, count, value); |
| 1798 | } |
| 1799 | |
| 1800 | void GL_APIENTRY |
| 1801 | glProgramUniform3ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2) |
| 1802 | { |
| 1803 | return gl::ProgramUniform3ui(program, location, v0, v1, v2); |
| 1804 | } |
| 1805 | |
| 1806 | void GL_APIENTRY glProgramUniform3uiv(GLuint program, |
| 1807 | GLint location, |
| 1808 | GLsizei count, |
| 1809 | const GLuint *value) |
| 1810 | { |
| 1811 | return gl::ProgramUniform3uiv(program, location, count, value); |
| 1812 | } |
| 1813 | |
| 1814 | void GL_APIENTRY |
| 1815 | glProgramUniform4f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) |
| 1816 | { |
| 1817 | return gl::ProgramUniform4f(program, location, v0, v1, v2, v3); |
| 1818 | } |
| 1819 | |
| 1820 | void GL_APIENTRY glProgramUniform4fv(GLuint program, |
| 1821 | GLint location, |
| 1822 | GLsizei count, |
| 1823 | const GLfloat *value) |
| 1824 | { |
| 1825 | return gl::ProgramUniform4fv(program, location, count, value); |
| 1826 | } |
| 1827 | |
| 1828 | void GL_APIENTRY |
| 1829 | glProgramUniform4i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3) |
| 1830 | { |
| 1831 | return gl::ProgramUniform4i(program, location, v0, v1, v2, v3); |
| 1832 | } |
| 1833 | |
| 1834 | void GL_APIENTRY glProgramUniform4iv(GLuint program, |
| 1835 | GLint location, |
| 1836 | GLsizei count, |
| 1837 | const GLint *value) |
| 1838 | { |
| 1839 | return gl::ProgramUniform4iv(program, location, count, value); |
| 1840 | } |
| 1841 | |
| 1842 | void GL_APIENTRY |
| 1843 | glProgramUniform4ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) |
| 1844 | { |
| 1845 | return gl::ProgramUniform4ui(program, location, v0, v1, v2, v3); |
| 1846 | } |
| 1847 | |
| 1848 | void GL_APIENTRY glProgramUniform4uiv(GLuint program, |
| 1849 | GLint location, |
| 1850 | GLsizei count, |
| 1851 | const GLuint *value) |
| 1852 | { |
| 1853 | return gl::ProgramUniform4uiv(program, location, count, value); |
| 1854 | } |
| 1855 | |
| 1856 | void GL_APIENTRY glProgramUniformMatrix2fv(GLuint program, |
| 1857 | GLint location, |
| 1858 | GLsizei count, |
| 1859 | GLboolean transpose, |
| 1860 | const GLfloat *value) |
| 1861 | { |
| 1862 | return gl::ProgramUniformMatrix2fv(program, location, count, transpose, value); |
| 1863 | } |
| 1864 | |
| 1865 | void GL_APIENTRY glProgramUniformMatrix2x3fv(GLuint program, |
| 1866 | GLint location, |
| 1867 | GLsizei count, |
| 1868 | GLboolean transpose, |
| 1869 | const GLfloat *value) |
| 1870 | { |
| 1871 | return gl::ProgramUniformMatrix2x3fv(program, location, count, transpose, value); |
| 1872 | } |
| 1873 | |
| 1874 | void GL_APIENTRY glProgramUniformMatrix2x4fv(GLuint program, |
| 1875 | GLint location, |
| 1876 | GLsizei count, |
| 1877 | GLboolean transpose, |
| 1878 | const GLfloat *value) |
| 1879 | { |
| 1880 | return gl::ProgramUniformMatrix2x4fv(program, location, count, transpose, value); |
| 1881 | } |
| 1882 | |
| 1883 | void GL_APIENTRY glProgramUniformMatrix3fv(GLuint program, |
| 1884 | GLint location, |
| 1885 | GLsizei count, |
| 1886 | GLboolean transpose, |
| 1887 | const GLfloat *value) |
| 1888 | { |
| 1889 | return gl::ProgramUniformMatrix3fv(program, location, count, transpose, value); |
| 1890 | } |
| 1891 | |
| 1892 | void GL_APIENTRY glProgramUniformMatrix3x2fv(GLuint program, |
| 1893 | GLint location, |
| 1894 | GLsizei count, |
| 1895 | GLboolean transpose, |
| 1896 | const GLfloat *value) |
| 1897 | { |
| 1898 | return gl::ProgramUniformMatrix3x2fv(program, location, count, transpose, value); |
| 1899 | } |
| 1900 | |
| 1901 | void GL_APIENTRY glProgramUniformMatrix3x4fv(GLuint program, |
| 1902 | GLint location, |
| 1903 | GLsizei count, |
| 1904 | GLboolean transpose, |
| 1905 | const GLfloat *value) |
| 1906 | { |
| 1907 | return gl::ProgramUniformMatrix3x4fv(program, location, count, transpose, value); |
| 1908 | } |
| 1909 | |
| 1910 | void GL_APIENTRY glProgramUniformMatrix4fv(GLuint program, |
| 1911 | GLint location, |
| 1912 | GLsizei count, |
| 1913 | GLboolean transpose, |
| 1914 | const GLfloat *value) |
| 1915 | { |
| 1916 | return gl::ProgramUniformMatrix4fv(program, location, count, transpose, value); |
| 1917 | } |
| 1918 | |
| 1919 | void GL_APIENTRY glProgramUniformMatrix4x2fv(GLuint program, |
| 1920 | GLint location, |
| 1921 | GLsizei count, |
| 1922 | GLboolean transpose, |
| 1923 | const GLfloat *value) |
| 1924 | { |
| 1925 | return gl::ProgramUniformMatrix4x2fv(program, location, count, transpose, value); |
| 1926 | } |
| 1927 | |
| 1928 | void GL_APIENTRY glProgramUniformMatrix4x3fv(GLuint program, |
| 1929 | GLint location, |
| 1930 | GLsizei count, |
| 1931 | GLboolean transpose, |
| 1932 | const GLfloat *value) |
| 1933 | { |
| 1934 | return gl::ProgramUniformMatrix4x3fv(program, location, count, transpose, value); |
| 1935 | } |
| 1936 | |
| 1937 | void GL_APIENTRY glSampleMaski(GLuint maskNumber, GLbitfield mask) |
| 1938 | { |
| 1939 | return gl::SampleMaski(maskNumber, mask); |
| 1940 | } |
| 1941 | |
| 1942 | void GL_APIENTRY glTexStorage2DMultisample(GLenum target, |
| 1943 | GLsizei samples, |
| 1944 | GLenum internalformat, |
| 1945 | GLsizei width, |
| 1946 | GLsizei height, |
| 1947 | GLboolean fixedsamplelocations) |
| 1948 | { |
| 1949 | return gl::TexStorage2DMultisample(target, samples, internalformat, width, height, |
| 1950 | fixedsamplelocations); |
| 1951 | } |
| 1952 | |
| 1953 | void GL_APIENTRY glUseProgramStages(GLuint pipeline, GLbitfield stages, GLuint program) |
| 1954 | { |
| 1955 | return gl::UseProgramStages(pipeline, stages, program); |
| 1956 | } |
| 1957 | |
| 1958 | void GL_APIENTRY glValidateProgramPipeline(GLuint pipeline) |
| 1959 | { |
| 1960 | return gl::ValidateProgramPipeline(pipeline); |
| 1961 | } |
| 1962 | |
| 1963 | void GL_APIENTRY glVertexAttribBinding(GLuint attribindex, GLuint bindingindex) |
| 1964 | { |
| 1965 | return gl::VertexAttribBinding(attribindex, bindingindex); |
| 1966 | } |
| 1967 | |
| 1968 | void GL_APIENTRY glVertexAttribFormat(GLuint attribindex, |
| 1969 | GLint size, |
| 1970 | GLenum type, |
| 1971 | GLboolean normalized, |
| 1972 | GLuint relativeoffset) |
| 1973 | { |
| 1974 | return gl::VertexAttribFormat(attribindex, size, type, normalized, relativeoffset); |
| 1975 | } |
| 1976 | |
| 1977 | void GL_APIENTRY glVertexAttribIFormat(GLuint attribindex, |
| 1978 | GLint size, |
| 1979 | GLenum type, |
| 1980 | GLuint relativeoffset) |
| 1981 | { |
| 1982 | return gl::VertexAttribIFormat(attribindex, size, type, relativeoffset); |
| 1983 | } |
| 1984 | |
| 1985 | void GL_APIENTRY glVertexBindingDivisor(GLuint bindingindex, GLuint divisor) |
| 1986 | { |
| 1987 | return gl::VertexBindingDivisor(bindingindex, divisor); |
| 1988 | } |
| 1989 | |
| 1990 | // OpenGL ES 1.0 |
| 1991 | void GL_APIENTRY glAlphaFunc(GLenum func, GLfloat ref) |
| 1992 | { |
| 1993 | return gl::AlphaFunc(func, ref); |
| 1994 | } |
| 1995 | |
| 1996 | void GL_APIENTRY glAlphaFuncx(GLenum func, GLfixed ref) |
| 1997 | { |
| 1998 | return gl::AlphaFuncx(func, ref); |
| 1999 | } |
| 2000 | |
| 2001 | void GL_APIENTRY glClearColorx(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) |
| 2002 | { |
| 2003 | return gl::ClearColorx(red, green, blue, alpha); |
| 2004 | } |
| 2005 | |
| 2006 | void GL_APIENTRY glClearDepthx(GLfixed depth) |
| 2007 | { |
| 2008 | return gl::ClearDepthx(depth); |
| 2009 | } |
| 2010 | |
| 2011 | void GL_APIENTRY glClientActiveTexture(GLenum texture) |
| 2012 | { |
| 2013 | return gl::ClientActiveTexture(texture); |
| 2014 | } |
| 2015 | |
| 2016 | void GL_APIENTRY glClipPlanef(GLenum p, const GLfloat *eqn) |
| 2017 | { |
| 2018 | return gl::ClipPlanef(p, eqn); |
| 2019 | } |
| 2020 | |
| 2021 | void GL_APIENTRY glClipPlanex(GLenum plane, const GLfixed *equation) |
| 2022 | { |
| 2023 | return gl::ClipPlanex(plane, equation); |
| 2024 | } |
| 2025 | |
| 2026 | void GL_APIENTRY glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) |
| 2027 | { |
| 2028 | return gl::Color4f(red, green, blue, alpha); |
| 2029 | } |
| 2030 | |
| 2031 | void GL_APIENTRY glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) |
| 2032 | { |
| 2033 | return gl::Color4ub(red, green, blue, alpha); |
| 2034 | } |
| 2035 | |
| 2036 | void GL_APIENTRY glColor4x(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) |
| 2037 | { |
| 2038 | return gl::Color4x(red, green, blue, alpha); |
| 2039 | } |
| 2040 | |
| 2041 | void GL_APIENTRY glColorPointer(GLint size, GLenum type, GLsizei stride, const void *pointer) |
| 2042 | { |
| 2043 | return gl::ColorPointer(size, type, stride, pointer); |
| 2044 | } |
| 2045 | |
| 2046 | void GL_APIENTRY glDepthRangex(GLfixed n, GLfixed f) |
| 2047 | { |
| 2048 | return gl::DepthRangex(n, f); |
| 2049 | } |
| 2050 | |
| 2051 | void GL_APIENTRY glDisableClientState(GLenum array) |
| 2052 | { |
| 2053 | return gl::DisableClientState(array); |
| 2054 | } |
| 2055 | |
| 2056 | void GL_APIENTRY glEnableClientState(GLenum array) |
| 2057 | { |
| 2058 | return gl::EnableClientState(array); |
| 2059 | } |
| 2060 | |
| 2061 | void GL_APIENTRY glFogf(GLenum pname, GLfloat param) |
| 2062 | { |
| 2063 | return gl::Fogf(pname, param); |
| 2064 | } |
| 2065 | |
| 2066 | void GL_APIENTRY glFogfv(GLenum pname, const GLfloat *params) |
| 2067 | { |
| 2068 | return gl::Fogfv(pname, params); |
| 2069 | } |
| 2070 | |
| 2071 | void GL_APIENTRY glFogx(GLenum pname, GLfixed param) |
| 2072 | { |
| 2073 | return gl::Fogx(pname, param); |
| 2074 | } |
| 2075 | |
| 2076 | void GL_APIENTRY glFogxv(GLenum pname, const GLfixed *param) |
| 2077 | { |
| 2078 | return gl::Fogxv(pname, param); |
| 2079 | } |
| 2080 | |
| 2081 | void GL_APIENTRY glFrustumf(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f) |
| 2082 | { |
| 2083 | return gl::Frustumf(l, r, b, t, n, f); |
| 2084 | } |
| 2085 | |
| 2086 | void GL_APIENTRY glFrustumx(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f) |
| 2087 | { |
| 2088 | return gl::Frustumx(l, r, b, t, n, f); |
| 2089 | } |
| 2090 | |
| 2091 | void GL_APIENTRY glGetClipPlanef(GLenum plane, GLfloat *equation) |
| 2092 | { |
| 2093 | return gl::GetClipPlanef(plane, equation); |
| 2094 | } |
| 2095 | |
| 2096 | void GL_APIENTRY glGetClipPlanex(GLenum plane, GLfixed *equation) |
| 2097 | { |
| 2098 | return gl::GetClipPlanex(plane, equation); |
| 2099 | } |
| 2100 | |
| 2101 | void GL_APIENTRY glGetFixedv(GLenum pname, GLfixed *params) |
| 2102 | { |
| 2103 | return gl::GetFixedv(pname, params); |
| 2104 | } |
| 2105 | |
| 2106 | void GL_APIENTRY glGetLightfv(GLenum light, GLenum pname, GLfloat *params) |
| 2107 | { |
| 2108 | return gl::GetLightfv(light, pname, params); |
| 2109 | } |
| 2110 | |
| 2111 | void GL_APIENTRY glGetLightxv(GLenum light, GLenum pname, GLfixed *params) |
| 2112 | { |
| 2113 | return gl::GetLightxv(light, pname, params); |
| 2114 | } |
| 2115 | |
| 2116 | void GL_APIENTRY glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params) |
| 2117 | { |
| 2118 | return gl::GetMaterialfv(face, pname, params); |
| 2119 | } |
| 2120 | |
| 2121 | void GL_APIENTRY glGetMaterialxv(GLenum face, GLenum pname, GLfixed *params) |
| 2122 | { |
| 2123 | return gl::GetMaterialxv(face, pname, params); |
| 2124 | } |
| 2125 | |
| 2126 | void GL_APIENTRY glGetPointerv(GLenum pname, void **params) |
| 2127 | { |
| 2128 | return gl::GetPointerv(pname, params); |
| 2129 | } |
| 2130 | |
| 2131 | void GL_APIENTRY glGetTexEnvfv(GLenum target, GLenum pname, GLfloat *params) |
| 2132 | { |
| 2133 | return gl::GetTexEnvfv(target, pname, params); |
| 2134 | } |
| 2135 | |
| 2136 | void GL_APIENTRY glGetTexEnviv(GLenum target, GLenum pname, GLint *params) |
| 2137 | { |
| 2138 | return gl::GetTexEnviv(target, pname, params); |
| 2139 | } |
| 2140 | |
| 2141 | void GL_APIENTRY glGetTexEnvxv(GLenum target, GLenum pname, GLfixed *params) |
| 2142 | { |
| 2143 | return gl::GetTexEnvxv(target, pname, params); |
| 2144 | } |
| 2145 | |
| 2146 | void GL_APIENTRY glGetTexParameterxv(GLenum target, GLenum pname, GLfixed *params) |
| 2147 | { |
| 2148 | return gl::GetTexParameterxv(target, pname, params); |
| 2149 | } |
| 2150 | |
| 2151 | void GL_APIENTRY glLightModelf(GLenum pname, GLfloat param) |
| 2152 | { |
| 2153 | return gl::LightModelf(pname, param); |
| 2154 | } |
| 2155 | |
| 2156 | void GL_APIENTRY glLightModelfv(GLenum pname, const GLfloat *params) |
| 2157 | { |
| 2158 | return gl::LightModelfv(pname, params); |
| 2159 | } |
| 2160 | |
| 2161 | void GL_APIENTRY glLightModelx(GLenum pname, GLfixed param) |
| 2162 | { |
| 2163 | return gl::LightModelx(pname, param); |
| 2164 | } |
| 2165 | |
| 2166 | void GL_APIENTRY glLightModelxv(GLenum pname, const GLfixed *param) |
| 2167 | { |
| 2168 | return gl::LightModelxv(pname, param); |
| 2169 | } |
| 2170 | |
| 2171 | void GL_APIENTRY glLightf(GLenum light, GLenum pname, GLfloat param) |
| 2172 | { |
| 2173 | return gl::Lightf(light, pname, param); |
| 2174 | } |
| 2175 | |
| 2176 | void GL_APIENTRY glLightfv(GLenum light, GLenum pname, const GLfloat *params) |
| 2177 | { |
| 2178 | return gl::Lightfv(light, pname, params); |
| 2179 | } |
| 2180 | |
| 2181 | void GL_APIENTRY glLightx(GLenum light, GLenum pname, GLfixed param) |
| 2182 | { |
| 2183 | return gl::Lightx(light, pname, param); |
| 2184 | } |
| 2185 | |
| 2186 | void GL_APIENTRY glLightxv(GLenum light, GLenum pname, const GLfixed *params) |
| 2187 | { |
| 2188 | return gl::Lightxv(light, pname, params); |
| 2189 | } |
| 2190 | |
| 2191 | void GL_APIENTRY glLineWidthx(GLfixed width) |
| 2192 | { |
| 2193 | return gl::LineWidthx(width); |
| 2194 | } |
| 2195 | |
| 2196 | void GL_APIENTRY glLoadIdentity() |
| 2197 | { |
| 2198 | return gl::LoadIdentity(); |
| 2199 | } |
| 2200 | |
| 2201 | void GL_APIENTRY glLoadMatrixf(const GLfloat *m) |
| 2202 | { |
| 2203 | return gl::LoadMatrixf(m); |
| 2204 | } |
| 2205 | |
| 2206 | void GL_APIENTRY glLoadMatrixx(const GLfixed *m) |
| 2207 | { |
| 2208 | return gl::LoadMatrixx(m); |
| 2209 | } |
| 2210 | |
| 2211 | void GL_APIENTRY glLogicOp(GLenum opcode) |
| 2212 | { |
| 2213 | return gl::LogicOp(opcode); |
| 2214 | } |
| 2215 | |
| 2216 | void GL_APIENTRY glMaterialf(GLenum face, GLenum pname, GLfloat param) |
| 2217 | { |
| 2218 | return gl::Materialf(face, pname, param); |
| 2219 | } |
| 2220 | |
| 2221 | void GL_APIENTRY glMaterialfv(GLenum face, GLenum pname, const GLfloat *params) |
| 2222 | { |
| 2223 | return gl::Materialfv(face, pname, params); |
| 2224 | } |
| 2225 | |
| 2226 | void GL_APIENTRY glMaterialx(GLenum face, GLenum pname, GLfixed param) |
| 2227 | { |
| 2228 | return gl::Materialx(face, pname, param); |
| 2229 | } |
| 2230 | |
| 2231 | void GL_APIENTRY glMaterialxv(GLenum face, GLenum pname, const GLfixed *param) |
| 2232 | { |
| 2233 | return gl::Materialxv(face, pname, param); |
| 2234 | } |
| 2235 | |
| 2236 | void GL_APIENTRY glMatrixMode(GLenum mode) |
| 2237 | { |
| 2238 | return gl::MatrixMode(mode); |
| 2239 | } |
| 2240 | |
| 2241 | void GL_APIENTRY glMultMatrixf(const GLfloat *m) |
| 2242 | { |
| 2243 | return gl::MultMatrixf(m); |
| 2244 | } |
| 2245 | |
| 2246 | void GL_APIENTRY glMultMatrixx(const GLfixed *m) |
| 2247 | { |
| 2248 | return gl::MultMatrixx(m); |
| 2249 | } |
| 2250 | |
| 2251 | void GL_APIENTRY glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) |
| 2252 | { |
| 2253 | return gl::MultiTexCoord4f(target, s, t, r, q); |
| 2254 | } |
| 2255 | |
| 2256 | void GL_APIENTRY glMultiTexCoord4x(GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q) |
| 2257 | { |
| 2258 | return gl::MultiTexCoord4x(texture, s, t, r, q); |
| 2259 | } |
| 2260 | |
| 2261 | void GL_APIENTRY glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz) |
| 2262 | { |
| 2263 | return gl::Normal3f(nx, ny, nz); |
| 2264 | } |
| 2265 | |
| 2266 | void GL_APIENTRY glNormal3x(GLfixed nx, GLfixed ny, GLfixed nz) |
| 2267 | { |
| 2268 | return gl::Normal3x(nx, ny, nz); |
| 2269 | } |
| 2270 | |
| 2271 | void GL_APIENTRY glNormalPointer(GLenum type, GLsizei stride, const void *pointer) |
| 2272 | { |
| 2273 | return gl::NormalPointer(type, stride, pointer); |
| 2274 | } |
| 2275 | |
| 2276 | void GL_APIENTRY glOrthof(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f) |
| 2277 | { |
| 2278 | return gl::Orthof(l, r, b, t, n, f); |
| 2279 | } |
| 2280 | |
| 2281 | void GL_APIENTRY glOrthox(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f) |
| 2282 | { |
| 2283 | return gl::Orthox(l, r, b, t, n, f); |
| 2284 | } |
| 2285 | |
| 2286 | void GL_APIENTRY glPointParameterf(GLenum pname, GLfloat param) |
| 2287 | { |
| 2288 | return gl::PointParameterf(pname, param); |
| 2289 | } |
| 2290 | |
| 2291 | void GL_APIENTRY glPointParameterfv(GLenum pname, const GLfloat *params) |
| 2292 | { |
| 2293 | return gl::PointParameterfv(pname, params); |
| 2294 | } |
| 2295 | |
| 2296 | void GL_APIENTRY glPointParameterx(GLenum pname, GLfixed param) |
| 2297 | { |
| 2298 | return gl::PointParameterx(pname, param); |
| 2299 | } |
| 2300 | |
| 2301 | void GL_APIENTRY glPointParameterxv(GLenum pname, const GLfixed *params) |
| 2302 | { |
| 2303 | return gl::PointParameterxv(pname, params); |
| 2304 | } |
| 2305 | |
| 2306 | void GL_APIENTRY glPointSize(GLfloat size) |
| 2307 | { |
| 2308 | return gl::PointSize(size); |
| 2309 | } |
| 2310 | |
| 2311 | void GL_APIENTRY glPointSizex(GLfixed size) |
| 2312 | { |
| 2313 | return gl::PointSizex(size); |
| 2314 | } |
| 2315 | |
| 2316 | void GL_APIENTRY glPolygonOffsetx(GLfixed factor, GLfixed units) |
| 2317 | { |
| 2318 | return gl::PolygonOffsetx(factor, units); |
| 2319 | } |
| 2320 | |
| 2321 | void GL_APIENTRY glPopMatrix() |
| 2322 | { |
| 2323 | return gl::PopMatrix(); |
| 2324 | } |
| 2325 | |
| 2326 | void GL_APIENTRY glPushMatrix() |
| 2327 | { |
| 2328 | return gl::PushMatrix(); |
| 2329 | } |
| 2330 | |
| 2331 | void GL_APIENTRY glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z) |
| 2332 | { |
| 2333 | return gl::Rotatef(angle, x, y, z); |
| 2334 | } |
| 2335 | |
| 2336 | void GL_APIENTRY glRotatex(GLfixed angle, GLfixed x, GLfixed y, GLfixed z) |
| 2337 | { |
| 2338 | return gl::Rotatex(angle, x, y, z); |
| 2339 | } |
| 2340 | |
| 2341 | void GL_APIENTRY glSampleCoveragex(GLclampx value, GLboolean invert) |
| 2342 | { |
| 2343 | return gl::SampleCoveragex(value, invert); |
| 2344 | } |
| 2345 | |
| 2346 | void GL_APIENTRY glScalef(GLfloat x, GLfloat y, GLfloat z) |
| 2347 | { |
| 2348 | return gl::Scalef(x, y, z); |
| 2349 | } |
| 2350 | |
| 2351 | void GL_APIENTRY glScalex(GLfixed x, GLfixed y, GLfixed z) |
| 2352 | { |
| 2353 | return gl::Scalex(x, y, z); |
| 2354 | } |
| 2355 | |
| 2356 | void GL_APIENTRY glShadeModel(GLenum mode) |
| 2357 | { |
| 2358 | return gl::ShadeModel(mode); |
| 2359 | } |
| 2360 | |
| 2361 | void GL_APIENTRY glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const void *pointer) |
| 2362 | { |
| 2363 | return gl::TexCoordPointer(size, type, stride, pointer); |
| 2364 | } |
| 2365 | |
| 2366 | void GL_APIENTRY glTexEnvf(GLenum target, GLenum pname, GLfloat param) |
| 2367 | { |
| 2368 | return gl::TexEnvf(target, pname, param); |
| 2369 | } |
| 2370 | |
| 2371 | void GL_APIENTRY glTexEnvfv(GLenum target, GLenum pname, const GLfloat *params) |
| 2372 | { |
| 2373 | return gl::TexEnvfv(target, pname, params); |
| 2374 | } |
| 2375 | |
| 2376 | void GL_APIENTRY glTexEnvi(GLenum target, GLenum pname, GLint param) |
| 2377 | { |
| 2378 | return gl::TexEnvi(target, pname, param); |
| 2379 | } |
| 2380 | |
| 2381 | void GL_APIENTRY glTexEnviv(GLenum target, GLenum pname, const GLint *params) |
| 2382 | { |
| 2383 | return gl::TexEnviv(target, pname, params); |
| 2384 | } |
| 2385 | |
| 2386 | void GL_APIENTRY glTexEnvx(GLenum target, GLenum pname, GLfixed param) |
| 2387 | { |
| 2388 | return gl::TexEnvx(target, pname, param); |
| 2389 | } |
| 2390 | |
| 2391 | void GL_APIENTRY glTexEnvxv(GLenum target, GLenum pname, const GLfixed *params) |
| 2392 | { |
| 2393 | return gl::TexEnvxv(target, pname, params); |
| 2394 | } |
| 2395 | |
| 2396 | void GL_APIENTRY glTexParameterx(GLenum target, GLenum pname, GLfixed param) |
| 2397 | { |
| 2398 | return gl::TexParameterx(target, pname, param); |
| 2399 | } |
| 2400 | |
| 2401 | void GL_APIENTRY glTexParameterxv(GLenum target, GLenum pname, const GLfixed *params) |
| 2402 | { |
| 2403 | return gl::TexParameterxv(target, pname, params); |
| 2404 | } |
| 2405 | |
| 2406 | void GL_APIENTRY glTranslatef(GLfloat x, GLfloat y, GLfloat z) |
| 2407 | { |
| 2408 | return gl::Translatef(x, y, z); |
| 2409 | } |
| 2410 | |
| 2411 | void GL_APIENTRY glTranslatex(GLfixed x, GLfixed y, GLfixed z) |
| 2412 | { |
| 2413 | return gl::Translatex(x, y, z); |
| 2414 | } |
| 2415 | |
| 2416 | void GL_APIENTRY glVertexPointer(GLint size, GLenum type, GLsizei stride, const void *pointer) |
| 2417 | { |
| 2418 | return gl::VertexPointer(size, type, stride, pointer); |
| 2419 | } |
| 2420 | |
Brandon Jones | 4e6f2ae | 2018-09-19 11:09:51 -0700 | [diff] [blame] | 2421 | // GL_ANGLE_copy_texture_3d |
| 2422 | void GL_APIENTRY glCopyTexture3DANGLE(GLuint sourceId, |
| 2423 | GLint sourceLevel, |
| 2424 | GLenum destTarget, |
| 2425 | GLuint destId, |
| 2426 | GLint destLevel, |
| 2427 | GLint internalFormat, |
| 2428 | GLenum destType, |
| 2429 | GLboolean unpackFlipY, |
| 2430 | GLboolean unpackPremultiplyAlpha, |
| 2431 | GLboolean unpackUnmultiplyAlpha) |
| 2432 | { |
| 2433 | return gl::CopyTexture3DANGLE(sourceId, sourceLevel, destTarget, destId, destLevel, |
| 2434 | internalFormat, destType, unpackFlipY, unpackPremultiplyAlpha, |
| 2435 | unpackUnmultiplyAlpha); |
| 2436 | } |
| 2437 | |
| 2438 | void GL_APIENTRY glCopySubTexture3DANGLE(GLuint sourceId, |
| 2439 | GLint sourceLevel, |
| 2440 | GLenum destTarget, |
| 2441 | GLuint destId, |
| 2442 | GLint destLevel, |
| 2443 | GLint xoffset, |
| 2444 | GLint yoffset, |
| 2445 | GLint zoffset, |
| 2446 | GLint x, |
| 2447 | GLint y, |
| 2448 | GLint z, |
| 2449 | GLint width, |
| 2450 | GLint height, |
| 2451 | GLint depth, |
| 2452 | GLboolean unpackFlipY, |
| 2453 | GLboolean unpackPremultiplyAlpha, |
| 2454 | GLboolean unpackUnmultiplyAlpha) |
| 2455 | { |
| 2456 | return gl::CopySubTexture3DANGLE(sourceId, sourceLevel, destTarget, destId, destLevel, xoffset, |
| 2457 | yoffset, zoffset, x, y, z, width, height, depth, unpackFlipY, |
| 2458 | unpackPremultiplyAlpha, unpackUnmultiplyAlpha); |
| 2459 | } |
| 2460 | |
Brandon Jones | 41e59f5 | 2018-05-02 12:45:28 -0700 | [diff] [blame] | 2461 | // GL_ANGLE_framebuffer_blit |
| 2462 | void GL_APIENTRY glBlitFramebufferANGLE(GLint srcX0, |
| 2463 | GLint srcY0, |
| 2464 | GLint srcX1, |
| 2465 | GLint srcY1, |
| 2466 | GLint dstX0, |
| 2467 | GLint dstY0, |
| 2468 | GLint dstX1, |
| 2469 | GLint dstY1, |
| 2470 | GLbitfield mask, |
| 2471 | GLenum filter) |
| 2472 | { |
| 2473 | return gl::BlitFramebufferANGLE(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, |
| 2474 | filter); |
| 2475 | } |
| 2476 | |
| 2477 | // GL_ANGLE_framebuffer_multisample |
| 2478 | void GL_APIENTRY glRenderbufferStorageMultisampleANGLE(GLenum target, |
| 2479 | GLsizei samples, |
| 2480 | GLenum internalformat, |
| 2481 | GLsizei width, |
| 2482 | GLsizei height) |
| 2483 | { |
| 2484 | return gl::RenderbufferStorageMultisampleANGLE(target, samples, internalformat, width, height); |
| 2485 | } |
| 2486 | |
| 2487 | // GL_ANGLE_instanced_arrays |
| 2488 | void GL_APIENTRY glDrawArraysInstancedANGLE(GLenum mode, |
| 2489 | GLint first, |
| 2490 | GLsizei count, |
| 2491 | GLsizei primcount) |
| 2492 | { |
| 2493 | return gl::DrawArraysInstancedANGLE(mode, first, count, primcount); |
| 2494 | } |
| 2495 | |
| 2496 | void GL_APIENTRY glDrawElementsInstancedANGLE(GLenum mode, |
| 2497 | GLsizei count, |
| 2498 | GLenum type, |
| 2499 | const void *indices, |
| 2500 | GLsizei primcount) |
| 2501 | { |
| 2502 | return gl::DrawElementsInstancedANGLE(mode, count, type, indices, primcount); |
| 2503 | } |
| 2504 | |
| 2505 | void GL_APIENTRY glVertexAttribDivisorANGLE(GLuint index, GLuint divisor) |
| 2506 | { |
| 2507 | return gl::VertexAttribDivisorANGLE(index, divisor); |
| 2508 | } |
| 2509 | |
| 2510 | // GL_ANGLE_multiview |
| 2511 | void GL_APIENTRY glFramebufferTextureMultiviewLayeredANGLE(GLenum target, |
| 2512 | GLenum attachment, |
| 2513 | GLuint texture, |
| 2514 | GLint level, |
| 2515 | GLint baseViewIndex, |
| 2516 | GLsizei numViews) |
| 2517 | { |
| 2518 | return gl::FramebufferTextureMultiviewLayeredANGLE(target, attachment, texture, level, |
| 2519 | baseViewIndex, numViews); |
| 2520 | } |
| 2521 | |
| 2522 | void GL_APIENTRY glFramebufferTextureMultiviewSideBySideANGLE(GLenum target, |
| 2523 | GLenum attachment, |
| 2524 | GLuint texture, |
| 2525 | GLint level, |
| 2526 | GLsizei numViews, |
| 2527 | const GLint *viewportOffsets) |
| 2528 | { |
| 2529 | return gl::FramebufferTextureMultiviewSideBySideANGLE(target, attachment, texture, level, |
| 2530 | numViews, viewportOffsets); |
| 2531 | } |
| 2532 | |
| 2533 | // GL_ANGLE_request_extension |
| 2534 | void GL_APIENTRY glRequestExtensionANGLE(const GLchar *name) |
| 2535 | { |
| 2536 | return gl::RequestExtensionANGLE(name); |
| 2537 | } |
| 2538 | |
| 2539 | // GL_ANGLE_robust_client_memory |
| 2540 | void GL_APIENTRY glGetBooleanvRobustANGLE(GLenum pname, |
| 2541 | GLsizei bufSize, |
| 2542 | GLsizei *length, |
| 2543 | GLboolean *params) |
| 2544 | { |
| 2545 | return gl::GetBooleanvRobustANGLE(pname, bufSize, length, params); |
| 2546 | } |
| 2547 | |
| 2548 | void GL_APIENTRY glGetBufferParameterivRobustANGLE(GLenum target, |
| 2549 | GLenum pname, |
| 2550 | GLsizei bufSize, |
| 2551 | GLsizei *length, |
| 2552 | GLint *params) |
| 2553 | { |
| 2554 | return gl::GetBufferParameterivRobustANGLE(target, pname, bufSize, length, params); |
| 2555 | } |
| 2556 | |
| 2557 | void GL_APIENTRY glGetFloatvRobustANGLE(GLenum pname, |
| 2558 | GLsizei bufSize, |
| 2559 | GLsizei *length, |
| 2560 | GLfloat *params) |
| 2561 | { |
| 2562 | return gl::GetFloatvRobustANGLE(pname, bufSize, length, params); |
| 2563 | } |
| 2564 | |
| 2565 | void GL_APIENTRY glGetFramebufferAttachmentParameterivRobustANGLE(GLenum target, |
| 2566 | GLenum attachment, |
| 2567 | GLenum pname, |
| 2568 | GLsizei bufSize, |
| 2569 | GLsizei *length, |
| 2570 | GLint *params) |
| 2571 | { |
| 2572 | return gl::GetFramebufferAttachmentParameterivRobustANGLE(target, attachment, pname, bufSize, |
| 2573 | length, params); |
| 2574 | } |
| 2575 | |
| 2576 | void GL_APIENTRY glGetIntegervRobustANGLE(GLenum pname, |
| 2577 | GLsizei bufSize, |
| 2578 | GLsizei *length, |
| 2579 | GLint *data) |
| 2580 | { |
| 2581 | return gl::GetIntegervRobustANGLE(pname, bufSize, length, data); |
| 2582 | } |
| 2583 | |
| 2584 | void GL_APIENTRY glGetProgramivRobustANGLE(GLuint program, |
| 2585 | GLenum pname, |
| 2586 | GLsizei bufSize, |
| 2587 | GLsizei *length, |
| 2588 | GLint *params) |
| 2589 | { |
| 2590 | return gl::GetProgramivRobustANGLE(program, pname, bufSize, length, params); |
| 2591 | } |
| 2592 | |
| 2593 | void GL_APIENTRY glGetRenderbufferParameterivRobustANGLE(GLenum target, |
| 2594 | GLenum pname, |
| 2595 | GLsizei bufSize, |
| 2596 | GLsizei *length, |
| 2597 | GLint *params) |
| 2598 | { |
| 2599 | return gl::GetRenderbufferParameterivRobustANGLE(target, pname, bufSize, length, params); |
| 2600 | } |
| 2601 | |
| 2602 | void GL_APIENTRY glGetShaderivRobustANGLE(GLuint shader, |
| 2603 | GLenum pname, |
| 2604 | GLsizei bufSize, |
| 2605 | GLsizei *length, |
| 2606 | GLint *params) |
| 2607 | { |
| 2608 | return gl::GetShaderivRobustANGLE(shader, pname, bufSize, length, params); |
| 2609 | } |
| 2610 | |
| 2611 | void GL_APIENTRY glGetTexParameterfvRobustANGLE(GLenum target, |
| 2612 | GLenum pname, |
| 2613 | GLsizei bufSize, |
| 2614 | GLsizei *length, |
| 2615 | GLfloat *params) |
| 2616 | { |
| 2617 | return gl::GetTexParameterfvRobustANGLE(target, pname, bufSize, length, params); |
| 2618 | } |
| 2619 | |
| 2620 | void GL_APIENTRY glGetTexParameterivRobustANGLE(GLenum target, |
| 2621 | GLenum pname, |
| 2622 | GLsizei bufSize, |
| 2623 | GLsizei *length, |
| 2624 | GLint *params) |
| 2625 | { |
| 2626 | return gl::GetTexParameterivRobustANGLE(target, pname, bufSize, length, params); |
| 2627 | } |
| 2628 | |
| 2629 | void GL_APIENTRY glGetUniformfvRobustANGLE(GLuint program, |
| 2630 | GLint location, |
| 2631 | GLsizei bufSize, |
| 2632 | GLsizei *length, |
| 2633 | GLfloat *params) |
| 2634 | { |
| 2635 | return gl::GetUniformfvRobustANGLE(program, location, bufSize, length, params); |
| 2636 | } |
| 2637 | |
| 2638 | void GL_APIENTRY glGetUniformivRobustANGLE(GLuint program, |
| 2639 | GLint location, |
| 2640 | GLsizei bufSize, |
| 2641 | GLsizei *length, |
| 2642 | GLint *params) |
| 2643 | { |
| 2644 | return gl::GetUniformivRobustANGLE(program, location, bufSize, length, params); |
| 2645 | } |
| 2646 | |
| 2647 | void GL_APIENTRY glGetVertexAttribfvRobustANGLE(GLuint index, |
| 2648 | GLenum pname, |
| 2649 | GLsizei bufSize, |
| 2650 | GLsizei *length, |
| 2651 | GLfloat *params) |
| 2652 | { |
| 2653 | return gl::GetVertexAttribfvRobustANGLE(index, pname, bufSize, length, params); |
| 2654 | } |
| 2655 | |
| 2656 | void GL_APIENTRY glGetVertexAttribivRobustANGLE(GLuint index, |
| 2657 | GLenum pname, |
| 2658 | GLsizei bufSize, |
| 2659 | GLsizei *length, |
| 2660 | GLint *params) |
| 2661 | { |
| 2662 | return gl::GetVertexAttribivRobustANGLE(index, pname, bufSize, length, params); |
| 2663 | } |
| 2664 | |
| 2665 | void GL_APIENTRY glGetVertexAttribPointervRobustANGLE(GLuint index, |
| 2666 | GLenum pname, |
| 2667 | GLsizei bufSize, |
| 2668 | GLsizei *length, |
| 2669 | void **pointer) |
| 2670 | { |
| 2671 | return gl::GetVertexAttribPointervRobustANGLE(index, pname, bufSize, length, pointer); |
| 2672 | } |
| 2673 | |
| 2674 | void GL_APIENTRY glReadPixelsRobustANGLE(GLint x, |
| 2675 | GLint y, |
| 2676 | GLsizei width, |
| 2677 | GLsizei height, |
| 2678 | GLenum format, |
| 2679 | GLenum type, |
| 2680 | GLsizei bufSize, |
| 2681 | GLsizei *length, |
| 2682 | GLsizei *columns, |
| 2683 | GLsizei *rows, |
| 2684 | void *pixels) |
| 2685 | { |
| 2686 | return gl::ReadPixelsRobustANGLE(x, y, width, height, format, type, bufSize, length, columns, |
| 2687 | rows, pixels); |
| 2688 | } |
| 2689 | |
| 2690 | void GL_APIENTRY glTexImage2DRobustANGLE(GLenum target, |
| 2691 | GLint level, |
| 2692 | GLint internalformat, |
| 2693 | GLsizei width, |
| 2694 | GLsizei height, |
| 2695 | GLint border, |
| 2696 | GLenum format, |
| 2697 | GLenum type, |
| 2698 | GLsizei bufSize, |
| 2699 | const void *pixels) |
| 2700 | { |
| 2701 | return gl::TexImage2DRobustANGLE(target, level, internalformat, width, height, border, format, |
| 2702 | type, bufSize, pixels); |
| 2703 | } |
| 2704 | |
| 2705 | void GL_APIENTRY glTexParameterfvRobustANGLE(GLenum target, |
| 2706 | GLenum pname, |
| 2707 | GLsizei bufSize, |
| 2708 | const GLfloat *params) |
| 2709 | { |
| 2710 | return gl::TexParameterfvRobustANGLE(target, pname, bufSize, params); |
| 2711 | } |
| 2712 | |
| 2713 | void GL_APIENTRY glTexParameterivRobustANGLE(GLenum target, |
| 2714 | GLenum pname, |
| 2715 | GLsizei bufSize, |
| 2716 | const GLint *params) |
| 2717 | { |
| 2718 | return gl::TexParameterivRobustANGLE(target, pname, bufSize, params); |
| 2719 | } |
| 2720 | |
| 2721 | void GL_APIENTRY glTexSubImage2DRobustANGLE(GLenum target, |
| 2722 | GLint level, |
| 2723 | GLint xoffset, |
| 2724 | GLint yoffset, |
| 2725 | GLsizei width, |
| 2726 | GLsizei height, |
| 2727 | GLenum format, |
| 2728 | GLenum type, |
| 2729 | GLsizei bufSize, |
| 2730 | const void *pixels) |
| 2731 | { |
| 2732 | return gl::TexSubImage2DRobustANGLE(target, level, xoffset, yoffset, width, height, format, |
| 2733 | type, bufSize, pixels); |
| 2734 | } |
| 2735 | |
| 2736 | void GL_APIENTRY glTexImage3DRobustANGLE(GLenum target, |
| 2737 | GLint level, |
| 2738 | GLint internalformat, |
| 2739 | GLsizei width, |
| 2740 | GLsizei height, |
| 2741 | GLsizei depth, |
| 2742 | GLint border, |
| 2743 | GLenum format, |
| 2744 | GLenum type, |
| 2745 | GLsizei bufSize, |
| 2746 | const void *pixels) |
| 2747 | { |
| 2748 | return gl::TexImage3DRobustANGLE(target, level, internalformat, width, height, depth, border, |
| 2749 | format, type, bufSize, pixels); |
| 2750 | } |
| 2751 | |
| 2752 | void GL_APIENTRY glTexSubImage3DRobustANGLE(GLenum target, |
| 2753 | GLint level, |
| 2754 | GLint xoffset, |
| 2755 | GLint yoffset, |
| 2756 | GLint zoffset, |
| 2757 | GLsizei width, |
| 2758 | GLsizei height, |
| 2759 | GLsizei depth, |
| 2760 | GLenum format, |
| 2761 | GLenum type, |
| 2762 | GLsizei bufSize, |
| 2763 | const void *pixels) |
| 2764 | { |
| 2765 | return gl::TexSubImage3DRobustANGLE(target, level, xoffset, yoffset, zoffset, width, height, |
| 2766 | depth, format, type, bufSize, pixels); |
| 2767 | } |
| 2768 | |
| 2769 | void GL_APIENTRY glCompressedTexImage2DRobustANGLE(GLenum target, |
| 2770 | GLint level, |
| 2771 | GLenum internalformat, |
| 2772 | GLsizei width, |
| 2773 | GLsizei height, |
| 2774 | GLint border, |
| 2775 | GLsizei imageSize, |
| 2776 | GLsizei dataSize, |
| 2777 | const GLvoid *data) |
| 2778 | { |
| 2779 | return gl::CompressedTexImage2DRobustANGLE(target, level, internalformat, width, height, border, |
| 2780 | imageSize, dataSize, data); |
| 2781 | } |
| 2782 | |
| 2783 | void GL_APIENTRY glCompressedTexSubImage2DRobustANGLE(GLenum target, |
| 2784 | GLint level, |
| 2785 | GLsizei xoffset, |
| 2786 | GLsizei yoffset, |
| 2787 | GLsizei width, |
| 2788 | GLsizei height, |
| 2789 | GLenum format, |
| 2790 | GLsizei imageSize, |
| 2791 | GLsizei dataSize, |
| 2792 | const GLvoid *data) |
| 2793 | { |
| 2794 | return gl::CompressedTexSubImage2DRobustANGLE(target, level, xoffset, yoffset, width, height, |
| 2795 | format, imageSize, dataSize, data); |
| 2796 | } |
| 2797 | |
| 2798 | void GL_APIENTRY glCompressedTexImage3DRobustANGLE(GLenum target, |
| 2799 | GLint level, |
| 2800 | GLenum internalformat, |
| 2801 | GLsizei width, |
| 2802 | GLsizei height, |
| 2803 | GLsizei depth, |
| 2804 | GLint border, |
| 2805 | GLsizei imageSize, |
| 2806 | GLsizei dataSize, |
| 2807 | const GLvoid *data) |
| 2808 | { |
| 2809 | return gl::CompressedTexImage3DRobustANGLE(target, level, internalformat, width, height, depth, |
| 2810 | border, imageSize, dataSize, data); |
| 2811 | } |
| 2812 | |
| 2813 | void GL_APIENTRY glCompressedTexSubImage3DRobustANGLE(GLenum target, |
| 2814 | GLint level, |
| 2815 | GLint xoffset, |
| 2816 | GLint yoffset, |
| 2817 | GLint zoffset, |
| 2818 | GLsizei width, |
| 2819 | GLsizei height, |
| 2820 | GLsizei depth, |
| 2821 | GLenum format, |
| 2822 | GLsizei imageSize, |
| 2823 | GLsizei dataSize, |
| 2824 | const GLvoid *data) |
| 2825 | { |
| 2826 | return gl::CompressedTexSubImage3DRobustANGLE(target, level, xoffset, yoffset, zoffset, width, |
| 2827 | height, depth, format, imageSize, dataSize, data); |
| 2828 | } |
| 2829 | |
| 2830 | void GL_APIENTRY glGetQueryivRobustANGLE(GLenum target, |
| 2831 | GLenum pname, |
| 2832 | GLsizei bufSize, |
| 2833 | GLsizei *length, |
| 2834 | GLint *params) |
| 2835 | { |
| 2836 | return gl::GetQueryivRobustANGLE(target, pname, bufSize, length, params); |
| 2837 | } |
| 2838 | |
| 2839 | void GL_APIENTRY glGetQueryObjectuivRobustANGLE(GLuint id, |
| 2840 | GLenum pname, |
| 2841 | GLsizei bufSize, |
| 2842 | GLsizei *length, |
| 2843 | GLuint *params) |
| 2844 | { |
| 2845 | return gl::GetQueryObjectuivRobustANGLE(id, pname, bufSize, length, params); |
| 2846 | } |
| 2847 | |
| 2848 | void GL_APIENTRY glGetBufferPointervRobustANGLE(GLenum target, |
| 2849 | GLenum pname, |
| 2850 | GLsizei bufSize, |
| 2851 | GLsizei *length, |
| 2852 | void **params) |
| 2853 | { |
| 2854 | return gl::GetBufferPointervRobustANGLE(target, pname, bufSize, length, params); |
| 2855 | } |
| 2856 | |
| 2857 | void GL_APIENTRY glGetIntegeri_vRobustANGLE(GLenum target, |
| 2858 | GLuint index, |
| 2859 | GLsizei bufSize, |
| 2860 | GLsizei *length, |
| 2861 | GLint *data) |
| 2862 | { |
| 2863 | return gl::GetIntegeri_vRobustANGLE(target, index, bufSize, length, data); |
| 2864 | } |
| 2865 | |
| 2866 | void GL_APIENTRY glGetInternalformativRobustANGLE(GLenum target, |
| 2867 | GLenum internalformat, |
| 2868 | GLenum pname, |
| 2869 | GLsizei bufSize, |
| 2870 | GLsizei *length, |
| 2871 | GLint *params) |
| 2872 | { |
| 2873 | return gl::GetInternalformativRobustANGLE(target, internalformat, pname, bufSize, length, |
| 2874 | params); |
| 2875 | } |
| 2876 | |
| 2877 | void GL_APIENTRY glGetVertexAttribIivRobustANGLE(GLuint index, |
| 2878 | GLenum pname, |
| 2879 | GLsizei bufSize, |
| 2880 | GLsizei *length, |
| 2881 | GLint *params) |
| 2882 | { |
| 2883 | return gl::GetVertexAttribIivRobustANGLE(index, pname, bufSize, length, params); |
| 2884 | } |
| 2885 | |
| 2886 | void GL_APIENTRY glGetVertexAttribIuivRobustANGLE(GLuint index, |
| 2887 | GLenum pname, |
| 2888 | GLsizei bufSize, |
| 2889 | GLsizei *length, |
| 2890 | GLuint *params) |
| 2891 | { |
| 2892 | return gl::GetVertexAttribIuivRobustANGLE(index, pname, bufSize, length, params); |
| 2893 | } |
| 2894 | |
| 2895 | void GL_APIENTRY glGetUniformuivRobustANGLE(GLuint program, |
| 2896 | GLint location, |
| 2897 | GLsizei bufSize, |
| 2898 | GLsizei *length, |
| 2899 | GLuint *params) |
| 2900 | { |
| 2901 | return gl::GetUniformuivRobustANGLE(program, location, bufSize, length, params); |
| 2902 | } |
| 2903 | |
| 2904 | void GL_APIENTRY glGetActiveUniformBlockivRobustANGLE(GLuint program, |
| 2905 | GLuint uniformBlockIndex, |
| 2906 | GLenum pname, |
| 2907 | GLsizei bufSize, |
| 2908 | GLsizei *length, |
| 2909 | GLint *params) |
| 2910 | { |
| 2911 | return gl::GetActiveUniformBlockivRobustANGLE(program, uniformBlockIndex, pname, bufSize, |
| 2912 | length, params); |
| 2913 | } |
| 2914 | |
| 2915 | void GL_APIENTRY glGetInteger64vRobustANGLE(GLenum pname, |
| 2916 | GLsizei bufSize, |
| 2917 | GLsizei *length, |
| 2918 | GLint64 *data) |
| 2919 | { |
| 2920 | return gl::GetInteger64vRobustANGLE(pname, bufSize, length, data); |
| 2921 | } |
| 2922 | |
| 2923 | void GL_APIENTRY glGetInteger64i_vRobustANGLE(GLenum target, |
| 2924 | GLuint index, |
| 2925 | GLsizei bufSize, |
| 2926 | GLsizei *length, |
| 2927 | GLint64 *data) |
| 2928 | { |
| 2929 | return gl::GetInteger64i_vRobustANGLE(target, index, bufSize, length, data); |
| 2930 | } |
| 2931 | |
| 2932 | void GL_APIENTRY glGetBufferParameteri64vRobustANGLE(GLenum target, |
| 2933 | GLenum pname, |
| 2934 | GLsizei bufSize, |
| 2935 | GLsizei *length, |
| 2936 | GLint64 *params) |
| 2937 | { |
| 2938 | return gl::GetBufferParameteri64vRobustANGLE(target, pname, bufSize, length, params); |
| 2939 | } |
| 2940 | |
| 2941 | void GL_APIENTRY glSamplerParameterivRobustANGLE(GLuint sampler, |
| 2942 | GLuint pname, |
| 2943 | GLsizei bufSize, |
| 2944 | const GLint *param) |
| 2945 | { |
| 2946 | return gl::SamplerParameterivRobustANGLE(sampler, pname, bufSize, param); |
| 2947 | } |
| 2948 | |
| 2949 | void GL_APIENTRY glSamplerParameterfvRobustANGLE(GLuint sampler, |
| 2950 | GLenum pname, |
| 2951 | GLsizei bufSize, |
| 2952 | const GLfloat *param) |
| 2953 | { |
| 2954 | return gl::SamplerParameterfvRobustANGLE(sampler, pname, bufSize, param); |
| 2955 | } |
| 2956 | |
| 2957 | void GL_APIENTRY glGetSamplerParameterivRobustANGLE(GLuint sampler, |
| 2958 | GLenum pname, |
| 2959 | GLsizei bufSize, |
| 2960 | GLsizei *length, |
| 2961 | GLint *params) |
| 2962 | { |
| 2963 | return gl::GetSamplerParameterivRobustANGLE(sampler, pname, bufSize, length, params); |
| 2964 | } |
| 2965 | |
| 2966 | void GL_APIENTRY glGetSamplerParameterfvRobustANGLE(GLuint sampler, |
| 2967 | GLenum pname, |
| 2968 | GLsizei bufSize, |
| 2969 | GLsizei *length, |
| 2970 | GLfloat *params) |
| 2971 | { |
| 2972 | return gl::GetSamplerParameterfvRobustANGLE(sampler, pname, bufSize, length, params); |
| 2973 | } |
| 2974 | |
| 2975 | void GL_APIENTRY glGetFramebufferParameterivRobustANGLE(GLuint sampler, |
| 2976 | GLenum pname, |
| 2977 | GLsizei bufSize, |
| 2978 | GLsizei *length, |
| 2979 | GLint *params) |
| 2980 | { |
| 2981 | return gl::GetFramebufferParameterivRobustANGLE(sampler, pname, bufSize, length, params); |
| 2982 | } |
| 2983 | |
| 2984 | void GL_APIENTRY glGetProgramInterfaceivRobustANGLE(GLuint program, |
| 2985 | GLenum programInterface, |
| 2986 | GLenum pname, |
| 2987 | GLsizei bufSize, |
| 2988 | GLsizei *length, |
| 2989 | GLint *params) |
| 2990 | { |
| 2991 | return gl::GetProgramInterfaceivRobustANGLE(program, programInterface, pname, bufSize, length, |
| 2992 | params); |
| 2993 | } |
| 2994 | |
| 2995 | void GL_APIENTRY glGetBooleani_vRobustANGLE(GLenum target, |
| 2996 | GLuint index, |
| 2997 | GLsizei bufSize, |
| 2998 | GLsizei *length, |
| 2999 | GLboolean *data) |
| 3000 | { |
| 3001 | return gl::GetBooleani_vRobustANGLE(target, index, bufSize, length, data); |
| 3002 | } |
| 3003 | |
| 3004 | void GL_APIENTRY glGetMultisamplefvRobustANGLE(GLenum pname, |
| 3005 | GLuint index, |
| 3006 | GLsizei bufSize, |
| 3007 | GLsizei *length, |
| 3008 | GLfloat *val) |
| 3009 | { |
| 3010 | return gl::GetMultisamplefvRobustANGLE(pname, index, bufSize, length, val); |
| 3011 | } |
| 3012 | |
| 3013 | void GL_APIENTRY glGetTexLevelParameterivRobustANGLE(GLenum target, |
| 3014 | GLint level, |
| 3015 | GLenum pname, |
| 3016 | GLsizei bufSize, |
| 3017 | GLsizei *length, |
| 3018 | GLint *params) |
| 3019 | { |
| 3020 | return gl::GetTexLevelParameterivRobustANGLE(target, level, pname, bufSize, length, params); |
| 3021 | } |
| 3022 | |
| 3023 | void GL_APIENTRY glGetTexLevelParameterfvRobustANGLE(GLenum target, |
| 3024 | GLint level, |
| 3025 | GLenum pname, |
| 3026 | GLsizei bufSize, |
| 3027 | GLsizei *length, |
| 3028 | GLfloat *params) |
| 3029 | { |
| 3030 | return gl::GetTexLevelParameterfvRobustANGLE(target, level, pname, bufSize, length, params); |
| 3031 | } |
| 3032 | |
| 3033 | void GL_APIENTRY glGetPointervRobustANGLERobustANGLE(GLenum pname, |
| 3034 | GLsizei bufSize, |
| 3035 | GLsizei *length, |
| 3036 | void **params) |
| 3037 | { |
| 3038 | return gl::GetPointervRobustANGLERobustANGLE(pname, bufSize, length, params); |
| 3039 | } |
| 3040 | |
| 3041 | void GL_APIENTRY glReadnPixelsRobustANGLE(GLint x, |
| 3042 | GLint y, |
| 3043 | GLsizei width, |
| 3044 | GLsizei height, |
| 3045 | GLenum format, |
| 3046 | GLenum type, |
| 3047 | GLsizei bufSize, |
| 3048 | GLsizei *length, |
| 3049 | GLsizei *columns, |
| 3050 | GLsizei *rows, |
| 3051 | void *data) |
| 3052 | { |
| 3053 | return gl::ReadnPixelsRobustANGLE(x, y, width, height, format, type, bufSize, length, columns, |
| 3054 | rows, data); |
| 3055 | } |
| 3056 | |
| 3057 | void GL_APIENTRY glGetnUniformfvRobustANGLE(GLuint program, |
| 3058 | GLint location, |
| 3059 | GLsizei bufSize, |
| 3060 | GLsizei *length, |
| 3061 | GLfloat *params) |
| 3062 | { |
| 3063 | return gl::GetnUniformfvRobustANGLE(program, location, bufSize, length, params); |
| 3064 | } |
| 3065 | |
| 3066 | void GL_APIENTRY glGetnUniformivRobustANGLE(GLuint program, |
| 3067 | GLint location, |
| 3068 | GLsizei bufSize, |
| 3069 | GLsizei *length, |
| 3070 | GLint *params) |
| 3071 | { |
| 3072 | return gl::GetnUniformivRobustANGLE(program, location, bufSize, length, params); |
| 3073 | } |
| 3074 | |
| 3075 | void GL_APIENTRY glGetnUniformuivRobustANGLE(GLuint program, |
| 3076 | GLint location, |
| 3077 | GLsizei bufSize, |
| 3078 | GLsizei *length, |
| 3079 | GLuint *params) |
| 3080 | { |
| 3081 | return gl::GetnUniformuivRobustANGLE(program, location, bufSize, length, params); |
| 3082 | } |
| 3083 | |
| 3084 | void GL_APIENTRY glTexParameterIivRobustANGLE(GLenum target, |
| 3085 | GLenum pname, |
| 3086 | GLsizei bufSize, |
| 3087 | const GLint *params) |
| 3088 | { |
| 3089 | return gl::TexParameterIivRobustANGLE(target, pname, bufSize, params); |
| 3090 | } |
| 3091 | |
| 3092 | void GL_APIENTRY glTexParameterIuivRobustANGLE(GLenum target, |
| 3093 | GLenum pname, |
| 3094 | GLsizei bufSize, |
| 3095 | const GLuint *params) |
| 3096 | { |
| 3097 | return gl::TexParameterIuivRobustANGLE(target, pname, bufSize, params); |
| 3098 | } |
| 3099 | |
| 3100 | void GL_APIENTRY glGetTexParameterIivRobustANGLE(GLenum target, |
| 3101 | GLenum pname, |
| 3102 | GLsizei bufSize, |
| 3103 | GLsizei *length, |
| 3104 | GLint *params) |
| 3105 | { |
| 3106 | return gl::GetTexParameterIivRobustANGLE(target, pname, bufSize, length, params); |
| 3107 | } |
| 3108 | |
| 3109 | void GL_APIENTRY glGetTexParameterIuivRobustANGLE(GLenum target, |
| 3110 | GLenum pname, |
| 3111 | GLsizei bufSize, |
| 3112 | GLsizei *length, |
| 3113 | GLuint *params) |
| 3114 | { |
| 3115 | return gl::GetTexParameterIuivRobustANGLE(target, pname, bufSize, length, params); |
| 3116 | } |
| 3117 | |
| 3118 | void GL_APIENTRY glSamplerParameterIivRobustANGLE(GLuint sampler, |
| 3119 | GLenum pname, |
| 3120 | GLsizei bufSize, |
| 3121 | const GLint *param) |
| 3122 | { |
| 3123 | return gl::SamplerParameterIivRobustANGLE(sampler, pname, bufSize, param); |
| 3124 | } |
| 3125 | |
| 3126 | void GL_APIENTRY glSamplerParameterIuivRobustANGLE(GLuint sampler, |
| 3127 | GLenum pname, |
| 3128 | GLsizei bufSize, |
| 3129 | const GLuint *param) |
| 3130 | { |
| 3131 | return gl::SamplerParameterIuivRobustANGLE(sampler, pname, bufSize, param); |
| 3132 | } |
| 3133 | |
| 3134 | void GL_APIENTRY glGetSamplerParameterIivRobustANGLE(GLuint sampler, |
| 3135 | GLenum pname, |
| 3136 | GLsizei bufSize, |
| 3137 | GLsizei *length, |
| 3138 | GLint *params) |
| 3139 | { |
| 3140 | return gl::GetSamplerParameterIivRobustANGLE(sampler, pname, bufSize, length, params); |
| 3141 | } |
| 3142 | |
| 3143 | void GL_APIENTRY glGetSamplerParameterIuivRobustANGLE(GLuint sampler, |
| 3144 | GLenum pname, |
| 3145 | GLsizei bufSize, |
| 3146 | GLsizei *length, |
| 3147 | GLuint *params) |
| 3148 | { |
| 3149 | return gl::GetSamplerParameterIuivRobustANGLE(sampler, pname, bufSize, length, params); |
| 3150 | } |
| 3151 | |
| 3152 | void GL_APIENTRY glGetQueryObjectivRobustANGLE(GLuint id, |
| 3153 | GLenum pname, |
| 3154 | GLsizei bufSize, |
| 3155 | GLsizei *length, |
| 3156 | GLint *params) |
| 3157 | { |
| 3158 | return gl::GetQueryObjectivRobustANGLE(id, pname, bufSize, length, params); |
| 3159 | } |
| 3160 | |
| 3161 | void GL_APIENTRY glGetQueryObjecti64vRobustANGLE(GLuint id, |
| 3162 | GLenum pname, |
| 3163 | GLsizei bufSize, |
| 3164 | GLsizei *length, |
| 3165 | GLint64 *params) |
| 3166 | { |
| 3167 | return gl::GetQueryObjecti64vRobustANGLE(id, pname, bufSize, length, params); |
| 3168 | } |
| 3169 | |
| 3170 | void GL_APIENTRY glGetQueryObjectui64vRobustANGLE(GLuint id, |
| 3171 | GLenum pname, |
| 3172 | GLsizei bufSize, |
| 3173 | GLsizei *length, |
| 3174 | GLuint64 *params) |
| 3175 | { |
| 3176 | return gl::GetQueryObjectui64vRobustANGLE(id, pname, bufSize, length, params); |
| 3177 | } |
| 3178 | |
Yizhou Jiang | 7818a85 | 2018-09-06 15:02:04 +0800 | [diff] [blame^] | 3179 | // GL_ANGLE_texture_multisample |
| 3180 | void GL_APIENTRY glTexStorage2DMultisampleANGLE(GLenum target, |
| 3181 | GLsizei samples, |
| 3182 | GLenum internalformat, |
| 3183 | GLsizei width, |
| 3184 | GLsizei height, |
| 3185 | GLboolean fixedsamplelocations) |
| 3186 | { |
| 3187 | return gl::TexStorage2DMultisampleANGLE(target, samples, internalformat, width, height, |
| 3188 | fixedsamplelocations); |
| 3189 | } |
| 3190 | |
Brandon Jones | 41e59f5 | 2018-05-02 12:45:28 -0700 | [diff] [blame] | 3191 | // GL_ANGLE_translated_shader_source |
| 3192 | void GL_APIENTRY glGetTranslatedShaderSourceANGLE(GLuint shader, |
| 3193 | GLsizei bufsize, |
| 3194 | GLsizei *length, |
| 3195 | GLchar *source) |
| 3196 | { |
| 3197 | return gl::GetTranslatedShaderSourceANGLE(shader, bufsize, length, source); |
| 3198 | } |
| 3199 | |
| 3200 | // GL_CHROMIUM_bind_uniform_location |
| 3201 | void GL_APIENTRY glBindUniformLocationCHROMIUM(GLuint program, GLint location, const GLchar *name) |
| 3202 | { |
| 3203 | return gl::BindUniformLocationCHROMIUM(program, location, name); |
| 3204 | } |
| 3205 | |
| 3206 | // GL_CHROMIUM_copy_compressed_texture |
| 3207 | void GL_APIENTRY glCompressedCopyTextureCHROMIUM(GLuint sourceId, GLuint destId) |
| 3208 | { |
| 3209 | return gl::CompressedCopyTextureCHROMIUM(sourceId, destId); |
| 3210 | } |
| 3211 | |
| 3212 | // GL_CHROMIUM_copy_texture |
| 3213 | void GL_APIENTRY glCopyTextureCHROMIUM(GLuint sourceId, |
| 3214 | GLint sourceLevel, |
| 3215 | GLenum destTarget, |
| 3216 | GLuint destId, |
| 3217 | GLint destLevel, |
| 3218 | GLint internalFormat, |
| 3219 | GLenum destType, |
| 3220 | GLboolean unpackFlipY, |
| 3221 | GLboolean unpackPremultiplyAlpha, |
| 3222 | GLboolean unpackUnmultiplyAlpha) |
| 3223 | { |
| 3224 | return gl::CopyTextureCHROMIUM(sourceId, sourceLevel, destTarget, destId, destLevel, |
| 3225 | internalFormat, destType, unpackFlipY, unpackPremultiplyAlpha, |
| 3226 | unpackUnmultiplyAlpha); |
| 3227 | } |
| 3228 | |
| 3229 | void GL_APIENTRY glCopySubTextureCHROMIUM(GLuint sourceId, |
| 3230 | GLint sourceLevel, |
| 3231 | GLenum destTarget, |
| 3232 | GLuint destId, |
| 3233 | GLint destLevel, |
| 3234 | GLint xoffset, |
| 3235 | GLint yoffset, |
| 3236 | GLint x, |
| 3237 | GLint y, |
| 3238 | GLint width, |
| 3239 | GLint height, |
| 3240 | GLboolean unpackFlipY, |
| 3241 | GLboolean unpackPremultiplyAlpha, |
| 3242 | GLboolean unpackUnmultiplyAlpha) |
| 3243 | { |
| 3244 | return gl::CopySubTextureCHROMIUM(sourceId, sourceLevel, destTarget, destId, destLevel, xoffset, |
| 3245 | yoffset, x, y, width, height, unpackFlipY, |
| 3246 | unpackPremultiplyAlpha, unpackUnmultiplyAlpha); |
| 3247 | } |
| 3248 | |
| 3249 | // GL_CHROMIUM_framebuffer_mixed_samples |
| 3250 | void GL_APIENTRY glCoverageModulationCHROMIUM(GLenum components) |
| 3251 | { |
| 3252 | return gl::CoverageModulationCHROMIUM(components); |
| 3253 | } |
| 3254 | |
| 3255 | void GL_APIENTRY glMatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat *matrix) |
| 3256 | { |
| 3257 | return gl::MatrixLoadfCHROMIUM(matrixMode, matrix); |
| 3258 | } |
| 3259 | |
| 3260 | void GL_APIENTRY glMatrixLoadIdentityCHROMIUM(GLenum matrixMode) |
| 3261 | { |
| 3262 | return gl::MatrixLoadIdentityCHROMIUM(matrixMode); |
| 3263 | } |
| 3264 | |
| 3265 | // GL_CHROMIUM_path_rendering |
| 3266 | GLuint GL_APIENTRY glGenPathsCHROMIUM(GLsizei range) |
| 3267 | { |
| 3268 | return gl::GenPathsCHROMIUM(range); |
| 3269 | } |
| 3270 | |
| 3271 | void GL_APIENTRY glDeletePathsCHROMIUM(GLuint first, GLsizei range) |
| 3272 | { |
| 3273 | return gl::DeletePathsCHROMIUM(first, range); |
| 3274 | } |
| 3275 | |
| 3276 | GLboolean GL_APIENTRY glIsPathCHROMIUM(GLuint path) |
| 3277 | { |
| 3278 | return gl::IsPathCHROMIUM(path); |
| 3279 | } |
| 3280 | |
| 3281 | void GL_APIENTRY glPathCommandsCHROMIUM(GLuint path, |
| 3282 | GLsizei numCommands, |
| 3283 | const GLubyte *commands, |
| 3284 | GLsizei numCoords, |
| 3285 | GLenum coordType, |
| 3286 | const void *coords) |
| 3287 | { |
| 3288 | return gl::PathCommandsCHROMIUM(path, numCommands, commands, numCoords, coordType, coords); |
| 3289 | } |
| 3290 | |
| 3291 | void GL_APIENTRY glPathParameterfCHROMIUM(GLuint path, GLenum pname, GLfloat value) |
| 3292 | { |
| 3293 | return gl::PathParameterfCHROMIUM(path, pname, value); |
| 3294 | } |
| 3295 | |
| 3296 | void GL_APIENTRY glPathParameteriCHROMIUM(GLuint path, GLenum pname, GLint value) |
| 3297 | { |
| 3298 | return gl::PathParameteriCHROMIUM(path, pname, value); |
| 3299 | } |
| 3300 | |
| 3301 | void GL_APIENTRY glGetPathParameterfvCHROMIUM(GLuint path, GLenum pname, GLfloat *value) |
| 3302 | { |
| 3303 | return gl::GetPathParameterfvCHROMIUM(path, pname, value); |
| 3304 | } |
| 3305 | |
| 3306 | void GL_APIENTRY glGetPathParameterivCHROMIUM(GLuint path, GLenum pname, GLint *value) |
| 3307 | { |
| 3308 | return gl::GetPathParameterivCHROMIUM(path, pname, value); |
| 3309 | } |
| 3310 | |
| 3311 | void GL_APIENTRY glPathStencilFuncCHROMIUM(GLenum func, GLint ref, GLuint mask) |
| 3312 | { |
| 3313 | return gl::PathStencilFuncCHROMIUM(func, ref, mask); |
| 3314 | } |
| 3315 | |
| 3316 | void GL_APIENTRY glStencilFillPathCHROMIUM(GLuint path, GLenum fillMode, GLuint mask) |
| 3317 | { |
| 3318 | return gl::StencilFillPathCHROMIUM(path, fillMode, mask); |
| 3319 | } |
| 3320 | |
| 3321 | void GL_APIENTRY glStencilStrokePathCHROMIUM(GLuint path, GLint reference, GLuint mask) |
| 3322 | { |
| 3323 | return gl::StencilStrokePathCHROMIUM(path, reference, mask); |
| 3324 | } |
| 3325 | |
| 3326 | void GL_APIENTRY glCoverFillPathCHROMIUM(GLuint path, GLenum coverMode) |
| 3327 | { |
| 3328 | return gl::CoverFillPathCHROMIUM(path, coverMode); |
| 3329 | } |
| 3330 | |
| 3331 | void GL_APIENTRY glCoverStrokePathCHROMIUM(GLuint path, GLenum coverMode) |
| 3332 | { |
| 3333 | return gl::CoverStrokePathCHROMIUM(path, coverMode); |
| 3334 | } |
| 3335 | |
| 3336 | void GL_APIENTRY glStencilThenCoverFillPathCHROMIUM(GLuint path, |
| 3337 | GLenum fillMode, |
| 3338 | GLuint mask, |
| 3339 | GLenum coverMode) |
| 3340 | { |
| 3341 | return gl::StencilThenCoverFillPathCHROMIUM(path, fillMode, mask, coverMode); |
| 3342 | } |
| 3343 | |
| 3344 | void GL_APIENTRY glStencilThenCoverStrokePathCHROMIUM(GLuint path, |
| 3345 | GLint reference, |
| 3346 | GLuint mask, |
| 3347 | GLenum coverMode) |
| 3348 | { |
| 3349 | return gl::StencilThenCoverStrokePathCHROMIUM(path, reference, mask, coverMode); |
| 3350 | } |
| 3351 | |
| 3352 | void GL_APIENTRY glCoverFillPathInstancedCHROMIUM(GLsizei numPath, |
| 3353 | GLenum pathNameType, |
| 3354 | const void *paths, |
| 3355 | GLuint pathBase, |
| 3356 | GLenum coverMode, |
| 3357 | GLenum transformType, |
| 3358 | const GLfloat *transformValues) |
| 3359 | { |
| 3360 | return gl::CoverFillPathInstancedCHROMIUM(numPath, pathNameType, paths, pathBase, coverMode, |
| 3361 | transformType, transformValues); |
| 3362 | } |
| 3363 | |
| 3364 | void GL_APIENTRY glCoverStrokePathInstancedCHROMIUM(GLsizei numPath, |
| 3365 | GLenum pathNameType, |
| 3366 | const void *paths, |
| 3367 | GLuint pathBase, |
| 3368 | GLenum coverMode, |
| 3369 | GLenum transformType, |
| 3370 | const GLfloat *transformValues) |
| 3371 | { |
| 3372 | return gl::CoverStrokePathInstancedCHROMIUM(numPath, pathNameType, paths, pathBase, coverMode, |
| 3373 | transformType, transformValues); |
| 3374 | } |
| 3375 | |
| 3376 | void GL_APIENTRY glStencilStrokePathInstancedCHROMIUM(GLsizei numPath, |
| 3377 | GLenum pathNameType, |
| 3378 | const void *paths, |
| 3379 | GLuint pathBase, |
| 3380 | GLint reference, |
| 3381 | GLuint mask, |
| 3382 | GLenum transformType, |
| 3383 | const GLfloat *transformValues) |
| 3384 | { |
| 3385 | return gl::StencilStrokePathInstancedCHROMIUM(numPath, pathNameType, paths, pathBase, reference, |
| 3386 | mask, transformType, transformValues); |
| 3387 | } |
| 3388 | |
| 3389 | void GL_APIENTRY glStencilFillPathInstancedCHROMIUM(GLsizei numPaths, |
| 3390 | GLenum pathNameType, |
| 3391 | const void *paths, |
| 3392 | GLuint pathBase, |
| 3393 | GLenum fillMode, |
| 3394 | GLuint mask, |
| 3395 | GLenum transformType, |
| 3396 | const GLfloat *transformValues) |
| 3397 | { |
| 3398 | return gl::StencilFillPathInstancedCHROMIUM(numPaths, pathNameType, paths, pathBase, fillMode, |
| 3399 | mask, transformType, transformValues); |
| 3400 | } |
| 3401 | |
| 3402 | void GL_APIENTRY glStencilThenCoverFillPathInstancedCHROMIUM(GLsizei numPaths, |
| 3403 | GLenum pathNameType, |
| 3404 | const void *paths, |
| 3405 | GLuint pathBase, |
| 3406 | GLenum fillMode, |
| 3407 | GLuint mask, |
| 3408 | GLenum coverMode, |
| 3409 | GLenum transformType, |
| 3410 | const GLfloat *transformValues) |
| 3411 | { |
| 3412 | return gl::StencilThenCoverFillPathInstancedCHROMIUM(numPaths, pathNameType, paths, pathBase, |
| 3413 | fillMode, mask, coverMode, transformType, |
| 3414 | transformValues); |
| 3415 | } |
| 3416 | |
| 3417 | void GL_APIENTRY glStencilThenCoverStrokePathInstancedCHROMIUM(GLsizei numPaths, |
| 3418 | GLenum pathNameType, |
| 3419 | const void *paths, |
| 3420 | GLuint pathBase, |
| 3421 | GLint reference, |
| 3422 | GLuint mask, |
| 3423 | GLenum coverMode, |
| 3424 | GLenum transformType, |
| 3425 | const GLfloat *transformValues) |
| 3426 | { |
| 3427 | return gl::StencilThenCoverStrokePathInstancedCHROMIUM(numPaths, pathNameType, paths, pathBase, |
| 3428 | reference, mask, coverMode, |
| 3429 | transformType, transformValues); |
| 3430 | } |
| 3431 | |
| 3432 | void GL_APIENTRY glBindFragmentInputLocationCHROMIUM(GLuint programs, |
| 3433 | GLint location, |
| 3434 | const GLchar *name) |
| 3435 | { |
| 3436 | return gl::BindFragmentInputLocationCHROMIUM(programs, location, name); |
| 3437 | } |
| 3438 | |
| 3439 | void GL_APIENTRY glProgramPathFragmentInputGenCHROMIUM(GLuint program, |
| 3440 | GLint location, |
| 3441 | GLenum genMode, |
| 3442 | GLint components, |
| 3443 | const GLfloat *coeffs) |
| 3444 | { |
| 3445 | return gl::ProgramPathFragmentInputGenCHROMIUM(program, location, genMode, components, coeffs); |
| 3446 | } |
| 3447 | |
Olli Etuaho | 0ca0975 | 2018-09-24 11:00:50 +0300 | [diff] [blame] | 3448 | // GL_EXT_blend_func_extended |
| 3449 | void GL_APIENTRY glBindFragDataLocationEXT(GLuint program, GLuint color, const GLchar *name) |
| 3450 | { |
| 3451 | return gl::BindFragDataLocationEXT(program, color, name); |
| 3452 | } |
| 3453 | |
| 3454 | void GL_APIENTRY glBindFragDataLocationIndexedEXT(GLuint program, |
| 3455 | GLuint colorNumber, |
| 3456 | GLuint index, |
| 3457 | const GLchar *name) |
| 3458 | { |
| 3459 | return gl::BindFragDataLocationIndexedEXT(program, colorNumber, index, name); |
| 3460 | } |
| 3461 | |
| 3462 | GLint GL_APIENTRY glGetFragDataIndexEXT(GLuint program, const GLchar *name) |
| 3463 | { |
| 3464 | return gl::GetFragDataIndexEXT(program, name); |
| 3465 | } |
| 3466 | |
| 3467 | GLint GL_APIENTRY glGetProgramResourceLocationIndexEXT(GLuint program, |
| 3468 | GLenum programInterface, |
| 3469 | const GLchar *name) |
| 3470 | { |
| 3471 | return gl::GetProgramResourceLocationIndexEXT(program, programInterface, name); |
| 3472 | } |
| 3473 | |
Brandon Jones | 41e59f5 | 2018-05-02 12:45:28 -0700 | [diff] [blame] | 3474 | // GL_EXT_debug_marker |
| 3475 | void GL_APIENTRY glInsertEventMarkerEXT(GLsizei length, const GLchar *marker) |
| 3476 | { |
| 3477 | return gl::InsertEventMarkerEXT(length, marker); |
| 3478 | } |
| 3479 | |
| 3480 | void GL_APIENTRY glPopGroupMarkerEXT() |
| 3481 | { |
| 3482 | return gl::PopGroupMarkerEXT(); |
| 3483 | } |
| 3484 | |
| 3485 | void GL_APIENTRY glPushGroupMarkerEXT(GLsizei length, const GLchar *marker) |
| 3486 | { |
| 3487 | return gl::PushGroupMarkerEXT(length, marker); |
| 3488 | } |
| 3489 | |
| 3490 | // GL_EXT_discard_framebuffer |
| 3491 | void GL_APIENTRY glDiscardFramebufferEXT(GLenum target, |
| 3492 | GLsizei numAttachments, |
| 3493 | const GLenum *attachments) |
| 3494 | { |
| 3495 | return gl::DiscardFramebufferEXT(target, numAttachments, attachments); |
| 3496 | } |
| 3497 | |
| 3498 | // GL_EXT_disjoint_timer_query |
| 3499 | void GL_APIENTRY glBeginQueryEXT(GLenum target, GLuint id) |
| 3500 | { |
| 3501 | return gl::BeginQueryEXT(target, id); |
| 3502 | } |
| 3503 | |
| 3504 | void GL_APIENTRY glDeleteQueriesEXT(GLsizei n, const GLuint *ids) |
| 3505 | { |
| 3506 | return gl::DeleteQueriesEXT(n, ids); |
| 3507 | } |
| 3508 | |
| 3509 | void GL_APIENTRY glEndQueryEXT(GLenum target) |
| 3510 | { |
| 3511 | return gl::EndQueryEXT(target); |
| 3512 | } |
| 3513 | |
| 3514 | void GL_APIENTRY glGenQueriesEXT(GLsizei n, GLuint *ids) |
| 3515 | { |
| 3516 | return gl::GenQueriesEXT(n, ids); |
| 3517 | } |
| 3518 | |
| 3519 | void GL_APIENTRY glGetQueryObjecti64vEXT(GLuint id, GLenum pname, GLint64 *params) |
| 3520 | { |
| 3521 | return gl::GetQueryObjecti64vEXT(id, pname, params); |
| 3522 | } |
| 3523 | |
| 3524 | void GL_APIENTRY glGetQueryObjectivEXT(GLuint id, GLenum pname, GLint *params) |
| 3525 | { |
| 3526 | return gl::GetQueryObjectivEXT(id, pname, params); |
| 3527 | } |
| 3528 | |
| 3529 | void GL_APIENTRY glGetQueryObjectui64vEXT(GLuint id, GLenum pname, GLuint64 *params) |
| 3530 | { |
| 3531 | return gl::GetQueryObjectui64vEXT(id, pname, params); |
| 3532 | } |
| 3533 | |
| 3534 | void GL_APIENTRY glGetQueryObjectuivEXT(GLuint id, GLenum pname, GLuint *params) |
| 3535 | { |
| 3536 | return gl::GetQueryObjectuivEXT(id, pname, params); |
| 3537 | } |
| 3538 | |
| 3539 | void GL_APIENTRY glGetQueryivEXT(GLenum target, GLenum pname, GLint *params) |
| 3540 | { |
| 3541 | return gl::GetQueryivEXT(target, pname, params); |
| 3542 | } |
| 3543 | |
| 3544 | GLboolean GL_APIENTRY glIsQueryEXT(GLuint id) |
| 3545 | { |
| 3546 | return gl::IsQueryEXT(id); |
| 3547 | } |
| 3548 | |
| 3549 | void GL_APIENTRY glQueryCounterEXT(GLuint id, GLenum target) |
| 3550 | { |
| 3551 | return gl::QueryCounterEXT(id, target); |
| 3552 | } |
| 3553 | |
| 3554 | // GL_EXT_draw_buffers |
| 3555 | void GL_APIENTRY glDrawBuffersEXT(GLsizei n, const GLenum *bufs) |
| 3556 | { |
| 3557 | return gl::DrawBuffersEXT(n, bufs); |
| 3558 | } |
| 3559 | |
Jiawei Shao | 5f9482f | 2018-05-18 09:00:09 +0800 | [diff] [blame] | 3560 | // GL_EXT_geometry_shader |
| 3561 | void GL_APIENTRY glFramebufferTextureEXT(GLenum target, |
| 3562 | GLenum attachment, |
| 3563 | GLuint texture, |
| 3564 | GLint level) |
| 3565 | { |
| 3566 | return gl::FramebufferTextureEXT(target, attachment, texture, level); |
| 3567 | } |
| 3568 | |
Brandon Jones | 41e59f5 | 2018-05-02 12:45:28 -0700 | [diff] [blame] | 3569 | // GL_EXT_map_buffer_range |
| 3570 | void GL_APIENTRY glFlushMappedBufferRangeEXT(GLenum target, GLintptr offset, GLsizeiptr length) |
| 3571 | { |
| 3572 | return gl::FlushMappedBufferRangeEXT(target, offset, length); |
| 3573 | } |
| 3574 | |
| 3575 | void *GL_APIENTRY glMapBufferRangeEXT(GLenum target, |
| 3576 | GLintptr offset, |
| 3577 | GLsizeiptr length, |
| 3578 | GLbitfield access) |
| 3579 | { |
| 3580 | return gl::MapBufferRangeEXT(target, offset, length, access); |
| 3581 | } |
| 3582 | |
| 3583 | // GL_EXT_occlusion_query_boolean |
| 3584 | |
| 3585 | // GL_EXT_robustness |
| 3586 | GLenum GL_APIENTRY glGetGraphicsResetStatusEXT() |
| 3587 | { |
| 3588 | return gl::GetGraphicsResetStatusEXT(); |
| 3589 | } |
| 3590 | |
| 3591 | void GL_APIENTRY glGetnUniformfvEXT(GLuint program, |
| 3592 | GLint location, |
| 3593 | GLsizei bufSize, |
| 3594 | GLfloat *params) |
| 3595 | { |
| 3596 | return gl::GetnUniformfvEXT(program, location, bufSize, params); |
| 3597 | } |
| 3598 | |
| 3599 | void GL_APIENTRY glGetnUniformivEXT(GLuint program, GLint location, GLsizei bufSize, GLint *params) |
| 3600 | { |
| 3601 | return gl::GetnUniformivEXT(program, location, bufSize, params); |
| 3602 | } |
| 3603 | |
| 3604 | void GL_APIENTRY glReadnPixelsEXT(GLint x, |
| 3605 | GLint y, |
| 3606 | GLsizei width, |
| 3607 | GLsizei height, |
| 3608 | GLenum format, |
| 3609 | GLenum type, |
| 3610 | GLsizei bufSize, |
| 3611 | void *data) |
| 3612 | { |
| 3613 | return gl::ReadnPixelsEXT(x, y, width, height, format, type, bufSize, data); |
| 3614 | } |
| 3615 | |
| 3616 | // GL_EXT_texture_storage |
| 3617 | void GL_APIENTRY glTexStorage1DEXT(GLenum target, |
| 3618 | GLsizei levels, |
| 3619 | GLenum internalformat, |
| 3620 | GLsizei width) |
| 3621 | { |
| 3622 | return gl::TexStorage1DEXT(target, levels, internalformat, width); |
| 3623 | } |
| 3624 | |
| 3625 | void GL_APIENTRY glTexStorage2DEXT(GLenum target, |
| 3626 | GLsizei levels, |
| 3627 | GLenum internalformat, |
| 3628 | GLsizei width, |
| 3629 | GLsizei height) |
| 3630 | { |
| 3631 | return gl::TexStorage2DEXT(target, levels, internalformat, width, height); |
| 3632 | } |
| 3633 | |
| 3634 | void GL_APIENTRY glTexStorage3DEXT(GLenum target, |
| 3635 | GLsizei levels, |
| 3636 | GLenum internalformat, |
| 3637 | GLsizei width, |
| 3638 | GLsizei height, |
| 3639 | GLsizei depth) |
| 3640 | { |
| 3641 | return gl::TexStorage3DEXT(target, levels, internalformat, width, height, depth); |
| 3642 | } |
| 3643 | |
| 3644 | // GL_KHR_debug |
| 3645 | void GL_APIENTRY glDebugMessageCallbackKHR(GLDEBUGPROCKHR callback, const void *userParam) |
| 3646 | { |
| 3647 | return gl::DebugMessageCallbackKHR(callback, userParam); |
| 3648 | } |
| 3649 | |
| 3650 | void GL_APIENTRY glDebugMessageControlKHR(GLenum source, |
| 3651 | GLenum type, |
| 3652 | GLenum severity, |
| 3653 | GLsizei count, |
| 3654 | const GLuint *ids, |
| 3655 | GLboolean enabled) |
| 3656 | { |
| 3657 | return gl::DebugMessageControlKHR(source, type, severity, count, ids, enabled); |
| 3658 | } |
| 3659 | |
| 3660 | void GL_APIENTRY glDebugMessageInsertKHR(GLenum source, |
| 3661 | GLenum type, |
| 3662 | GLuint id, |
| 3663 | GLenum severity, |
| 3664 | GLsizei length, |
| 3665 | const GLchar *buf) |
| 3666 | { |
| 3667 | return gl::DebugMessageInsertKHR(source, type, id, severity, length, buf); |
| 3668 | } |
| 3669 | |
| 3670 | GLuint GL_APIENTRY glGetDebugMessageLogKHR(GLuint count, |
| 3671 | GLsizei bufSize, |
| 3672 | GLenum *sources, |
| 3673 | GLenum *types, |
| 3674 | GLuint *ids, |
| 3675 | GLenum *severities, |
| 3676 | GLsizei *lengths, |
| 3677 | GLchar *messageLog) |
| 3678 | { |
| 3679 | return gl::GetDebugMessageLogKHR(count, bufSize, sources, types, ids, severities, lengths, |
| 3680 | messageLog); |
| 3681 | } |
| 3682 | |
| 3683 | void GL_APIENTRY |
| 3684 | glGetObjectLabelKHR(GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label) |
| 3685 | { |
| 3686 | return gl::GetObjectLabelKHR(identifier, name, bufSize, length, label); |
| 3687 | } |
| 3688 | |
| 3689 | void GL_APIENTRY glGetObjectPtrLabelKHR(const void *ptr, |
| 3690 | GLsizei bufSize, |
| 3691 | GLsizei *length, |
| 3692 | GLchar *label) |
| 3693 | { |
| 3694 | return gl::GetObjectPtrLabelKHR(ptr, bufSize, length, label); |
| 3695 | } |
| 3696 | |
| 3697 | void GL_APIENTRY glGetPointervKHR(GLenum pname, void **params) |
| 3698 | { |
| 3699 | return gl::GetPointervKHR(pname, params); |
| 3700 | } |
| 3701 | |
| 3702 | void GL_APIENTRY glObjectLabelKHR(GLenum identifier, |
| 3703 | GLuint name, |
| 3704 | GLsizei length, |
| 3705 | const GLchar *label) |
| 3706 | { |
| 3707 | return gl::ObjectLabelKHR(identifier, name, length, label); |
| 3708 | } |
| 3709 | |
| 3710 | void GL_APIENTRY glObjectPtrLabelKHR(const void *ptr, GLsizei length, const GLchar *label) |
| 3711 | { |
| 3712 | return gl::ObjectPtrLabelKHR(ptr, length, label); |
| 3713 | } |
| 3714 | |
| 3715 | void GL_APIENTRY glPopDebugGroupKHR() |
| 3716 | { |
| 3717 | return gl::PopDebugGroupKHR(); |
| 3718 | } |
| 3719 | |
| 3720 | void GL_APIENTRY glPushDebugGroupKHR(GLenum source, |
| 3721 | GLuint id, |
| 3722 | GLsizei length, |
| 3723 | const GLchar *message) |
| 3724 | { |
| 3725 | return gl::PushDebugGroupKHR(source, id, length, message); |
| 3726 | } |
| 3727 | |
jchen10 | 82af620 | 2018-06-22 10:59:52 +0800 | [diff] [blame] | 3728 | // GL_KHR_parallel_shader_compile |
| 3729 | void GL_APIENTRY glMaxShaderCompilerThreadsKHR(GLuint count) |
| 3730 | { |
| 3731 | return gl::MaxShaderCompilerThreadsKHR(count); |
| 3732 | } |
| 3733 | |
Brandon Jones | 41e59f5 | 2018-05-02 12:45:28 -0700 | [diff] [blame] | 3734 | // GL_NV_fence |
| 3735 | void GL_APIENTRY glDeleteFencesNV(GLsizei n, const GLuint *fences) |
| 3736 | { |
| 3737 | return gl::DeleteFencesNV(n, fences); |
| 3738 | } |
| 3739 | |
| 3740 | void GL_APIENTRY glFinishFenceNV(GLuint fence) |
| 3741 | { |
| 3742 | return gl::FinishFenceNV(fence); |
| 3743 | } |
| 3744 | |
| 3745 | void GL_APIENTRY glGenFencesNV(GLsizei n, GLuint *fences) |
| 3746 | { |
| 3747 | return gl::GenFencesNV(n, fences); |
| 3748 | } |
| 3749 | |
| 3750 | void GL_APIENTRY glGetFenceivNV(GLuint fence, GLenum pname, GLint *params) |
| 3751 | { |
| 3752 | return gl::GetFenceivNV(fence, pname, params); |
| 3753 | } |
| 3754 | |
| 3755 | GLboolean GL_APIENTRY glIsFenceNV(GLuint fence) |
| 3756 | { |
| 3757 | return gl::IsFenceNV(fence); |
| 3758 | } |
| 3759 | |
| 3760 | void GL_APIENTRY glSetFenceNV(GLuint fence, GLenum condition) |
| 3761 | { |
| 3762 | return gl::SetFenceNV(fence, condition); |
| 3763 | } |
| 3764 | |
| 3765 | GLboolean GL_APIENTRY glTestFenceNV(GLuint fence) |
| 3766 | { |
| 3767 | return gl::TestFenceNV(fence); |
| 3768 | } |
| 3769 | |
| 3770 | // GL_OES_EGL_image |
| 3771 | void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES(GLenum target, GLeglImageOES image) |
| 3772 | { |
| 3773 | return gl::EGLImageTargetRenderbufferStorageOES(target, image); |
| 3774 | } |
| 3775 | |
| 3776 | void GL_APIENTRY glEGLImageTargetTexture2DOES(GLenum target, GLeglImageOES image) |
| 3777 | { |
| 3778 | return gl::EGLImageTargetTexture2DOES(target, image); |
| 3779 | } |
| 3780 | |
| 3781 | // GL_OES_draw_texture |
| 3782 | void GL_APIENTRY glDrawTexfOES(GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height) |
| 3783 | { |
| 3784 | return gl::DrawTexfOES(x, y, z, width, height); |
| 3785 | } |
| 3786 | |
| 3787 | void GL_APIENTRY glDrawTexfvOES(const GLfloat *coords) |
| 3788 | { |
| 3789 | return gl::DrawTexfvOES(coords); |
| 3790 | } |
| 3791 | |
| 3792 | void GL_APIENTRY glDrawTexiOES(GLint x, GLint y, GLint z, GLint width, GLint height) |
| 3793 | { |
| 3794 | return gl::DrawTexiOES(x, y, z, width, height); |
| 3795 | } |
| 3796 | |
| 3797 | void GL_APIENTRY glDrawTexivOES(const GLint *coords) |
| 3798 | { |
| 3799 | return gl::DrawTexivOES(coords); |
| 3800 | } |
| 3801 | |
| 3802 | void GL_APIENTRY glDrawTexsOES(GLshort x, GLshort y, GLshort z, GLshort width, GLshort height) |
| 3803 | { |
| 3804 | return gl::DrawTexsOES(x, y, z, width, height); |
| 3805 | } |
| 3806 | |
| 3807 | void GL_APIENTRY glDrawTexsvOES(const GLshort *coords) |
| 3808 | { |
| 3809 | return gl::DrawTexsvOES(coords); |
| 3810 | } |
| 3811 | |
| 3812 | void GL_APIENTRY glDrawTexxOES(GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height) |
| 3813 | { |
| 3814 | return gl::DrawTexxOES(x, y, z, width, height); |
| 3815 | } |
| 3816 | |
| 3817 | void GL_APIENTRY glDrawTexxvOES(const GLfixed *coords) |
| 3818 | { |
| 3819 | return gl::DrawTexxvOES(coords); |
| 3820 | } |
| 3821 | |
| 3822 | // GL_OES_framebuffer_object |
| 3823 | void GL_APIENTRY glBindFramebufferOES(GLenum target, GLuint framebuffer) |
| 3824 | { |
| 3825 | return gl::BindFramebufferOES(target, framebuffer); |
| 3826 | } |
| 3827 | |
| 3828 | void GL_APIENTRY glBindRenderbufferOES(GLenum target, GLuint renderbuffer) |
| 3829 | { |
| 3830 | return gl::BindRenderbufferOES(target, renderbuffer); |
| 3831 | } |
| 3832 | |
| 3833 | GLenum GL_APIENTRY glCheckFramebufferStatusOES(GLenum target) |
| 3834 | { |
| 3835 | return gl::CheckFramebufferStatusOES(target); |
| 3836 | } |
| 3837 | |
| 3838 | void GL_APIENTRY glDeleteFramebuffersOES(GLsizei n, const GLuint *framebuffers) |
| 3839 | { |
| 3840 | return gl::DeleteFramebuffersOES(n, framebuffers); |
| 3841 | } |
| 3842 | |
| 3843 | void GL_APIENTRY glDeleteRenderbuffersOES(GLsizei n, const GLuint *renderbuffers) |
| 3844 | { |
| 3845 | return gl::DeleteRenderbuffersOES(n, renderbuffers); |
| 3846 | } |
| 3847 | |
| 3848 | void GL_APIENTRY glFramebufferRenderbufferOES(GLenum target, |
| 3849 | GLenum attachment, |
| 3850 | GLenum renderbuffertarget, |
| 3851 | GLuint renderbuffer) |
| 3852 | { |
| 3853 | return gl::FramebufferRenderbufferOES(target, attachment, renderbuffertarget, renderbuffer); |
| 3854 | } |
| 3855 | |
| 3856 | void GL_APIENTRY glFramebufferTexture2DOES(GLenum target, |
| 3857 | GLenum attachment, |
| 3858 | GLenum textarget, |
| 3859 | GLuint texture, |
| 3860 | GLint level) |
| 3861 | { |
| 3862 | return gl::FramebufferTexture2DOES(target, attachment, textarget, texture, level); |
| 3863 | } |
| 3864 | |
| 3865 | void GL_APIENTRY glGenFramebuffersOES(GLsizei n, GLuint *framebuffers) |
| 3866 | { |
| 3867 | return gl::GenFramebuffersOES(n, framebuffers); |
| 3868 | } |
| 3869 | |
| 3870 | void GL_APIENTRY glGenRenderbuffersOES(GLsizei n, GLuint *renderbuffers) |
| 3871 | { |
| 3872 | return gl::GenRenderbuffersOES(n, renderbuffers); |
| 3873 | } |
| 3874 | |
| 3875 | void GL_APIENTRY glGenerateMipmapOES(GLenum target) |
| 3876 | { |
| 3877 | return gl::GenerateMipmapOES(target); |
| 3878 | } |
| 3879 | |
| 3880 | void GL_APIENTRY glGetFramebufferAttachmentParameterivOES(GLenum target, |
| 3881 | GLenum attachment, |
| 3882 | GLenum pname, |
| 3883 | GLint *params) |
| 3884 | { |
| 3885 | return gl::GetFramebufferAttachmentParameterivOES(target, attachment, pname, params); |
| 3886 | } |
| 3887 | |
| 3888 | void GL_APIENTRY glGetRenderbufferParameterivOES(GLenum target, GLenum pname, GLint *params) |
| 3889 | { |
| 3890 | return gl::GetRenderbufferParameterivOES(target, pname, params); |
| 3891 | } |
| 3892 | |
| 3893 | GLboolean GL_APIENTRY glIsFramebufferOES(GLuint framebuffer) |
| 3894 | { |
| 3895 | return gl::IsFramebufferOES(framebuffer); |
| 3896 | } |
| 3897 | |
| 3898 | GLboolean GL_APIENTRY glIsRenderbufferOES(GLuint renderbuffer) |
| 3899 | { |
| 3900 | return gl::IsRenderbufferOES(renderbuffer); |
| 3901 | } |
| 3902 | |
| 3903 | void GL_APIENTRY glRenderbufferStorageOES(GLenum target, |
| 3904 | GLenum internalformat, |
| 3905 | GLsizei width, |
| 3906 | GLsizei height) |
| 3907 | { |
| 3908 | return gl::RenderbufferStorageOES(target, internalformat, width, height); |
| 3909 | } |
| 3910 | |
| 3911 | // GL_OES_get_program_binary |
| 3912 | void GL_APIENTRY glGetProgramBinaryOES(GLuint program, |
| 3913 | GLsizei bufSize, |
| 3914 | GLsizei *length, |
| 3915 | GLenum *binaryFormat, |
| 3916 | void *binary) |
| 3917 | { |
| 3918 | return gl::GetProgramBinaryOES(program, bufSize, length, binaryFormat, binary); |
| 3919 | } |
| 3920 | |
| 3921 | void GL_APIENTRY glProgramBinaryOES(GLuint program, |
| 3922 | GLenum binaryFormat, |
| 3923 | const void *binary, |
| 3924 | GLint length) |
| 3925 | { |
| 3926 | return gl::ProgramBinaryOES(program, binaryFormat, binary, length); |
| 3927 | } |
| 3928 | |
| 3929 | // GL_OES_mapbuffer |
| 3930 | void GL_APIENTRY glGetBufferPointervOES(GLenum target, GLenum pname, void **params) |
| 3931 | { |
| 3932 | return gl::GetBufferPointervOES(target, pname, params); |
| 3933 | } |
| 3934 | |
| 3935 | void *GL_APIENTRY glMapBufferOES(GLenum target, GLenum access) |
| 3936 | { |
| 3937 | return gl::MapBufferOES(target, access); |
| 3938 | } |
| 3939 | |
| 3940 | GLboolean GL_APIENTRY glUnmapBufferOES(GLenum target) |
| 3941 | { |
| 3942 | return gl::UnmapBufferOES(target); |
| 3943 | } |
| 3944 | |
| 3945 | // GL_OES_matrix_palette |
| 3946 | void GL_APIENTRY glCurrentPaletteMatrixOES(GLuint matrixpaletteindex) |
| 3947 | { |
| 3948 | return gl::CurrentPaletteMatrixOES(matrixpaletteindex); |
| 3949 | } |
| 3950 | |
| 3951 | void GL_APIENTRY glLoadPaletteFromModelViewMatrixOES() |
| 3952 | { |
| 3953 | return gl::LoadPaletteFromModelViewMatrixOES(); |
| 3954 | } |
| 3955 | |
| 3956 | void GL_APIENTRY glMatrixIndexPointerOES(GLint size, |
| 3957 | GLenum type, |
| 3958 | GLsizei stride, |
| 3959 | const void *pointer) |
| 3960 | { |
| 3961 | return gl::MatrixIndexPointerOES(size, type, stride, pointer); |
| 3962 | } |
| 3963 | |
| 3964 | void GL_APIENTRY glWeightPointerOES(GLint size, GLenum type, GLsizei stride, const void *pointer) |
| 3965 | { |
| 3966 | return gl::WeightPointerOES(size, type, stride, pointer); |
| 3967 | } |
| 3968 | |
| 3969 | // GL_OES_point_size_array |
| 3970 | void GL_APIENTRY glPointSizePointerOES(GLenum type, GLsizei stride, const void *pointer) |
| 3971 | { |
| 3972 | return gl::PointSizePointerOES(type, stride, pointer); |
| 3973 | } |
| 3974 | |
| 3975 | // GL_OES_query_matrix |
| 3976 | GLbitfield GL_APIENTRY glQueryMatrixxOES(GLfixed *mantissa, GLint *exponent) |
| 3977 | { |
| 3978 | return gl::QueryMatrixxOES(mantissa, exponent); |
| 3979 | } |
| 3980 | |
| 3981 | // GL_OES_texture_cube_map |
| 3982 | void GL_APIENTRY glGetTexGenfvOES(GLenum coord, GLenum pname, GLfloat *params) |
| 3983 | { |
| 3984 | return gl::GetTexGenfvOES(coord, pname, params); |
| 3985 | } |
| 3986 | |
| 3987 | void GL_APIENTRY glGetTexGenivOES(GLenum coord, GLenum pname, GLint *params) |
| 3988 | { |
| 3989 | return gl::GetTexGenivOES(coord, pname, params); |
| 3990 | } |
| 3991 | |
| 3992 | void GL_APIENTRY glGetTexGenxvOES(GLenum coord, GLenum pname, GLfixed *params) |
| 3993 | { |
| 3994 | return gl::GetTexGenxvOES(coord, pname, params); |
| 3995 | } |
| 3996 | |
| 3997 | void GL_APIENTRY glTexGenfOES(GLenum coord, GLenum pname, GLfloat param) |
| 3998 | { |
| 3999 | return gl::TexGenfOES(coord, pname, param); |
| 4000 | } |
| 4001 | |
| 4002 | void GL_APIENTRY glTexGenfvOES(GLenum coord, GLenum pname, const GLfloat *params) |
| 4003 | { |
| 4004 | return gl::TexGenfvOES(coord, pname, params); |
| 4005 | } |
| 4006 | |
| 4007 | void GL_APIENTRY glTexGeniOES(GLenum coord, GLenum pname, GLint param) |
| 4008 | { |
| 4009 | return gl::TexGeniOES(coord, pname, param); |
| 4010 | } |
| 4011 | |
| 4012 | void GL_APIENTRY glTexGenivOES(GLenum coord, GLenum pname, const GLint *params) |
| 4013 | { |
| 4014 | return gl::TexGenivOES(coord, pname, params); |
| 4015 | } |
| 4016 | |
| 4017 | void GL_APIENTRY glTexGenxOES(GLenum coord, GLenum pname, GLfixed param) |
| 4018 | { |
| 4019 | return gl::TexGenxOES(coord, pname, param); |
| 4020 | } |
| 4021 | |
| 4022 | void GL_APIENTRY glTexGenxvOES(GLenum coord, GLenum pname, const GLfixed *params) |
| 4023 | { |
| 4024 | return gl::TexGenxvOES(coord, pname, params); |
| 4025 | } |
| 4026 | |
Olli Etuaho | 064458a | 2018-08-30 14:02:02 +0300 | [diff] [blame] | 4027 | // GL_OES_texture_storage_multisample_2d_array |
| 4028 | void GL_APIENTRY glTexStorage3DMultisampleOES(GLenum target, |
| 4029 | GLsizei samples, |
| 4030 | GLenum internalformat, |
| 4031 | GLsizei width, |
| 4032 | GLsizei height, |
| 4033 | GLsizei depth, |
| 4034 | GLboolean fixedsamplelocations) |
| 4035 | { |
| 4036 | return gl::TexStorage3DMultisampleOES(target, samples, internalformat, width, height, depth, |
| 4037 | fixedsamplelocations); |
| 4038 | } |
| 4039 | |
Brandon Jones | 41e59f5 | 2018-05-02 12:45:28 -0700 | [diff] [blame] | 4040 | // GL_OES_vertex_array_object |
| 4041 | void GL_APIENTRY glBindVertexArrayOES(GLuint array) |
| 4042 | { |
| 4043 | return gl::BindVertexArrayOES(array); |
| 4044 | } |
| 4045 | |
| 4046 | void GL_APIENTRY glDeleteVertexArraysOES(GLsizei n, const GLuint *arrays) |
| 4047 | { |
| 4048 | return gl::DeleteVertexArraysOES(n, arrays); |
| 4049 | } |
| 4050 | |
| 4051 | void GL_APIENTRY glGenVertexArraysOES(GLsizei n, GLuint *arrays) |
| 4052 | { |
| 4053 | return gl::GenVertexArraysOES(n, arrays); |
| 4054 | } |
| 4055 | |
| 4056 | GLboolean GL_APIENTRY glIsVertexArrayOES(GLuint array) |
| 4057 | { |
| 4058 | return gl::IsVertexArrayOES(array); |
| 4059 | } |
| 4060 | |
Brandon Jones | 2b0cdcc | 2018-05-02 08:02:50 -0700 | [diff] [blame] | 4061 | // EGL_ANGLE_explicit_context |
| 4062 | void GL_APIENTRY glActiveShaderProgramContextANGLE(GLeglContext ctx, |
| 4063 | GLuint pipeline, |
| 4064 | GLuint program) |
| 4065 | { |
| 4066 | return gl::ActiveShaderProgramContextANGLE(ctx, pipeline, program); |
| 4067 | } |
| 4068 | |
| 4069 | void GL_APIENTRY glActiveTextureContextANGLE(GLeglContext ctx, GLenum texture) |
| 4070 | { |
| 4071 | return gl::ActiveTextureContextANGLE(ctx, texture); |
| 4072 | } |
| 4073 | |
| 4074 | void GL_APIENTRY glAlphaFuncContextANGLE(GLeglContext ctx, GLenum func, GLfloat ref) |
| 4075 | { |
| 4076 | return gl::AlphaFuncContextANGLE(ctx, func, ref); |
| 4077 | } |
| 4078 | |
| 4079 | void GL_APIENTRY glAlphaFuncxContextANGLE(GLeglContext ctx, GLenum func, GLfixed ref) |
| 4080 | { |
| 4081 | return gl::AlphaFuncxContextANGLE(ctx, func, ref); |
| 4082 | } |
| 4083 | |
| 4084 | void GL_APIENTRY glAttachShaderContextANGLE(GLeglContext ctx, GLuint program, GLuint shader) |
| 4085 | { |
| 4086 | return gl::AttachShaderContextANGLE(ctx, program, shader); |
| 4087 | } |
| 4088 | |
| 4089 | void GL_APIENTRY glBeginQueryContextANGLE(GLeglContext ctx, GLenum target, GLuint id) |
| 4090 | { |
| 4091 | return gl::BeginQueryContextANGLE(ctx, target, id); |
| 4092 | } |
| 4093 | |
| 4094 | void GL_APIENTRY glBeginQueryEXTContextANGLE(GLeglContext ctx, GLenum target, GLuint id) |
| 4095 | { |
| 4096 | return gl::BeginQueryEXTContextANGLE(ctx, target, id); |
| 4097 | } |
| 4098 | |
| 4099 | void GL_APIENTRY glBeginTransformFeedbackContextANGLE(GLeglContext ctx, GLenum primitiveMode) |
| 4100 | { |
| 4101 | return gl::BeginTransformFeedbackContextANGLE(ctx, primitiveMode); |
| 4102 | } |
| 4103 | |
| 4104 | void GL_APIENTRY glBindAttribLocationContextANGLE(GLeglContext ctx, |
| 4105 | GLuint program, |
| 4106 | GLuint index, |
| 4107 | const GLchar *name) |
| 4108 | { |
| 4109 | return gl::BindAttribLocationContextANGLE(ctx, program, index, name); |
| 4110 | } |
| 4111 | |
| 4112 | void GL_APIENTRY glBindBufferContextANGLE(GLeglContext ctx, GLenum target, GLuint buffer) |
| 4113 | { |
| 4114 | return gl::BindBufferContextANGLE(ctx, target, buffer); |
| 4115 | } |
| 4116 | |
| 4117 | void GL_APIENTRY glBindBufferBaseContextANGLE(GLeglContext ctx, |
| 4118 | GLenum target, |
| 4119 | GLuint index, |
| 4120 | GLuint buffer) |
| 4121 | { |
| 4122 | return gl::BindBufferBaseContextANGLE(ctx, target, index, buffer); |
| 4123 | } |
| 4124 | |
| 4125 | void GL_APIENTRY glBindBufferRangeContextANGLE(GLeglContext ctx, |
| 4126 | GLenum target, |
| 4127 | GLuint index, |
| 4128 | GLuint buffer, |
| 4129 | GLintptr offset, |
| 4130 | GLsizeiptr size) |
| 4131 | { |
| 4132 | return gl::BindBufferRangeContextANGLE(ctx, target, index, buffer, offset, size); |
| 4133 | } |
| 4134 | |
Olli Etuaho | 0ca0975 | 2018-09-24 11:00:50 +0300 | [diff] [blame] | 4135 | void GL_APIENTRY glBindFragDataLocationEXTContextANGLE(GLeglContext ctx, |
| 4136 | GLuint program, |
| 4137 | GLuint color, |
| 4138 | const GLchar *name) |
| 4139 | { |
| 4140 | return gl::BindFragDataLocationEXTContextANGLE(ctx, program, color, name); |
| 4141 | } |
| 4142 | |
| 4143 | void GL_APIENTRY glBindFragDataLocationIndexedEXTContextANGLE(GLeglContext ctx, |
| 4144 | GLuint program, |
| 4145 | GLuint colorNumber, |
| 4146 | GLuint index, |
| 4147 | const GLchar *name) |
| 4148 | { |
| 4149 | return gl::BindFragDataLocationIndexedEXTContextANGLE(ctx, program, colorNumber, index, name); |
| 4150 | } |
| 4151 | |
Brandon Jones | 2b0cdcc | 2018-05-02 08:02:50 -0700 | [diff] [blame] | 4152 | void GL_APIENTRY glBindFramebufferContextANGLE(GLeglContext ctx, GLenum target, GLuint framebuffer) |
| 4153 | { |
| 4154 | return gl::BindFramebufferContextANGLE(ctx, target, framebuffer); |
| 4155 | } |
| 4156 | |
| 4157 | void GL_APIENTRY glBindFramebufferOESContextANGLE(GLeglContext ctx, |
| 4158 | GLenum target, |
| 4159 | GLuint framebuffer) |
| 4160 | { |
| 4161 | return gl::BindFramebufferOESContextANGLE(ctx, target, framebuffer); |
| 4162 | } |
| 4163 | |
| 4164 | void GL_APIENTRY glBindImageTextureContextANGLE(GLeglContext ctx, |
| 4165 | GLuint unit, |
| 4166 | GLuint texture, |
| 4167 | GLint level, |
| 4168 | GLboolean layered, |
| 4169 | GLint layer, |
| 4170 | GLenum access, |
| 4171 | GLenum format) |
| 4172 | { |
| 4173 | return gl::BindImageTextureContextANGLE(ctx, unit, texture, level, layered, layer, access, |
| 4174 | format); |
| 4175 | } |
| 4176 | |
| 4177 | void GL_APIENTRY glBindProgramPipelineContextANGLE(GLeglContext ctx, GLuint pipeline) |
| 4178 | { |
| 4179 | return gl::BindProgramPipelineContextANGLE(ctx, pipeline); |
| 4180 | } |
| 4181 | |
| 4182 | void GL_APIENTRY glBindRenderbufferContextANGLE(GLeglContext ctx, |
| 4183 | GLenum target, |
| 4184 | GLuint renderbuffer) |
| 4185 | { |
| 4186 | return gl::BindRenderbufferContextANGLE(ctx, target, renderbuffer); |
| 4187 | } |
| 4188 | |
| 4189 | void GL_APIENTRY glBindRenderbufferOESContextANGLE(GLeglContext ctx, |
| 4190 | GLenum target, |
| 4191 | GLuint renderbuffer) |
| 4192 | { |
| 4193 | return gl::BindRenderbufferOESContextANGLE(ctx, target, renderbuffer); |
| 4194 | } |
| 4195 | |
| 4196 | void GL_APIENTRY glBindSamplerContextANGLE(GLeglContext ctx, GLuint unit, GLuint sampler) |
| 4197 | { |
| 4198 | return gl::BindSamplerContextANGLE(ctx, unit, sampler); |
| 4199 | } |
| 4200 | |
| 4201 | void GL_APIENTRY glBindTextureContextANGLE(GLeglContext ctx, GLenum target, GLuint texture) |
| 4202 | { |
| 4203 | return gl::BindTextureContextANGLE(ctx, target, texture); |
| 4204 | } |
| 4205 | |
| 4206 | void GL_APIENTRY glBindTransformFeedbackContextANGLE(GLeglContext ctx, GLenum target, GLuint id) |
| 4207 | { |
| 4208 | return gl::BindTransformFeedbackContextANGLE(ctx, target, id); |
| 4209 | } |
| 4210 | |
| 4211 | void GL_APIENTRY glBindVertexArrayContextANGLE(GLeglContext ctx, GLuint array) |
| 4212 | { |
| 4213 | return gl::BindVertexArrayContextANGLE(ctx, array); |
| 4214 | } |
| 4215 | |
| 4216 | void GL_APIENTRY glBindVertexArrayOESContextANGLE(GLeglContext ctx, GLuint array) |
| 4217 | { |
| 4218 | return gl::BindVertexArrayOESContextANGLE(ctx, array); |
| 4219 | } |
| 4220 | |
| 4221 | void GL_APIENTRY glBindVertexBufferContextANGLE(GLeglContext ctx, |
| 4222 | GLuint bindingindex, |
| 4223 | GLuint buffer, |
| 4224 | GLintptr offset, |
| 4225 | GLsizei stride) |
| 4226 | { |
| 4227 | return gl::BindVertexBufferContextANGLE(ctx, bindingindex, buffer, offset, stride); |
| 4228 | } |
| 4229 | |
| 4230 | void GL_APIENTRY |
| 4231 | glBlendColorContextANGLE(GLeglContext ctx, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) |
| 4232 | { |
| 4233 | return gl::BlendColorContextANGLE(ctx, red, green, blue, alpha); |
| 4234 | } |
| 4235 | |
| 4236 | void GL_APIENTRY glBlendEquationContextANGLE(GLeglContext ctx, GLenum mode) |
| 4237 | { |
| 4238 | return gl::BlendEquationContextANGLE(ctx, mode); |
| 4239 | } |
| 4240 | |
| 4241 | void GL_APIENTRY glBlendEquationSeparateContextANGLE(GLeglContext ctx, |
| 4242 | GLenum modeRGB, |
| 4243 | GLenum modeAlpha) |
| 4244 | { |
| 4245 | return gl::BlendEquationSeparateContextANGLE(ctx, modeRGB, modeAlpha); |
| 4246 | } |
| 4247 | |
| 4248 | void GL_APIENTRY glBlendFuncContextANGLE(GLeglContext ctx, GLenum sfactor, GLenum dfactor) |
| 4249 | { |
| 4250 | return gl::BlendFuncContextANGLE(ctx, sfactor, dfactor); |
| 4251 | } |
| 4252 | |
| 4253 | void GL_APIENTRY glBlendFuncSeparateContextANGLE(GLeglContext ctx, |
| 4254 | GLenum sfactorRGB, |
| 4255 | GLenum dfactorRGB, |
| 4256 | GLenum sfactorAlpha, |
| 4257 | GLenum dfactorAlpha) |
| 4258 | { |
| 4259 | return gl::BlendFuncSeparateContextANGLE(ctx, sfactorRGB, dfactorRGB, sfactorAlpha, |
| 4260 | dfactorAlpha); |
| 4261 | } |
| 4262 | |
| 4263 | void GL_APIENTRY glBlitFramebufferContextANGLE(GLeglContext ctx, |
| 4264 | GLint srcX0, |
| 4265 | GLint srcY0, |
| 4266 | GLint srcX1, |
| 4267 | GLint srcY1, |
| 4268 | GLint dstX0, |
| 4269 | GLint dstY0, |
| 4270 | GLint dstX1, |
| 4271 | GLint dstY1, |
| 4272 | GLbitfield mask, |
| 4273 | GLenum filter) |
| 4274 | { |
| 4275 | return gl::BlitFramebufferContextANGLE(ctx, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, |
| 4276 | dstY1, mask, filter); |
| 4277 | } |
| 4278 | |
| 4279 | void GL_APIENTRY glBlitFramebufferANGLEContextANGLE(GLeglContext ctx, |
| 4280 | GLint srcX0, |
| 4281 | GLint srcY0, |
| 4282 | GLint srcX1, |
| 4283 | GLint srcY1, |
| 4284 | GLint dstX0, |
| 4285 | GLint dstY0, |
| 4286 | GLint dstX1, |
| 4287 | GLint dstY1, |
| 4288 | GLbitfield mask, |
| 4289 | GLenum filter) |
| 4290 | { |
| 4291 | return gl::BlitFramebufferANGLEContextANGLE(ctx, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, |
| 4292 | dstX1, dstY1, mask, filter); |
| 4293 | } |
| 4294 | |
| 4295 | void GL_APIENTRY glBufferDataContextANGLE(GLeglContext ctx, |
| 4296 | GLenum target, |
| 4297 | GLsizeiptr size, |
| 4298 | const void *data, |
| 4299 | GLenum usage) |
| 4300 | { |
| 4301 | return gl::BufferDataContextANGLE(ctx, target, size, data, usage); |
| 4302 | } |
| 4303 | |
| 4304 | void GL_APIENTRY glBufferSubDataContextANGLE(GLeglContext ctx, |
| 4305 | GLenum target, |
| 4306 | GLintptr offset, |
| 4307 | GLsizeiptr size, |
| 4308 | const void *data) |
| 4309 | { |
| 4310 | return gl::BufferSubDataContextANGLE(ctx, target, offset, size, data); |
| 4311 | } |
| 4312 | |
| 4313 | GLenum GL_APIENTRY glCheckFramebufferStatusContextANGLE(GLeglContext ctx, GLenum target) |
| 4314 | { |
| 4315 | return gl::CheckFramebufferStatusContextANGLE(ctx, target); |
| 4316 | } |
| 4317 | |
| 4318 | GLenum GL_APIENTRY glCheckFramebufferStatusOESContextANGLE(GLeglContext ctx, GLenum target) |
| 4319 | { |
| 4320 | return gl::CheckFramebufferStatusOESContextANGLE(ctx, target); |
| 4321 | } |
| 4322 | |
| 4323 | void GL_APIENTRY glClearContextANGLE(GLeglContext ctx, GLbitfield mask) |
| 4324 | { |
| 4325 | return gl::ClearContextANGLE(ctx, mask); |
| 4326 | } |
| 4327 | |
| 4328 | void GL_APIENTRY glClearBufferfiContextANGLE(GLeglContext ctx, |
| 4329 | GLenum buffer, |
| 4330 | GLint drawbuffer, |
| 4331 | GLfloat depth, |
| 4332 | GLint stencil) |
| 4333 | { |
| 4334 | return gl::ClearBufferfiContextANGLE(ctx, buffer, drawbuffer, depth, stencil); |
| 4335 | } |
| 4336 | |
| 4337 | void GL_APIENTRY glClearBufferfvContextANGLE(GLeglContext ctx, |
| 4338 | GLenum buffer, |
| 4339 | GLint drawbuffer, |
| 4340 | const GLfloat *value) |
| 4341 | { |
| 4342 | return gl::ClearBufferfvContextANGLE(ctx, buffer, drawbuffer, value); |
| 4343 | } |
| 4344 | |
| 4345 | void GL_APIENTRY glClearBufferivContextANGLE(GLeglContext ctx, |
| 4346 | GLenum buffer, |
| 4347 | GLint drawbuffer, |
| 4348 | const GLint *value) |
| 4349 | { |
| 4350 | return gl::ClearBufferivContextANGLE(ctx, buffer, drawbuffer, value); |
| 4351 | } |
| 4352 | |
| 4353 | void GL_APIENTRY glClearBufferuivContextANGLE(GLeglContext ctx, |
| 4354 | GLenum buffer, |
| 4355 | GLint drawbuffer, |
| 4356 | const GLuint *value) |
| 4357 | { |
| 4358 | return gl::ClearBufferuivContextANGLE(ctx, buffer, drawbuffer, value); |
| 4359 | } |
| 4360 | |
| 4361 | void GL_APIENTRY |
| 4362 | glClearColorContextANGLE(GLeglContext ctx, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) |
| 4363 | { |
| 4364 | return gl::ClearColorContextANGLE(ctx, red, green, blue, alpha); |
| 4365 | } |
| 4366 | |
| 4367 | void GL_APIENTRY |
| 4368 | glClearColorxContextANGLE(GLeglContext ctx, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) |
| 4369 | { |
| 4370 | return gl::ClearColorxContextANGLE(ctx, red, green, blue, alpha); |
| 4371 | } |
| 4372 | |
| 4373 | void GL_APIENTRY glClearDepthfContextANGLE(GLeglContext ctx, GLfloat d) |
| 4374 | { |
| 4375 | return gl::ClearDepthfContextANGLE(ctx, d); |
| 4376 | } |
| 4377 | |
| 4378 | void GL_APIENTRY glClearDepthxContextANGLE(GLeglContext ctx, GLfixed depth) |
| 4379 | { |
| 4380 | return gl::ClearDepthxContextANGLE(ctx, depth); |
| 4381 | } |
| 4382 | |
| 4383 | void GL_APIENTRY glClearStencilContextANGLE(GLeglContext ctx, GLint s) |
| 4384 | { |
| 4385 | return gl::ClearStencilContextANGLE(ctx, s); |
| 4386 | } |
| 4387 | |
| 4388 | void GL_APIENTRY glClientActiveTextureContextANGLE(GLeglContext ctx, GLenum texture) |
| 4389 | { |
| 4390 | return gl::ClientActiveTextureContextANGLE(ctx, texture); |
| 4391 | } |
| 4392 | |
| 4393 | GLenum GL_APIENTRY glClientWaitSyncContextANGLE(GLeglContext ctx, |
| 4394 | GLsync sync, |
| 4395 | GLbitfield flags, |
| 4396 | GLuint64 timeout) |
| 4397 | { |
| 4398 | return gl::ClientWaitSyncContextANGLE(ctx, sync, flags, timeout); |
| 4399 | } |
| 4400 | |
| 4401 | void GL_APIENTRY glClipPlanefContextANGLE(GLeglContext ctx, GLenum p, const GLfloat *eqn) |
| 4402 | { |
| 4403 | return gl::ClipPlanefContextANGLE(ctx, p, eqn); |
| 4404 | } |
| 4405 | |
| 4406 | void GL_APIENTRY glClipPlanexContextANGLE(GLeglContext ctx, GLenum plane, const GLfixed *equation) |
| 4407 | { |
| 4408 | return gl::ClipPlanexContextANGLE(ctx, plane, equation); |
| 4409 | } |
| 4410 | |
| 4411 | void GL_APIENTRY |
| 4412 | glColor4fContextANGLE(GLeglContext ctx, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) |
| 4413 | { |
| 4414 | return gl::Color4fContextANGLE(ctx, red, green, blue, alpha); |
| 4415 | } |
| 4416 | |
| 4417 | void GL_APIENTRY |
| 4418 | glColor4ubContextANGLE(GLeglContext ctx, GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) |
| 4419 | { |
| 4420 | return gl::Color4ubContextANGLE(ctx, red, green, blue, alpha); |
| 4421 | } |
| 4422 | |
| 4423 | void GL_APIENTRY |
| 4424 | glColor4xContextANGLE(GLeglContext ctx, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) |
| 4425 | { |
| 4426 | return gl::Color4xContextANGLE(ctx, red, green, blue, alpha); |
| 4427 | } |
| 4428 | |
| 4429 | void GL_APIENTRY glColorMaskContextANGLE(GLeglContext ctx, |
| 4430 | GLboolean red, |
| 4431 | GLboolean green, |
| 4432 | GLboolean blue, |
| 4433 | GLboolean alpha) |
| 4434 | { |
| 4435 | return gl::ColorMaskContextANGLE(ctx, red, green, blue, alpha); |
| 4436 | } |
| 4437 | |
| 4438 | void GL_APIENTRY glColorPointerContextANGLE(GLeglContext ctx, |
| 4439 | GLint size, |
| 4440 | GLenum type, |
| 4441 | GLsizei stride, |
| 4442 | const void *pointer) |
| 4443 | { |
| 4444 | return gl::ColorPointerContextANGLE(ctx, size, type, stride, pointer); |
| 4445 | } |
| 4446 | |
| 4447 | void GL_APIENTRY glCompileShaderContextANGLE(GLeglContext ctx, GLuint shader) |
| 4448 | { |
| 4449 | return gl::CompileShaderContextANGLE(ctx, shader); |
| 4450 | } |
| 4451 | |
| 4452 | void GL_APIENTRY glCompressedTexImage2DContextANGLE(GLeglContext ctx, |
| 4453 | GLenum target, |
| 4454 | GLint level, |
| 4455 | GLenum internalformat, |
| 4456 | GLsizei width, |
| 4457 | GLsizei height, |
| 4458 | GLint border, |
| 4459 | GLsizei imageSize, |
| 4460 | const void *data) |
| 4461 | { |
| 4462 | return gl::CompressedTexImage2DContextANGLE(ctx, target, level, internalformat, width, height, |
| 4463 | border, imageSize, data); |
| 4464 | } |
| 4465 | |
| 4466 | void GL_APIENTRY glCompressedTexImage3DContextANGLE(GLeglContext ctx, |
| 4467 | GLenum target, |
| 4468 | GLint level, |
| 4469 | GLenum internalformat, |
| 4470 | GLsizei width, |
| 4471 | GLsizei height, |
| 4472 | GLsizei depth, |
| 4473 | GLint border, |
| 4474 | GLsizei imageSize, |
| 4475 | const void *data) |
| 4476 | { |
| 4477 | return gl::CompressedTexImage3DContextANGLE(ctx, target, level, internalformat, width, height, |
| 4478 | depth, border, imageSize, data); |
| 4479 | } |
| 4480 | |
| 4481 | void GL_APIENTRY glCompressedTexSubImage2DContextANGLE(GLeglContext ctx, |
| 4482 | GLenum target, |
| 4483 | GLint level, |
| 4484 | GLint xoffset, |
| 4485 | GLint yoffset, |
| 4486 | GLsizei width, |
| 4487 | GLsizei height, |
| 4488 | GLenum format, |
| 4489 | GLsizei imageSize, |
| 4490 | const void *data) |
| 4491 | { |
| 4492 | return gl::CompressedTexSubImage2DContextANGLE(ctx, target, level, xoffset, yoffset, width, |
| 4493 | height, format, imageSize, data); |
| 4494 | } |
| 4495 | |
| 4496 | void GL_APIENTRY glCompressedTexSubImage3DContextANGLE(GLeglContext ctx, |
| 4497 | GLenum target, |
| 4498 | GLint level, |
| 4499 | GLint xoffset, |
| 4500 | GLint yoffset, |
| 4501 | GLint zoffset, |
| 4502 | GLsizei width, |
| 4503 | GLsizei height, |
| 4504 | GLsizei depth, |
| 4505 | GLenum format, |
| 4506 | GLsizei imageSize, |
| 4507 | const void *data) |
| 4508 | { |
| 4509 | return gl::CompressedTexSubImage3DContextANGLE(ctx, target, level, xoffset, yoffset, zoffset, |
| 4510 | width, height, depth, format, imageSize, data); |
| 4511 | } |
| 4512 | |
| 4513 | void GL_APIENTRY glCopyBufferSubDataContextANGLE(GLeglContext ctx, |
| 4514 | GLenum readTarget, |
| 4515 | GLenum writeTarget, |
| 4516 | GLintptr readOffset, |
| 4517 | GLintptr writeOffset, |
| 4518 | GLsizeiptr size) |
| 4519 | { |
| 4520 | return gl::CopyBufferSubDataContextANGLE(ctx, readTarget, writeTarget, readOffset, writeOffset, |
| 4521 | size); |
| 4522 | } |
| 4523 | |
| 4524 | void GL_APIENTRY glCopyTexImage2DContextANGLE(GLeglContext ctx, |
| 4525 | GLenum target, |
| 4526 | GLint level, |
| 4527 | GLenum internalformat, |
| 4528 | GLint x, |
| 4529 | GLint y, |
| 4530 | GLsizei width, |
| 4531 | GLsizei height, |
| 4532 | GLint border) |
| 4533 | { |
| 4534 | return gl::CopyTexImage2DContextANGLE(ctx, target, level, internalformat, x, y, width, height, |
| 4535 | border); |
| 4536 | } |
| 4537 | |
| 4538 | void GL_APIENTRY glCopyTexSubImage2DContextANGLE(GLeglContext ctx, |
| 4539 | GLenum target, |
| 4540 | GLint level, |
| 4541 | GLint xoffset, |
| 4542 | GLint yoffset, |
| 4543 | GLint x, |
| 4544 | GLint y, |
| 4545 | GLsizei width, |
| 4546 | GLsizei height) |
| 4547 | { |
| 4548 | return gl::CopyTexSubImage2DContextANGLE(ctx, target, level, xoffset, yoffset, x, y, width, |
| 4549 | height); |
| 4550 | } |
| 4551 | |
| 4552 | void GL_APIENTRY glCopyTexSubImage3DContextANGLE(GLeglContext ctx, |
| 4553 | GLenum target, |
| 4554 | GLint level, |
| 4555 | GLint xoffset, |
| 4556 | GLint yoffset, |
| 4557 | GLint zoffset, |
| 4558 | GLint x, |
| 4559 | GLint y, |
| 4560 | GLsizei width, |
| 4561 | GLsizei height) |
| 4562 | { |
| 4563 | return gl::CopyTexSubImage3DContextANGLE(ctx, target, level, xoffset, yoffset, zoffset, x, y, |
| 4564 | width, height); |
| 4565 | } |
| 4566 | |
| 4567 | GLuint GL_APIENTRY glCreateProgramContextANGLE(GLeglContext ctx) |
| 4568 | { |
| 4569 | return gl::CreateProgramContextANGLE(ctx); |
| 4570 | } |
| 4571 | |
| 4572 | GLuint GL_APIENTRY glCreateShaderContextANGLE(GLeglContext ctx, GLenum type) |
| 4573 | { |
| 4574 | return gl::CreateShaderContextANGLE(ctx, type); |
| 4575 | } |
| 4576 | |
| 4577 | GLuint GL_APIENTRY glCreateShaderProgramvContextANGLE(GLeglContext ctx, |
| 4578 | GLenum type, |
| 4579 | GLsizei count, |
| 4580 | const GLchar *const *strings) |
| 4581 | { |
| 4582 | return gl::CreateShaderProgramvContextANGLE(ctx, type, count, strings); |
| 4583 | } |
| 4584 | |
| 4585 | void GL_APIENTRY glCullFaceContextANGLE(GLeglContext ctx, GLenum mode) |
| 4586 | { |
| 4587 | return gl::CullFaceContextANGLE(ctx, mode); |
| 4588 | } |
| 4589 | |
| 4590 | void GL_APIENTRY glCurrentPaletteMatrixOESContextANGLE(GLeglContext ctx, GLuint matrixpaletteindex) |
| 4591 | { |
| 4592 | return gl::CurrentPaletteMatrixOESContextANGLE(ctx, matrixpaletteindex); |
| 4593 | } |
| 4594 | |
| 4595 | void GL_APIENTRY glDebugMessageCallbackKHRContextANGLE(GLeglContext ctx, |
| 4596 | GLDEBUGPROCKHR callback, |
| 4597 | const void *userParam) |
| 4598 | { |
| 4599 | return gl::DebugMessageCallbackKHRContextANGLE(ctx, callback, userParam); |
| 4600 | } |
| 4601 | |
| 4602 | void GL_APIENTRY glDebugMessageControlKHRContextANGLE(GLeglContext ctx, |
| 4603 | GLenum source, |
| 4604 | GLenum type, |
| 4605 | GLenum severity, |
| 4606 | GLsizei count, |
| 4607 | const GLuint *ids, |
| 4608 | GLboolean enabled) |
| 4609 | { |
| 4610 | return gl::DebugMessageControlKHRContextANGLE(ctx, source, type, severity, count, ids, enabled); |
| 4611 | } |
| 4612 | |
| 4613 | void GL_APIENTRY glDebugMessageInsertKHRContextANGLE(GLeglContext ctx, |
| 4614 | GLenum source, |
| 4615 | GLenum type, |
| 4616 | GLuint id, |
| 4617 | GLenum severity, |
| 4618 | GLsizei length, |
| 4619 | const GLchar *buf) |
| 4620 | { |
| 4621 | return gl::DebugMessageInsertKHRContextANGLE(ctx, source, type, id, severity, length, buf); |
| 4622 | } |
| 4623 | |
| 4624 | void GL_APIENTRY glDeleteBuffersContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *buffers) |
| 4625 | { |
| 4626 | return gl::DeleteBuffersContextANGLE(ctx, n, buffers); |
| 4627 | } |
| 4628 | |
| 4629 | void GL_APIENTRY glDeleteFencesNVContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *fences) |
| 4630 | { |
| 4631 | return gl::DeleteFencesNVContextANGLE(ctx, n, fences); |
| 4632 | } |
| 4633 | |
| 4634 | void GL_APIENTRY glDeleteFramebuffersContextANGLE(GLeglContext ctx, |
| 4635 | GLsizei n, |
| 4636 | const GLuint *framebuffers) |
| 4637 | { |
| 4638 | return gl::DeleteFramebuffersContextANGLE(ctx, n, framebuffers); |
| 4639 | } |
| 4640 | |
| 4641 | void GL_APIENTRY glDeleteFramebuffersOESContextANGLE(GLeglContext ctx, |
| 4642 | GLsizei n, |
| 4643 | const GLuint *framebuffers) |
| 4644 | { |
| 4645 | return gl::DeleteFramebuffersOESContextANGLE(ctx, n, framebuffers); |
| 4646 | } |
| 4647 | |
| 4648 | void GL_APIENTRY glDeleteProgramContextANGLE(GLeglContext ctx, GLuint program) |
| 4649 | { |
| 4650 | return gl::DeleteProgramContextANGLE(ctx, program); |
| 4651 | } |
| 4652 | |
| 4653 | void GL_APIENTRY glDeleteProgramPipelinesContextANGLE(GLeglContext ctx, |
| 4654 | GLsizei n, |
| 4655 | const GLuint *pipelines) |
| 4656 | { |
| 4657 | return gl::DeleteProgramPipelinesContextANGLE(ctx, n, pipelines); |
| 4658 | } |
| 4659 | |
| 4660 | void GL_APIENTRY glDeleteQueriesContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *ids) |
| 4661 | { |
| 4662 | return gl::DeleteQueriesContextANGLE(ctx, n, ids); |
| 4663 | } |
| 4664 | |
| 4665 | void GL_APIENTRY glDeleteQueriesEXTContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *ids) |
| 4666 | { |
| 4667 | return gl::DeleteQueriesEXTContextANGLE(ctx, n, ids); |
| 4668 | } |
| 4669 | |
| 4670 | void GL_APIENTRY glDeleteRenderbuffersContextANGLE(GLeglContext ctx, |
| 4671 | GLsizei n, |
| 4672 | const GLuint *renderbuffers) |
| 4673 | { |
| 4674 | return gl::DeleteRenderbuffersContextANGLE(ctx, n, renderbuffers); |
| 4675 | } |
| 4676 | |
| 4677 | void GL_APIENTRY glDeleteRenderbuffersOESContextANGLE(GLeglContext ctx, |
| 4678 | GLsizei n, |
| 4679 | const GLuint *renderbuffers) |
| 4680 | { |
| 4681 | return gl::DeleteRenderbuffersOESContextANGLE(ctx, n, renderbuffers); |
| 4682 | } |
| 4683 | |
| 4684 | void GL_APIENTRY glDeleteSamplersContextANGLE(GLeglContext ctx, |
| 4685 | GLsizei count, |
| 4686 | const GLuint *samplers) |
| 4687 | { |
| 4688 | return gl::DeleteSamplersContextANGLE(ctx, count, samplers); |
| 4689 | } |
| 4690 | |
| 4691 | void GL_APIENTRY glDeleteShaderContextANGLE(GLeglContext ctx, GLuint shader) |
| 4692 | { |
| 4693 | return gl::DeleteShaderContextANGLE(ctx, shader); |
| 4694 | } |
| 4695 | |
| 4696 | void GL_APIENTRY glDeleteSyncContextANGLE(GLeglContext ctx, GLsync sync) |
| 4697 | { |
| 4698 | return gl::DeleteSyncContextANGLE(ctx, sync); |
| 4699 | } |
| 4700 | |
| 4701 | void GL_APIENTRY glDeleteTexturesContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *textures) |
| 4702 | { |
| 4703 | return gl::DeleteTexturesContextANGLE(ctx, n, textures); |
| 4704 | } |
| 4705 | |
| 4706 | void GL_APIENTRY glDeleteTransformFeedbacksContextANGLE(GLeglContext ctx, |
| 4707 | GLsizei n, |
| 4708 | const GLuint *ids) |
| 4709 | { |
| 4710 | return gl::DeleteTransformFeedbacksContextANGLE(ctx, n, ids); |
| 4711 | } |
| 4712 | |
| 4713 | void GL_APIENTRY glDeleteVertexArraysContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *arrays) |
| 4714 | { |
| 4715 | return gl::DeleteVertexArraysContextANGLE(ctx, n, arrays); |
| 4716 | } |
| 4717 | |
| 4718 | void GL_APIENTRY glDeleteVertexArraysOESContextANGLE(GLeglContext ctx, |
| 4719 | GLsizei n, |
| 4720 | const GLuint *arrays) |
| 4721 | { |
| 4722 | return gl::DeleteVertexArraysOESContextANGLE(ctx, n, arrays); |
| 4723 | } |
| 4724 | |
| 4725 | void GL_APIENTRY glDepthFuncContextANGLE(GLeglContext ctx, GLenum func) |
| 4726 | { |
| 4727 | return gl::DepthFuncContextANGLE(ctx, func); |
| 4728 | } |
| 4729 | |
| 4730 | void GL_APIENTRY glDepthMaskContextANGLE(GLeglContext ctx, GLboolean flag) |
| 4731 | { |
| 4732 | return gl::DepthMaskContextANGLE(ctx, flag); |
| 4733 | } |
| 4734 | |
| 4735 | void GL_APIENTRY glDepthRangefContextANGLE(GLeglContext ctx, GLfloat n, GLfloat f) |
| 4736 | { |
| 4737 | return gl::DepthRangefContextANGLE(ctx, n, f); |
| 4738 | } |
| 4739 | |
| 4740 | void GL_APIENTRY glDepthRangexContextANGLE(GLeglContext ctx, GLfixed n, GLfixed f) |
| 4741 | { |
| 4742 | return gl::DepthRangexContextANGLE(ctx, n, f); |
| 4743 | } |
| 4744 | |
| 4745 | void GL_APIENTRY glDetachShaderContextANGLE(GLeglContext ctx, GLuint program, GLuint shader) |
| 4746 | { |
| 4747 | return gl::DetachShaderContextANGLE(ctx, program, shader); |
| 4748 | } |
| 4749 | |
| 4750 | void GL_APIENTRY glDisableContextANGLE(GLeglContext ctx, GLenum cap) |
| 4751 | { |
| 4752 | return gl::DisableContextANGLE(ctx, cap); |
| 4753 | } |
| 4754 | |
| 4755 | void GL_APIENTRY glDisableClientStateContextANGLE(GLeglContext ctx, GLenum array) |
| 4756 | { |
| 4757 | return gl::DisableClientStateContextANGLE(ctx, array); |
| 4758 | } |
| 4759 | |
| 4760 | void GL_APIENTRY glDisableVertexAttribArrayContextANGLE(GLeglContext ctx, GLuint index) |
| 4761 | { |
| 4762 | return gl::DisableVertexAttribArrayContextANGLE(ctx, index); |
| 4763 | } |
| 4764 | |
| 4765 | void GL_APIENTRY glDiscardFramebufferEXTContextANGLE(GLeglContext ctx, |
| 4766 | GLenum target, |
| 4767 | GLsizei numAttachments, |
| 4768 | const GLenum *attachments) |
| 4769 | { |
| 4770 | return gl::DiscardFramebufferEXTContextANGLE(ctx, target, numAttachments, attachments); |
| 4771 | } |
| 4772 | |
| 4773 | void GL_APIENTRY glDispatchComputeContextANGLE(GLeglContext ctx, |
| 4774 | GLuint num_groups_x, |
| 4775 | GLuint num_groups_y, |
| 4776 | GLuint num_groups_z) |
| 4777 | { |
| 4778 | return gl::DispatchComputeContextANGLE(ctx, num_groups_x, num_groups_y, num_groups_z); |
| 4779 | } |
| 4780 | |
| 4781 | void GL_APIENTRY glDispatchComputeIndirectContextANGLE(GLeglContext ctx, GLintptr indirect) |
| 4782 | { |
| 4783 | return gl::DispatchComputeIndirectContextANGLE(ctx, indirect); |
| 4784 | } |
| 4785 | |
| 4786 | void GL_APIENTRY glDrawArraysContextANGLE(GLeglContext ctx, GLenum mode, GLint first, GLsizei count) |
| 4787 | { |
| 4788 | return gl::DrawArraysContextANGLE(ctx, mode, first, count); |
| 4789 | } |
| 4790 | |
| 4791 | void GL_APIENTRY glDrawArraysIndirectContextANGLE(GLeglContext ctx, |
| 4792 | GLenum mode, |
| 4793 | const void *indirect) |
| 4794 | { |
| 4795 | return gl::DrawArraysIndirectContextANGLE(ctx, mode, indirect); |
| 4796 | } |
| 4797 | |
| 4798 | void GL_APIENTRY glDrawArraysInstancedContextANGLE(GLeglContext ctx, |
| 4799 | GLenum mode, |
| 4800 | GLint first, |
| 4801 | GLsizei count, |
| 4802 | GLsizei instancecount) |
| 4803 | { |
| 4804 | return gl::DrawArraysInstancedContextANGLE(ctx, mode, first, count, instancecount); |
| 4805 | } |
| 4806 | |
| 4807 | void GL_APIENTRY glDrawArraysInstancedANGLEContextANGLE(GLeglContext ctx, |
| 4808 | GLenum mode, |
| 4809 | GLint first, |
| 4810 | GLsizei count, |
| 4811 | GLsizei primcount) |
| 4812 | { |
| 4813 | return gl::DrawArraysInstancedANGLEContextANGLE(ctx, mode, first, count, primcount); |
| 4814 | } |
| 4815 | |
| 4816 | void GL_APIENTRY glDrawBuffersContextANGLE(GLeglContext ctx, GLsizei n, const GLenum *bufs) |
| 4817 | { |
| 4818 | return gl::DrawBuffersContextANGLE(ctx, n, bufs); |
| 4819 | } |
| 4820 | |
| 4821 | void GL_APIENTRY glDrawBuffersEXTContextANGLE(GLeglContext ctx, GLsizei n, const GLenum *bufs) |
| 4822 | { |
| 4823 | return gl::DrawBuffersEXTContextANGLE(ctx, n, bufs); |
| 4824 | } |
| 4825 | |
| 4826 | void GL_APIENTRY glDrawElementsContextANGLE(GLeglContext ctx, |
| 4827 | GLenum mode, |
| 4828 | GLsizei count, |
| 4829 | GLenum type, |
| 4830 | const void *indices) |
| 4831 | { |
| 4832 | return gl::DrawElementsContextANGLE(ctx, mode, count, type, indices); |
| 4833 | } |
| 4834 | |
| 4835 | void GL_APIENTRY glDrawElementsIndirectContextANGLE(GLeglContext ctx, |
| 4836 | GLenum mode, |
| 4837 | GLenum type, |
| 4838 | const void *indirect) |
| 4839 | { |
| 4840 | return gl::DrawElementsIndirectContextANGLE(ctx, mode, type, indirect); |
| 4841 | } |
| 4842 | |
| 4843 | void GL_APIENTRY glDrawElementsInstancedContextANGLE(GLeglContext ctx, |
| 4844 | GLenum mode, |
| 4845 | GLsizei count, |
| 4846 | GLenum type, |
| 4847 | const void *indices, |
| 4848 | GLsizei instancecount) |
| 4849 | { |
| 4850 | return gl::DrawElementsInstancedContextANGLE(ctx, mode, count, type, indices, instancecount); |
| 4851 | } |
| 4852 | |
| 4853 | void GL_APIENTRY glDrawElementsInstancedANGLEContextANGLE(GLeglContext ctx, |
| 4854 | GLenum mode, |
| 4855 | GLsizei count, |
| 4856 | GLenum type, |
| 4857 | const void *indices, |
| 4858 | GLsizei primcount) |
| 4859 | { |
| 4860 | return gl::DrawElementsInstancedANGLEContextANGLE(ctx, mode, count, type, indices, primcount); |
| 4861 | } |
| 4862 | |
| 4863 | void GL_APIENTRY glDrawRangeElementsContextANGLE(GLeglContext ctx, |
| 4864 | GLenum mode, |
| 4865 | GLuint start, |
| 4866 | GLuint end, |
| 4867 | GLsizei count, |
| 4868 | GLenum type, |
| 4869 | const void *indices) |
| 4870 | { |
| 4871 | return gl::DrawRangeElementsContextANGLE(ctx, mode, start, end, count, type, indices); |
| 4872 | } |
| 4873 | |
| 4874 | void GL_APIENTRY glDrawTexfOESContextANGLE(GLeglContext ctx, |
| 4875 | GLfloat x, |
| 4876 | GLfloat y, |
| 4877 | GLfloat z, |
| 4878 | GLfloat width, |
| 4879 | GLfloat height) |
| 4880 | { |
| 4881 | return gl::DrawTexfOESContextANGLE(ctx, x, y, z, width, height); |
| 4882 | } |
| 4883 | |
| 4884 | void GL_APIENTRY glDrawTexfvOESContextANGLE(GLeglContext ctx, const GLfloat *coords) |
| 4885 | { |
| 4886 | return gl::DrawTexfvOESContextANGLE(ctx, coords); |
| 4887 | } |
| 4888 | |
| 4889 | void GL_APIENTRY |
| 4890 | glDrawTexiOESContextANGLE(GLeglContext ctx, GLint x, GLint y, GLint z, GLint width, GLint height) |
| 4891 | { |
| 4892 | return gl::DrawTexiOESContextANGLE(ctx, x, y, z, width, height); |
| 4893 | } |
| 4894 | |
| 4895 | void GL_APIENTRY glDrawTexivOESContextANGLE(GLeglContext ctx, const GLint *coords) |
| 4896 | { |
| 4897 | return gl::DrawTexivOESContextANGLE(ctx, coords); |
| 4898 | } |
| 4899 | |
| 4900 | void GL_APIENTRY glDrawTexsOESContextANGLE(GLeglContext ctx, |
| 4901 | GLshort x, |
| 4902 | GLshort y, |
| 4903 | GLshort z, |
| 4904 | GLshort width, |
| 4905 | GLshort height) |
| 4906 | { |
| 4907 | return gl::DrawTexsOESContextANGLE(ctx, x, y, z, width, height); |
| 4908 | } |
| 4909 | |
| 4910 | void GL_APIENTRY glDrawTexsvOESContextANGLE(GLeglContext ctx, const GLshort *coords) |
| 4911 | { |
| 4912 | return gl::DrawTexsvOESContextANGLE(ctx, coords); |
| 4913 | } |
| 4914 | |
| 4915 | void GL_APIENTRY glDrawTexxOESContextANGLE(GLeglContext ctx, |
| 4916 | GLfixed x, |
| 4917 | GLfixed y, |
| 4918 | GLfixed z, |
| 4919 | GLfixed width, |
| 4920 | GLfixed height) |
| 4921 | { |
| 4922 | return gl::DrawTexxOESContextANGLE(ctx, x, y, z, width, height); |
| 4923 | } |
| 4924 | |
| 4925 | void GL_APIENTRY glDrawTexxvOESContextANGLE(GLeglContext ctx, const GLfixed *coords) |
| 4926 | { |
| 4927 | return gl::DrawTexxvOESContextANGLE(ctx, coords); |
| 4928 | } |
| 4929 | |
| 4930 | void GL_APIENTRY glEGLImageTargetRenderbufferStorageOESContextANGLE(GLeglContext ctx, |
| 4931 | GLenum target, |
| 4932 | GLeglImageOES image) |
| 4933 | { |
| 4934 | return gl::EGLImageTargetRenderbufferStorageOESContextANGLE(ctx, target, image); |
| 4935 | } |
| 4936 | |
| 4937 | void GL_APIENTRY glEGLImageTargetTexture2DOESContextANGLE(GLeglContext ctx, |
| 4938 | GLenum target, |
| 4939 | GLeglImageOES image) |
| 4940 | { |
| 4941 | return gl::EGLImageTargetTexture2DOESContextANGLE(ctx, target, image); |
| 4942 | } |
| 4943 | |
| 4944 | void GL_APIENTRY glEnableContextANGLE(GLeglContext ctx, GLenum cap) |
| 4945 | { |
| 4946 | return gl::EnableContextANGLE(ctx, cap); |
| 4947 | } |
| 4948 | |
| 4949 | void GL_APIENTRY glEnableClientStateContextANGLE(GLeglContext ctx, GLenum array) |
| 4950 | { |
| 4951 | return gl::EnableClientStateContextANGLE(ctx, array); |
| 4952 | } |
| 4953 | |
| 4954 | void GL_APIENTRY glEnableVertexAttribArrayContextANGLE(GLeglContext ctx, GLuint index) |
| 4955 | { |
| 4956 | return gl::EnableVertexAttribArrayContextANGLE(ctx, index); |
| 4957 | } |
| 4958 | |
| 4959 | void GL_APIENTRY glEndQueryContextANGLE(GLeglContext ctx, GLenum target) |
| 4960 | { |
| 4961 | return gl::EndQueryContextANGLE(ctx, target); |
| 4962 | } |
| 4963 | |
| 4964 | void GL_APIENTRY glEndQueryEXTContextANGLE(GLeglContext ctx, GLenum target) |
| 4965 | { |
| 4966 | return gl::EndQueryEXTContextANGLE(ctx, target); |
| 4967 | } |
| 4968 | |
| 4969 | void GL_APIENTRY glEndTransformFeedbackContextANGLE(GLeglContext ctx) |
| 4970 | { |
| 4971 | return gl::EndTransformFeedbackContextANGLE(ctx); |
| 4972 | } |
| 4973 | |
| 4974 | GLsync GL_APIENTRY glFenceSyncContextANGLE(GLeglContext ctx, GLenum condition, GLbitfield flags) |
| 4975 | { |
| 4976 | return gl::FenceSyncContextANGLE(ctx, condition, flags); |
| 4977 | } |
| 4978 | |
| 4979 | void GL_APIENTRY glFinishContextANGLE(GLeglContext ctx) |
| 4980 | { |
| 4981 | return gl::FinishContextANGLE(ctx); |
| 4982 | } |
| 4983 | |
| 4984 | void GL_APIENTRY glFinishFenceNVContextANGLE(GLeglContext ctx, GLuint fence) |
| 4985 | { |
| 4986 | return gl::FinishFenceNVContextANGLE(ctx, fence); |
| 4987 | } |
| 4988 | |
| 4989 | void GL_APIENTRY glFlushContextANGLE(GLeglContext ctx) |
| 4990 | { |
| 4991 | return gl::FlushContextANGLE(ctx); |
| 4992 | } |
| 4993 | |
| 4994 | void GL_APIENTRY glFlushMappedBufferRangeContextANGLE(GLeglContext ctx, |
| 4995 | GLenum target, |
| 4996 | GLintptr offset, |
| 4997 | GLsizeiptr length) |
| 4998 | { |
| 4999 | return gl::FlushMappedBufferRangeContextANGLE(ctx, target, offset, length); |
| 5000 | } |
| 5001 | |
| 5002 | void GL_APIENTRY glFlushMappedBufferRangeEXTContextANGLE(GLeglContext ctx, |
| 5003 | GLenum target, |
| 5004 | GLintptr offset, |
| 5005 | GLsizeiptr length) |
| 5006 | { |
| 5007 | return gl::FlushMappedBufferRangeEXTContextANGLE(ctx, target, offset, length); |
| 5008 | } |
| 5009 | |
| 5010 | void GL_APIENTRY glFogfContextANGLE(GLeglContext ctx, GLenum pname, GLfloat param) |
| 5011 | { |
| 5012 | return gl::FogfContextANGLE(ctx, pname, param); |
| 5013 | } |
| 5014 | |
| 5015 | void GL_APIENTRY glFogfvContextANGLE(GLeglContext ctx, GLenum pname, const GLfloat *params) |
| 5016 | { |
| 5017 | return gl::FogfvContextANGLE(ctx, pname, params); |
| 5018 | } |
| 5019 | |
| 5020 | void GL_APIENTRY glFogxContextANGLE(GLeglContext ctx, GLenum pname, GLfixed param) |
| 5021 | { |
| 5022 | return gl::FogxContextANGLE(ctx, pname, param); |
| 5023 | } |
| 5024 | |
| 5025 | void GL_APIENTRY glFogxvContextANGLE(GLeglContext ctx, GLenum pname, const GLfixed *param) |
| 5026 | { |
| 5027 | return gl::FogxvContextANGLE(ctx, pname, param); |
| 5028 | } |
| 5029 | |
| 5030 | void GL_APIENTRY glFramebufferParameteriContextANGLE(GLeglContext ctx, |
| 5031 | GLenum target, |
| 5032 | GLenum pname, |
| 5033 | GLint param) |
| 5034 | { |
| 5035 | return gl::FramebufferParameteriContextANGLE(ctx, target, pname, param); |
| 5036 | } |
| 5037 | |
| 5038 | void GL_APIENTRY glFramebufferRenderbufferContextANGLE(GLeglContext ctx, |
| 5039 | GLenum target, |
| 5040 | GLenum attachment, |
| 5041 | GLenum renderbuffertarget, |
| 5042 | GLuint renderbuffer) |
| 5043 | { |
| 5044 | return gl::FramebufferRenderbufferContextANGLE(ctx, target, attachment, renderbuffertarget, |
| 5045 | renderbuffer); |
| 5046 | } |
| 5047 | |
| 5048 | void GL_APIENTRY glFramebufferRenderbufferOESContextANGLE(GLeglContext ctx, |
| 5049 | GLenum target, |
| 5050 | GLenum attachment, |
| 5051 | GLenum renderbuffertarget, |
| 5052 | GLuint renderbuffer) |
| 5053 | { |
| 5054 | return gl::FramebufferRenderbufferOESContextANGLE(ctx, target, attachment, renderbuffertarget, |
| 5055 | renderbuffer); |
| 5056 | } |
| 5057 | |
| 5058 | void GL_APIENTRY glFramebufferTexture2DContextANGLE(GLeglContext ctx, |
| 5059 | GLenum target, |
| 5060 | GLenum attachment, |
| 5061 | GLenum textarget, |
| 5062 | GLuint texture, |
| 5063 | GLint level) |
| 5064 | { |
| 5065 | return gl::FramebufferTexture2DContextANGLE(ctx, target, attachment, textarget, texture, level); |
| 5066 | } |
| 5067 | |
| 5068 | void GL_APIENTRY glFramebufferTexture2DOESContextANGLE(GLeglContext ctx, |
| 5069 | GLenum target, |
| 5070 | GLenum attachment, |
| 5071 | GLenum textarget, |
| 5072 | GLuint texture, |
| 5073 | GLint level) |
| 5074 | { |
| 5075 | return gl::FramebufferTexture2DOESContextANGLE(ctx, target, attachment, textarget, texture, |
| 5076 | level); |
| 5077 | } |
| 5078 | |
Jiawei Shao | 5f9482f | 2018-05-18 09:00:09 +0800 | [diff] [blame] | 5079 | void GL_APIENTRY glFramebufferTextureEXTContextANGLE(GLeglContext ctx, |
| 5080 | GLenum target, |
| 5081 | GLenum attachment, |
| 5082 | GLuint texture, |
| 5083 | GLint level) |
| 5084 | { |
| 5085 | return gl::FramebufferTextureEXTContextANGLE(ctx, target, attachment, texture, level); |
| 5086 | } |
| 5087 | |
Brandon Jones | 2b0cdcc | 2018-05-02 08:02:50 -0700 | [diff] [blame] | 5088 | void GL_APIENTRY glFramebufferTextureLayerContextANGLE(GLeglContext ctx, |
| 5089 | GLenum target, |
| 5090 | GLenum attachment, |
| 5091 | GLuint texture, |
| 5092 | GLint level, |
| 5093 | GLint layer) |
| 5094 | { |
| 5095 | return gl::FramebufferTextureLayerContextANGLE(ctx, target, attachment, texture, level, layer); |
| 5096 | } |
| 5097 | |
| 5098 | void GL_APIENTRY glFrontFaceContextANGLE(GLeglContext ctx, GLenum mode) |
| 5099 | { |
| 5100 | return gl::FrontFaceContextANGLE(ctx, mode); |
| 5101 | } |
| 5102 | |
| 5103 | void GL_APIENTRY glFrustumfContextANGLE(GLeglContext ctx, |
| 5104 | GLfloat l, |
| 5105 | GLfloat r, |
| 5106 | GLfloat b, |
| 5107 | GLfloat t, |
| 5108 | GLfloat n, |
| 5109 | GLfloat f) |
| 5110 | { |
| 5111 | return gl::FrustumfContextANGLE(ctx, l, r, b, t, n, f); |
| 5112 | } |
| 5113 | |
| 5114 | void GL_APIENTRY glFrustumxContextANGLE(GLeglContext ctx, |
| 5115 | GLfixed l, |
| 5116 | GLfixed r, |
| 5117 | GLfixed b, |
| 5118 | GLfixed t, |
| 5119 | GLfixed n, |
| 5120 | GLfixed f) |
| 5121 | { |
| 5122 | return gl::FrustumxContextANGLE(ctx, l, r, b, t, n, f); |
| 5123 | } |
| 5124 | |
| 5125 | void GL_APIENTRY glGenBuffersContextANGLE(GLeglContext ctx, GLsizei n, GLuint *buffers) |
| 5126 | { |
| 5127 | return gl::GenBuffersContextANGLE(ctx, n, buffers); |
| 5128 | } |
| 5129 | |
| 5130 | void GL_APIENTRY glGenFencesNVContextANGLE(GLeglContext ctx, GLsizei n, GLuint *fences) |
| 5131 | { |
| 5132 | return gl::GenFencesNVContextANGLE(ctx, n, fences); |
| 5133 | } |
| 5134 | |
| 5135 | void GL_APIENTRY glGenFramebuffersContextANGLE(GLeglContext ctx, GLsizei n, GLuint *framebuffers) |
| 5136 | { |
| 5137 | return gl::GenFramebuffersContextANGLE(ctx, n, framebuffers); |
| 5138 | } |
| 5139 | |
| 5140 | void GL_APIENTRY glGenFramebuffersOESContextANGLE(GLeglContext ctx, GLsizei n, GLuint *framebuffers) |
| 5141 | { |
| 5142 | return gl::GenFramebuffersOESContextANGLE(ctx, n, framebuffers); |
| 5143 | } |
| 5144 | |
| 5145 | void GL_APIENTRY glGenProgramPipelinesContextANGLE(GLeglContext ctx, GLsizei n, GLuint *pipelines) |
| 5146 | { |
| 5147 | return gl::GenProgramPipelinesContextANGLE(ctx, n, pipelines); |
| 5148 | } |
| 5149 | |
| 5150 | void GL_APIENTRY glGenQueriesContextANGLE(GLeglContext ctx, GLsizei n, GLuint *ids) |
| 5151 | { |
| 5152 | return gl::GenQueriesContextANGLE(ctx, n, ids); |
| 5153 | } |
| 5154 | |
| 5155 | void GL_APIENTRY glGenQueriesEXTContextANGLE(GLeglContext ctx, GLsizei n, GLuint *ids) |
| 5156 | { |
| 5157 | return gl::GenQueriesEXTContextANGLE(ctx, n, ids); |
| 5158 | } |
| 5159 | |
| 5160 | void GL_APIENTRY glGenRenderbuffersContextANGLE(GLeglContext ctx, GLsizei n, GLuint *renderbuffers) |
| 5161 | { |
| 5162 | return gl::GenRenderbuffersContextANGLE(ctx, n, renderbuffers); |
| 5163 | } |
| 5164 | |
| 5165 | void GL_APIENTRY glGenRenderbuffersOESContextANGLE(GLeglContext ctx, |
| 5166 | GLsizei n, |
| 5167 | GLuint *renderbuffers) |
| 5168 | { |
| 5169 | return gl::GenRenderbuffersOESContextANGLE(ctx, n, renderbuffers); |
| 5170 | } |
| 5171 | |
| 5172 | void GL_APIENTRY glGenSamplersContextANGLE(GLeglContext ctx, GLsizei count, GLuint *samplers) |
| 5173 | { |
| 5174 | return gl::GenSamplersContextANGLE(ctx, count, samplers); |
| 5175 | } |
| 5176 | |
| 5177 | void GL_APIENTRY glGenTexturesContextANGLE(GLeglContext ctx, GLsizei n, GLuint *textures) |
| 5178 | { |
| 5179 | return gl::GenTexturesContextANGLE(ctx, n, textures); |
| 5180 | } |
| 5181 | |
| 5182 | void GL_APIENTRY glGenTransformFeedbacksContextANGLE(GLeglContext ctx, GLsizei n, GLuint *ids) |
| 5183 | { |
| 5184 | return gl::GenTransformFeedbacksContextANGLE(ctx, n, ids); |
| 5185 | } |
| 5186 | |
| 5187 | void GL_APIENTRY glGenVertexArraysContextANGLE(GLeglContext ctx, GLsizei n, GLuint *arrays) |
| 5188 | { |
| 5189 | return gl::GenVertexArraysContextANGLE(ctx, n, arrays); |
| 5190 | } |
| 5191 | |
| 5192 | void GL_APIENTRY glGenVertexArraysOESContextANGLE(GLeglContext ctx, GLsizei n, GLuint *arrays) |
| 5193 | { |
| 5194 | return gl::GenVertexArraysOESContextANGLE(ctx, n, arrays); |
| 5195 | } |
| 5196 | |
| 5197 | void GL_APIENTRY glGenerateMipmapContextANGLE(GLeglContext ctx, GLenum target) |
| 5198 | { |
| 5199 | return gl::GenerateMipmapContextANGLE(ctx, target); |
| 5200 | } |
| 5201 | |
| 5202 | void GL_APIENTRY glGenerateMipmapOESContextANGLE(GLeglContext ctx, GLenum target) |
| 5203 | { |
| 5204 | return gl::GenerateMipmapOESContextANGLE(ctx, target); |
| 5205 | } |
| 5206 | |
| 5207 | void GL_APIENTRY glGetActiveAttribContextANGLE(GLeglContext ctx, |
| 5208 | GLuint program, |
| 5209 | GLuint index, |
| 5210 | GLsizei bufSize, |
| 5211 | GLsizei *length, |
| 5212 | GLint *size, |
| 5213 | GLenum *type, |
| 5214 | GLchar *name) |
| 5215 | { |
| 5216 | return gl::GetActiveAttribContextANGLE(ctx, program, index, bufSize, length, size, type, name); |
| 5217 | } |
| 5218 | |
| 5219 | void GL_APIENTRY glGetActiveUniformContextANGLE(GLeglContext ctx, |
| 5220 | GLuint program, |
| 5221 | GLuint index, |
| 5222 | GLsizei bufSize, |
| 5223 | GLsizei *length, |
| 5224 | GLint *size, |
| 5225 | GLenum *type, |
| 5226 | GLchar *name) |
| 5227 | { |
| 5228 | return gl::GetActiveUniformContextANGLE(ctx, program, index, bufSize, length, size, type, name); |
| 5229 | } |
| 5230 | |
| 5231 | void GL_APIENTRY glGetActiveUniformBlockNameContextANGLE(GLeglContext ctx, |
| 5232 | GLuint program, |
| 5233 | GLuint uniformBlockIndex, |
| 5234 | GLsizei bufSize, |
| 5235 | GLsizei *length, |
| 5236 | GLchar *uniformBlockName) |
| 5237 | { |
| 5238 | return gl::GetActiveUniformBlockNameContextANGLE(ctx, program, uniformBlockIndex, bufSize, |
| 5239 | length, uniformBlockName); |
| 5240 | } |
| 5241 | |
| 5242 | void GL_APIENTRY glGetActiveUniformBlockivContextANGLE(GLeglContext ctx, |
| 5243 | GLuint program, |
| 5244 | GLuint uniformBlockIndex, |
| 5245 | GLenum pname, |
| 5246 | GLint *params) |
| 5247 | { |
| 5248 | return gl::GetActiveUniformBlockivContextANGLE(ctx, program, uniformBlockIndex, pname, params); |
| 5249 | } |
| 5250 | |
| 5251 | void GL_APIENTRY glGetActiveUniformsivContextANGLE(GLeglContext ctx, |
| 5252 | GLuint program, |
| 5253 | GLsizei uniformCount, |
| 5254 | const GLuint *uniformIndices, |
| 5255 | GLenum pname, |
| 5256 | GLint *params) |
| 5257 | { |
| 5258 | return gl::GetActiveUniformsivContextANGLE(ctx, program, uniformCount, uniformIndices, pname, |
| 5259 | params); |
| 5260 | } |
| 5261 | |
| 5262 | void GL_APIENTRY glGetAttachedShadersContextANGLE(GLeglContext ctx, |
| 5263 | GLuint program, |
| 5264 | GLsizei maxCount, |
| 5265 | GLsizei *count, |
| 5266 | GLuint *shaders) |
| 5267 | { |
| 5268 | return gl::GetAttachedShadersContextANGLE(ctx, program, maxCount, count, shaders); |
| 5269 | } |
| 5270 | |
| 5271 | GLint GL_APIENTRY glGetAttribLocationContextANGLE(GLeglContext ctx, |
| 5272 | GLuint program, |
| 5273 | const GLchar *name) |
| 5274 | { |
| 5275 | return gl::GetAttribLocationContextANGLE(ctx, program, name); |
| 5276 | } |
| 5277 | |
| 5278 | void GL_APIENTRY glGetBooleani_vContextANGLE(GLeglContext ctx, |
| 5279 | GLenum target, |
| 5280 | GLuint index, |
| 5281 | GLboolean *data) |
| 5282 | { |
| 5283 | return gl::GetBooleani_vContextANGLE(ctx, target, index, data); |
| 5284 | } |
| 5285 | |
| 5286 | void GL_APIENTRY glGetBooleanvContextANGLE(GLeglContext ctx, GLenum pname, GLboolean *data) |
| 5287 | { |
| 5288 | return gl::GetBooleanvContextANGLE(ctx, pname, data); |
| 5289 | } |
| 5290 | |
| 5291 | void GL_APIENTRY glGetBufferParameteri64vContextANGLE(GLeglContext ctx, |
| 5292 | GLenum target, |
| 5293 | GLenum pname, |
| 5294 | GLint64 *params) |
| 5295 | { |
| 5296 | return gl::GetBufferParameteri64vContextANGLE(ctx, target, pname, params); |
| 5297 | } |
| 5298 | |
| 5299 | void GL_APIENTRY glGetBufferParameterivContextANGLE(GLeglContext ctx, |
| 5300 | GLenum target, |
| 5301 | GLenum pname, |
| 5302 | GLint *params) |
| 5303 | { |
| 5304 | return gl::GetBufferParameterivContextANGLE(ctx, target, pname, params); |
| 5305 | } |
| 5306 | |
| 5307 | void GL_APIENTRY glGetBufferPointervContextANGLE(GLeglContext ctx, |
| 5308 | GLenum target, |
| 5309 | GLenum pname, |
| 5310 | void **params) |
| 5311 | { |
| 5312 | return gl::GetBufferPointervContextANGLE(ctx, target, pname, params); |
| 5313 | } |
| 5314 | |
| 5315 | void GL_APIENTRY glGetBufferPointervOESContextANGLE(GLeglContext ctx, |
| 5316 | GLenum target, |
| 5317 | GLenum pname, |
| 5318 | void **params) |
| 5319 | { |
| 5320 | return gl::GetBufferPointervOESContextANGLE(ctx, target, pname, params); |
| 5321 | } |
| 5322 | |
| 5323 | void GL_APIENTRY glGetClipPlanefContextANGLE(GLeglContext ctx, GLenum plane, GLfloat *equation) |
| 5324 | { |
| 5325 | return gl::GetClipPlanefContextANGLE(ctx, plane, equation); |
| 5326 | } |
| 5327 | |
| 5328 | void GL_APIENTRY glGetClipPlanexContextANGLE(GLeglContext ctx, GLenum plane, GLfixed *equation) |
| 5329 | { |
| 5330 | return gl::GetClipPlanexContextANGLE(ctx, plane, equation); |
| 5331 | } |
| 5332 | |
| 5333 | GLuint GL_APIENTRY glGetDebugMessageLogKHRContextANGLE(GLeglContext ctx, |
| 5334 | GLuint count, |
| 5335 | GLsizei bufSize, |
| 5336 | GLenum *sources, |
| 5337 | GLenum *types, |
| 5338 | GLuint *ids, |
| 5339 | GLenum *severities, |
| 5340 | GLsizei *lengths, |
| 5341 | GLchar *messageLog) |
| 5342 | { |
| 5343 | return gl::GetDebugMessageLogKHRContextANGLE(ctx, count, bufSize, sources, types, ids, |
| 5344 | severities, lengths, messageLog); |
| 5345 | } |
| 5346 | |
| 5347 | GLenum GL_APIENTRY glGetErrorContextANGLE(GLeglContext ctx) |
| 5348 | { |
| 5349 | return gl::GetErrorContextANGLE(ctx); |
| 5350 | } |
| 5351 | |
| 5352 | void GL_APIENTRY glGetFenceivNVContextANGLE(GLeglContext ctx, |
| 5353 | GLuint fence, |
| 5354 | GLenum pname, |
| 5355 | GLint *params) |
| 5356 | { |
| 5357 | return gl::GetFenceivNVContextANGLE(ctx, fence, pname, params); |
| 5358 | } |
| 5359 | |
| 5360 | void GL_APIENTRY glGetFixedvContextANGLE(GLeglContext ctx, GLenum pname, GLfixed *params) |
| 5361 | { |
| 5362 | return gl::GetFixedvContextANGLE(ctx, pname, params); |
| 5363 | } |
| 5364 | |
| 5365 | void GL_APIENTRY glGetFloatvContextANGLE(GLeglContext ctx, GLenum pname, GLfloat *data) |
| 5366 | { |
| 5367 | return gl::GetFloatvContextANGLE(ctx, pname, data); |
| 5368 | } |
| 5369 | |
Olli Etuaho | 0ca0975 | 2018-09-24 11:00:50 +0300 | [diff] [blame] | 5370 | GLint GL_APIENTRY glGetFragDataIndexEXTContextANGLE(GLeglContext ctx, |
| 5371 | GLuint program, |
| 5372 | const GLchar *name) |
| 5373 | { |
| 5374 | return gl::GetFragDataIndexEXTContextANGLE(ctx, program, name); |
| 5375 | } |
| 5376 | |
Brandon Jones | 2b0cdcc | 2018-05-02 08:02:50 -0700 | [diff] [blame] | 5377 | GLint GL_APIENTRY glGetFragDataLocationContextANGLE(GLeglContext ctx, |
| 5378 | GLuint program, |
| 5379 | const GLchar *name) |
| 5380 | { |
| 5381 | return gl::GetFragDataLocationContextANGLE(ctx, program, name); |
| 5382 | } |
| 5383 | |
| 5384 | void GL_APIENTRY glGetFramebufferAttachmentParameterivContextANGLE(GLeglContext ctx, |
| 5385 | GLenum target, |
| 5386 | GLenum attachment, |
| 5387 | GLenum pname, |
| 5388 | GLint *params) |
| 5389 | { |
| 5390 | return gl::GetFramebufferAttachmentParameterivContextANGLE(ctx, target, attachment, pname, |
| 5391 | params); |
| 5392 | } |
| 5393 | |
| 5394 | void GL_APIENTRY glGetFramebufferAttachmentParameterivOESContextANGLE(GLeglContext ctx, |
| 5395 | GLenum target, |
| 5396 | GLenum attachment, |
| 5397 | GLenum pname, |
| 5398 | GLint *params) |
| 5399 | { |
| 5400 | return gl::GetFramebufferAttachmentParameterivOESContextANGLE(ctx, target, attachment, pname, |
| 5401 | params); |
| 5402 | } |
| 5403 | |
| 5404 | void GL_APIENTRY glGetFramebufferParameterivContextANGLE(GLeglContext ctx, |
| 5405 | GLenum target, |
| 5406 | GLenum pname, |
| 5407 | GLint *params) |
| 5408 | { |
| 5409 | return gl::GetFramebufferParameterivContextANGLE(ctx, target, pname, params); |
| 5410 | } |
| 5411 | |
| 5412 | GLenum GL_APIENTRY glGetGraphicsResetStatusEXTContextANGLE(GLeglContext ctx) |
| 5413 | { |
| 5414 | return gl::GetGraphicsResetStatusEXTContextANGLE(ctx); |
| 5415 | } |
| 5416 | |
| 5417 | void GL_APIENTRY glGetInteger64i_vContextANGLE(GLeglContext ctx, |
| 5418 | GLenum target, |
| 5419 | GLuint index, |
| 5420 | GLint64 *data) |
| 5421 | { |
| 5422 | return gl::GetInteger64i_vContextANGLE(ctx, target, index, data); |
| 5423 | } |
| 5424 | |
| 5425 | void GL_APIENTRY glGetInteger64vContextANGLE(GLeglContext ctx, GLenum pname, GLint64 *data) |
| 5426 | { |
| 5427 | return gl::GetInteger64vContextANGLE(ctx, pname, data); |
| 5428 | } |
| 5429 | |
| 5430 | void GL_APIENTRY glGetIntegeri_vContextANGLE(GLeglContext ctx, |
| 5431 | GLenum target, |
| 5432 | GLuint index, |
| 5433 | GLint *data) |
| 5434 | { |
| 5435 | return gl::GetIntegeri_vContextANGLE(ctx, target, index, data); |
| 5436 | } |
| 5437 | |
| 5438 | void GL_APIENTRY glGetIntegervContextANGLE(GLeglContext ctx, GLenum pname, GLint *data) |
| 5439 | { |
| 5440 | return gl::GetIntegervContextANGLE(ctx, pname, data); |
| 5441 | } |
| 5442 | |
| 5443 | void GL_APIENTRY glGetInternalformativContextANGLE(GLeglContext ctx, |
| 5444 | GLenum target, |
| 5445 | GLenum internalformat, |
| 5446 | GLenum pname, |
| 5447 | GLsizei bufSize, |
| 5448 | GLint *params) |
| 5449 | { |
| 5450 | return gl::GetInternalformativContextANGLE(ctx, target, internalformat, pname, bufSize, params); |
| 5451 | } |
| 5452 | |
| 5453 | void GL_APIENTRY glGetLightfvContextANGLE(GLeglContext ctx, |
| 5454 | GLenum light, |
| 5455 | GLenum pname, |
| 5456 | GLfloat *params) |
| 5457 | { |
| 5458 | return gl::GetLightfvContextANGLE(ctx, light, pname, params); |
| 5459 | } |
| 5460 | |
| 5461 | void GL_APIENTRY glGetLightxvContextANGLE(GLeglContext ctx, |
| 5462 | GLenum light, |
| 5463 | GLenum pname, |
| 5464 | GLfixed *params) |
| 5465 | { |
| 5466 | return gl::GetLightxvContextANGLE(ctx, light, pname, params); |
| 5467 | } |
| 5468 | |
| 5469 | void GL_APIENTRY glGetMaterialfvContextANGLE(GLeglContext ctx, |
| 5470 | GLenum face, |
| 5471 | GLenum pname, |
| 5472 | GLfloat *params) |
| 5473 | { |
| 5474 | return gl::GetMaterialfvContextANGLE(ctx, face, pname, params); |
| 5475 | } |
| 5476 | |
| 5477 | void GL_APIENTRY glGetMaterialxvContextANGLE(GLeglContext ctx, |
| 5478 | GLenum face, |
| 5479 | GLenum pname, |
| 5480 | GLfixed *params) |
| 5481 | { |
| 5482 | return gl::GetMaterialxvContextANGLE(ctx, face, pname, params); |
| 5483 | } |
| 5484 | |
| 5485 | void GL_APIENTRY glGetMultisamplefvContextANGLE(GLeglContext ctx, |
| 5486 | GLenum pname, |
| 5487 | GLuint index, |
| 5488 | GLfloat *val) |
| 5489 | { |
| 5490 | return gl::GetMultisamplefvContextANGLE(ctx, pname, index, val); |
| 5491 | } |
| 5492 | |
| 5493 | void GL_APIENTRY glGetObjectLabelKHRContextANGLE(GLeglContext ctx, |
| 5494 | GLenum identifier, |
| 5495 | GLuint name, |
| 5496 | GLsizei bufSize, |
| 5497 | GLsizei *length, |
| 5498 | GLchar *label) |
| 5499 | { |
| 5500 | return gl::GetObjectLabelKHRContextANGLE(ctx, identifier, name, bufSize, length, label); |
| 5501 | } |
| 5502 | |
| 5503 | void GL_APIENTRY glGetObjectPtrLabelKHRContextANGLE(GLeglContext ctx, |
| 5504 | const void *ptr, |
| 5505 | GLsizei bufSize, |
| 5506 | GLsizei *length, |
| 5507 | GLchar *label) |
| 5508 | { |
| 5509 | return gl::GetObjectPtrLabelKHRContextANGLE(ctx, ptr, bufSize, length, label); |
| 5510 | } |
| 5511 | |
| 5512 | void GL_APIENTRY glGetPointervContextANGLE(GLeglContext ctx, GLenum pname, void **params) |
| 5513 | { |
| 5514 | return gl::GetPointervContextANGLE(ctx, pname, params); |
| 5515 | } |
| 5516 | |
| 5517 | void GL_APIENTRY glGetPointervKHRContextANGLE(GLeglContext ctx, GLenum pname, void **params) |
| 5518 | { |
| 5519 | return gl::GetPointervKHRContextANGLE(ctx, pname, params); |
| 5520 | } |
| 5521 | |
| 5522 | void GL_APIENTRY glGetProgramBinaryContextANGLE(GLeglContext ctx, |
| 5523 | GLuint program, |
| 5524 | GLsizei bufSize, |
| 5525 | GLsizei *length, |
| 5526 | GLenum *binaryFormat, |
| 5527 | void *binary) |
| 5528 | { |
| 5529 | return gl::GetProgramBinaryContextANGLE(ctx, program, bufSize, length, binaryFormat, binary); |
| 5530 | } |
| 5531 | |
| 5532 | void GL_APIENTRY glGetProgramBinaryOESContextANGLE(GLeglContext ctx, |
| 5533 | GLuint program, |
| 5534 | GLsizei bufSize, |
| 5535 | GLsizei *length, |
| 5536 | GLenum *binaryFormat, |
| 5537 | void *binary) |
| 5538 | { |
| 5539 | return gl::GetProgramBinaryOESContextANGLE(ctx, program, bufSize, length, binaryFormat, binary); |
| 5540 | } |
| 5541 | |
| 5542 | void GL_APIENTRY glGetProgramInfoLogContextANGLE(GLeglContext ctx, |
| 5543 | GLuint program, |
| 5544 | GLsizei bufSize, |
| 5545 | GLsizei *length, |
| 5546 | GLchar *infoLog) |
| 5547 | { |
| 5548 | return gl::GetProgramInfoLogContextANGLE(ctx, program, bufSize, length, infoLog); |
| 5549 | } |
| 5550 | |
| 5551 | void GL_APIENTRY glGetProgramInterfaceivContextANGLE(GLeglContext ctx, |
| 5552 | GLuint program, |
| 5553 | GLenum programInterface, |
| 5554 | GLenum pname, |
| 5555 | GLint *params) |
| 5556 | { |
| 5557 | return gl::GetProgramInterfaceivContextANGLE(ctx, program, programInterface, pname, params); |
| 5558 | } |
| 5559 | |
| 5560 | void GL_APIENTRY glGetProgramPipelineInfoLogContextANGLE(GLeglContext ctx, |
| 5561 | GLuint pipeline, |
| 5562 | GLsizei bufSize, |
| 5563 | GLsizei *length, |
| 5564 | GLchar *infoLog) |
| 5565 | { |
| 5566 | return gl::GetProgramPipelineInfoLogContextANGLE(ctx, pipeline, bufSize, length, infoLog); |
| 5567 | } |
| 5568 | |
| 5569 | void GL_APIENTRY glGetProgramPipelineivContextANGLE(GLeglContext ctx, |
| 5570 | GLuint pipeline, |
| 5571 | GLenum pname, |
| 5572 | GLint *params) |
| 5573 | { |
| 5574 | return gl::GetProgramPipelineivContextANGLE(ctx, pipeline, pname, params); |
| 5575 | } |
| 5576 | |
| 5577 | GLuint GL_APIENTRY glGetProgramResourceIndexContextANGLE(GLeglContext ctx, |
| 5578 | GLuint program, |
| 5579 | GLenum programInterface, |
| 5580 | const GLchar *name) |
| 5581 | { |
| 5582 | return gl::GetProgramResourceIndexContextANGLE(ctx, program, programInterface, name); |
| 5583 | } |
| 5584 | |
| 5585 | GLint GL_APIENTRY glGetProgramResourceLocationContextANGLE(GLeglContext ctx, |
| 5586 | GLuint program, |
| 5587 | GLenum programInterface, |
| 5588 | const GLchar *name) |
| 5589 | { |
| 5590 | return gl::GetProgramResourceLocationContextANGLE(ctx, program, programInterface, name); |
| 5591 | } |
| 5592 | |
Olli Etuaho | 0ca0975 | 2018-09-24 11:00:50 +0300 | [diff] [blame] | 5593 | GLint GL_APIENTRY glGetProgramResourceLocationIndexEXTContextANGLE(GLeglContext ctx, |
| 5594 | GLuint program, |
| 5595 | GLenum programInterface, |
| 5596 | const GLchar *name) |
| 5597 | { |
| 5598 | return gl::GetProgramResourceLocationIndexEXTContextANGLE(ctx, program, programInterface, name); |
| 5599 | } |
| 5600 | |
Brandon Jones | 2b0cdcc | 2018-05-02 08:02:50 -0700 | [diff] [blame] | 5601 | void GL_APIENTRY glGetProgramResourceNameContextANGLE(GLeglContext ctx, |
| 5602 | GLuint program, |
| 5603 | GLenum programInterface, |
| 5604 | GLuint index, |
| 5605 | GLsizei bufSize, |
| 5606 | GLsizei *length, |
| 5607 | GLchar *name) |
| 5608 | { |
| 5609 | return gl::GetProgramResourceNameContextANGLE(ctx, program, programInterface, index, bufSize, |
| 5610 | length, name); |
| 5611 | } |
| 5612 | |
| 5613 | void GL_APIENTRY glGetProgramResourceivContextANGLE(GLeglContext ctx, |
| 5614 | GLuint program, |
| 5615 | GLenum programInterface, |
| 5616 | GLuint index, |
| 5617 | GLsizei propCount, |
| 5618 | const GLenum *props, |
| 5619 | GLsizei bufSize, |
| 5620 | GLsizei *length, |
| 5621 | GLint *params) |
| 5622 | { |
| 5623 | return gl::GetProgramResourceivContextANGLE(ctx, program, programInterface, index, propCount, |
| 5624 | props, bufSize, length, params); |
| 5625 | } |
| 5626 | |
| 5627 | void GL_APIENTRY glGetProgramivContextANGLE(GLeglContext ctx, |
| 5628 | GLuint program, |
| 5629 | GLenum pname, |
| 5630 | GLint *params) |
| 5631 | { |
| 5632 | return gl::GetProgramivContextANGLE(ctx, program, pname, params); |
| 5633 | } |
| 5634 | |
| 5635 | void GL_APIENTRY glGetQueryObjecti64vEXTContextANGLE(GLeglContext ctx, |
| 5636 | GLuint id, |
| 5637 | GLenum pname, |
| 5638 | GLint64 *params) |
| 5639 | { |
| 5640 | return gl::GetQueryObjecti64vEXTContextANGLE(ctx, id, pname, params); |
| 5641 | } |
| 5642 | |
| 5643 | void GL_APIENTRY glGetQueryObjectivEXTContextANGLE(GLeglContext ctx, |
| 5644 | GLuint id, |
| 5645 | GLenum pname, |
| 5646 | GLint *params) |
| 5647 | { |
| 5648 | return gl::GetQueryObjectivEXTContextANGLE(ctx, id, pname, params); |
| 5649 | } |
| 5650 | |
| 5651 | void GL_APIENTRY glGetQueryObjectui64vEXTContextANGLE(GLeglContext ctx, |
| 5652 | GLuint id, |
| 5653 | GLenum pname, |
| 5654 | GLuint64 *params) |
| 5655 | { |
| 5656 | return gl::GetQueryObjectui64vEXTContextANGLE(ctx, id, pname, params); |
| 5657 | } |
| 5658 | |
| 5659 | void GL_APIENTRY glGetQueryObjectuivContextANGLE(GLeglContext ctx, |
| 5660 | GLuint id, |
| 5661 | GLenum pname, |
| 5662 | GLuint *params) |
| 5663 | { |
| 5664 | return gl::GetQueryObjectuivContextANGLE(ctx, id, pname, params); |
| 5665 | } |
| 5666 | |
| 5667 | void GL_APIENTRY glGetQueryObjectuivEXTContextANGLE(GLeglContext ctx, |
| 5668 | GLuint id, |
| 5669 | GLenum pname, |
| 5670 | GLuint *params) |
| 5671 | { |
| 5672 | return gl::GetQueryObjectuivEXTContextANGLE(ctx, id, pname, params); |
| 5673 | } |
| 5674 | |
| 5675 | void GL_APIENTRY glGetQueryivContextANGLE(GLeglContext ctx, |
| 5676 | GLenum target, |
| 5677 | GLenum pname, |
| 5678 | GLint *params) |
| 5679 | { |
| 5680 | return gl::GetQueryivContextANGLE(ctx, target, pname, params); |
| 5681 | } |
| 5682 | |
| 5683 | void GL_APIENTRY glGetQueryivEXTContextANGLE(GLeglContext ctx, |
| 5684 | GLenum target, |
| 5685 | GLenum pname, |
| 5686 | GLint *params) |
| 5687 | { |
| 5688 | return gl::GetQueryivEXTContextANGLE(ctx, target, pname, params); |
| 5689 | } |
| 5690 | |
| 5691 | void GL_APIENTRY glGetRenderbufferParameterivContextANGLE(GLeglContext ctx, |
| 5692 | GLenum target, |
| 5693 | GLenum pname, |
| 5694 | GLint *params) |
| 5695 | { |
| 5696 | return gl::GetRenderbufferParameterivContextANGLE(ctx, target, pname, params); |
| 5697 | } |
| 5698 | |
| 5699 | void GL_APIENTRY glGetRenderbufferParameterivOESContextANGLE(GLeglContext ctx, |
| 5700 | GLenum target, |
| 5701 | GLenum pname, |
| 5702 | GLint *params) |
| 5703 | { |
| 5704 | return gl::GetRenderbufferParameterivOESContextANGLE(ctx, target, pname, params); |
| 5705 | } |
| 5706 | |
| 5707 | void GL_APIENTRY glGetSamplerParameterfvContextANGLE(GLeglContext ctx, |
| 5708 | GLuint sampler, |
| 5709 | GLenum pname, |
| 5710 | GLfloat *params) |
| 5711 | { |
| 5712 | return gl::GetSamplerParameterfvContextANGLE(ctx, sampler, pname, params); |
| 5713 | } |
| 5714 | |
| 5715 | void GL_APIENTRY glGetSamplerParameterivContextANGLE(GLeglContext ctx, |
| 5716 | GLuint sampler, |
| 5717 | GLenum pname, |
| 5718 | GLint *params) |
| 5719 | { |
| 5720 | return gl::GetSamplerParameterivContextANGLE(ctx, sampler, pname, params); |
| 5721 | } |
| 5722 | |
| 5723 | void GL_APIENTRY glGetShaderInfoLogContextANGLE(GLeglContext ctx, |
| 5724 | GLuint shader, |
| 5725 | GLsizei bufSize, |
| 5726 | GLsizei *length, |
| 5727 | GLchar *infoLog) |
| 5728 | { |
| 5729 | return gl::GetShaderInfoLogContextANGLE(ctx, shader, bufSize, length, infoLog); |
| 5730 | } |
| 5731 | |
| 5732 | void GL_APIENTRY glGetShaderPrecisionFormatContextANGLE(GLeglContext ctx, |
| 5733 | GLenum shadertype, |
| 5734 | GLenum precisiontype, |
| 5735 | GLint *range, |
| 5736 | GLint *precision) |
| 5737 | { |
| 5738 | return gl::GetShaderPrecisionFormatContextANGLE(ctx, shadertype, precisiontype, range, |
| 5739 | precision); |
| 5740 | } |
| 5741 | |
| 5742 | void GL_APIENTRY glGetShaderSourceContextANGLE(GLeglContext ctx, |
| 5743 | GLuint shader, |
| 5744 | GLsizei bufSize, |
| 5745 | GLsizei *length, |
| 5746 | GLchar *source) |
| 5747 | { |
| 5748 | return gl::GetShaderSourceContextANGLE(ctx, shader, bufSize, length, source); |
| 5749 | } |
| 5750 | |
| 5751 | void GL_APIENTRY glGetShaderivContextANGLE(GLeglContext ctx, |
| 5752 | GLuint shader, |
| 5753 | GLenum pname, |
| 5754 | GLint *params) |
| 5755 | { |
| 5756 | return gl::GetShaderivContextANGLE(ctx, shader, pname, params); |
| 5757 | } |
| 5758 | |
| 5759 | const GLubyte *GL_APIENTRY glGetStringContextANGLE(GLeglContext ctx, GLenum name) |
| 5760 | { |
| 5761 | return gl::GetStringContextANGLE(ctx, name); |
| 5762 | } |
| 5763 | |
| 5764 | const GLubyte *GL_APIENTRY glGetStringiContextANGLE(GLeglContext ctx, GLenum name, GLuint index) |
| 5765 | { |
| 5766 | return gl::GetStringiContextANGLE(ctx, name, index); |
| 5767 | } |
| 5768 | |
| 5769 | void GL_APIENTRY glGetSyncivContextANGLE(GLeglContext ctx, |
| 5770 | GLsync sync, |
| 5771 | GLenum pname, |
| 5772 | GLsizei bufSize, |
| 5773 | GLsizei *length, |
| 5774 | GLint *values) |
| 5775 | { |
| 5776 | return gl::GetSyncivContextANGLE(ctx, sync, pname, bufSize, length, values); |
| 5777 | } |
| 5778 | |
| 5779 | void GL_APIENTRY glGetTexEnvfvContextANGLE(GLeglContext ctx, |
| 5780 | GLenum target, |
| 5781 | GLenum pname, |
| 5782 | GLfloat *params) |
| 5783 | { |
| 5784 | return gl::GetTexEnvfvContextANGLE(ctx, target, pname, params); |
| 5785 | } |
| 5786 | |
| 5787 | void GL_APIENTRY glGetTexEnvivContextANGLE(GLeglContext ctx, |
| 5788 | GLenum target, |
| 5789 | GLenum pname, |
| 5790 | GLint *params) |
| 5791 | { |
| 5792 | return gl::GetTexEnvivContextANGLE(ctx, target, pname, params); |
| 5793 | } |
| 5794 | |
| 5795 | void GL_APIENTRY glGetTexEnvxvContextANGLE(GLeglContext ctx, |
| 5796 | GLenum target, |
| 5797 | GLenum pname, |
| 5798 | GLfixed *params) |
| 5799 | { |
| 5800 | return gl::GetTexEnvxvContextANGLE(ctx, target, pname, params); |
| 5801 | } |
| 5802 | |
| 5803 | void GL_APIENTRY glGetTexGenfvOESContextANGLE(GLeglContext ctx, |
| 5804 | GLenum coord, |
| 5805 | GLenum pname, |
| 5806 | GLfloat *params) |
| 5807 | { |
| 5808 | return gl::GetTexGenfvOESContextANGLE(ctx, coord, pname, params); |
| 5809 | } |
| 5810 | |
| 5811 | void GL_APIENTRY glGetTexGenivOESContextANGLE(GLeglContext ctx, |
| 5812 | GLenum coord, |
| 5813 | GLenum pname, |
| 5814 | GLint *params) |
| 5815 | { |
| 5816 | return gl::GetTexGenivOESContextANGLE(ctx, coord, pname, params); |
| 5817 | } |
| 5818 | |
| 5819 | void GL_APIENTRY glGetTexGenxvOESContextANGLE(GLeglContext ctx, |
| 5820 | GLenum coord, |
| 5821 | GLenum pname, |
| 5822 | GLfixed *params) |
| 5823 | { |
| 5824 | return gl::GetTexGenxvOESContextANGLE(ctx, coord, pname, params); |
| 5825 | } |
| 5826 | |
| 5827 | void GL_APIENTRY glGetTexLevelParameterfvContextANGLE(GLeglContext ctx, |
| 5828 | GLenum target, |
| 5829 | GLint level, |
| 5830 | GLenum pname, |
| 5831 | GLfloat *params) |
| 5832 | { |
| 5833 | return gl::GetTexLevelParameterfvContextANGLE(ctx, target, level, pname, params); |
| 5834 | } |
| 5835 | |
| 5836 | void GL_APIENTRY glGetTexLevelParameterivContextANGLE(GLeglContext ctx, |
| 5837 | GLenum target, |
| 5838 | GLint level, |
| 5839 | GLenum pname, |
| 5840 | GLint *params) |
| 5841 | { |
| 5842 | return gl::GetTexLevelParameterivContextANGLE(ctx, target, level, pname, params); |
| 5843 | } |
| 5844 | |
| 5845 | void GL_APIENTRY glGetTexParameterfvContextANGLE(GLeglContext ctx, |
| 5846 | GLenum target, |
| 5847 | GLenum pname, |
| 5848 | GLfloat *params) |
| 5849 | { |
| 5850 | return gl::GetTexParameterfvContextANGLE(ctx, target, pname, params); |
| 5851 | } |
| 5852 | |
| 5853 | void GL_APIENTRY glGetTexParameterivContextANGLE(GLeglContext ctx, |
| 5854 | GLenum target, |
| 5855 | GLenum pname, |
| 5856 | GLint *params) |
| 5857 | { |
| 5858 | return gl::GetTexParameterivContextANGLE(ctx, target, pname, params); |
| 5859 | } |
| 5860 | |
| 5861 | void GL_APIENTRY glGetTexParameterxvContextANGLE(GLeglContext ctx, |
| 5862 | GLenum target, |
| 5863 | GLenum pname, |
| 5864 | GLfixed *params) |
| 5865 | { |
| 5866 | return gl::GetTexParameterxvContextANGLE(ctx, target, pname, params); |
| 5867 | } |
| 5868 | |
| 5869 | void GL_APIENTRY glGetTransformFeedbackVaryingContextANGLE(GLeglContext ctx, |
| 5870 | GLuint program, |
| 5871 | GLuint index, |
| 5872 | GLsizei bufSize, |
| 5873 | GLsizei *length, |
| 5874 | GLsizei *size, |
| 5875 | GLenum *type, |
| 5876 | GLchar *name) |
| 5877 | { |
| 5878 | return gl::GetTransformFeedbackVaryingContextANGLE(ctx, program, index, bufSize, length, size, |
| 5879 | type, name); |
| 5880 | } |
| 5881 | |
| 5882 | void GL_APIENTRY glGetTranslatedShaderSourceANGLEContextANGLE(GLeglContext ctx, |
| 5883 | GLuint shader, |
| 5884 | GLsizei bufsize, |
| 5885 | GLsizei *length, |
| 5886 | GLchar *source) |
| 5887 | { |
| 5888 | return gl::GetTranslatedShaderSourceANGLEContextANGLE(ctx, shader, bufsize, length, source); |
| 5889 | } |
| 5890 | |
| 5891 | GLuint GL_APIENTRY glGetUniformBlockIndexContextANGLE(GLeglContext ctx, |
| 5892 | GLuint program, |
| 5893 | const GLchar *uniformBlockName) |
| 5894 | { |
| 5895 | return gl::GetUniformBlockIndexContextANGLE(ctx, program, uniformBlockName); |
| 5896 | } |
| 5897 | |
| 5898 | void GL_APIENTRY glGetUniformIndicesContextANGLE(GLeglContext ctx, |
| 5899 | GLuint program, |
| 5900 | GLsizei uniformCount, |
| 5901 | const GLchar *const *uniformNames, |
| 5902 | GLuint *uniformIndices) |
| 5903 | { |
| 5904 | return gl::GetUniformIndicesContextANGLE(ctx, program, uniformCount, uniformNames, |
| 5905 | uniformIndices); |
| 5906 | } |
| 5907 | |
| 5908 | GLint GL_APIENTRY glGetUniformLocationContextANGLE(GLeglContext ctx, |
| 5909 | GLuint program, |
| 5910 | const GLchar *name) |
| 5911 | { |
| 5912 | return gl::GetUniformLocationContextANGLE(ctx, program, name); |
| 5913 | } |
| 5914 | |
| 5915 | void GL_APIENTRY glGetUniformfvContextANGLE(GLeglContext ctx, |
| 5916 | GLuint program, |
| 5917 | GLint location, |
| 5918 | GLfloat *params) |
| 5919 | { |
| 5920 | return gl::GetUniformfvContextANGLE(ctx, program, location, params); |
| 5921 | } |
| 5922 | |
| 5923 | void GL_APIENTRY glGetUniformivContextANGLE(GLeglContext ctx, |
| 5924 | GLuint program, |
| 5925 | GLint location, |
| 5926 | GLint *params) |
| 5927 | { |
| 5928 | return gl::GetUniformivContextANGLE(ctx, program, location, params); |
| 5929 | } |
| 5930 | |
| 5931 | void GL_APIENTRY glGetUniformuivContextANGLE(GLeglContext ctx, |
| 5932 | GLuint program, |
| 5933 | GLint location, |
| 5934 | GLuint *params) |
| 5935 | { |
| 5936 | return gl::GetUniformuivContextANGLE(ctx, program, location, params); |
| 5937 | } |
| 5938 | |
| 5939 | void GL_APIENTRY glGetVertexAttribIivContextANGLE(GLeglContext ctx, |
| 5940 | GLuint index, |
| 5941 | GLenum pname, |
| 5942 | GLint *params) |
| 5943 | { |
| 5944 | return gl::GetVertexAttribIivContextANGLE(ctx, index, pname, params); |
| 5945 | } |
| 5946 | |
| 5947 | void GL_APIENTRY glGetVertexAttribIuivContextANGLE(GLeglContext ctx, |
| 5948 | GLuint index, |
| 5949 | GLenum pname, |
| 5950 | GLuint *params) |
| 5951 | { |
| 5952 | return gl::GetVertexAttribIuivContextANGLE(ctx, index, pname, params); |
| 5953 | } |
| 5954 | |
| 5955 | void GL_APIENTRY glGetVertexAttribPointervContextANGLE(GLeglContext ctx, |
| 5956 | GLuint index, |
| 5957 | GLenum pname, |
| 5958 | void **pointer) |
| 5959 | { |
| 5960 | return gl::GetVertexAttribPointervContextANGLE(ctx, index, pname, pointer); |
| 5961 | } |
| 5962 | |
| 5963 | void GL_APIENTRY glGetVertexAttribfvContextANGLE(GLeglContext ctx, |
| 5964 | GLuint index, |
| 5965 | GLenum pname, |
| 5966 | GLfloat *params) |
| 5967 | { |
| 5968 | return gl::GetVertexAttribfvContextANGLE(ctx, index, pname, params); |
| 5969 | } |
| 5970 | |
| 5971 | void GL_APIENTRY glGetVertexAttribivContextANGLE(GLeglContext ctx, |
| 5972 | GLuint index, |
| 5973 | GLenum pname, |
| 5974 | GLint *params) |
| 5975 | { |
| 5976 | return gl::GetVertexAttribivContextANGLE(ctx, index, pname, params); |
| 5977 | } |
| 5978 | |
| 5979 | void GL_APIENTRY glGetnUniformfvEXTContextANGLE(GLeglContext ctx, |
| 5980 | GLuint program, |
| 5981 | GLint location, |
| 5982 | GLsizei bufSize, |
| 5983 | GLfloat *params) |
| 5984 | { |
| 5985 | return gl::GetnUniformfvEXTContextANGLE(ctx, program, location, bufSize, params); |
| 5986 | } |
| 5987 | |
| 5988 | void GL_APIENTRY glGetnUniformivEXTContextANGLE(GLeglContext ctx, |
| 5989 | GLuint program, |
| 5990 | GLint location, |
| 5991 | GLsizei bufSize, |
| 5992 | GLint *params) |
| 5993 | { |
| 5994 | return gl::GetnUniformivEXTContextANGLE(ctx, program, location, bufSize, params); |
| 5995 | } |
| 5996 | |
| 5997 | void GL_APIENTRY glHintContextANGLE(GLeglContext ctx, GLenum target, GLenum mode) |
| 5998 | { |
| 5999 | return gl::HintContextANGLE(ctx, target, mode); |
| 6000 | } |
| 6001 | |
| 6002 | void GL_APIENTRY glInsertEventMarkerEXTContextANGLE(GLeglContext ctx, |
| 6003 | GLsizei length, |
| 6004 | const GLchar *marker) |
| 6005 | { |
| 6006 | return gl::InsertEventMarkerEXTContextANGLE(ctx, length, marker); |
| 6007 | } |
| 6008 | |
| 6009 | void GL_APIENTRY glInvalidateFramebufferContextANGLE(GLeglContext ctx, |
| 6010 | GLenum target, |
| 6011 | GLsizei numAttachments, |
| 6012 | const GLenum *attachments) |
| 6013 | { |
| 6014 | return gl::InvalidateFramebufferContextANGLE(ctx, target, numAttachments, attachments); |
| 6015 | } |
| 6016 | |
| 6017 | void GL_APIENTRY glInvalidateSubFramebufferContextANGLE(GLeglContext ctx, |
| 6018 | GLenum target, |
| 6019 | GLsizei numAttachments, |
| 6020 | const GLenum *attachments, |
| 6021 | GLint x, |
| 6022 | GLint y, |
| 6023 | GLsizei width, |
| 6024 | GLsizei height) |
| 6025 | { |
| 6026 | return gl::InvalidateSubFramebufferContextANGLE(ctx, target, numAttachments, attachments, x, y, |
| 6027 | width, height); |
| 6028 | } |
| 6029 | |
| 6030 | GLboolean GL_APIENTRY glIsBufferContextANGLE(GLeglContext ctx, GLuint buffer) |
| 6031 | { |
| 6032 | return gl::IsBufferContextANGLE(ctx, buffer); |
| 6033 | } |
| 6034 | |
| 6035 | GLboolean GL_APIENTRY glIsEnabledContextANGLE(GLeglContext ctx, GLenum cap) |
| 6036 | { |
| 6037 | return gl::IsEnabledContextANGLE(ctx, cap); |
| 6038 | } |
| 6039 | |
| 6040 | GLboolean GL_APIENTRY glIsFenceNVContextANGLE(GLeglContext ctx, GLuint fence) |
| 6041 | { |
| 6042 | return gl::IsFenceNVContextANGLE(ctx, fence); |
| 6043 | } |
| 6044 | |
| 6045 | GLboolean GL_APIENTRY glIsFramebufferContextANGLE(GLeglContext ctx, GLuint framebuffer) |
| 6046 | { |
| 6047 | return gl::IsFramebufferContextANGLE(ctx, framebuffer); |
| 6048 | } |
| 6049 | |
| 6050 | GLboolean GL_APIENTRY glIsFramebufferOESContextANGLE(GLeglContext ctx, GLuint framebuffer) |
| 6051 | { |
| 6052 | return gl::IsFramebufferOESContextANGLE(ctx, framebuffer); |
| 6053 | } |
| 6054 | |
| 6055 | GLboolean GL_APIENTRY glIsProgramContextANGLE(GLeglContext ctx, GLuint program) |
| 6056 | { |
| 6057 | return gl::IsProgramContextANGLE(ctx, program); |
| 6058 | } |
| 6059 | |
| 6060 | GLboolean GL_APIENTRY glIsProgramPipelineContextANGLE(GLeglContext ctx, GLuint pipeline) |
| 6061 | { |
| 6062 | return gl::IsProgramPipelineContextANGLE(ctx, pipeline); |
| 6063 | } |
| 6064 | |
| 6065 | GLboolean GL_APIENTRY glIsQueryContextANGLE(GLeglContext ctx, GLuint id) |
| 6066 | { |
| 6067 | return gl::IsQueryContextANGLE(ctx, id); |
| 6068 | } |
| 6069 | |
| 6070 | GLboolean GL_APIENTRY glIsQueryEXTContextANGLE(GLeglContext ctx, GLuint id) |
| 6071 | { |
| 6072 | return gl::IsQueryEXTContextANGLE(ctx, id); |
| 6073 | } |
| 6074 | |
| 6075 | GLboolean GL_APIENTRY glIsRenderbufferContextANGLE(GLeglContext ctx, GLuint renderbuffer) |
| 6076 | { |
| 6077 | return gl::IsRenderbufferContextANGLE(ctx, renderbuffer); |
| 6078 | } |
| 6079 | |
| 6080 | GLboolean GL_APIENTRY glIsRenderbufferOESContextANGLE(GLeglContext ctx, GLuint renderbuffer) |
| 6081 | { |
| 6082 | return gl::IsRenderbufferOESContextANGLE(ctx, renderbuffer); |
| 6083 | } |
| 6084 | |
| 6085 | GLboolean GL_APIENTRY glIsSamplerContextANGLE(GLeglContext ctx, GLuint sampler) |
| 6086 | { |
| 6087 | return gl::IsSamplerContextANGLE(ctx, sampler); |
| 6088 | } |
| 6089 | |
| 6090 | GLboolean GL_APIENTRY glIsShaderContextANGLE(GLeglContext ctx, GLuint shader) |
| 6091 | { |
| 6092 | return gl::IsShaderContextANGLE(ctx, shader); |
| 6093 | } |
| 6094 | |
| 6095 | GLboolean GL_APIENTRY glIsSyncContextANGLE(GLeglContext ctx, GLsync sync) |
| 6096 | { |
| 6097 | return gl::IsSyncContextANGLE(ctx, sync); |
| 6098 | } |
| 6099 | |
| 6100 | GLboolean GL_APIENTRY glIsTextureContextANGLE(GLeglContext ctx, GLuint texture) |
| 6101 | { |
| 6102 | return gl::IsTextureContextANGLE(ctx, texture); |
| 6103 | } |
| 6104 | |
| 6105 | GLboolean GL_APIENTRY glIsTransformFeedbackContextANGLE(GLeglContext ctx, GLuint id) |
| 6106 | { |
| 6107 | return gl::IsTransformFeedbackContextANGLE(ctx, id); |
| 6108 | } |
| 6109 | |
| 6110 | GLboolean GL_APIENTRY glIsVertexArrayContextANGLE(GLeglContext ctx, GLuint array) |
| 6111 | { |
| 6112 | return gl::IsVertexArrayContextANGLE(ctx, array); |
| 6113 | } |
| 6114 | |
| 6115 | GLboolean GL_APIENTRY glIsVertexArrayOESContextANGLE(GLeglContext ctx, GLuint array) |
| 6116 | { |
| 6117 | return gl::IsVertexArrayOESContextANGLE(ctx, array); |
| 6118 | } |
| 6119 | |
| 6120 | void GL_APIENTRY glLightModelfContextANGLE(GLeglContext ctx, GLenum pname, GLfloat param) |
| 6121 | { |
| 6122 | return gl::LightModelfContextANGLE(ctx, pname, param); |
| 6123 | } |
| 6124 | |
| 6125 | void GL_APIENTRY glLightModelfvContextANGLE(GLeglContext ctx, GLenum pname, const GLfloat *params) |
| 6126 | { |
| 6127 | return gl::LightModelfvContextANGLE(ctx, pname, params); |
| 6128 | } |
| 6129 | |
| 6130 | void GL_APIENTRY glLightModelxContextANGLE(GLeglContext ctx, GLenum pname, GLfixed param) |
| 6131 | { |
| 6132 | return gl::LightModelxContextANGLE(ctx, pname, param); |
| 6133 | } |
| 6134 | |
| 6135 | void GL_APIENTRY glLightModelxvContextANGLE(GLeglContext ctx, GLenum pname, const GLfixed *param) |
| 6136 | { |
| 6137 | return gl::LightModelxvContextANGLE(ctx, pname, param); |
| 6138 | } |
| 6139 | |
| 6140 | void GL_APIENTRY glLightfContextANGLE(GLeglContext ctx, GLenum light, GLenum pname, GLfloat param) |
| 6141 | { |
| 6142 | return gl::LightfContextANGLE(ctx, light, pname, param); |
| 6143 | } |
| 6144 | |
| 6145 | void GL_APIENTRY glLightfvContextANGLE(GLeglContext ctx, |
| 6146 | GLenum light, |
| 6147 | GLenum pname, |
| 6148 | const GLfloat *params) |
| 6149 | { |
| 6150 | return gl::LightfvContextANGLE(ctx, light, pname, params); |
| 6151 | } |
| 6152 | |
| 6153 | void GL_APIENTRY glLightxContextANGLE(GLeglContext ctx, GLenum light, GLenum pname, GLfixed param) |
| 6154 | { |
| 6155 | return gl::LightxContextANGLE(ctx, light, pname, param); |
| 6156 | } |
| 6157 | |
| 6158 | void GL_APIENTRY glLightxvContextANGLE(GLeglContext ctx, |
| 6159 | GLenum light, |
| 6160 | GLenum pname, |
| 6161 | const GLfixed *params) |
| 6162 | { |
| 6163 | return gl::LightxvContextANGLE(ctx, light, pname, params); |
| 6164 | } |
| 6165 | |
| 6166 | void GL_APIENTRY glLineWidthContextANGLE(GLeglContext ctx, GLfloat width) |
| 6167 | { |
| 6168 | return gl::LineWidthContextANGLE(ctx, width); |
| 6169 | } |
| 6170 | |
| 6171 | void GL_APIENTRY glLineWidthxContextANGLE(GLeglContext ctx, GLfixed width) |
| 6172 | { |
| 6173 | return gl::LineWidthxContextANGLE(ctx, width); |
| 6174 | } |
| 6175 | |
| 6176 | void GL_APIENTRY glLinkProgramContextANGLE(GLeglContext ctx, GLuint program) |
| 6177 | { |
| 6178 | return gl::LinkProgramContextANGLE(ctx, program); |
| 6179 | } |
| 6180 | |
| 6181 | void GL_APIENTRY glLoadIdentityContextANGLE(GLeglContext ctx) |
| 6182 | { |
| 6183 | return gl::LoadIdentityContextANGLE(ctx); |
| 6184 | } |
| 6185 | |
| 6186 | void GL_APIENTRY glLoadMatrixfContextANGLE(GLeglContext ctx, const GLfloat *m) |
| 6187 | { |
| 6188 | return gl::LoadMatrixfContextANGLE(ctx, m); |
| 6189 | } |
| 6190 | |
| 6191 | void GL_APIENTRY glLoadMatrixxContextANGLE(GLeglContext ctx, const GLfixed *m) |
| 6192 | { |
| 6193 | return gl::LoadMatrixxContextANGLE(ctx, m); |
| 6194 | } |
| 6195 | |
| 6196 | void GL_APIENTRY glLoadPaletteFromModelViewMatrixOESContextANGLE(GLeglContext ctx) |
| 6197 | { |
| 6198 | return gl::LoadPaletteFromModelViewMatrixOESContextANGLE(ctx); |
| 6199 | } |
| 6200 | |
| 6201 | void GL_APIENTRY glLogicOpContextANGLE(GLeglContext ctx, GLenum opcode) |
| 6202 | { |
| 6203 | return gl::LogicOpContextANGLE(ctx, opcode); |
| 6204 | } |
| 6205 | |
| 6206 | void *GL_APIENTRY glMapBufferOESContextANGLE(GLeglContext ctx, GLenum target, GLenum access) |
| 6207 | { |
| 6208 | return gl::MapBufferOESContextANGLE(ctx, target, access); |
| 6209 | } |
| 6210 | |
| 6211 | void *GL_APIENTRY glMapBufferRangeContextANGLE(GLeglContext ctx, |
| 6212 | GLenum target, |
| 6213 | GLintptr offset, |
| 6214 | GLsizeiptr length, |
| 6215 | GLbitfield access) |
| 6216 | { |
| 6217 | return gl::MapBufferRangeContextANGLE(ctx, target, offset, length, access); |
| 6218 | } |
| 6219 | |
| 6220 | void *GL_APIENTRY glMapBufferRangeEXTContextANGLE(GLeglContext ctx, |
| 6221 | GLenum target, |
| 6222 | GLintptr offset, |
| 6223 | GLsizeiptr length, |
| 6224 | GLbitfield access) |
| 6225 | { |
| 6226 | return gl::MapBufferRangeEXTContextANGLE(ctx, target, offset, length, access); |
| 6227 | } |
| 6228 | |
| 6229 | void GL_APIENTRY glMaterialfContextANGLE(GLeglContext ctx, GLenum face, GLenum pname, GLfloat param) |
| 6230 | { |
| 6231 | return gl::MaterialfContextANGLE(ctx, face, pname, param); |
| 6232 | } |
| 6233 | |
| 6234 | void GL_APIENTRY glMaterialfvContextANGLE(GLeglContext ctx, |
| 6235 | GLenum face, |
| 6236 | GLenum pname, |
| 6237 | const GLfloat *params) |
| 6238 | { |
| 6239 | return gl::MaterialfvContextANGLE(ctx, face, pname, params); |
| 6240 | } |
| 6241 | |
| 6242 | void GL_APIENTRY glMaterialxContextANGLE(GLeglContext ctx, GLenum face, GLenum pname, GLfixed param) |
| 6243 | { |
| 6244 | return gl::MaterialxContextANGLE(ctx, face, pname, param); |
| 6245 | } |
| 6246 | |
| 6247 | void GL_APIENTRY glMaterialxvContextANGLE(GLeglContext ctx, |
| 6248 | GLenum face, |
| 6249 | GLenum pname, |
| 6250 | const GLfixed *param) |
| 6251 | { |
| 6252 | return gl::MaterialxvContextANGLE(ctx, face, pname, param); |
| 6253 | } |
| 6254 | |
| 6255 | void GL_APIENTRY glMatrixIndexPointerOESContextANGLE(GLeglContext ctx, |
| 6256 | GLint size, |
| 6257 | GLenum type, |
| 6258 | GLsizei stride, |
| 6259 | const void *pointer) |
| 6260 | { |
| 6261 | return gl::MatrixIndexPointerOESContextANGLE(ctx, size, type, stride, pointer); |
| 6262 | } |
| 6263 | |
| 6264 | void GL_APIENTRY glMatrixModeContextANGLE(GLeglContext ctx, GLenum mode) |
| 6265 | { |
| 6266 | return gl::MatrixModeContextANGLE(ctx, mode); |
| 6267 | } |
| 6268 | |
jchen10 | 82af620 | 2018-06-22 10:59:52 +0800 | [diff] [blame] | 6269 | void GL_APIENTRY glMaxShaderCompilerThreadsKHRContextANGLE(GLeglContext ctx, GLuint count) |
| 6270 | { |
| 6271 | return gl::MaxShaderCompilerThreadsKHRContextANGLE(ctx, count); |
| 6272 | } |
| 6273 | |
Brandon Jones | 2b0cdcc | 2018-05-02 08:02:50 -0700 | [diff] [blame] | 6274 | void GL_APIENTRY glMemoryBarrierContextANGLE(GLeglContext ctx, GLbitfield barriers) |
| 6275 | { |
| 6276 | return gl::MemoryBarrierContextANGLE(ctx, barriers); |
| 6277 | } |
| 6278 | |
| 6279 | void GL_APIENTRY glMemoryBarrierByRegionContextANGLE(GLeglContext ctx, GLbitfield barriers) |
| 6280 | { |
| 6281 | return gl::MemoryBarrierByRegionContextANGLE(ctx, barriers); |
| 6282 | } |
| 6283 | |
| 6284 | void GL_APIENTRY glMultMatrixfContextANGLE(GLeglContext ctx, const GLfloat *m) |
| 6285 | { |
| 6286 | return gl::MultMatrixfContextANGLE(ctx, m); |
| 6287 | } |
| 6288 | |
| 6289 | void GL_APIENTRY glMultMatrixxContextANGLE(GLeglContext ctx, const GLfixed *m) |
| 6290 | { |
| 6291 | return gl::MultMatrixxContextANGLE(ctx, m); |
| 6292 | } |
| 6293 | |
| 6294 | void GL_APIENTRY glMultiTexCoord4fContextANGLE(GLeglContext ctx, |
| 6295 | GLenum target, |
| 6296 | GLfloat s, |
| 6297 | GLfloat t, |
| 6298 | GLfloat r, |
| 6299 | GLfloat q) |
| 6300 | { |
| 6301 | return gl::MultiTexCoord4fContextANGLE(ctx, target, s, t, r, q); |
| 6302 | } |
| 6303 | |
| 6304 | void GL_APIENTRY glMultiTexCoord4xContextANGLE(GLeglContext ctx, |
| 6305 | GLenum texture, |
| 6306 | GLfixed s, |
| 6307 | GLfixed t, |
| 6308 | GLfixed r, |
| 6309 | GLfixed q) |
| 6310 | { |
| 6311 | return gl::MultiTexCoord4xContextANGLE(ctx, texture, s, t, r, q); |
| 6312 | } |
| 6313 | |
| 6314 | void GL_APIENTRY glNormal3fContextANGLE(GLeglContext ctx, GLfloat nx, GLfloat ny, GLfloat nz) |
| 6315 | { |
| 6316 | return gl::Normal3fContextANGLE(ctx, nx, ny, nz); |
| 6317 | } |
| 6318 | |
| 6319 | void GL_APIENTRY glNormal3xContextANGLE(GLeglContext ctx, GLfixed nx, GLfixed ny, GLfixed nz) |
| 6320 | { |
| 6321 | return gl::Normal3xContextANGLE(ctx, nx, ny, nz); |
| 6322 | } |
| 6323 | |
| 6324 | void GL_APIENTRY glNormalPointerContextANGLE(GLeglContext ctx, |
| 6325 | GLenum type, |
| 6326 | GLsizei stride, |
| 6327 | const void *pointer) |
| 6328 | { |
| 6329 | return gl::NormalPointerContextANGLE(ctx, type, stride, pointer); |
| 6330 | } |
| 6331 | |
| 6332 | void GL_APIENTRY glObjectLabelKHRContextANGLE(GLeglContext ctx, |
| 6333 | GLenum identifier, |
| 6334 | GLuint name, |
| 6335 | GLsizei length, |
| 6336 | const GLchar *label) |
| 6337 | { |
| 6338 | return gl::ObjectLabelKHRContextANGLE(ctx, identifier, name, length, label); |
| 6339 | } |
| 6340 | |
| 6341 | void GL_APIENTRY glObjectPtrLabelKHRContextANGLE(GLeglContext ctx, |
| 6342 | const void *ptr, |
| 6343 | GLsizei length, |
| 6344 | const GLchar *label) |
| 6345 | { |
| 6346 | return gl::ObjectPtrLabelKHRContextANGLE(ctx, ptr, length, label); |
| 6347 | } |
| 6348 | |
| 6349 | void GL_APIENTRY glOrthofContextANGLE(GLeglContext ctx, |
| 6350 | GLfloat l, |
| 6351 | GLfloat r, |
| 6352 | GLfloat b, |
| 6353 | GLfloat t, |
| 6354 | GLfloat n, |
| 6355 | GLfloat f) |
| 6356 | { |
| 6357 | return gl::OrthofContextANGLE(ctx, l, r, b, t, n, f); |
| 6358 | } |
| 6359 | |
| 6360 | void GL_APIENTRY glOrthoxContextANGLE(GLeglContext ctx, |
| 6361 | GLfixed l, |
| 6362 | GLfixed r, |
| 6363 | GLfixed b, |
| 6364 | GLfixed t, |
| 6365 | GLfixed n, |
| 6366 | GLfixed f) |
| 6367 | { |
| 6368 | return gl::OrthoxContextANGLE(ctx, l, r, b, t, n, f); |
| 6369 | } |
| 6370 | |
| 6371 | void GL_APIENTRY glPauseTransformFeedbackContextANGLE(GLeglContext ctx) |
| 6372 | { |
| 6373 | return gl::PauseTransformFeedbackContextANGLE(ctx); |
| 6374 | } |
| 6375 | |
| 6376 | void GL_APIENTRY glPixelStoreiContextANGLE(GLeglContext ctx, GLenum pname, GLint param) |
| 6377 | { |
| 6378 | return gl::PixelStoreiContextANGLE(ctx, pname, param); |
| 6379 | } |
| 6380 | |
| 6381 | void GL_APIENTRY glPointParameterfContextANGLE(GLeglContext ctx, GLenum pname, GLfloat param) |
| 6382 | { |
| 6383 | return gl::PointParameterfContextANGLE(ctx, pname, param); |
| 6384 | } |
| 6385 | |
| 6386 | void GL_APIENTRY glPointParameterfvContextANGLE(GLeglContext ctx, |
| 6387 | GLenum pname, |
| 6388 | const GLfloat *params) |
| 6389 | { |
| 6390 | return gl::PointParameterfvContextANGLE(ctx, pname, params); |
| 6391 | } |
| 6392 | |
| 6393 | void GL_APIENTRY glPointParameterxContextANGLE(GLeglContext ctx, GLenum pname, GLfixed param) |
| 6394 | { |
| 6395 | return gl::PointParameterxContextANGLE(ctx, pname, param); |
| 6396 | } |
| 6397 | |
| 6398 | void GL_APIENTRY glPointParameterxvContextANGLE(GLeglContext ctx, |
| 6399 | GLenum pname, |
| 6400 | const GLfixed *params) |
| 6401 | { |
| 6402 | return gl::PointParameterxvContextANGLE(ctx, pname, params); |
| 6403 | } |
| 6404 | |
| 6405 | void GL_APIENTRY glPointSizeContextANGLE(GLeglContext ctx, GLfloat size) |
| 6406 | { |
| 6407 | return gl::PointSizeContextANGLE(ctx, size); |
| 6408 | } |
| 6409 | |
| 6410 | void GL_APIENTRY glPointSizePointerOESContextANGLE(GLeglContext ctx, |
| 6411 | GLenum type, |
| 6412 | GLsizei stride, |
| 6413 | const void *pointer) |
| 6414 | { |
| 6415 | return gl::PointSizePointerOESContextANGLE(ctx, type, stride, pointer); |
| 6416 | } |
| 6417 | |
| 6418 | void GL_APIENTRY glPointSizexContextANGLE(GLeglContext ctx, GLfixed size) |
| 6419 | { |
| 6420 | return gl::PointSizexContextANGLE(ctx, size); |
| 6421 | } |
| 6422 | |
| 6423 | void GL_APIENTRY glPolygonOffsetContextANGLE(GLeglContext ctx, GLfloat factor, GLfloat units) |
| 6424 | { |
| 6425 | return gl::PolygonOffsetContextANGLE(ctx, factor, units); |
| 6426 | } |
| 6427 | |
| 6428 | void GL_APIENTRY glPolygonOffsetxContextANGLE(GLeglContext ctx, GLfixed factor, GLfixed units) |
| 6429 | { |
| 6430 | return gl::PolygonOffsetxContextANGLE(ctx, factor, units); |
| 6431 | } |
| 6432 | |
| 6433 | void GL_APIENTRY glPopDebugGroupKHRContextANGLE(GLeglContext ctx) |
| 6434 | { |
| 6435 | return gl::PopDebugGroupKHRContextANGLE(ctx); |
| 6436 | } |
| 6437 | |
| 6438 | void GL_APIENTRY glPopGroupMarkerEXTContextANGLE(GLeglContext ctx) |
| 6439 | { |
| 6440 | return gl::PopGroupMarkerEXTContextANGLE(ctx); |
| 6441 | } |
| 6442 | |
| 6443 | void GL_APIENTRY glPopMatrixContextANGLE(GLeglContext ctx) |
| 6444 | { |
| 6445 | return gl::PopMatrixContextANGLE(ctx); |
| 6446 | } |
| 6447 | |
| 6448 | void GL_APIENTRY glProgramBinaryContextANGLE(GLeglContext ctx, |
| 6449 | GLuint program, |
| 6450 | GLenum binaryFormat, |
| 6451 | const void *binary, |
| 6452 | GLsizei length) |
| 6453 | { |
| 6454 | return gl::ProgramBinaryContextANGLE(ctx, program, binaryFormat, binary, length); |
| 6455 | } |
| 6456 | |
| 6457 | void GL_APIENTRY glProgramBinaryOESContextANGLE(GLeglContext ctx, |
| 6458 | GLuint program, |
| 6459 | GLenum binaryFormat, |
| 6460 | const void *binary, |
| 6461 | GLint length) |
| 6462 | { |
| 6463 | return gl::ProgramBinaryOESContextANGLE(ctx, program, binaryFormat, binary, length); |
| 6464 | } |
| 6465 | |
| 6466 | void GL_APIENTRY glProgramParameteriContextANGLE(GLeglContext ctx, |
| 6467 | GLuint program, |
| 6468 | GLenum pname, |
| 6469 | GLint value) |
| 6470 | { |
| 6471 | return gl::ProgramParameteriContextANGLE(ctx, program, pname, value); |
| 6472 | } |
| 6473 | |
| 6474 | void GL_APIENTRY glProgramUniform1fContextANGLE(GLeglContext ctx, |
| 6475 | GLuint program, |
| 6476 | GLint location, |
| 6477 | GLfloat v0) |
| 6478 | { |
| 6479 | return gl::ProgramUniform1fContextANGLE(ctx, program, location, v0); |
| 6480 | } |
| 6481 | |
| 6482 | void GL_APIENTRY glProgramUniform1fvContextANGLE(GLeglContext ctx, |
| 6483 | GLuint program, |
| 6484 | GLint location, |
| 6485 | GLsizei count, |
| 6486 | const GLfloat *value) |
| 6487 | { |
| 6488 | return gl::ProgramUniform1fvContextANGLE(ctx, program, location, count, value); |
| 6489 | } |
| 6490 | |
| 6491 | void GL_APIENTRY glProgramUniform1iContextANGLE(GLeglContext ctx, |
| 6492 | GLuint program, |
| 6493 | GLint location, |
| 6494 | GLint v0) |
| 6495 | { |
| 6496 | return gl::ProgramUniform1iContextANGLE(ctx, program, location, v0); |
| 6497 | } |
| 6498 | |
| 6499 | void GL_APIENTRY glProgramUniform1ivContextANGLE(GLeglContext ctx, |
| 6500 | GLuint program, |
| 6501 | GLint location, |
| 6502 | GLsizei count, |
| 6503 | const GLint *value) |
| 6504 | { |
| 6505 | return gl::ProgramUniform1ivContextANGLE(ctx, program, location, count, value); |
| 6506 | } |
| 6507 | |
| 6508 | void GL_APIENTRY glProgramUniform1uiContextANGLE(GLeglContext ctx, |
| 6509 | GLuint program, |
| 6510 | GLint location, |
| 6511 | GLuint v0) |
| 6512 | { |
| 6513 | return gl::ProgramUniform1uiContextANGLE(ctx, program, location, v0); |
| 6514 | } |
| 6515 | |
| 6516 | void GL_APIENTRY glProgramUniform1uivContextANGLE(GLeglContext ctx, |
| 6517 | GLuint program, |
| 6518 | GLint location, |
| 6519 | GLsizei count, |
| 6520 | const GLuint *value) |
| 6521 | { |
| 6522 | return gl::ProgramUniform1uivContextANGLE(ctx, program, location, count, value); |
| 6523 | } |
| 6524 | |
| 6525 | void GL_APIENTRY glProgramUniform2fContextANGLE(GLeglContext ctx, |
| 6526 | GLuint program, |
| 6527 | GLint location, |
| 6528 | GLfloat v0, |
| 6529 | GLfloat v1) |
| 6530 | { |
| 6531 | return gl::ProgramUniform2fContextANGLE(ctx, program, location, v0, v1); |
| 6532 | } |
| 6533 | |
| 6534 | void GL_APIENTRY glProgramUniform2fvContextANGLE(GLeglContext ctx, |
| 6535 | GLuint program, |
| 6536 | GLint location, |
| 6537 | GLsizei count, |
| 6538 | const GLfloat *value) |
| 6539 | { |
| 6540 | return gl::ProgramUniform2fvContextANGLE(ctx, program, location, count, value); |
| 6541 | } |
| 6542 | |
| 6543 | void GL_APIENTRY |
| 6544 | glProgramUniform2iContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLint v0, GLint v1) |
| 6545 | { |
| 6546 | return gl::ProgramUniform2iContextANGLE(ctx, program, location, v0, v1); |
| 6547 | } |
| 6548 | |
| 6549 | void GL_APIENTRY glProgramUniform2ivContextANGLE(GLeglContext ctx, |
| 6550 | GLuint program, |
| 6551 | GLint location, |
| 6552 | GLsizei count, |
| 6553 | const GLint *value) |
| 6554 | { |
| 6555 | return gl::ProgramUniform2ivContextANGLE(ctx, program, location, count, value); |
| 6556 | } |
| 6557 | |
| 6558 | void GL_APIENTRY glProgramUniform2uiContextANGLE(GLeglContext ctx, |
| 6559 | GLuint program, |
| 6560 | GLint location, |
| 6561 | GLuint v0, |
| 6562 | GLuint v1) |
| 6563 | { |
| 6564 | return gl::ProgramUniform2uiContextANGLE(ctx, program, location, v0, v1); |
| 6565 | } |
| 6566 | |
| 6567 | void GL_APIENTRY glProgramUniform2uivContextANGLE(GLeglContext ctx, |
| 6568 | GLuint program, |
| 6569 | GLint location, |
| 6570 | GLsizei count, |
| 6571 | const GLuint *value) |
| 6572 | { |
| 6573 | return gl::ProgramUniform2uivContextANGLE(ctx, program, location, count, value); |
| 6574 | } |
| 6575 | |
| 6576 | void GL_APIENTRY glProgramUniform3fContextANGLE(GLeglContext ctx, |
| 6577 | GLuint program, |
| 6578 | GLint location, |
| 6579 | GLfloat v0, |
| 6580 | GLfloat v1, |
| 6581 | GLfloat v2) |
| 6582 | { |
| 6583 | return gl::ProgramUniform3fContextANGLE(ctx, program, location, v0, v1, v2); |
| 6584 | } |
| 6585 | |
| 6586 | void GL_APIENTRY glProgramUniform3fvContextANGLE(GLeglContext ctx, |
| 6587 | GLuint program, |
| 6588 | GLint location, |
| 6589 | GLsizei count, |
| 6590 | const GLfloat *value) |
| 6591 | { |
| 6592 | return gl::ProgramUniform3fvContextANGLE(ctx, program, location, count, value); |
| 6593 | } |
| 6594 | |
| 6595 | void GL_APIENTRY glProgramUniform3iContextANGLE(GLeglContext ctx, |
| 6596 | GLuint program, |
| 6597 | GLint location, |
| 6598 | GLint v0, |
| 6599 | GLint v1, |
| 6600 | GLint v2) |
| 6601 | { |
| 6602 | return gl::ProgramUniform3iContextANGLE(ctx, program, location, v0, v1, v2); |
| 6603 | } |
| 6604 | |
| 6605 | void GL_APIENTRY glProgramUniform3ivContextANGLE(GLeglContext ctx, |
| 6606 | GLuint program, |
| 6607 | GLint location, |
| 6608 | GLsizei count, |
| 6609 | const GLint *value) |
| 6610 | { |
| 6611 | return gl::ProgramUniform3ivContextANGLE(ctx, program, location, count, value); |
| 6612 | } |
| 6613 | |
| 6614 | void GL_APIENTRY glProgramUniform3uiContextANGLE(GLeglContext ctx, |
| 6615 | GLuint program, |
| 6616 | GLint location, |
| 6617 | GLuint v0, |
| 6618 | GLuint v1, |
| 6619 | GLuint v2) |
| 6620 | { |
| 6621 | return gl::ProgramUniform3uiContextANGLE(ctx, program, location, v0, v1, v2); |
| 6622 | } |
| 6623 | |
| 6624 | void GL_APIENTRY glProgramUniform3uivContextANGLE(GLeglContext ctx, |
| 6625 | GLuint program, |
| 6626 | GLint location, |
| 6627 | GLsizei count, |
| 6628 | const GLuint *value) |
| 6629 | { |
| 6630 | return gl::ProgramUniform3uivContextANGLE(ctx, program, location, count, value); |
| 6631 | } |
| 6632 | |
| 6633 | void GL_APIENTRY glProgramUniform4fContextANGLE(GLeglContext ctx, |
| 6634 | GLuint program, |
| 6635 | GLint location, |
| 6636 | GLfloat v0, |
| 6637 | GLfloat v1, |
| 6638 | GLfloat v2, |
| 6639 | GLfloat v3) |
| 6640 | { |
| 6641 | return gl::ProgramUniform4fContextANGLE(ctx, program, location, v0, v1, v2, v3); |
| 6642 | } |
| 6643 | |
| 6644 | void GL_APIENTRY glProgramUniform4fvContextANGLE(GLeglContext ctx, |
| 6645 | GLuint program, |
| 6646 | GLint location, |
| 6647 | GLsizei count, |
| 6648 | const GLfloat *value) |
| 6649 | { |
| 6650 | return gl::ProgramUniform4fvContextANGLE(ctx, program, location, count, value); |
| 6651 | } |
| 6652 | |
| 6653 | void GL_APIENTRY glProgramUniform4iContextANGLE(GLeglContext ctx, |
| 6654 | GLuint program, |
| 6655 | GLint location, |
| 6656 | GLint v0, |
| 6657 | GLint v1, |
| 6658 | GLint v2, |
| 6659 | GLint v3) |
| 6660 | { |
| 6661 | return gl::ProgramUniform4iContextANGLE(ctx, program, location, v0, v1, v2, v3); |
| 6662 | } |
| 6663 | |
| 6664 | void GL_APIENTRY glProgramUniform4ivContextANGLE(GLeglContext ctx, |
| 6665 | GLuint program, |
| 6666 | GLint location, |
| 6667 | GLsizei count, |
| 6668 | const GLint *value) |
| 6669 | { |
| 6670 | return gl::ProgramUniform4ivContextANGLE(ctx, program, location, count, value); |
| 6671 | } |
| 6672 | |
| 6673 | void GL_APIENTRY glProgramUniform4uiContextANGLE(GLeglContext ctx, |
| 6674 | GLuint program, |
| 6675 | GLint location, |
| 6676 | GLuint v0, |
| 6677 | GLuint v1, |
| 6678 | GLuint v2, |
| 6679 | GLuint v3) |
| 6680 | { |
| 6681 | return gl::ProgramUniform4uiContextANGLE(ctx, program, location, v0, v1, v2, v3); |
| 6682 | } |
| 6683 | |
| 6684 | void GL_APIENTRY glProgramUniform4uivContextANGLE(GLeglContext ctx, |
| 6685 | GLuint program, |
| 6686 | GLint location, |
| 6687 | GLsizei count, |
| 6688 | const GLuint *value) |
| 6689 | { |
| 6690 | return gl::ProgramUniform4uivContextANGLE(ctx, program, location, count, value); |
| 6691 | } |
| 6692 | |
| 6693 | void GL_APIENTRY glProgramUniformMatrix2fvContextANGLE(GLeglContext ctx, |
| 6694 | GLuint program, |
| 6695 | GLint location, |
| 6696 | GLsizei count, |
| 6697 | GLboolean transpose, |
| 6698 | const GLfloat *value) |
| 6699 | { |
| 6700 | return gl::ProgramUniformMatrix2fvContextANGLE(ctx, program, location, count, transpose, value); |
| 6701 | } |
| 6702 | |
| 6703 | void GL_APIENTRY glProgramUniformMatrix2x3fvContextANGLE(GLeglContext ctx, |
| 6704 | GLuint program, |
| 6705 | GLint location, |
| 6706 | GLsizei count, |
| 6707 | GLboolean transpose, |
| 6708 | const GLfloat *value) |
| 6709 | { |
| 6710 | return gl::ProgramUniformMatrix2x3fvContextANGLE(ctx, program, location, count, transpose, |
| 6711 | value); |
| 6712 | } |
| 6713 | |
| 6714 | void GL_APIENTRY glProgramUniformMatrix2x4fvContextANGLE(GLeglContext ctx, |
| 6715 | GLuint program, |
| 6716 | GLint location, |
| 6717 | GLsizei count, |
| 6718 | GLboolean transpose, |
| 6719 | const GLfloat *value) |
| 6720 | { |
| 6721 | return gl::ProgramUniformMatrix2x4fvContextANGLE(ctx, program, location, count, transpose, |
| 6722 | value); |
| 6723 | } |
| 6724 | |
| 6725 | void GL_APIENTRY glProgramUniformMatrix3fvContextANGLE(GLeglContext ctx, |
| 6726 | GLuint program, |
| 6727 | GLint location, |
| 6728 | GLsizei count, |
| 6729 | GLboolean transpose, |
| 6730 | const GLfloat *value) |
| 6731 | { |
| 6732 | return gl::ProgramUniformMatrix3fvContextANGLE(ctx, program, location, count, transpose, value); |
| 6733 | } |
| 6734 | |
| 6735 | void GL_APIENTRY glProgramUniformMatrix3x2fvContextANGLE(GLeglContext ctx, |
| 6736 | GLuint program, |
| 6737 | GLint location, |
| 6738 | GLsizei count, |
| 6739 | GLboolean transpose, |
| 6740 | const GLfloat *value) |
| 6741 | { |
| 6742 | return gl::ProgramUniformMatrix3x2fvContextANGLE(ctx, program, location, count, transpose, |
| 6743 | value); |
| 6744 | } |
| 6745 | |
| 6746 | void GL_APIENTRY glProgramUniformMatrix3x4fvContextANGLE(GLeglContext ctx, |
| 6747 | GLuint program, |
| 6748 | GLint location, |
| 6749 | GLsizei count, |
| 6750 | GLboolean transpose, |
| 6751 | const GLfloat *value) |
| 6752 | { |
| 6753 | return gl::ProgramUniformMatrix3x4fvContextANGLE(ctx, program, location, count, transpose, |
| 6754 | value); |
| 6755 | } |
| 6756 | |
| 6757 | void GL_APIENTRY glProgramUniformMatrix4fvContextANGLE(GLeglContext ctx, |
| 6758 | GLuint program, |
| 6759 | GLint location, |
| 6760 | GLsizei count, |
| 6761 | GLboolean transpose, |
| 6762 | const GLfloat *value) |
| 6763 | { |
| 6764 | return gl::ProgramUniformMatrix4fvContextANGLE(ctx, program, location, count, transpose, value); |
| 6765 | } |
| 6766 | |
| 6767 | void GL_APIENTRY glProgramUniformMatrix4x2fvContextANGLE(GLeglContext ctx, |
| 6768 | GLuint program, |
| 6769 | GLint location, |
| 6770 | GLsizei count, |
| 6771 | GLboolean transpose, |
| 6772 | const GLfloat *value) |
| 6773 | { |
| 6774 | return gl::ProgramUniformMatrix4x2fvContextANGLE(ctx, program, location, count, transpose, |
| 6775 | value); |
| 6776 | } |
| 6777 | |
| 6778 | void GL_APIENTRY glProgramUniformMatrix4x3fvContextANGLE(GLeglContext ctx, |
| 6779 | GLuint program, |
| 6780 | GLint location, |
| 6781 | GLsizei count, |
| 6782 | GLboolean transpose, |
| 6783 | const GLfloat *value) |
| 6784 | { |
| 6785 | return gl::ProgramUniformMatrix4x3fvContextANGLE(ctx, program, location, count, transpose, |
| 6786 | value); |
| 6787 | } |
| 6788 | |
| 6789 | void GL_APIENTRY glPushDebugGroupKHRContextANGLE(GLeglContext ctx, |
| 6790 | GLenum source, |
| 6791 | GLuint id, |
| 6792 | GLsizei length, |
| 6793 | const GLchar *message) |
| 6794 | { |
| 6795 | return gl::PushDebugGroupKHRContextANGLE(ctx, source, id, length, message); |
| 6796 | } |
| 6797 | |
| 6798 | void GL_APIENTRY glPushGroupMarkerEXTContextANGLE(GLeglContext ctx, |
| 6799 | GLsizei length, |
| 6800 | const GLchar *marker) |
| 6801 | { |
| 6802 | return gl::PushGroupMarkerEXTContextANGLE(ctx, length, marker); |
| 6803 | } |
| 6804 | |
| 6805 | void GL_APIENTRY glPushMatrixContextANGLE(GLeglContext ctx) |
| 6806 | { |
| 6807 | return gl::PushMatrixContextANGLE(ctx); |
| 6808 | } |
| 6809 | |
| 6810 | void GL_APIENTRY glQueryCounterEXTContextANGLE(GLeglContext ctx, GLuint id, GLenum target) |
| 6811 | { |
| 6812 | return gl::QueryCounterEXTContextANGLE(ctx, id, target); |
| 6813 | } |
| 6814 | |
| 6815 | GLbitfield GL_APIENTRY glQueryMatrixxOESContextANGLE(GLeglContext ctx, |
| 6816 | GLfixed *mantissa, |
| 6817 | GLint *exponent) |
| 6818 | { |
| 6819 | return gl::QueryMatrixxOESContextANGLE(ctx, mantissa, exponent); |
| 6820 | } |
| 6821 | |
| 6822 | void GL_APIENTRY glReadBufferContextANGLE(GLeglContext ctx, GLenum src) |
| 6823 | { |
| 6824 | return gl::ReadBufferContextANGLE(ctx, src); |
| 6825 | } |
| 6826 | |
| 6827 | void GL_APIENTRY glReadPixelsContextANGLE(GLeglContext ctx, |
| 6828 | GLint x, |
| 6829 | GLint y, |
| 6830 | GLsizei width, |
| 6831 | GLsizei height, |
| 6832 | GLenum format, |
| 6833 | GLenum type, |
| 6834 | void *pixels) |
| 6835 | { |
| 6836 | return gl::ReadPixelsContextANGLE(ctx, x, y, width, height, format, type, pixels); |
| 6837 | } |
| 6838 | |
| 6839 | void GL_APIENTRY glReadnPixelsEXTContextANGLE(GLeglContext ctx, |
| 6840 | GLint x, |
| 6841 | GLint y, |
| 6842 | GLsizei width, |
| 6843 | GLsizei height, |
| 6844 | GLenum format, |
| 6845 | GLenum type, |
| 6846 | GLsizei bufSize, |
| 6847 | void *data) |
| 6848 | { |
| 6849 | return gl::ReadnPixelsEXTContextANGLE(ctx, x, y, width, height, format, type, bufSize, data); |
| 6850 | } |
| 6851 | |
| 6852 | void GL_APIENTRY glReleaseShaderCompilerContextANGLE(GLeglContext ctx) |
| 6853 | { |
| 6854 | return gl::ReleaseShaderCompilerContextANGLE(ctx); |
| 6855 | } |
| 6856 | |
| 6857 | void GL_APIENTRY glRenderbufferStorageContextANGLE(GLeglContext ctx, |
| 6858 | GLenum target, |
| 6859 | GLenum internalformat, |
| 6860 | GLsizei width, |
| 6861 | GLsizei height) |
| 6862 | { |
| 6863 | return gl::RenderbufferStorageContextANGLE(ctx, target, internalformat, width, height); |
| 6864 | } |
| 6865 | |
| 6866 | void GL_APIENTRY glRenderbufferStorageMultisampleContextANGLE(GLeglContext ctx, |
| 6867 | GLenum target, |
| 6868 | GLsizei samples, |
| 6869 | GLenum internalformat, |
| 6870 | GLsizei width, |
| 6871 | GLsizei height) |
| 6872 | { |
| 6873 | return gl::RenderbufferStorageMultisampleContextANGLE(ctx, target, samples, internalformat, |
| 6874 | width, height); |
| 6875 | } |
| 6876 | |
| 6877 | void GL_APIENTRY glRenderbufferStorageMultisampleANGLEContextANGLE(GLeglContext ctx, |
| 6878 | GLenum target, |
| 6879 | GLsizei samples, |
| 6880 | GLenum internalformat, |
| 6881 | GLsizei width, |
| 6882 | GLsizei height) |
| 6883 | { |
| 6884 | return gl::RenderbufferStorageMultisampleANGLEContextANGLE(ctx, target, samples, internalformat, |
| 6885 | width, height); |
| 6886 | } |
| 6887 | |
| 6888 | void GL_APIENTRY glRenderbufferStorageOESContextANGLE(GLeglContext ctx, |
| 6889 | GLenum target, |
| 6890 | GLenum internalformat, |
| 6891 | GLsizei width, |
| 6892 | GLsizei height) |
| 6893 | { |
| 6894 | return gl::RenderbufferStorageOESContextANGLE(ctx, target, internalformat, width, height); |
| 6895 | } |
| 6896 | |
| 6897 | void GL_APIENTRY glResumeTransformFeedbackContextANGLE(GLeglContext ctx) |
| 6898 | { |
| 6899 | return gl::ResumeTransformFeedbackContextANGLE(ctx); |
| 6900 | } |
| 6901 | |
| 6902 | void GL_APIENTRY |
| 6903 | glRotatefContextANGLE(GLeglContext ctx, GLfloat angle, GLfloat x, GLfloat y, GLfloat z) |
| 6904 | { |
| 6905 | return gl::RotatefContextANGLE(ctx, angle, x, y, z); |
| 6906 | } |
| 6907 | |
| 6908 | void GL_APIENTRY |
| 6909 | glRotatexContextANGLE(GLeglContext ctx, GLfixed angle, GLfixed x, GLfixed y, GLfixed z) |
| 6910 | { |
| 6911 | return gl::RotatexContextANGLE(ctx, angle, x, y, z); |
| 6912 | } |
| 6913 | |
| 6914 | void GL_APIENTRY glSampleCoverageContextANGLE(GLeglContext ctx, GLfloat value, GLboolean invert) |
| 6915 | { |
| 6916 | return gl::SampleCoverageContextANGLE(ctx, value, invert); |
| 6917 | } |
| 6918 | |
| 6919 | void GL_APIENTRY glSampleCoveragexContextANGLE(GLeglContext ctx, GLclampx value, GLboolean invert) |
| 6920 | { |
| 6921 | return gl::SampleCoveragexContextANGLE(ctx, value, invert); |
| 6922 | } |
| 6923 | |
| 6924 | void GL_APIENTRY glSampleMaskiContextANGLE(GLeglContext ctx, GLuint maskNumber, GLbitfield mask) |
| 6925 | { |
| 6926 | return gl::SampleMaskiContextANGLE(ctx, maskNumber, mask); |
| 6927 | } |
| 6928 | |
| 6929 | void GL_APIENTRY glSamplerParameterfContextANGLE(GLeglContext ctx, |
| 6930 | GLuint sampler, |
| 6931 | GLenum pname, |
| 6932 | GLfloat param) |
| 6933 | { |
| 6934 | return gl::SamplerParameterfContextANGLE(ctx, sampler, pname, param); |
| 6935 | } |
| 6936 | |
| 6937 | void GL_APIENTRY glSamplerParameterfvContextANGLE(GLeglContext ctx, |
| 6938 | GLuint sampler, |
| 6939 | GLenum pname, |
| 6940 | const GLfloat *param) |
| 6941 | { |
| 6942 | return gl::SamplerParameterfvContextANGLE(ctx, sampler, pname, param); |
| 6943 | } |
| 6944 | |
| 6945 | void GL_APIENTRY glSamplerParameteriContextANGLE(GLeglContext ctx, |
| 6946 | GLuint sampler, |
| 6947 | GLenum pname, |
| 6948 | GLint param) |
| 6949 | { |
| 6950 | return gl::SamplerParameteriContextANGLE(ctx, sampler, pname, param); |
| 6951 | } |
| 6952 | |
| 6953 | void GL_APIENTRY glSamplerParameterivContextANGLE(GLeglContext ctx, |
| 6954 | GLuint sampler, |
| 6955 | GLenum pname, |
| 6956 | const GLint *param) |
| 6957 | { |
| 6958 | return gl::SamplerParameterivContextANGLE(ctx, sampler, pname, param); |
| 6959 | } |
| 6960 | |
| 6961 | void GL_APIENTRY glScalefContextANGLE(GLeglContext ctx, GLfloat x, GLfloat y, GLfloat z) |
| 6962 | { |
| 6963 | return gl::ScalefContextANGLE(ctx, x, y, z); |
| 6964 | } |
| 6965 | |
| 6966 | void GL_APIENTRY glScalexContextANGLE(GLeglContext ctx, GLfixed x, GLfixed y, GLfixed z) |
| 6967 | { |
| 6968 | return gl::ScalexContextANGLE(ctx, x, y, z); |
| 6969 | } |
| 6970 | |
| 6971 | void GL_APIENTRY |
| 6972 | glScissorContextANGLE(GLeglContext ctx, GLint x, GLint y, GLsizei width, GLsizei height) |
| 6973 | { |
| 6974 | return gl::ScissorContextANGLE(ctx, x, y, width, height); |
| 6975 | } |
| 6976 | |
| 6977 | void GL_APIENTRY glSetFenceNVContextANGLE(GLeglContext ctx, GLuint fence, GLenum condition) |
| 6978 | { |
| 6979 | return gl::SetFenceNVContextANGLE(ctx, fence, condition); |
| 6980 | } |
| 6981 | |
| 6982 | void GL_APIENTRY glShadeModelContextANGLE(GLeglContext ctx, GLenum mode) |
| 6983 | { |
| 6984 | return gl::ShadeModelContextANGLE(ctx, mode); |
| 6985 | } |
| 6986 | |
| 6987 | void GL_APIENTRY glShaderBinaryContextANGLE(GLeglContext ctx, |
| 6988 | GLsizei count, |
| 6989 | const GLuint *shaders, |
| 6990 | GLenum binaryformat, |
| 6991 | const void *binary, |
| 6992 | GLsizei length) |
| 6993 | { |
| 6994 | return gl::ShaderBinaryContextANGLE(ctx, count, shaders, binaryformat, binary, length); |
| 6995 | } |
| 6996 | |
| 6997 | void GL_APIENTRY glShaderSourceContextANGLE(GLeglContext ctx, |
| 6998 | GLuint shader, |
| 6999 | GLsizei count, |
| 7000 | const GLchar *const *string, |
| 7001 | const GLint *length) |
| 7002 | { |
| 7003 | return gl::ShaderSourceContextANGLE(ctx, shader, count, string, length); |
| 7004 | } |
| 7005 | |
| 7006 | void GL_APIENTRY glStencilFuncContextANGLE(GLeglContext ctx, GLenum func, GLint ref, GLuint mask) |
| 7007 | { |
| 7008 | return gl::StencilFuncContextANGLE(ctx, func, ref, mask); |
| 7009 | } |
| 7010 | |
| 7011 | void GL_APIENTRY glStencilFuncSeparateContextANGLE(GLeglContext ctx, |
| 7012 | GLenum face, |
| 7013 | GLenum func, |
| 7014 | GLint ref, |
| 7015 | GLuint mask) |
| 7016 | { |
| 7017 | return gl::StencilFuncSeparateContextANGLE(ctx, face, func, ref, mask); |
| 7018 | } |
| 7019 | |
| 7020 | void GL_APIENTRY glStencilMaskContextANGLE(GLeglContext ctx, GLuint mask) |
| 7021 | { |
| 7022 | return gl::StencilMaskContextANGLE(ctx, mask); |
| 7023 | } |
| 7024 | |
| 7025 | void GL_APIENTRY glStencilMaskSeparateContextANGLE(GLeglContext ctx, GLenum face, GLuint mask) |
| 7026 | { |
| 7027 | return gl::StencilMaskSeparateContextANGLE(ctx, face, mask); |
| 7028 | } |
| 7029 | |
| 7030 | void GL_APIENTRY glStencilOpContextANGLE(GLeglContext ctx, GLenum fail, GLenum zfail, GLenum zpass) |
| 7031 | { |
| 7032 | return gl::StencilOpContextANGLE(ctx, fail, zfail, zpass); |
| 7033 | } |
| 7034 | |
| 7035 | void GL_APIENTRY glStencilOpSeparateContextANGLE(GLeglContext ctx, |
| 7036 | GLenum face, |
| 7037 | GLenum sfail, |
| 7038 | GLenum dpfail, |
| 7039 | GLenum dppass) |
| 7040 | { |
| 7041 | return gl::StencilOpSeparateContextANGLE(ctx, face, sfail, dpfail, dppass); |
| 7042 | } |
| 7043 | |
| 7044 | GLboolean GL_APIENTRY glTestFenceNVContextANGLE(GLeglContext ctx, GLuint fence) |
| 7045 | { |
| 7046 | return gl::TestFenceNVContextANGLE(ctx, fence); |
| 7047 | } |
| 7048 | |
| 7049 | void GL_APIENTRY glTexCoordPointerContextANGLE(GLeglContext ctx, |
| 7050 | GLint size, |
| 7051 | GLenum type, |
| 7052 | GLsizei stride, |
| 7053 | const void *pointer) |
| 7054 | { |
| 7055 | return gl::TexCoordPointerContextANGLE(ctx, size, type, stride, pointer); |
| 7056 | } |
| 7057 | |
| 7058 | void GL_APIENTRY glTexEnvfContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLfloat param) |
| 7059 | { |
| 7060 | return gl::TexEnvfContextANGLE(ctx, target, pname, param); |
| 7061 | } |
| 7062 | |
| 7063 | void GL_APIENTRY glTexEnvfvContextANGLE(GLeglContext ctx, |
| 7064 | GLenum target, |
| 7065 | GLenum pname, |
| 7066 | const GLfloat *params) |
| 7067 | { |
| 7068 | return gl::TexEnvfvContextANGLE(ctx, target, pname, params); |
| 7069 | } |
| 7070 | |
| 7071 | void GL_APIENTRY glTexEnviContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLint param) |
| 7072 | { |
| 7073 | return gl::TexEnviContextANGLE(ctx, target, pname, param); |
| 7074 | } |
| 7075 | |
| 7076 | void GL_APIENTRY glTexEnvivContextANGLE(GLeglContext ctx, |
| 7077 | GLenum target, |
| 7078 | GLenum pname, |
| 7079 | const GLint *params) |
| 7080 | { |
| 7081 | return gl::TexEnvivContextANGLE(ctx, target, pname, params); |
| 7082 | } |
| 7083 | |
| 7084 | void GL_APIENTRY glTexEnvxContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLfixed param) |
| 7085 | { |
| 7086 | return gl::TexEnvxContextANGLE(ctx, target, pname, param); |
| 7087 | } |
| 7088 | |
| 7089 | void GL_APIENTRY glTexEnvxvContextANGLE(GLeglContext ctx, |
| 7090 | GLenum target, |
| 7091 | GLenum pname, |
| 7092 | const GLfixed *params) |
| 7093 | { |
| 7094 | return gl::TexEnvxvContextANGLE(ctx, target, pname, params); |
| 7095 | } |
| 7096 | |
| 7097 | void GL_APIENTRY glTexGenfOESContextANGLE(GLeglContext ctx, |
| 7098 | GLenum coord, |
| 7099 | GLenum pname, |
| 7100 | GLfloat param) |
| 7101 | { |
| 7102 | return gl::TexGenfOESContextANGLE(ctx, coord, pname, param); |
| 7103 | } |
| 7104 | |
| 7105 | void GL_APIENTRY glTexGenfvOESContextANGLE(GLeglContext ctx, |
| 7106 | GLenum coord, |
| 7107 | GLenum pname, |
| 7108 | const GLfloat *params) |
| 7109 | { |
| 7110 | return gl::TexGenfvOESContextANGLE(ctx, coord, pname, params); |
| 7111 | } |
| 7112 | |
| 7113 | void GL_APIENTRY glTexGeniOESContextANGLE(GLeglContext ctx, GLenum coord, GLenum pname, GLint param) |
| 7114 | { |
| 7115 | return gl::TexGeniOESContextANGLE(ctx, coord, pname, param); |
| 7116 | } |
| 7117 | |
| 7118 | void GL_APIENTRY glTexGenivOESContextANGLE(GLeglContext ctx, |
| 7119 | GLenum coord, |
| 7120 | GLenum pname, |
| 7121 | const GLint *params) |
| 7122 | { |
| 7123 | return gl::TexGenivOESContextANGLE(ctx, coord, pname, params); |
| 7124 | } |
| 7125 | |
| 7126 | void GL_APIENTRY glTexGenxOESContextANGLE(GLeglContext ctx, |
| 7127 | GLenum coord, |
| 7128 | GLenum pname, |
| 7129 | GLfixed param) |
| 7130 | { |
| 7131 | return gl::TexGenxOESContextANGLE(ctx, coord, pname, param); |
| 7132 | } |
| 7133 | |
| 7134 | void GL_APIENTRY glTexGenxvOESContextANGLE(GLeglContext ctx, |
| 7135 | GLenum coord, |
| 7136 | GLenum pname, |
| 7137 | const GLfixed *params) |
| 7138 | { |
| 7139 | return gl::TexGenxvOESContextANGLE(ctx, coord, pname, params); |
| 7140 | } |
| 7141 | |
| 7142 | void GL_APIENTRY glTexImage2DContextANGLE(GLeglContext ctx, |
| 7143 | GLenum target, |
| 7144 | GLint level, |
| 7145 | GLint internalformat, |
| 7146 | GLsizei width, |
| 7147 | GLsizei height, |
| 7148 | GLint border, |
| 7149 | GLenum format, |
| 7150 | GLenum type, |
| 7151 | const void *pixels) |
| 7152 | { |
| 7153 | return gl::TexImage2DContextANGLE(ctx, target, level, internalformat, width, height, border, |
| 7154 | format, type, pixels); |
| 7155 | } |
| 7156 | |
| 7157 | void GL_APIENTRY glTexImage3DContextANGLE(GLeglContext ctx, |
| 7158 | GLenum target, |
| 7159 | GLint level, |
| 7160 | GLint internalformat, |
| 7161 | GLsizei width, |
| 7162 | GLsizei height, |
| 7163 | GLsizei depth, |
| 7164 | GLint border, |
| 7165 | GLenum format, |
| 7166 | GLenum type, |
| 7167 | const void *pixels) |
| 7168 | { |
| 7169 | return gl::TexImage3DContextANGLE(ctx, target, level, internalformat, width, height, depth, |
| 7170 | border, format, type, pixels); |
| 7171 | } |
| 7172 | |
| 7173 | void GL_APIENTRY glTexParameterfContextANGLE(GLeglContext ctx, |
| 7174 | GLenum target, |
| 7175 | GLenum pname, |
| 7176 | GLfloat param) |
| 7177 | { |
| 7178 | return gl::TexParameterfContextANGLE(ctx, target, pname, param); |
| 7179 | } |
| 7180 | |
| 7181 | void GL_APIENTRY glTexParameterfvContextANGLE(GLeglContext ctx, |
| 7182 | GLenum target, |
| 7183 | GLenum pname, |
| 7184 | const GLfloat *params) |
| 7185 | { |
| 7186 | return gl::TexParameterfvContextANGLE(ctx, target, pname, params); |
| 7187 | } |
| 7188 | |
| 7189 | void GL_APIENTRY glTexParameteriContextANGLE(GLeglContext ctx, |
| 7190 | GLenum target, |
| 7191 | GLenum pname, |
| 7192 | GLint param) |
| 7193 | { |
| 7194 | return gl::TexParameteriContextANGLE(ctx, target, pname, param); |
| 7195 | } |
| 7196 | |
| 7197 | void GL_APIENTRY glTexParameterivContextANGLE(GLeglContext ctx, |
| 7198 | GLenum target, |
| 7199 | GLenum pname, |
| 7200 | const GLint *params) |
| 7201 | { |
| 7202 | return gl::TexParameterivContextANGLE(ctx, target, pname, params); |
| 7203 | } |
| 7204 | |
| 7205 | void GL_APIENTRY glTexParameterxContextANGLE(GLeglContext ctx, |
| 7206 | GLenum target, |
| 7207 | GLenum pname, |
| 7208 | GLfixed param) |
| 7209 | { |
| 7210 | return gl::TexParameterxContextANGLE(ctx, target, pname, param); |
| 7211 | } |
| 7212 | |
| 7213 | void GL_APIENTRY glTexParameterxvContextANGLE(GLeglContext ctx, |
| 7214 | GLenum target, |
| 7215 | GLenum pname, |
| 7216 | const GLfixed *params) |
| 7217 | { |
| 7218 | return gl::TexParameterxvContextANGLE(ctx, target, pname, params); |
| 7219 | } |
| 7220 | |
| 7221 | void GL_APIENTRY glTexStorage1DEXTContextANGLE(GLeglContext ctx, |
| 7222 | GLenum target, |
| 7223 | GLsizei levels, |
| 7224 | GLenum internalformat, |
| 7225 | GLsizei width) |
| 7226 | { |
| 7227 | return gl::TexStorage1DEXTContextANGLE(ctx, target, levels, internalformat, width); |
| 7228 | } |
| 7229 | |
| 7230 | void GL_APIENTRY glTexStorage2DContextANGLE(GLeglContext ctx, |
| 7231 | GLenum target, |
| 7232 | GLsizei levels, |
| 7233 | GLenum internalformat, |
| 7234 | GLsizei width, |
| 7235 | GLsizei height) |
| 7236 | { |
| 7237 | return gl::TexStorage2DContextANGLE(ctx, target, levels, internalformat, width, height); |
| 7238 | } |
| 7239 | |
| 7240 | void GL_APIENTRY glTexStorage2DEXTContextANGLE(GLeglContext ctx, |
| 7241 | GLenum target, |
| 7242 | GLsizei levels, |
| 7243 | GLenum internalformat, |
| 7244 | GLsizei width, |
| 7245 | GLsizei height) |
| 7246 | { |
| 7247 | return gl::TexStorage2DEXTContextANGLE(ctx, target, levels, internalformat, width, height); |
| 7248 | } |
| 7249 | |
| 7250 | void GL_APIENTRY glTexStorage2DMultisampleContextANGLE(GLeglContext ctx, |
| 7251 | GLenum target, |
| 7252 | GLsizei samples, |
| 7253 | GLenum internalformat, |
| 7254 | GLsizei width, |
| 7255 | GLsizei height, |
| 7256 | GLboolean fixedsamplelocations) |
| 7257 | { |
| 7258 | return gl::TexStorage2DMultisampleContextANGLE(ctx, target, samples, internalformat, width, |
| 7259 | height, fixedsamplelocations); |
| 7260 | } |
| 7261 | |
| 7262 | void GL_APIENTRY glTexStorage3DContextANGLE(GLeglContext ctx, |
| 7263 | GLenum target, |
| 7264 | GLsizei levels, |
| 7265 | GLenum internalformat, |
| 7266 | GLsizei width, |
| 7267 | GLsizei height, |
| 7268 | GLsizei depth) |
| 7269 | { |
| 7270 | return gl::TexStorage3DContextANGLE(ctx, target, levels, internalformat, width, height, depth); |
| 7271 | } |
| 7272 | |
| 7273 | void GL_APIENTRY glTexStorage3DEXTContextANGLE(GLeglContext ctx, |
| 7274 | GLenum target, |
| 7275 | GLsizei levels, |
| 7276 | GLenum internalformat, |
| 7277 | GLsizei width, |
| 7278 | GLsizei height, |
| 7279 | GLsizei depth) |
| 7280 | { |
| 7281 | return gl::TexStorage3DEXTContextANGLE(ctx, target, levels, internalformat, width, height, |
| 7282 | depth); |
| 7283 | } |
| 7284 | |
Olli Etuaho | 064458a | 2018-08-30 14:02:02 +0300 | [diff] [blame] | 7285 | void GL_APIENTRY glTexStorage3DMultisampleOESContextANGLE(GLeglContext ctx, |
| 7286 | GLenum target, |
| 7287 | GLsizei samples, |
| 7288 | GLenum internalformat, |
| 7289 | GLsizei width, |
| 7290 | GLsizei height, |
| 7291 | GLsizei depth, |
| 7292 | GLboolean fixedsamplelocations) |
| 7293 | { |
| 7294 | return gl::TexStorage3DMultisampleOESContextANGLE(ctx, target, samples, internalformat, width, |
| 7295 | height, depth, fixedsamplelocations); |
| 7296 | } |
| 7297 | |
Brandon Jones | 2b0cdcc | 2018-05-02 08:02:50 -0700 | [diff] [blame] | 7298 | void GL_APIENTRY glTexSubImage2DContextANGLE(GLeglContext ctx, |
| 7299 | GLenum target, |
| 7300 | GLint level, |
| 7301 | GLint xoffset, |
| 7302 | GLint yoffset, |
| 7303 | GLsizei width, |
| 7304 | GLsizei height, |
| 7305 | GLenum format, |
| 7306 | GLenum type, |
| 7307 | const void *pixels) |
| 7308 | { |
| 7309 | return gl::TexSubImage2DContextANGLE(ctx, target, level, xoffset, yoffset, width, height, |
| 7310 | format, type, pixels); |
| 7311 | } |
| 7312 | |
| 7313 | void GL_APIENTRY glTexSubImage3DContextANGLE(GLeglContext ctx, |
| 7314 | GLenum target, |
| 7315 | GLint level, |
| 7316 | GLint xoffset, |
| 7317 | GLint yoffset, |
| 7318 | GLint zoffset, |
| 7319 | GLsizei width, |
| 7320 | GLsizei height, |
| 7321 | GLsizei depth, |
| 7322 | GLenum format, |
| 7323 | GLenum type, |
| 7324 | const void *pixels) |
| 7325 | { |
| 7326 | return gl::TexSubImage3DContextANGLE(ctx, target, level, xoffset, yoffset, zoffset, width, |
| 7327 | height, depth, format, type, pixels); |
| 7328 | } |
| 7329 | |
| 7330 | void GL_APIENTRY glTransformFeedbackVaryingsContextANGLE(GLeglContext ctx, |
| 7331 | GLuint program, |
| 7332 | GLsizei count, |
| 7333 | const GLchar *const *varyings, |
| 7334 | GLenum bufferMode) |
| 7335 | { |
| 7336 | return gl::TransformFeedbackVaryingsContextANGLE(ctx, program, count, varyings, bufferMode); |
| 7337 | } |
| 7338 | |
| 7339 | void GL_APIENTRY glTranslatefContextANGLE(GLeglContext ctx, GLfloat x, GLfloat y, GLfloat z) |
| 7340 | { |
| 7341 | return gl::TranslatefContextANGLE(ctx, x, y, z); |
| 7342 | } |
| 7343 | |
| 7344 | void GL_APIENTRY glTranslatexContextANGLE(GLeglContext ctx, GLfixed x, GLfixed y, GLfixed z) |
| 7345 | { |
| 7346 | return gl::TranslatexContextANGLE(ctx, x, y, z); |
| 7347 | } |
| 7348 | |
| 7349 | void GL_APIENTRY glUniform1fContextANGLE(GLeglContext ctx, GLint location, GLfloat v0) |
| 7350 | { |
| 7351 | return gl::Uniform1fContextANGLE(ctx, location, v0); |
| 7352 | } |
| 7353 | |
| 7354 | void GL_APIENTRY glUniform1fvContextANGLE(GLeglContext ctx, |
| 7355 | GLint location, |
| 7356 | GLsizei count, |
| 7357 | const GLfloat *value) |
| 7358 | { |
| 7359 | return gl::Uniform1fvContextANGLE(ctx, location, count, value); |
| 7360 | } |
| 7361 | |
| 7362 | void GL_APIENTRY glUniform1iContextANGLE(GLeglContext ctx, GLint location, GLint v0) |
| 7363 | { |
| 7364 | return gl::Uniform1iContextANGLE(ctx, location, v0); |
| 7365 | } |
| 7366 | |
| 7367 | void GL_APIENTRY glUniform1ivContextANGLE(GLeglContext ctx, |
| 7368 | GLint location, |
| 7369 | GLsizei count, |
| 7370 | const GLint *value) |
| 7371 | { |
| 7372 | return gl::Uniform1ivContextANGLE(ctx, location, count, value); |
| 7373 | } |
| 7374 | |
| 7375 | void GL_APIENTRY glUniform1uiContextANGLE(GLeglContext ctx, GLint location, GLuint v0) |
| 7376 | { |
| 7377 | return gl::Uniform1uiContextANGLE(ctx, location, v0); |
| 7378 | } |
| 7379 | |
| 7380 | void GL_APIENTRY glUniform1uivContextANGLE(GLeglContext ctx, |
| 7381 | GLint location, |
| 7382 | GLsizei count, |
| 7383 | const GLuint *value) |
| 7384 | { |
| 7385 | return gl::Uniform1uivContextANGLE(ctx, location, count, value); |
| 7386 | } |
| 7387 | |
| 7388 | void GL_APIENTRY glUniform2fContextANGLE(GLeglContext ctx, GLint location, GLfloat v0, GLfloat v1) |
| 7389 | { |
| 7390 | return gl::Uniform2fContextANGLE(ctx, location, v0, v1); |
| 7391 | } |
| 7392 | |
| 7393 | void GL_APIENTRY glUniform2fvContextANGLE(GLeglContext ctx, |
| 7394 | GLint location, |
| 7395 | GLsizei count, |
| 7396 | const GLfloat *value) |
| 7397 | { |
| 7398 | return gl::Uniform2fvContextANGLE(ctx, location, count, value); |
| 7399 | } |
| 7400 | |
| 7401 | void GL_APIENTRY glUniform2iContextANGLE(GLeglContext ctx, GLint location, GLint v0, GLint v1) |
| 7402 | { |
| 7403 | return gl::Uniform2iContextANGLE(ctx, location, v0, v1); |
| 7404 | } |
| 7405 | |
| 7406 | void GL_APIENTRY glUniform2ivContextANGLE(GLeglContext ctx, |
| 7407 | GLint location, |
| 7408 | GLsizei count, |
| 7409 | const GLint *value) |
| 7410 | { |
| 7411 | return gl::Uniform2ivContextANGLE(ctx, location, count, value); |
| 7412 | } |
| 7413 | |
| 7414 | void GL_APIENTRY glUniform2uiContextANGLE(GLeglContext ctx, GLint location, GLuint v0, GLuint v1) |
| 7415 | { |
| 7416 | return gl::Uniform2uiContextANGLE(ctx, location, v0, v1); |
| 7417 | } |
| 7418 | |
| 7419 | void GL_APIENTRY glUniform2uivContextANGLE(GLeglContext ctx, |
| 7420 | GLint location, |
| 7421 | GLsizei count, |
| 7422 | const GLuint *value) |
| 7423 | { |
| 7424 | return gl::Uniform2uivContextANGLE(ctx, location, count, value); |
| 7425 | } |
| 7426 | |
| 7427 | void GL_APIENTRY |
| 7428 | glUniform3fContextANGLE(GLeglContext ctx, GLint location, GLfloat v0, GLfloat v1, GLfloat v2) |
| 7429 | { |
| 7430 | return gl::Uniform3fContextANGLE(ctx, location, v0, v1, v2); |
| 7431 | } |
| 7432 | |
| 7433 | void GL_APIENTRY glUniform3fvContextANGLE(GLeglContext ctx, |
| 7434 | GLint location, |
| 7435 | GLsizei count, |
| 7436 | const GLfloat *value) |
| 7437 | { |
| 7438 | return gl::Uniform3fvContextANGLE(ctx, location, count, value); |
| 7439 | } |
| 7440 | |
| 7441 | void GL_APIENTRY |
| 7442 | glUniform3iContextANGLE(GLeglContext ctx, GLint location, GLint v0, GLint v1, GLint v2) |
| 7443 | { |
| 7444 | return gl::Uniform3iContextANGLE(ctx, location, v0, v1, v2); |
| 7445 | } |
| 7446 | |
| 7447 | void GL_APIENTRY glUniform3ivContextANGLE(GLeglContext ctx, |
| 7448 | GLint location, |
| 7449 | GLsizei count, |
| 7450 | const GLint *value) |
| 7451 | { |
| 7452 | return gl::Uniform3ivContextANGLE(ctx, location, count, value); |
| 7453 | } |
| 7454 | |
| 7455 | void GL_APIENTRY |
| 7456 | glUniform3uiContextANGLE(GLeglContext ctx, GLint location, GLuint v0, GLuint v1, GLuint v2) |
| 7457 | { |
| 7458 | return gl::Uniform3uiContextANGLE(ctx, location, v0, v1, v2); |
| 7459 | } |
| 7460 | |
| 7461 | void GL_APIENTRY glUniform3uivContextANGLE(GLeglContext ctx, |
| 7462 | GLint location, |
| 7463 | GLsizei count, |
| 7464 | const GLuint *value) |
| 7465 | { |
| 7466 | return gl::Uniform3uivContextANGLE(ctx, location, count, value); |
| 7467 | } |
| 7468 | |
| 7469 | void GL_APIENTRY glUniform4fContextANGLE(GLeglContext ctx, |
| 7470 | GLint location, |
| 7471 | GLfloat v0, |
| 7472 | GLfloat v1, |
| 7473 | GLfloat v2, |
| 7474 | GLfloat v3) |
| 7475 | { |
| 7476 | return gl::Uniform4fContextANGLE(ctx, location, v0, v1, v2, v3); |
| 7477 | } |
| 7478 | |
| 7479 | void GL_APIENTRY glUniform4fvContextANGLE(GLeglContext ctx, |
| 7480 | GLint location, |
| 7481 | GLsizei count, |
| 7482 | const GLfloat *value) |
| 7483 | { |
| 7484 | return gl::Uniform4fvContextANGLE(ctx, location, count, value); |
| 7485 | } |
| 7486 | |
| 7487 | void GL_APIENTRY |
| 7488 | glUniform4iContextANGLE(GLeglContext ctx, GLint location, GLint v0, GLint v1, GLint v2, GLint v3) |
| 7489 | { |
| 7490 | return gl::Uniform4iContextANGLE(ctx, location, v0, v1, v2, v3); |
| 7491 | } |
| 7492 | |
| 7493 | void GL_APIENTRY glUniform4ivContextANGLE(GLeglContext ctx, |
| 7494 | GLint location, |
| 7495 | GLsizei count, |
| 7496 | const GLint *value) |
| 7497 | { |
| 7498 | return gl::Uniform4ivContextANGLE(ctx, location, count, value); |
| 7499 | } |
| 7500 | |
| 7501 | void GL_APIENTRY glUniform4uiContextANGLE(GLeglContext ctx, |
| 7502 | GLint location, |
| 7503 | GLuint v0, |
| 7504 | GLuint v1, |
| 7505 | GLuint v2, |
| 7506 | GLuint v3) |
| 7507 | { |
| 7508 | return gl::Uniform4uiContextANGLE(ctx, location, v0, v1, v2, v3); |
| 7509 | } |
| 7510 | |
| 7511 | void GL_APIENTRY glUniform4uivContextANGLE(GLeglContext ctx, |
| 7512 | GLint location, |
| 7513 | GLsizei count, |
| 7514 | const GLuint *value) |
| 7515 | { |
| 7516 | return gl::Uniform4uivContextANGLE(ctx, location, count, value); |
| 7517 | } |
| 7518 | |
| 7519 | void GL_APIENTRY glUniformBlockBindingContextANGLE(GLeglContext ctx, |
| 7520 | GLuint program, |
| 7521 | GLuint uniformBlockIndex, |
| 7522 | GLuint uniformBlockBinding) |
| 7523 | { |
| 7524 | return gl::UniformBlockBindingContextANGLE(ctx, program, uniformBlockIndex, |
| 7525 | uniformBlockBinding); |
| 7526 | } |
| 7527 | |
| 7528 | void GL_APIENTRY glUniformMatrix2fvContextANGLE(GLeglContext ctx, |
| 7529 | GLint location, |
| 7530 | GLsizei count, |
| 7531 | GLboolean transpose, |
| 7532 | const GLfloat *value) |
| 7533 | { |
| 7534 | return gl::UniformMatrix2fvContextANGLE(ctx, location, count, transpose, value); |
| 7535 | } |
| 7536 | |
| 7537 | void GL_APIENTRY glUniformMatrix2x3fvContextANGLE(GLeglContext ctx, |
| 7538 | GLint location, |
| 7539 | GLsizei count, |
| 7540 | GLboolean transpose, |
| 7541 | const GLfloat *value) |
| 7542 | { |
| 7543 | return gl::UniformMatrix2x3fvContextANGLE(ctx, location, count, transpose, value); |
| 7544 | } |
| 7545 | |
| 7546 | void GL_APIENTRY glUniformMatrix2x4fvContextANGLE(GLeglContext ctx, |
| 7547 | GLint location, |
| 7548 | GLsizei count, |
| 7549 | GLboolean transpose, |
| 7550 | const GLfloat *value) |
| 7551 | { |
| 7552 | return gl::UniformMatrix2x4fvContextANGLE(ctx, location, count, transpose, value); |
| 7553 | } |
| 7554 | |
| 7555 | void GL_APIENTRY glUniformMatrix3fvContextANGLE(GLeglContext ctx, |
| 7556 | GLint location, |
| 7557 | GLsizei count, |
| 7558 | GLboolean transpose, |
| 7559 | const GLfloat *value) |
| 7560 | { |
| 7561 | return gl::UniformMatrix3fvContextANGLE(ctx, location, count, transpose, value); |
| 7562 | } |
| 7563 | |
| 7564 | void GL_APIENTRY glUniformMatrix3x2fvContextANGLE(GLeglContext ctx, |
| 7565 | GLint location, |
| 7566 | GLsizei count, |
| 7567 | GLboolean transpose, |
| 7568 | const GLfloat *value) |
| 7569 | { |
| 7570 | return gl::UniformMatrix3x2fvContextANGLE(ctx, location, count, transpose, value); |
| 7571 | } |
| 7572 | |
| 7573 | void GL_APIENTRY glUniformMatrix3x4fvContextANGLE(GLeglContext ctx, |
| 7574 | GLint location, |
| 7575 | GLsizei count, |
| 7576 | GLboolean transpose, |
| 7577 | const GLfloat *value) |
| 7578 | { |
| 7579 | return gl::UniformMatrix3x4fvContextANGLE(ctx, location, count, transpose, value); |
| 7580 | } |
| 7581 | |
| 7582 | void GL_APIENTRY glUniformMatrix4fvContextANGLE(GLeglContext ctx, |
| 7583 | GLint location, |
| 7584 | GLsizei count, |
| 7585 | GLboolean transpose, |
| 7586 | const GLfloat *value) |
| 7587 | { |
| 7588 | return gl::UniformMatrix4fvContextANGLE(ctx, location, count, transpose, value); |
| 7589 | } |
| 7590 | |
| 7591 | void GL_APIENTRY glUniformMatrix4x2fvContextANGLE(GLeglContext ctx, |
| 7592 | GLint location, |
| 7593 | GLsizei count, |
| 7594 | GLboolean transpose, |
| 7595 | const GLfloat *value) |
| 7596 | { |
| 7597 | return gl::UniformMatrix4x2fvContextANGLE(ctx, location, count, transpose, value); |
| 7598 | } |
| 7599 | |
| 7600 | void GL_APIENTRY glUniformMatrix4x3fvContextANGLE(GLeglContext ctx, |
| 7601 | GLint location, |
| 7602 | GLsizei count, |
| 7603 | GLboolean transpose, |
| 7604 | const GLfloat *value) |
| 7605 | { |
| 7606 | return gl::UniformMatrix4x3fvContextANGLE(ctx, location, count, transpose, value); |
| 7607 | } |
| 7608 | |
| 7609 | GLboolean GL_APIENTRY glUnmapBufferContextANGLE(GLeglContext ctx, GLenum target) |
| 7610 | { |
| 7611 | return gl::UnmapBufferContextANGLE(ctx, target); |
| 7612 | } |
| 7613 | |
| 7614 | GLboolean GL_APIENTRY glUnmapBufferOESContextANGLE(GLeglContext ctx, GLenum target) |
| 7615 | { |
| 7616 | return gl::UnmapBufferOESContextANGLE(ctx, target); |
| 7617 | } |
| 7618 | |
| 7619 | void GL_APIENTRY glUseProgramContextANGLE(GLeglContext ctx, GLuint program) |
| 7620 | { |
| 7621 | return gl::UseProgramContextANGLE(ctx, program); |
| 7622 | } |
| 7623 | |
| 7624 | void GL_APIENTRY glUseProgramStagesContextANGLE(GLeglContext ctx, |
| 7625 | GLuint pipeline, |
| 7626 | GLbitfield stages, |
| 7627 | GLuint program) |
| 7628 | { |
| 7629 | return gl::UseProgramStagesContextANGLE(ctx, pipeline, stages, program); |
| 7630 | } |
| 7631 | |
| 7632 | void GL_APIENTRY glValidateProgramContextANGLE(GLeglContext ctx, GLuint program) |
| 7633 | { |
| 7634 | return gl::ValidateProgramContextANGLE(ctx, program); |
| 7635 | } |
| 7636 | |
| 7637 | void GL_APIENTRY glValidateProgramPipelineContextANGLE(GLeglContext ctx, GLuint pipeline) |
| 7638 | { |
| 7639 | return gl::ValidateProgramPipelineContextANGLE(ctx, pipeline); |
| 7640 | } |
| 7641 | |
| 7642 | void GL_APIENTRY glVertexAttrib1fContextANGLE(GLeglContext ctx, GLuint index, GLfloat x) |
| 7643 | { |
| 7644 | return gl::VertexAttrib1fContextANGLE(ctx, index, x); |
| 7645 | } |
| 7646 | |
| 7647 | void GL_APIENTRY glVertexAttrib1fvContextANGLE(GLeglContext ctx, GLuint index, const GLfloat *v) |
| 7648 | { |
| 7649 | return gl::VertexAttrib1fvContextANGLE(ctx, index, v); |
| 7650 | } |
| 7651 | |
| 7652 | void GL_APIENTRY glVertexAttrib2fContextANGLE(GLeglContext ctx, GLuint index, GLfloat x, GLfloat y) |
| 7653 | { |
| 7654 | return gl::VertexAttrib2fContextANGLE(ctx, index, x, y); |
| 7655 | } |
| 7656 | |
| 7657 | void GL_APIENTRY glVertexAttrib2fvContextANGLE(GLeglContext ctx, GLuint index, const GLfloat *v) |
| 7658 | { |
| 7659 | return gl::VertexAttrib2fvContextANGLE(ctx, index, v); |
| 7660 | } |
| 7661 | |
| 7662 | void GL_APIENTRY |
| 7663 | glVertexAttrib3fContextANGLE(GLeglContext ctx, GLuint index, GLfloat x, GLfloat y, GLfloat z) |
| 7664 | { |
| 7665 | return gl::VertexAttrib3fContextANGLE(ctx, index, x, y, z); |
| 7666 | } |
| 7667 | |
| 7668 | void GL_APIENTRY glVertexAttrib3fvContextANGLE(GLeglContext ctx, GLuint index, const GLfloat *v) |
| 7669 | { |
| 7670 | return gl::VertexAttrib3fvContextANGLE(ctx, index, v); |
| 7671 | } |
| 7672 | |
| 7673 | void GL_APIENTRY glVertexAttrib4fContextANGLE(GLeglContext ctx, |
| 7674 | GLuint index, |
| 7675 | GLfloat x, |
| 7676 | GLfloat y, |
| 7677 | GLfloat z, |
| 7678 | GLfloat w) |
| 7679 | { |
| 7680 | return gl::VertexAttrib4fContextANGLE(ctx, index, x, y, z, w); |
| 7681 | } |
| 7682 | |
| 7683 | void GL_APIENTRY glVertexAttrib4fvContextANGLE(GLeglContext ctx, GLuint index, const GLfloat *v) |
| 7684 | { |
| 7685 | return gl::VertexAttrib4fvContextANGLE(ctx, index, v); |
| 7686 | } |
| 7687 | |
| 7688 | void GL_APIENTRY glVertexAttribBindingContextANGLE(GLeglContext ctx, |
| 7689 | GLuint attribindex, |
| 7690 | GLuint bindingindex) |
| 7691 | { |
| 7692 | return gl::VertexAttribBindingContextANGLE(ctx, attribindex, bindingindex); |
| 7693 | } |
| 7694 | |
| 7695 | void GL_APIENTRY glVertexAttribDivisorContextANGLE(GLeglContext ctx, GLuint index, GLuint divisor) |
| 7696 | { |
| 7697 | return gl::VertexAttribDivisorContextANGLE(ctx, index, divisor); |
| 7698 | } |
| 7699 | |
| 7700 | void GL_APIENTRY glVertexAttribDivisorANGLEContextANGLE(GLeglContext ctx, |
| 7701 | GLuint index, |
| 7702 | GLuint divisor) |
| 7703 | { |
| 7704 | return gl::VertexAttribDivisorANGLEContextANGLE(ctx, index, divisor); |
| 7705 | } |
| 7706 | |
| 7707 | void GL_APIENTRY glVertexAttribFormatContextANGLE(GLeglContext ctx, |
| 7708 | GLuint attribindex, |
| 7709 | GLint size, |
| 7710 | GLenum type, |
| 7711 | GLboolean normalized, |
| 7712 | GLuint relativeoffset) |
| 7713 | { |
| 7714 | return gl::VertexAttribFormatContextANGLE(ctx, attribindex, size, type, normalized, |
| 7715 | relativeoffset); |
| 7716 | } |
| 7717 | |
| 7718 | void GL_APIENTRY |
| 7719 | glVertexAttribI4iContextANGLE(GLeglContext ctx, GLuint index, GLint x, GLint y, GLint z, GLint w) |
| 7720 | { |
| 7721 | return gl::VertexAttribI4iContextANGLE(ctx, index, x, y, z, w); |
| 7722 | } |
| 7723 | |
| 7724 | void GL_APIENTRY glVertexAttribI4ivContextANGLE(GLeglContext ctx, GLuint index, const GLint *v) |
| 7725 | { |
| 7726 | return gl::VertexAttribI4ivContextANGLE(ctx, index, v); |
| 7727 | } |
| 7728 | |
| 7729 | void GL_APIENTRY glVertexAttribI4uiContextANGLE(GLeglContext ctx, |
| 7730 | GLuint index, |
| 7731 | GLuint x, |
| 7732 | GLuint y, |
| 7733 | GLuint z, |
| 7734 | GLuint w) |
| 7735 | { |
| 7736 | return gl::VertexAttribI4uiContextANGLE(ctx, index, x, y, z, w); |
| 7737 | } |
| 7738 | |
| 7739 | void GL_APIENTRY glVertexAttribI4uivContextANGLE(GLeglContext ctx, GLuint index, const GLuint *v) |
| 7740 | { |
| 7741 | return gl::VertexAttribI4uivContextANGLE(ctx, index, v); |
| 7742 | } |
| 7743 | |
| 7744 | void GL_APIENTRY glVertexAttribIFormatContextANGLE(GLeglContext ctx, |
| 7745 | GLuint attribindex, |
| 7746 | GLint size, |
| 7747 | GLenum type, |
| 7748 | GLuint relativeoffset) |
| 7749 | { |
| 7750 | return gl::VertexAttribIFormatContextANGLE(ctx, attribindex, size, type, relativeoffset); |
| 7751 | } |
| 7752 | |
| 7753 | void GL_APIENTRY glVertexAttribIPointerContextANGLE(GLeglContext ctx, |
| 7754 | GLuint index, |
| 7755 | GLint size, |
| 7756 | GLenum type, |
| 7757 | GLsizei stride, |
| 7758 | const void *pointer) |
| 7759 | { |
| 7760 | return gl::VertexAttribIPointerContextANGLE(ctx, index, size, type, stride, pointer); |
| 7761 | } |
| 7762 | |
| 7763 | void GL_APIENTRY glVertexAttribPointerContextANGLE(GLeglContext ctx, |
| 7764 | GLuint index, |
| 7765 | GLint size, |
| 7766 | GLenum type, |
| 7767 | GLboolean normalized, |
| 7768 | GLsizei stride, |
| 7769 | const void *pointer) |
| 7770 | { |
| 7771 | return gl::VertexAttribPointerContextANGLE(ctx, index, size, type, normalized, stride, pointer); |
| 7772 | } |
| 7773 | |
| 7774 | void GL_APIENTRY glVertexBindingDivisorContextANGLE(GLeglContext ctx, |
| 7775 | GLuint bindingindex, |
| 7776 | GLuint divisor) |
| 7777 | { |
| 7778 | return gl::VertexBindingDivisorContextANGLE(ctx, bindingindex, divisor); |
| 7779 | } |
| 7780 | |
| 7781 | void GL_APIENTRY glVertexPointerContextANGLE(GLeglContext ctx, |
| 7782 | GLint size, |
| 7783 | GLenum type, |
| 7784 | GLsizei stride, |
| 7785 | const void *pointer) |
| 7786 | { |
| 7787 | return gl::VertexPointerContextANGLE(ctx, size, type, stride, pointer); |
| 7788 | } |
| 7789 | |
| 7790 | void GL_APIENTRY |
| 7791 | glViewportContextANGLE(GLeglContext ctx, GLint x, GLint y, GLsizei width, GLsizei height) |
| 7792 | { |
| 7793 | return gl::ViewportContextANGLE(ctx, x, y, width, height); |
| 7794 | } |
| 7795 | |
| 7796 | void GL_APIENTRY glWaitSyncContextANGLE(GLeglContext ctx, |
| 7797 | GLsync sync, |
| 7798 | GLbitfield flags, |
| 7799 | GLuint64 timeout) |
| 7800 | { |
| 7801 | return gl::WaitSyncContextANGLE(ctx, sync, flags, timeout); |
| 7802 | } |
| 7803 | |
| 7804 | void GL_APIENTRY glWeightPointerOESContextANGLE(GLeglContext ctx, |
| 7805 | GLint size, |
| 7806 | GLenum type, |
| 7807 | GLsizei stride, |
| 7808 | const void *pointer) |
| 7809 | { |
| 7810 | return gl::WeightPointerOESContextANGLE(ctx, size, type, stride, pointer); |
| 7811 | } |
| 7812 | |
| 7813 | void GL_APIENTRY glBindUniformLocationCHROMIUMContextANGLE(GLeglContext ctx, |
| 7814 | GLuint program, |
| 7815 | GLint location, |
| 7816 | const GLchar *name) |
| 7817 | { |
| 7818 | return gl::BindUniformLocationCHROMIUMContextANGLE(ctx, program, location, name); |
| 7819 | } |
| 7820 | |
| 7821 | void GL_APIENTRY glCoverageModulationCHROMIUMContextANGLE(GLeglContext ctx, GLenum components) |
| 7822 | { |
| 7823 | return gl::CoverageModulationCHROMIUMContextANGLE(ctx, components); |
| 7824 | } |
| 7825 | |
| 7826 | void GL_APIENTRY glMatrixLoadfCHROMIUMContextANGLE(GLeglContext ctx, |
| 7827 | GLenum matrixMode, |
| 7828 | const GLfloat *matrix) |
| 7829 | { |
| 7830 | return gl::MatrixLoadfCHROMIUMContextANGLE(ctx, matrixMode, matrix); |
| 7831 | } |
| 7832 | |
| 7833 | void GL_APIENTRY glMatrixLoadIdentityCHROMIUMContextANGLE(GLeglContext ctx, GLenum matrixMode) |
| 7834 | { |
| 7835 | return gl::MatrixLoadIdentityCHROMIUMContextANGLE(ctx, matrixMode); |
| 7836 | } |
| 7837 | |
| 7838 | GLuint GL_APIENTRY glGenPathsCHROMIUMContextANGLE(GLeglContext ctx, GLsizei range) |
| 7839 | { |
| 7840 | return gl::GenPathsCHROMIUMContextANGLE(ctx, range); |
| 7841 | } |
| 7842 | |
| 7843 | void GL_APIENTRY glDeletePathsCHROMIUMContextANGLE(GLeglContext ctx, GLuint first, GLsizei range) |
| 7844 | { |
| 7845 | return gl::DeletePathsCHROMIUMContextANGLE(ctx, first, range); |
| 7846 | } |
| 7847 | |
| 7848 | GLboolean GL_APIENTRY glIsPathCHROMIUMContextANGLE(GLeglContext ctx, GLuint path) |
| 7849 | { |
| 7850 | return gl::IsPathCHROMIUMContextANGLE(ctx, path); |
| 7851 | } |
| 7852 | |
| 7853 | void GL_APIENTRY glPathCommandsCHROMIUMContextANGLE(GLeglContext ctx, |
| 7854 | GLuint path, |
| 7855 | GLsizei numCommands, |
| 7856 | const GLubyte *commands, |
| 7857 | GLsizei numCoords, |
| 7858 | GLenum coordType, |
| 7859 | const void *coords) |
| 7860 | { |
| 7861 | return gl::PathCommandsCHROMIUMContextANGLE(ctx, path, numCommands, commands, numCoords, |
| 7862 | coordType, coords); |
| 7863 | } |
| 7864 | |
| 7865 | void GL_APIENTRY glPathParameterfCHROMIUMContextANGLE(GLeglContext ctx, |
| 7866 | GLuint path, |
| 7867 | GLenum pname, |
| 7868 | GLfloat value) |
| 7869 | { |
| 7870 | return gl::PathParameterfCHROMIUMContextANGLE(ctx, path, pname, value); |
| 7871 | } |
| 7872 | |
| 7873 | void GL_APIENTRY glPathParameteriCHROMIUMContextANGLE(GLeglContext ctx, |
| 7874 | GLuint path, |
| 7875 | GLenum pname, |
| 7876 | GLint value) |
| 7877 | { |
| 7878 | return gl::PathParameteriCHROMIUMContextANGLE(ctx, path, pname, value); |
| 7879 | } |
| 7880 | |
| 7881 | void GL_APIENTRY glGetPathParameterfvCHROMIUMContextANGLE(GLeglContext ctx, |
| 7882 | GLuint path, |
| 7883 | GLenum pname, |
| 7884 | GLfloat *value) |
| 7885 | { |
| 7886 | return gl::GetPathParameterfvCHROMIUMContextANGLE(ctx, path, pname, value); |
| 7887 | } |
| 7888 | |
| 7889 | void GL_APIENTRY glGetPathParameterivCHROMIUMContextANGLE(GLeglContext ctx, |
| 7890 | GLuint path, |
| 7891 | GLenum pname, |
| 7892 | GLint *value) |
| 7893 | { |
| 7894 | return gl::GetPathParameterivCHROMIUMContextANGLE(ctx, path, pname, value); |
| 7895 | } |
| 7896 | |
| 7897 | void GL_APIENTRY glPathStencilFuncCHROMIUMContextANGLE(GLeglContext ctx, |
| 7898 | GLenum func, |
| 7899 | GLint ref, |
| 7900 | GLuint mask) |
| 7901 | { |
| 7902 | return gl::PathStencilFuncCHROMIUMContextANGLE(ctx, func, ref, mask); |
| 7903 | } |
| 7904 | |
| 7905 | void GL_APIENTRY glStencilFillPathCHROMIUMContextANGLE(GLeglContext ctx, |
| 7906 | GLuint path, |
| 7907 | GLenum fillMode, |
| 7908 | GLuint mask) |
| 7909 | { |
| 7910 | return gl::StencilFillPathCHROMIUMContextANGLE(ctx, path, fillMode, mask); |
| 7911 | } |
| 7912 | |
| 7913 | void GL_APIENTRY glStencilStrokePathCHROMIUMContextANGLE(GLeglContext ctx, |
| 7914 | GLuint path, |
| 7915 | GLint reference, |
| 7916 | GLuint mask) |
| 7917 | { |
| 7918 | return gl::StencilStrokePathCHROMIUMContextANGLE(ctx, path, reference, mask); |
| 7919 | } |
| 7920 | |
| 7921 | void GL_APIENTRY glCoverFillPathCHROMIUMContextANGLE(GLeglContext ctx, |
| 7922 | GLuint path, |
| 7923 | GLenum coverMode) |
| 7924 | { |
| 7925 | return gl::CoverFillPathCHROMIUMContextANGLE(ctx, path, coverMode); |
| 7926 | } |
| 7927 | |
| 7928 | void GL_APIENTRY glCoverStrokePathCHROMIUMContextANGLE(GLeglContext ctx, |
| 7929 | GLuint path, |
| 7930 | GLenum coverMode) |
| 7931 | { |
| 7932 | return gl::CoverStrokePathCHROMIUMContextANGLE(ctx, path, coverMode); |
| 7933 | } |
| 7934 | |
| 7935 | void GL_APIENTRY glStencilThenCoverFillPathCHROMIUMContextANGLE(GLeglContext ctx, |
| 7936 | GLuint path, |
| 7937 | GLenum fillMode, |
| 7938 | GLuint mask, |
| 7939 | GLenum coverMode) |
| 7940 | { |
| 7941 | return gl::StencilThenCoverFillPathCHROMIUMContextANGLE(ctx, path, fillMode, mask, coverMode); |
| 7942 | } |
| 7943 | |
| 7944 | void GL_APIENTRY glStencilThenCoverStrokePathCHROMIUMContextANGLE(GLeglContext ctx, |
| 7945 | GLuint path, |
| 7946 | GLint reference, |
| 7947 | GLuint mask, |
| 7948 | GLenum coverMode) |
| 7949 | { |
| 7950 | return gl::StencilThenCoverStrokePathCHROMIUMContextANGLE(ctx, path, reference, mask, |
| 7951 | coverMode); |
| 7952 | } |
| 7953 | |
| 7954 | void GL_APIENTRY glCoverFillPathInstancedCHROMIUMContextANGLE(GLeglContext ctx, |
| 7955 | GLsizei numPath, |
| 7956 | GLenum pathNameType, |
| 7957 | const void *paths, |
| 7958 | GLuint pathBase, |
| 7959 | GLenum coverMode, |
| 7960 | GLenum transformType, |
| 7961 | const GLfloat *transformValues) |
| 7962 | { |
| 7963 | return gl::CoverFillPathInstancedCHROMIUMContextANGLE( |
| 7964 | ctx, numPath, pathNameType, paths, pathBase, coverMode, transformType, transformValues); |
| 7965 | } |
| 7966 | |
| 7967 | void GL_APIENTRY glCoverStrokePathInstancedCHROMIUMContextANGLE(GLeglContext ctx, |
| 7968 | GLsizei numPath, |
| 7969 | GLenum pathNameType, |
| 7970 | const void *paths, |
| 7971 | GLuint pathBase, |
| 7972 | GLenum coverMode, |
| 7973 | GLenum transformType, |
| 7974 | const GLfloat *transformValues) |
| 7975 | { |
| 7976 | return gl::CoverStrokePathInstancedCHROMIUMContextANGLE( |
| 7977 | ctx, numPath, pathNameType, paths, pathBase, coverMode, transformType, transformValues); |
| 7978 | } |
| 7979 | |
| 7980 | void GL_APIENTRY glStencilStrokePathInstancedCHROMIUMContextANGLE(GLeglContext ctx, |
| 7981 | GLsizei numPath, |
| 7982 | GLenum pathNameType, |
| 7983 | const void *paths, |
| 7984 | GLuint pathBase, |
| 7985 | GLint reference, |
| 7986 | GLuint mask, |
| 7987 | GLenum transformType, |
| 7988 | const GLfloat *transformValues) |
| 7989 | { |
| 7990 | return gl::StencilStrokePathInstancedCHROMIUMContextANGLE(ctx, numPath, pathNameType, paths, |
| 7991 | pathBase, reference, mask, |
| 7992 | transformType, transformValues); |
| 7993 | } |
| 7994 | |
| 7995 | void GL_APIENTRY glStencilFillPathInstancedCHROMIUMContextANGLE(GLeglContext ctx, |
| 7996 | GLsizei numPaths, |
| 7997 | GLenum pathNameType, |
| 7998 | const void *paths, |
| 7999 | GLuint pathBase, |
| 8000 | GLenum fillMode, |
| 8001 | GLuint mask, |
| 8002 | GLenum transformType, |
| 8003 | const GLfloat *transformValues) |
| 8004 | { |
| 8005 | return gl::StencilFillPathInstancedCHROMIUMContextANGLE(ctx, numPaths, pathNameType, paths, |
| 8006 | pathBase, fillMode, mask, transformType, |
| 8007 | transformValues); |
| 8008 | } |
| 8009 | |
| 8010 | void GL_APIENTRY |
| 8011 | glStencilThenCoverFillPathInstancedCHROMIUMContextANGLE(GLeglContext ctx, |
| 8012 | GLsizei numPaths, |
| 8013 | GLenum pathNameType, |
| 8014 | const void *paths, |
| 8015 | GLuint pathBase, |
| 8016 | GLenum fillMode, |
| 8017 | GLuint mask, |
| 8018 | GLenum coverMode, |
| 8019 | GLenum transformType, |
| 8020 | const GLfloat *transformValues) |
| 8021 | { |
| 8022 | return gl::StencilThenCoverFillPathInstancedCHROMIUMContextANGLE( |
| 8023 | ctx, numPaths, pathNameType, paths, pathBase, fillMode, mask, coverMode, transformType, |
| 8024 | transformValues); |
| 8025 | } |
| 8026 | |
| 8027 | void GL_APIENTRY |
| 8028 | glStencilThenCoverStrokePathInstancedCHROMIUMContextANGLE(GLeglContext ctx, |
| 8029 | GLsizei numPaths, |
| 8030 | GLenum pathNameType, |
| 8031 | const void *paths, |
| 8032 | GLuint pathBase, |
| 8033 | GLint reference, |
| 8034 | GLuint mask, |
| 8035 | GLenum coverMode, |
| 8036 | GLenum transformType, |
| 8037 | const GLfloat *transformValues) |
| 8038 | { |
| 8039 | return gl::StencilThenCoverStrokePathInstancedCHROMIUMContextANGLE( |
| 8040 | ctx, numPaths, pathNameType, paths, pathBase, reference, mask, coverMode, transformType, |
| 8041 | transformValues); |
| 8042 | } |
| 8043 | |
| 8044 | void GL_APIENTRY glBindFragmentInputLocationCHROMIUMContextANGLE(GLeglContext ctx, |
| 8045 | GLuint programs, |
| 8046 | GLint location, |
| 8047 | const GLchar *name) |
| 8048 | { |
| 8049 | return gl::BindFragmentInputLocationCHROMIUMContextANGLE(ctx, programs, location, name); |
| 8050 | } |
| 8051 | |
| 8052 | void GL_APIENTRY glProgramPathFragmentInputGenCHROMIUMContextANGLE(GLeglContext ctx, |
| 8053 | GLuint program, |
| 8054 | GLint location, |
| 8055 | GLenum genMode, |
| 8056 | GLint components, |
| 8057 | const GLfloat *coeffs) |
| 8058 | { |
| 8059 | return gl::ProgramPathFragmentInputGenCHROMIUMContextANGLE(ctx, program, location, genMode, |
| 8060 | components, coeffs); |
| 8061 | } |
| 8062 | |
| 8063 | void GL_APIENTRY glCopyTextureCHROMIUMContextANGLE(GLeglContext ctx, |
| 8064 | GLuint sourceId, |
| 8065 | GLint sourceLevel, |
| 8066 | GLenum destTarget, |
| 8067 | GLuint destId, |
| 8068 | GLint destLevel, |
| 8069 | GLint internalFormat, |
| 8070 | GLenum destType, |
| 8071 | GLboolean unpackFlipY, |
| 8072 | GLboolean unpackPremultiplyAlpha, |
| 8073 | GLboolean unpackUnmultiplyAlpha) |
| 8074 | { |
| 8075 | return gl::CopyTextureCHROMIUMContextANGLE(ctx, sourceId, sourceLevel, destTarget, destId, |
| 8076 | destLevel, internalFormat, destType, unpackFlipY, |
| 8077 | unpackPremultiplyAlpha, unpackUnmultiplyAlpha); |
| 8078 | } |
| 8079 | |
| 8080 | void GL_APIENTRY glCopySubTextureCHROMIUMContextANGLE(GLeglContext ctx, |
| 8081 | GLuint sourceId, |
| 8082 | GLint sourceLevel, |
| 8083 | GLenum destTarget, |
| 8084 | GLuint destId, |
| 8085 | GLint destLevel, |
| 8086 | GLint xoffset, |
| 8087 | GLint yoffset, |
| 8088 | GLint x, |
| 8089 | GLint y, |
| 8090 | GLint width, |
| 8091 | GLint height, |
| 8092 | GLboolean unpackFlipY, |
| 8093 | GLboolean unpackPremultiplyAlpha, |
| 8094 | GLboolean unpackUnmultiplyAlpha) |
| 8095 | { |
| 8096 | return gl::CopySubTextureCHROMIUMContextANGLE( |
| 8097 | ctx, sourceId, sourceLevel, destTarget, destId, destLevel, xoffset, yoffset, x, y, width, |
| 8098 | height, unpackFlipY, unpackPremultiplyAlpha, unpackUnmultiplyAlpha); |
| 8099 | } |
| 8100 | |
| 8101 | void GL_APIENTRY glCompressedCopyTextureCHROMIUMContextANGLE(GLeglContext ctx, |
| 8102 | GLuint sourceId, |
| 8103 | GLuint destId) |
| 8104 | { |
| 8105 | return gl::CompressedCopyTextureCHROMIUMContextANGLE(ctx, sourceId, destId); |
| 8106 | } |
| 8107 | |
| 8108 | void GL_APIENTRY glRequestExtensionANGLEContextANGLE(GLeglContext ctx, const GLchar *name) |
| 8109 | { |
| 8110 | return gl::RequestExtensionANGLEContextANGLE(ctx, name); |
| 8111 | } |
| 8112 | |
| 8113 | void GL_APIENTRY glGetBooleanvRobustANGLEContextANGLE(GLeglContext ctx, |
| 8114 | GLenum pname, |
| 8115 | GLsizei bufSize, |
| 8116 | GLsizei *length, |
| 8117 | GLboolean *params) |
| 8118 | { |
| 8119 | return gl::GetBooleanvRobustANGLEContextANGLE(ctx, pname, bufSize, length, params); |
| 8120 | } |
| 8121 | |
| 8122 | void GL_APIENTRY glGetBufferParameterivRobustANGLEContextANGLE(GLeglContext ctx, |
| 8123 | GLenum target, |
| 8124 | GLenum pname, |
| 8125 | GLsizei bufSize, |
| 8126 | GLsizei *length, |
| 8127 | GLint *params) |
| 8128 | { |
| 8129 | return gl::GetBufferParameterivRobustANGLEContextANGLE(ctx, target, pname, bufSize, length, |
| 8130 | params); |
| 8131 | } |
| 8132 | |
| 8133 | void GL_APIENTRY glGetFloatvRobustANGLEContextANGLE(GLeglContext ctx, |
| 8134 | GLenum pname, |
| 8135 | GLsizei bufSize, |
| 8136 | GLsizei *length, |
| 8137 | GLfloat *params) |
| 8138 | { |
| 8139 | return gl::GetFloatvRobustANGLEContextANGLE(ctx, pname, bufSize, length, params); |
| 8140 | } |
| 8141 | |
| 8142 | void GL_APIENTRY glGetFramebufferAttachmentParameterivRobustANGLEContextANGLE(GLeglContext ctx, |
| 8143 | GLenum target, |
| 8144 | GLenum attachment, |
| 8145 | GLenum pname, |
| 8146 | GLsizei bufSize, |
| 8147 | GLsizei *length, |
| 8148 | GLint *params) |
| 8149 | { |
| 8150 | return gl::GetFramebufferAttachmentParameterivRobustANGLEContextANGLE( |
| 8151 | ctx, target, attachment, pname, bufSize, length, params); |
| 8152 | } |
| 8153 | |
| 8154 | void GL_APIENTRY glGetIntegervRobustANGLEContextANGLE(GLeglContext ctx, |
| 8155 | GLenum pname, |
| 8156 | GLsizei bufSize, |
| 8157 | GLsizei *length, |
| 8158 | GLint *data) |
| 8159 | { |
| 8160 | return gl::GetIntegervRobustANGLEContextANGLE(ctx, pname, bufSize, length, data); |
| 8161 | } |
| 8162 | |
| 8163 | void GL_APIENTRY glGetProgramivRobustANGLEContextANGLE(GLeglContext ctx, |
| 8164 | GLuint program, |
| 8165 | GLenum pname, |
| 8166 | GLsizei bufSize, |
| 8167 | GLsizei *length, |
| 8168 | GLint *params) |
| 8169 | { |
| 8170 | return gl::GetProgramivRobustANGLEContextANGLE(ctx, program, pname, bufSize, length, params); |
| 8171 | } |
| 8172 | |
| 8173 | void GL_APIENTRY glGetRenderbufferParameterivRobustANGLEContextANGLE(GLeglContext ctx, |
| 8174 | GLenum target, |
| 8175 | GLenum pname, |
| 8176 | GLsizei bufSize, |
| 8177 | GLsizei *length, |
| 8178 | GLint *params) |
| 8179 | { |
| 8180 | return gl::GetRenderbufferParameterivRobustANGLEContextANGLE(ctx, target, pname, bufSize, |
| 8181 | length, params); |
| 8182 | } |
| 8183 | |
| 8184 | void GL_APIENTRY glGetShaderivRobustANGLEContextANGLE(GLeglContext ctx, |
| 8185 | GLuint shader, |
| 8186 | GLenum pname, |
| 8187 | GLsizei bufSize, |
| 8188 | GLsizei *length, |
| 8189 | GLint *params) |
| 8190 | { |
| 8191 | return gl::GetShaderivRobustANGLEContextANGLE(ctx, shader, pname, bufSize, length, params); |
| 8192 | } |
| 8193 | |
| 8194 | void GL_APIENTRY glGetTexParameterfvRobustANGLEContextANGLE(GLeglContext ctx, |
| 8195 | GLenum target, |
| 8196 | GLenum pname, |
| 8197 | GLsizei bufSize, |
| 8198 | GLsizei *length, |
| 8199 | GLfloat *params) |
| 8200 | { |
| 8201 | return gl::GetTexParameterfvRobustANGLEContextANGLE(ctx, target, pname, bufSize, length, |
| 8202 | params); |
| 8203 | } |
| 8204 | |
| 8205 | void GL_APIENTRY glGetTexParameterivRobustANGLEContextANGLE(GLeglContext ctx, |
| 8206 | GLenum target, |
| 8207 | GLenum pname, |
| 8208 | GLsizei bufSize, |
| 8209 | GLsizei *length, |
| 8210 | GLint *params) |
| 8211 | { |
| 8212 | return gl::GetTexParameterivRobustANGLEContextANGLE(ctx, target, pname, bufSize, length, |
| 8213 | params); |
| 8214 | } |
| 8215 | |
| 8216 | void GL_APIENTRY glGetUniformfvRobustANGLEContextANGLE(GLeglContext ctx, |
| 8217 | GLuint program, |
| 8218 | GLint location, |
| 8219 | GLsizei bufSize, |
| 8220 | GLsizei *length, |
| 8221 | GLfloat *params) |
| 8222 | { |
| 8223 | return gl::GetUniformfvRobustANGLEContextANGLE(ctx, program, location, bufSize, length, params); |
| 8224 | } |
| 8225 | |
| 8226 | void GL_APIENTRY glGetUniformivRobustANGLEContextANGLE(GLeglContext ctx, |
| 8227 | GLuint program, |
| 8228 | GLint location, |
| 8229 | GLsizei bufSize, |
| 8230 | GLsizei *length, |
| 8231 | GLint *params) |
| 8232 | { |
| 8233 | return gl::GetUniformivRobustANGLEContextANGLE(ctx, program, location, bufSize, length, params); |
| 8234 | } |
| 8235 | |
| 8236 | void GL_APIENTRY glGetVertexAttribfvRobustANGLEContextANGLE(GLeglContext ctx, |
| 8237 | GLuint index, |
| 8238 | GLenum pname, |
| 8239 | GLsizei bufSize, |
| 8240 | GLsizei *length, |
| 8241 | GLfloat *params) |
| 8242 | { |
| 8243 | return gl::GetVertexAttribfvRobustANGLEContextANGLE(ctx, index, pname, bufSize, length, params); |
| 8244 | } |
| 8245 | |
| 8246 | void GL_APIENTRY glGetVertexAttribivRobustANGLEContextANGLE(GLeglContext ctx, |
| 8247 | GLuint index, |
| 8248 | GLenum pname, |
| 8249 | GLsizei bufSize, |
| 8250 | GLsizei *length, |
| 8251 | GLint *params) |
| 8252 | { |
| 8253 | return gl::GetVertexAttribivRobustANGLEContextANGLE(ctx, index, pname, bufSize, length, params); |
| 8254 | } |
| 8255 | |
| 8256 | void GL_APIENTRY glGetVertexAttribPointervRobustANGLEContextANGLE(GLeglContext ctx, |
| 8257 | GLuint index, |
| 8258 | GLenum pname, |
| 8259 | GLsizei bufSize, |
| 8260 | GLsizei *length, |
| 8261 | void **pointer) |
| 8262 | { |
| 8263 | return gl::GetVertexAttribPointervRobustANGLEContextANGLE(ctx, index, pname, bufSize, length, |
| 8264 | pointer); |
| 8265 | } |
| 8266 | |
| 8267 | void GL_APIENTRY glReadPixelsRobustANGLEContextANGLE(GLeglContext ctx, |
| 8268 | GLint x, |
| 8269 | GLint y, |
| 8270 | GLsizei width, |
| 8271 | GLsizei height, |
| 8272 | GLenum format, |
| 8273 | GLenum type, |
| 8274 | GLsizei bufSize, |
| 8275 | GLsizei *length, |
| 8276 | GLsizei *columns, |
| 8277 | GLsizei *rows, |
| 8278 | void *pixels) |
| 8279 | { |
| 8280 | return gl::ReadPixelsRobustANGLEContextANGLE(ctx, x, y, width, height, format, type, bufSize, |
| 8281 | length, columns, rows, pixels); |
| 8282 | } |
| 8283 | |
| 8284 | void GL_APIENTRY glTexImage2DRobustANGLEContextANGLE(GLeglContext ctx, |
| 8285 | GLenum target, |
| 8286 | GLint level, |
| 8287 | GLint internalformat, |
| 8288 | GLsizei width, |
| 8289 | GLsizei height, |
| 8290 | GLint border, |
| 8291 | GLenum format, |
| 8292 | GLenum type, |
| 8293 | GLsizei bufSize, |
| 8294 | const void *pixels) |
| 8295 | { |
| 8296 | return gl::TexImage2DRobustANGLEContextANGLE(ctx, target, level, internalformat, width, height, |
| 8297 | border, format, type, bufSize, pixels); |
| 8298 | } |
| 8299 | |
| 8300 | void GL_APIENTRY glTexParameterfvRobustANGLEContextANGLE(GLeglContext ctx, |
| 8301 | GLenum target, |
| 8302 | GLenum pname, |
| 8303 | GLsizei bufSize, |
| 8304 | const GLfloat *params) |
| 8305 | { |
| 8306 | return gl::TexParameterfvRobustANGLEContextANGLE(ctx, target, pname, bufSize, params); |
| 8307 | } |
| 8308 | |
| 8309 | void GL_APIENTRY glTexParameterivRobustANGLEContextANGLE(GLeglContext ctx, |
| 8310 | GLenum target, |
| 8311 | GLenum pname, |
| 8312 | GLsizei bufSize, |
| 8313 | const GLint *params) |
| 8314 | { |
| 8315 | return gl::TexParameterivRobustANGLEContextANGLE(ctx, target, pname, bufSize, params); |
| 8316 | } |
| 8317 | |
| 8318 | void GL_APIENTRY glTexSubImage2DRobustANGLEContextANGLE(GLeglContext ctx, |
| 8319 | GLenum target, |
| 8320 | GLint level, |
| 8321 | GLint xoffset, |
| 8322 | GLint yoffset, |
| 8323 | GLsizei width, |
| 8324 | GLsizei height, |
| 8325 | GLenum format, |
| 8326 | GLenum type, |
| 8327 | GLsizei bufSize, |
| 8328 | const void *pixels) |
| 8329 | { |
| 8330 | return gl::TexSubImage2DRobustANGLEContextANGLE(ctx, target, level, xoffset, yoffset, width, |
| 8331 | height, format, type, bufSize, pixels); |
| 8332 | } |
| 8333 | |
| 8334 | void GL_APIENTRY glTexImage3DRobustANGLEContextANGLE(GLeglContext ctx, |
| 8335 | GLenum target, |
| 8336 | GLint level, |
| 8337 | GLint internalformat, |
| 8338 | GLsizei width, |
| 8339 | GLsizei height, |
| 8340 | GLsizei depth, |
| 8341 | GLint border, |
| 8342 | GLenum format, |
| 8343 | GLenum type, |
| 8344 | GLsizei bufSize, |
| 8345 | const void *pixels) |
| 8346 | { |
| 8347 | return gl::TexImage3DRobustANGLEContextANGLE(ctx, target, level, internalformat, width, height, |
| 8348 | depth, border, format, type, bufSize, pixels); |
| 8349 | } |
| 8350 | |
| 8351 | void GL_APIENTRY glTexSubImage3DRobustANGLEContextANGLE(GLeglContext ctx, |
| 8352 | GLenum target, |
| 8353 | GLint level, |
| 8354 | GLint xoffset, |
| 8355 | GLint yoffset, |
| 8356 | GLint zoffset, |
| 8357 | GLsizei width, |
| 8358 | GLsizei height, |
| 8359 | GLsizei depth, |
| 8360 | GLenum format, |
| 8361 | GLenum type, |
| 8362 | GLsizei bufSize, |
| 8363 | const void *pixels) |
| 8364 | { |
| 8365 | return gl::TexSubImage3DRobustANGLEContextANGLE(ctx, target, level, xoffset, yoffset, zoffset, |
| 8366 | width, height, depth, format, type, bufSize, |
| 8367 | pixels); |
| 8368 | } |
| 8369 | |
| 8370 | void GL_APIENTRY glCompressedTexImage2DRobustANGLEContextANGLE(GLeglContext ctx, |
| 8371 | GLenum target, |
| 8372 | GLint level, |
| 8373 | GLenum internalformat, |
| 8374 | GLsizei width, |
| 8375 | GLsizei height, |
| 8376 | GLint border, |
| 8377 | GLsizei imageSize, |
| 8378 | GLsizei dataSize, |
| 8379 | const GLvoid *data) |
| 8380 | { |
| 8381 | return gl::CompressedTexImage2DRobustANGLEContextANGLE( |
| 8382 | ctx, target, level, internalformat, width, height, border, imageSize, dataSize, data); |
| 8383 | } |
| 8384 | |
| 8385 | void GL_APIENTRY glCompressedTexSubImage2DRobustANGLEContextANGLE(GLeglContext ctx, |
| 8386 | GLenum target, |
| 8387 | GLint level, |
| 8388 | GLsizei xoffset, |
| 8389 | GLsizei yoffset, |
| 8390 | GLsizei width, |
| 8391 | GLsizei height, |
| 8392 | GLenum format, |
| 8393 | GLsizei imageSize, |
| 8394 | GLsizei dataSize, |
| 8395 | const GLvoid *data) |
| 8396 | { |
| 8397 | return gl::CompressedTexSubImage2DRobustANGLEContextANGLE( |
| 8398 | ctx, target, level, xoffset, yoffset, width, height, format, imageSize, dataSize, data); |
| 8399 | } |
| 8400 | |
| 8401 | void GL_APIENTRY glCompressedTexImage3DRobustANGLEContextANGLE(GLeglContext ctx, |
| 8402 | GLenum target, |
| 8403 | GLint level, |
| 8404 | GLenum internalformat, |
| 8405 | GLsizei width, |
| 8406 | GLsizei height, |
| 8407 | GLsizei depth, |
| 8408 | GLint border, |
| 8409 | GLsizei imageSize, |
| 8410 | GLsizei dataSize, |
| 8411 | const GLvoid *data) |
| 8412 | { |
| 8413 | return gl::CompressedTexImage3DRobustANGLEContextANGLE(ctx, target, level, internalformat, |
| 8414 | width, height, depth, border, imageSize, |
| 8415 | dataSize, data); |
| 8416 | } |
| 8417 | |
| 8418 | void GL_APIENTRY glCompressedTexSubImage3DRobustANGLEContextANGLE(GLeglContext ctx, |
| 8419 | GLenum target, |
| 8420 | GLint level, |
| 8421 | GLint xoffset, |
| 8422 | GLint yoffset, |
| 8423 | GLint zoffset, |
| 8424 | GLsizei width, |
| 8425 | GLsizei height, |
| 8426 | GLsizei depth, |
| 8427 | GLenum format, |
| 8428 | GLsizei imageSize, |
| 8429 | GLsizei dataSize, |
| 8430 | const GLvoid *data) |
| 8431 | { |
| 8432 | return gl::CompressedTexSubImage3DRobustANGLEContextANGLE(ctx, target, level, xoffset, yoffset, |
| 8433 | zoffset, width, height, depth, format, |
| 8434 | imageSize, dataSize, data); |
| 8435 | } |
| 8436 | |
| 8437 | void GL_APIENTRY glGetQueryivRobustANGLEContextANGLE(GLeglContext ctx, |
| 8438 | GLenum target, |
| 8439 | GLenum pname, |
| 8440 | GLsizei bufSize, |
| 8441 | GLsizei *length, |
| 8442 | GLint *params) |
| 8443 | { |
| 8444 | return gl::GetQueryivRobustANGLEContextANGLE(ctx, target, pname, bufSize, length, params); |
| 8445 | } |
| 8446 | |
| 8447 | void GL_APIENTRY glGetQueryObjectuivRobustANGLEContextANGLE(GLeglContext ctx, |
| 8448 | GLuint id, |
| 8449 | GLenum pname, |
| 8450 | GLsizei bufSize, |
| 8451 | GLsizei *length, |
| 8452 | GLuint *params) |
| 8453 | { |
| 8454 | return gl::GetQueryObjectuivRobustANGLEContextANGLE(ctx, id, pname, bufSize, length, params); |
| 8455 | } |
| 8456 | |
| 8457 | void GL_APIENTRY glGetBufferPointervRobustANGLEContextANGLE(GLeglContext ctx, |
| 8458 | GLenum target, |
| 8459 | GLenum pname, |
| 8460 | GLsizei bufSize, |
| 8461 | GLsizei *length, |
| 8462 | void **params) |
| 8463 | { |
| 8464 | return gl::GetBufferPointervRobustANGLEContextANGLE(ctx, target, pname, bufSize, length, |
| 8465 | params); |
| 8466 | } |
| 8467 | |
| 8468 | void GL_APIENTRY glGetIntegeri_vRobustANGLEContextANGLE(GLeglContext ctx, |
| 8469 | GLenum target, |
| 8470 | GLuint index, |
| 8471 | GLsizei bufSize, |
| 8472 | GLsizei *length, |
| 8473 | GLint *data) |
| 8474 | { |
| 8475 | return gl::GetIntegeri_vRobustANGLEContextANGLE(ctx, target, index, bufSize, length, data); |
| 8476 | } |
| 8477 | |
| 8478 | void GL_APIENTRY glGetInternalformativRobustANGLEContextANGLE(GLeglContext ctx, |
| 8479 | GLenum target, |
| 8480 | GLenum internalformat, |
| 8481 | GLenum pname, |
| 8482 | GLsizei bufSize, |
| 8483 | GLsizei *length, |
| 8484 | GLint *params) |
| 8485 | { |
| 8486 | return gl::GetInternalformativRobustANGLEContextANGLE(ctx, target, internalformat, pname, |
| 8487 | bufSize, length, params); |
| 8488 | } |
| 8489 | |
| 8490 | void GL_APIENTRY glGetVertexAttribIivRobustANGLEContextANGLE(GLeglContext ctx, |
| 8491 | GLuint index, |
| 8492 | GLenum pname, |
| 8493 | GLsizei bufSize, |
| 8494 | GLsizei *length, |
| 8495 | GLint *params) |
| 8496 | { |
| 8497 | return gl::GetVertexAttribIivRobustANGLEContextANGLE(ctx, index, pname, bufSize, length, |
| 8498 | params); |
| 8499 | } |
| 8500 | |
| 8501 | void GL_APIENTRY glGetVertexAttribIuivRobustANGLEContextANGLE(GLeglContext ctx, |
| 8502 | GLuint index, |
| 8503 | GLenum pname, |
| 8504 | GLsizei bufSize, |
| 8505 | GLsizei *length, |
| 8506 | GLuint *params) |
| 8507 | { |
| 8508 | return gl::GetVertexAttribIuivRobustANGLEContextANGLE(ctx, index, pname, bufSize, length, |
| 8509 | params); |
| 8510 | } |
| 8511 | |
| 8512 | void GL_APIENTRY glGetUniformuivRobustANGLEContextANGLE(GLeglContext ctx, |
| 8513 | GLuint program, |
| 8514 | GLint location, |
| 8515 | GLsizei bufSize, |
| 8516 | GLsizei *length, |
| 8517 | GLuint *params) |
| 8518 | { |
| 8519 | return gl::GetUniformuivRobustANGLEContextANGLE(ctx, program, location, bufSize, length, |
| 8520 | params); |
| 8521 | } |
| 8522 | |
| 8523 | void GL_APIENTRY glGetActiveUniformBlockivRobustANGLEContextANGLE(GLeglContext ctx, |
| 8524 | GLuint program, |
| 8525 | GLuint uniformBlockIndex, |
| 8526 | GLenum pname, |
| 8527 | GLsizei bufSize, |
| 8528 | GLsizei *length, |
| 8529 | GLint *params) |
| 8530 | { |
| 8531 | return gl::GetActiveUniformBlockivRobustANGLEContextANGLE(ctx, program, uniformBlockIndex, |
| 8532 | pname, bufSize, length, params); |
| 8533 | } |
| 8534 | |
| 8535 | void GL_APIENTRY glGetInteger64vRobustANGLEContextANGLE(GLeglContext ctx, |
| 8536 | GLenum pname, |
| 8537 | GLsizei bufSize, |
| 8538 | GLsizei *length, |
| 8539 | GLint64 *data) |
| 8540 | { |
| 8541 | return gl::GetInteger64vRobustANGLEContextANGLE(ctx, pname, bufSize, length, data); |
| 8542 | } |
| 8543 | |
| 8544 | void GL_APIENTRY glGetInteger64i_vRobustANGLEContextANGLE(GLeglContext ctx, |
| 8545 | GLenum target, |
| 8546 | GLuint index, |
| 8547 | GLsizei bufSize, |
| 8548 | GLsizei *length, |
| 8549 | GLint64 *data) |
| 8550 | { |
| 8551 | return gl::GetInteger64i_vRobustANGLEContextANGLE(ctx, target, index, bufSize, length, data); |
| 8552 | } |
| 8553 | |
| 8554 | void GL_APIENTRY glGetBufferParameteri64vRobustANGLEContextANGLE(GLeglContext ctx, |
| 8555 | GLenum target, |
| 8556 | GLenum pname, |
| 8557 | GLsizei bufSize, |
| 8558 | GLsizei *length, |
| 8559 | GLint64 *params) |
| 8560 | { |
| 8561 | return gl::GetBufferParameteri64vRobustANGLEContextANGLE(ctx, target, pname, bufSize, length, |
| 8562 | params); |
| 8563 | } |
| 8564 | |
| 8565 | void GL_APIENTRY glSamplerParameterivRobustANGLEContextANGLE(GLeglContext ctx, |
| 8566 | GLuint sampler, |
| 8567 | GLuint pname, |
| 8568 | GLsizei bufSize, |
| 8569 | const GLint *param) |
| 8570 | { |
| 8571 | return gl::SamplerParameterivRobustANGLEContextANGLE(ctx, sampler, pname, bufSize, param); |
| 8572 | } |
| 8573 | |
| 8574 | void GL_APIENTRY glSamplerParameterfvRobustANGLEContextANGLE(GLeglContext ctx, |
| 8575 | GLuint sampler, |
| 8576 | GLenum pname, |
| 8577 | GLsizei bufSize, |
| 8578 | const GLfloat *param) |
| 8579 | { |
| 8580 | return gl::SamplerParameterfvRobustANGLEContextANGLE(ctx, sampler, pname, bufSize, param); |
| 8581 | } |
| 8582 | |
| 8583 | void GL_APIENTRY glGetSamplerParameterivRobustANGLEContextANGLE(GLeglContext ctx, |
| 8584 | GLuint sampler, |
| 8585 | GLenum pname, |
| 8586 | GLsizei bufSize, |
| 8587 | GLsizei *length, |
| 8588 | GLint *params) |
| 8589 | { |
| 8590 | return gl::GetSamplerParameterivRobustANGLEContextANGLE(ctx, sampler, pname, bufSize, length, |
| 8591 | params); |
| 8592 | } |
| 8593 | |
| 8594 | void GL_APIENTRY glGetSamplerParameterfvRobustANGLEContextANGLE(GLeglContext ctx, |
| 8595 | GLuint sampler, |
| 8596 | GLenum pname, |
| 8597 | GLsizei bufSize, |
| 8598 | GLsizei *length, |
| 8599 | GLfloat *params) |
| 8600 | { |
| 8601 | return gl::GetSamplerParameterfvRobustANGLEContextANGLE(ctx, sampler, pname, bufSize, length, |
| 8602 | params); |
| 8603 | } |
| 8604 | |
| 8605 | void GL_APIENTRY glGetFramebufferParameterivRobustANGLEContextANGLE(GLeglContext ctx, |
| 8606 | GLuint sampler, |
| 8607 | GLenum pname, |
| 8608 | GLsizei bufSize, |
| 8609 | GLsizei *length, |
| 8610 | GLint *params) |
| 8611 | { |
| 8612 | return gl::GetFramebufferParameterivRobustANGLEContextANGLE(ctx, sampler, pname, bufSize, |
| 8613 | length, params); |
| 8614 | } |
| 8615 | |
| 8616 | void GL_APIENTRY glGetProgramInterfaceivRobustANGLEContextANGLE(GLeglContext ctx, |
| 8617 | GLuint program, |
| 8618 | GLenum programInterface, |
| 8619 | GLenum pname, |
| 8620 | GLsizei bufSize, |
| 8621 | GLsizei *length, |
| 8622 | GLint *params) |
| 8623 | { |
| 8624 | return gl::GetProgramInterfaceivRobustANGLEContextANGLE(ctx, program, programInterface, pname, |
| 8625 | bufSize, length, params); |
| 8626 | } |
| 8627 | |
| 8628 | void GL_APIENTRY glGetBooleani_vRobustANGLEContextANGLE(GLeglContext ctx, |
| 8629 | GLenum target, |
| 8630 | GLuint index, |
| 8631 | GLsizei bufSize, |
| 8632 | GLsizei *length, |
| 8633 | GLboolean *data) |
| 8634 | { |
| 8635 | return gl::GetBooleani_vRobustANGLEContextANGLE(ctx, target, index, bufSize, length, data); |
| 8636 | } |
| 8637 | |
| 8638 | void GL_APIENTRY glGetMultisamplefvRobustANGLEContextANGLE(GLeglContext ctx, |
| 8639 | GLenum pname, |
| 8640 | GLuint index, |
| 8641 | GLsizei bufSize, |
| 8642 | GLsizei *length, |
| 8643 | GLfloat *val) |
| 8644 | { |
| 8645 | return gl::GetMultisamplefvRobustANGLEContextANGLE(ctx, pname, index, bufSize, length, val); |
| 8646 | } |
| 8647 | |
| 8648 | void GL_APIENTRY glGetTexLevelParameterivRobustANGLEContextANGLE(GLeglContext ctx, |
| 8649 | GLenum target, |
| 8650 | GLint level, |
| 8651 | GLenum pname, |
| 8652 | GLsizei bufSize, |
| 8653 | GLsizei *length, |
| 8654 | GLint *params) |
| 8655 | { |
| 8656 | return gl::GetTexLevelParameterivRobustANGLEContextANGLE(ctx, target, level, pname, bufSize, |
| 8657 | length, params); |
| 8658 | } |
| 8659 | |
| 8660 | void GL_APIENTRY glGetTexLevelParameterfvRobustANGLEContextANGLE(GLeglContext ctx, |
| 8661 | GLenum target, |
| 8662 | GLint level, |
| 8663 | GLenum pname, |
| 8664 | GLsizei bufSize, |
| 8665 | GLsizei *length, |
| 8666 | GLfloat *params) |
| 8667 | { |
| 8668 | return gl::GetTexLevelParameterfvRobustANGLEContextANGLE(ctx, target, level, pname, bufSize, |
| 8669 | length, params); |
| 8670 | } |
| 8671 | |
| 8672 | void GL_APIENTRY glGetPointervRobustANGLERobustANGLEContextANGLE(GLeglContext ctx, |
| 8673 | GLenum pname, |
| 8674 | GLsizei bufSize, |
| 8675 | GLsizei *length, |
| 8676 | void **params) |
| 8677 | { |
| 8678 | return gl::GetPointervRobustANGLERobustANGLEContextANGLE(ctx, pname, bufSize, length, params); |
| 8679 | } |
| 8680 | |
| 8681 | void GL_APIENTRY glReadnPixelsRobustANGLEContextANGLE(GLeglContext ctx, |
| 8682 | GLint x, |
| 8683 | GLint y, |
| 8684 | GLsizei width, |
| 8685 | GLsizei height, |
| 8686 | GLenum format, |
| 8687 | GLenum type, |
| 8688 | GLsizei bufSize, |
| 8689 | GLsizei *length, |
| 8690 | GLsizei *columns, |
| 8691 | GLsizei *rows, |
| 8692 | void *data) |
| 8693 | { |
| 8694 | return gl::ReadnPixelsRobustANGLEContextANGLE(ctx, x, y, width, height, format, type, bufSize, |
| 8695 | length, columns, rows, data); |
| 8696 | } |
| 8697 | |
| 8698 | void GL_APIENTRY glGetnUniformfvRobustANGLEContextANGLE(GLeglContext ctx, |
| 8699 | GLuint program, |
| 8700 | GLint location, |
| 8701 | GLsizei bufSize, |
| 8702 | GLsizei *length, |
| 8703 | GLfloat *params) |
| 8704 | { |
| 8705 | return gl::GetnUniformfvRobustANGLEContextANGLE(ctx, program, location, bufSize, length, |
| 8706 | params); |
| 8707 | } |
| 8708 | |
| 8709 | void GL_APIENTRY glGetnUniformivRobustANGLEContextANGLE(GLeglContext ctx, |
| 8710 | GLuint program, |
| 8711 | GLint location, |
| 8712 | GLsizei bufSize, |
| 8713 | GLsizei *length, |
| 8714 | GLint *params) |
| 8715 | { |
| 8716 | return gl::GetnUniformivRobustANGLEContextANGLE(ctx, program, location, bufSize, length, |
| 8717 | params); |
| 8718 | } |
| 8719 | |
| 8720 | void GL_APIENTRY glGetnUniformuivRobustANGLEContextANGLE(GLeglContext ctx, |
| 8721 | GLuint program, |
| 8722 | GLint location, |
| 8723 | GLsizei bufSize, |
| 8724 | GLsizei *length, |
| 8725 | GLuint *params) |
| 8726 | { |
| 8727 | return gl::GetnUniformuivRobustANGLEContextANGLE(ctx, program, location, bufSize, length, |
| 8728 | params); |
| 8729 | } |
| 8730 | |
| 8731 | void GL_APIENTRY glTexParameterIivRobustANGLEContextANGLE(GLeglContext ctx, |
| 8732 | GLenum target, |
| 8733 | GLenum pname, |
| 8734 | GLsizei bufSize, |
| 8735 | const GLint *params) |
| 8736 | { |
| 8737 | return gl::TexParameterIivRobustANGLEContextANGLE(ctx, target, pname, bufSize, params); |
| 8738 | } |
| 8739 | |
| 8740 | void GL_APIENTRY glTexParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, |
| 8741 | GLenum target, |
| 8742 | GLenum pname, |
| 8743 | GLsizei bufSize, |
| 8744 | const GLuint *params) |
| 8745 | { |
| 8746 | return gl::TexParameterIuivRobustANGLEContextANGLE(ctx, target, pname, bufSize, params); |
| 8747 | } |
| 8748 | |
| 8749 | void GL_APIENTRY glGetTexParameterIivRobustANGLEContextANGLE(GLeglContext ctx, |
| 8750 | GLenum target, |
| 8751 | GLenum pname, |
| 8752 | GLsizei bufSize, |
| 8753 | GLsizei *length, |
| 8754 | GLint *params) |
| 8755 | { |
| 8756 | return gl::GetTexParameterIivRobustANGLEContextANGLE(ctx, target, pname, bufSize, length, |
| 8757 | params); |
| 8758 | } |
| 8759 | |
| 8760 | void GL_APIENTRY glGetTexParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, |
| 8761 | GLenum target, |
| 8762 | GLenum pname, |
| 8763 | GLsizei bufSize, |
| 8764 | GLsizei *length, |
| 8765 | GLuint *params) |
| 8766 | { |
| 8767 | return gl::GetTexParameterIuivRobustANGLEContextANGLE(ctx, target, pname, bufSize, length, |
| 8768 | params); |
| 8769 | } |
| 8770 | |
| 8771 | void GL_APIENTRY glSamplerParameterIivRobustANGLEContextANGLE(GLeglContext ctx, |
| 8772 | GLuint sampler, |
| 8773 | GLenum pname, |
| 8774 | GLsizei bufSize, |
| 8775 | const GLint *param) |
| 8776 | { |
| 8777 | return gl::SamplerParameterIivRobustANGLEContextANGLE(ctx, sampler, pname, bufSize, param); |
| 8778 | } |
| 8779 | |
| 8780 | void GL_APIENTRY glSamplerParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, |
| 8781 | GLuint sampler, |
| 8782 | GLenum pname, |
| 8783 | GLsizei bufSize, |
| 8784 | const GLuint *param) |
| 8785 | { |
| 8786 | return gl::SamplerParameterIuivRobustANGLEContextANGLE(ctx, sampler, pname, bufSize, param); |
| 8787 | } |
| 8788 | |
| 8789 | void GL_APIENTRY glGetSamplerParameterIivRobustANGLEContextANGLE(GLeglContext ctx, |
| 8790 | GLuint sampler, |
| 8791 | GLenum pname, |
| 8792 | GLsizei bufSize, |
| 8793 | GLsizei *length, |
| 8794 | GLint *params) |
| 8795 | { |
| 8796 | return gl::GetSamplerParameterIivRobustANGLEContextANGLE(ctx, sampler, pname, bufSize, length, |
| 8797 | params); |
| 8798 | } |
| 8799 | |
| 8800 | void GL_APIENTRY glGetSamplerParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, |
| 8801 | GLuint sampler, |
| 8802 | GLenum pname, |
| 8803 | GLsizei bufSize, |
| 8804 | GLsizei *length, |
| 8805 | GLuint *params) |
| 8806 | { |
| 8807 | return gl::GetSamplerParameterIuivRobustANGLEContextANGLE(ctx, sampler, pname, bufSize, length, |
| 8808 | params); |
| 8809 | } |
| 8810 | |
| 8811 | void GL_APIENTRY glGetQueryObjectivRobustANGLEContextANGLE(GLeglContext ctx, |
| 8812 | GLuint id, |
| 8813 | GLenum pname, |
| 8814 | GLsizei bufSize, |
| 8815 | GLsizei *length, |
| 8816 | GLint *params) |
| 8817 | { |
| 8818 | return gl::GetQueryObjectivRobustANGLEContextANGLE(ctx, id, pname, bufSize, length, params); |
| 8819 | } |
| 8820 | |
| 8821 | void GL_APIENTRY glGetQueryObjecti64vRobustANGLEContextANGLE(GLeglContext ctx, |
| 8822 | GLuint id, |
| 8823 | GLenum pname, |
| 8824 | GLsizei bufSize, |
| 8825 | GLsizei *length, |
| 8826 | GLint64 *params) |
| 8827 | { |
| 8828 | return gl::GetQueryObjecti64vRobustANGLEContextANGLE(ctx, id, pname, bufSize, length, params); |
| 8829 | } |
| 8830 | |
| 8831 | void GL_APIENTRY glGetQueryObjectui64vRobustANGLEContextANGLE(GLeglContext ctx, |
| 8832 | GLuint id, |
| 8833 | GLenum pname, |
| 8834 | GLsizei bufSize, |
| 8835 | GLsizei *length, |
| 8836 | GLuint64 *params) |
| 8837 | { |
| 8838 | return gl::GetQueryObjectui64vRobustANGLEContextANGLE(ctx, id, pname, bufSize, length, params); |
| 8839 | } |
| 8840 | |
| 8841 | void GL_APIENTRY glFramebufferTextureMultiviewLayeredANGLEContextANGLE(GLeglContext ctx, |
| 8842 | GLenum target, |
| 8843 | GLenum attachment, |
| 8844 | GLuint texture, |
| 8845 | GLint level, |
| 8846 | GLint baseViewIndex, |
| 8847 | GLsizei numViews) |
| 8848 | { |
| 8849 | return gl::FramebufferTextureMultiviewLayeredANGLEContextANGLE(ctx, target, attachment, texture, |
| 8850 | level, baseViewIndex, numViews); |
| 8851 | } |
| 8852 | |
| 8853 | void GL_APIENTRY |
| 8854 | glFramebufferTextureMultiviewSideBySideANGLEContextANGLE(GLeglContext ctx, |
| 8855 | GLenum target, |
| 8856 | GLenum attachment, |
| 8857 | GLuint texture, |
| 8858 | GLint level, |
| 8859 | GLsizei numViews, |
| 8860 | const GLint *viewportOffsets) |
| 8861 | { |
| 8862 | return gl::FramebufferTextureMultiviewSideBySideANGLEContextANGLE( |
| 8863 | ctx, target, attachment, texture, level, numViews, viewportOffsets); |
| 8864 | } |
| 8865 | |
Brandon Jones | 4e6f2ae | 2018-09-19 11:09:51 -0700 | [diff] [blame] | 8866 | void GL_APIENTRY glCopyTexture3DANGLEContextANGLE(GLeglContext ctx, |
| 8867 | GLuint sourceId, |
| 8868 | GLint sourceLevel, |
| 8869 | GLenum destTarget, |
| 8870 | GLuint destId, |
| 8871 | GLint destLevel, |
| 8872 | GLint internalFormat, |
| 8873 | GLenum destType, |
| 8874 | GLboolean unpackFlipY, |
| 8875 | GLboolean unpackPremultiplyAlpha, |
| 8876 | GLboolean unpackUnmultiplyAlpha) |
| 8877 | { |
| 8878 | return gl::CopyTexture3DANGLEContextANGLE(ctx, sourceId, sourceLevel, destTarget, destId, |
| 8879 | destLevel, internalFormat, destType, unpackFlipY, |
| 8880 | unpackPremultiplyAlpha, unpackUnmultiplyAlpha); |
| 8881 | } |
| 8882 | |
| 8883 | void GL_APIENTRY glCopySubTexture3DANGLEContextANGLE(GLeglContext ctx, |
| 8884 | GLuint sourceId, |
| 8885 | GLint sourceLevel, |
| 8886 | GLenum destTarget, |
| 8887 | GLuint destId, |
| 8888 | GLint destLevel, |
| 8889 | GLint xoffset, |
| 8890 | GLint yoffset, |
| 8891 | GLint zoffset, |
| 8892 | GLint x, |
| 8893 | GLint y, |
| 8894 | GLint z, |
| 8895 | GLint width, |
| 8896 | GLint height, |
| 8897 | GLint depth, |
| 8898 | GLboolean unpackFlipY, |
| 8899 | GLboolean unpackPremultiplyAlpha, |
| 8900 | GLboolean unpackUnmultiplyAlpha) |
| 8901 | { |
| 8902 | return gl::CopySubTexture3DANGLEContextANGLE( |
| 8903 | ctx, sourceId, sourceLevel, destTarget, destId, destLevel, xoffset, yoffset, zoffset, x, y, |
| 8904 | z, width, height, depth, unpackFlipY, unpackPremultiplyAlpha, unpackUnmultiplyAlpha); |
| 8905 | } |
| 8906 | |
Yizhou Jiang | 7818a85 | 2018-09-06 15:02:04 +0800 | [diff] [blame^] | 8907 | void GL_APIENTRY glTexStorage2DMultisampleANGLEContextANGLE(GLeglContext ctx, |
| 8908 | GLenum target, |
| 8909 | GLsizei samples, |
| 8910 | GLenum internalformat, |
| 8911 | GLsizei width, |
| 8912 | GLsizei height, |
| 8913 | GLboolean fixedsamplelocations) |
| 8914 | { |
| 8915 | return gl::TexStorage2DMultisampleANGLEContextANGLE(ctx, target, samples, internalformat, width, |
| 8916 | height, fixedsamplelocations); |
| 8917 | } |
| 8918 | |
Brandon Jones | 41e59f5 | 2018-05-02 12:45:28 -0700 | [diff] [blame] | 8919 | } // extern "C" |