1<?xml version="1.0"?> 2<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd"> 3 4<!-- Note: no GLX protocol info yet. --> 5 6<OpenGLAPI> 7 8<category name="3.0"> 9 10 <enum name="COMPARE_REF_TO_TEXTURE" value="0x884E"/> 11 <enum name="CLIP_DISTANCE0" value="0x3000"/> 12 <enum name="CLIP_DISTANCE1" value="0x3001"/> 13 <enum name="CLIP_DISTANCE2" value="0x3002"/> 14 <enum name="CLIP_DISTANCE3" value="0x3003"/> 15 <enum name="CLIP_DISTANCE4" value="0x3004"/> 16 <enum name="CLIP_DISTANCE5" value="0x3005"/> 17 <enum name="CLIP_DISTANCE6" value="0x3006"/> 18 <enum name="CLIP_DISTANCE7" value="0x3007"/> 19 <enum name="MAX_CLIP_DISTANCES" value="0x0D32"/> 20 <enum name="MAJOR_VERSION" value="0x821B"/> 21 <enum name="MINOR_VERSION" value="0x821C"/> 22 <enum name="NUM_EXTENSIONS" value="0x821D"/> 23 <enum name="CONTEXT_FLAGS" value="0x821E"/> 24 <enum name="CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT" value="0x0001"/> 25 <enum name="RGBA32F" value="0x8814"/> 26 <enum name="RGB32F" value="0x8815"/> 27 <enum name="RGBA16F" value="0x881A"/> 28 <enum name="RGB16F" value="0x881B"/> 29 <enum name="VERTEX_ATTRIB_ARRAY_INTEGER" value="0x88FD"/> 30 <enum name="MAX_ARRAY_TEXTURE_LAYERS" value="0x88FF"/> 31 <enum name="MIN_PROGRAM_TEXEL_OFFSET" value="0x8904"/> 32 <enum name="MAX_PROGRAM_TEXEL_OFFSET" value="0x8905"/> 33 <enum name="CLAMP_VERTEX_COLOR" value="0x891A"/> 34 <enum name="CLAMP_FRAGMENT_COLOR" value="0x891B"/> 35 <enum name="CLAMP_READ_COLOR" value="0x891C"/> 36 <enum name="FIXED_ONLY" value="0x891D"/> 37 <enum name="MAX_VARYING_COMPONENTS" value="0x8B4B"/> 38 <enum name="TEXTURE_RED_TYPE" value="0x8C10"/> 39 <enum name="TEXTURE_GREEN_TYPE" value="0x8C11"/> 40 <enum name="TEXTURE_BLUE_TYPE" value="0x8C12"/> 41 <enum name="TEXTURE_ALPHA_TYPE" value="0x8C13"/> 42 <enum name="TEXTURE_LUMINANCE_TYPE" value="0x8C14"/> 43 <enum name="TEXTURE_INTENSITY_TYPE" value="0x8C15"/> 44 <enum name="TEXTURE_DEPTH_TYPE" value="0x8C16"/> 45 <enum name="TEXTURE_1D_ARRAY" value="0x8C18"/> 46 <enum name="PROXY_TEXTURE_1D_ARRAY" value="0x8C19"/> 47 <enum name="TEXTURE_2D_ARRAY" value="0x8C1A"/> 48 <enum name="PROXY_TEXTURE_2D_ARRAY" value="0x8C1B"/> 49 <enum name="TEXTURE_BINDING_1D_ARRAY" value="0x8C1C"/> 50 <enum name="TEXTURE_BINDING_2D_ARRAY" value="0x8C1D"/> 51 <enum name="R11F_G11F_B10F" value="0x8C3A"/> 52 <enum name="UNSIGNED_INT_10F_11F_11F_REV" value="0x8C3B"/> 53 <enum name="RGB9_E5" value="0x8C3D"/> 54 <enum name="UNSIGNED_INT_5_9_9_9_REV" value="0x8C3E"/> 55 <enum name="TEXTURE_SHARED_SIZE" value="0x8C3F"/> 56 <enum name="TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH" value="0x8C76"/> 57 <enum name="TRANSFORM_FEEDBACK_BUFFER_MODE" value="0x8C7F"/> 58 <enum name="MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS" value="0x8C80"/> 59 <enum name="TRANSFORM_FEEDBACK_VARYINGS" value="0x8C83"/> 60 <enum name="TRANSFORM_FEEDBACK_BUFFER_START" value="0x8C84"/> 61 <enum name="TRANSFORM_FEEDBACK_BUFFER_SIZE" value="0x8C85"/> 62 <enum name="PRIMITIVES_GENERATED" value="0x8C87"/> 63 <enum name="TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN" value="0x8C88"/> 64 <enum name="RASTERIZER_DISCARD" value="0x8C89"/> 65 <enum name="MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS" value="0x8C8A"/> 66 <enum name="MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS" value="0x8C8B"/> 67 <enum name="INTERLEAVED_ATTRIBS" value="0x8C8C"/> 68 <enum name="SEPARATE_ATTRIBS" value="0x8C8D"/> 69 <enum name="TRANSFORM_FEEDBACK_BUFFER" value="0x8C8E"/> 70 <enum name="TRANSFORM_FEEDBACK_BUFFER_BINDING" value="0x8C8F"/> 71 <enum name="RGBA32UI" value="0x8D70"/> 72 <enum name="RGB32UI" value="0x8D71"/> 73 <enum name="RGBA16UI" value="0x8D76"/> 74 <enum name="RGB16UI" value="0x8D77"/> 75 <enum name="RGBA8UI" value="0x8D7C"/> 76 <enum name="RGB8UI" value="0x8D7D"/> 77 <enum name="RGBA32I" value="0x8D82"/> 78 <enum name="RGB32I" value="0x8D83"/> 79 <enum name="RGBA16I" value="0x8D88"/> 80 <enum name="RGB16I" value="0x8D89"/> 81 <enum name="RGBA8I" value="0x8D8E"/> 82 <enum name="RGB8I" value="0x8D8F"/> 83 <enum name="RED_INTEGER" value="0x8D94"/> 84 <enum name="GREEN_INTEGER" value="0x8D95"/> 85 <enum name="BLUE_INTEGER" value="0x8D96"/> 86 <enum name="RGB_INTEGER" value="0x8D98"/> 87 <enum name="RGBA_INTEGER" value="0x8D99"/> 88 <enum name="BGR_INTEGER" value="0x8D9A"/> 89 <enum name="BGRA_INTEGER" value="0x8D9B"/> 90 <enum name="SAMPLER_1D_ARRAY" value="0x8DC0"/> 91 <enum name="SAMPLER_2D_ARRAY" value="0x8DC1"/> 92 <enum name="SAMPLER_1D_ARRAY_SHADOW" value="0x8DC3"/> 93 <enum name="SAMPLER_2D_ARRAY_SHADOW" value="0x8DC4"/> 94 <enum name="SAMPLER_CUBE_SHADOW" value="0x8DC5"/> 95 <enum name="UNSIGNED_INT_VEC2" value="0x8DC6"/> 96 <enum name="UNSIGNED_INT_VEC3" value="0x8DC7"/> 97 <enum name="UNSIGNED_INT_VEC4" value="0x8DC8"/> 98 <enum name="INT_SAMPLER_1D" value="0x8DC9"/> 99 <enum name="INT_SAMPLER_2D" value="0x8DCA"/> 100 <enum name="INT_SAMPLER_3D" value="0x8DCB"/> 101 <enum name="INT_SAMPLER_CUBE" value="0x8DCC"/> 102 <enum name="INT_SAMPLER_1D_ARRAY" value="0x8DCE"/> 103 <enum name="INT_SAMPLER_2D_ARRAY" value="0x8DCF"/> 104 <enum name="UNSIGNED_INT_SAMPLER_1D" value="0x8DD1"/> 105 <enum name="UNSIGNED_INT_SAMPLER_2D" value="0x8DD2"/> 106 <enum name="UNSIGNED_INT_SAMPLER_3D" value="0x8DD3"/> 107 <enum name="UNSIGNED_INT_SAMPLER_CUBE" value="0x8DD4"/> 108 <enum name="UNSIGNED_INT_SAMPLER_1D_ARRAY" value="0x8DD6"/> 109 <enum name="UNSIGNED_INT_SAMPLER_2D_ARRAY" value="0x8DD7"/> 110 <enum name="QUERY_WAIT" value="0x8E13"/> 111 <enum name="QUERY_NO_WAIT" value="0x8E14"/> 112 <enum name="QUERY_BY_REGION_WAIT" value="0x8E15"/> 113 <enum name="QUERY_BY_REGION_NO_WAIT" value="0x8E16"/> 114 <enum name="BUFFER_ACCESS_FLAGS" value="0x911F"/> 115 <enum name="BUFFER_MAP_LENGTH" value="0x9120"/> 116 <enum name="BUFFER_MAP_OFFSET" value="0x9121"/> 117 118 <!-- These functions are unique to GL3 --> 119 120 <function name="ClearBufferiv" es2="3.0" marshal="custom" no_error="true"> 121 <param name="buffer" type="GLenum"/> 122 <param name="drawbuffer" type="GLint"/> 123 <param name="value" type="const GLint *"/> 124 </function> 125 126 <function name="ClearBufferuiv" es2="3.0" marshal="custom" no_error="true"> 127 <param name="buffer" type="GLenum"/> 128 <param name="drawbuffer" type="GLint"/> 129 <param name="value" type="const GLuint *"/> 130 </function> 131 132 <function name="ClearBufferfv" es2="3.0" marshal="custom" no_error="true"> 133 <param name="buffer" type="GLenum"/> 134 <param name="drawbuffer" type="GLint"/> 135 <param name="value" type="const GLfloat *"/> 136 </function> 137 138 <function name="ClearBufferfi" es2="3.0" marshal="custom" no_error="true"> 139 <param name="buffer" type="GLenum"/> 140 <param name="drawbuffer" type="GLint"/> 141 <param name="depth" type="GLfloat"/> 142 <param name="stencil" type="GLint"/> 143 </function> 144 145 <function name="GetStringi" es2="3.0"> 146 <param name="name" type="GLenum"/> 147 <param name="index" type="GLuint"/> 148 <return type="const GLubyte *"/> 149 </function> 150 151 <function name="ClampColor"> 152 <param name="target" type="GLenum"/> 153 <param name="clamp" type="GLenum"/> 154 <glx rop="234"/> 155 </function> 156 157 <!-- These functions alias ones form GL_ARB_draw_buffers2 --> 158 159 <function name="ColorMaski" es2="3.2"> 160 <param name="buf" type="GLuint"/> 161 <param name="r" type="GLboolean"/> 162 <param name="g" type="GLboolean"/> 163 <param name="b" type="GLboolean"/> 164 <param name="a" type="GLboolean"/> 165 </function> 166 167 <function name="GetBooleani_v" es2="3.1"> 168 <param name="value" type="GLenum"/> 169 <param name="index" type="GLuint"/> 170 <param name="data" type="GLboolean *"/> 171 </function> 172 173 <function name="GetIntegeri_v" es2="3.0"> 174 <param name="value" type="GLenum"/> 175 <param name="index" type="GLuint"/> 176 <param name="data" type="GLint *"/> 177 </function> 178 179 <function name="Enablei" es2="3.2"> 180 <param name="target" type="GLenum"/> 181 <param name="index" type="GLuint"/> 182 </function> 183 184 <function name="Disablei" es2="3.2"> 185 <param name="target" type="GLenum"/> 186 <param name="index" type="GLuint"/> 187 </function> 188 189 <function name="IsEnabledi" es2="3.2"> 190 <param name="target" type="GLenum"/> 191 <param name="index" type="GLuint"/> 192 <return type="GLboolean"/> 193 </function> 194 195 <!-- These functions alias ones form GL_EXT_transform_feedback --> 196 197 <function name="GetFragDataLocation" es2="3.0"> 198 <param name="program" type="GLuint"/> 199 <param name="name" type="const GLchar *"/> 200 <return type="GLint"/> 201 </function> 202 203 <function name="BindFragDataLocation" no_error="true"> 204 <param name="program" type="GLuint"/> 205 <param name="colorNumber" type="GLuint"/> 206 <param name="name" type="const GLchar *"/> 207 </function> 208 209 <function name="BeginTransformFeedback" es2="3.0" no_error="true"> 210 <param name="mode" type="GLenum"/> 211 </function> 212 213 <function name="EndTransformFeedback" es2="3.0" no_error="true"> 214 </function> 215 216 <function name="BindBufferRange" es2="3.0" no_error="true"> 217 <param name="target" type="GLenum"/> 218 <param name="index" type="GLuint"/> 219 <param name="buffer" type="GLuint"/> 220 <param name="offset" type="GLintptr"/> 221 <param name="size" type="GLsizeiptr"/> 222 </function> 223 224 <function name="BindBufferBase" es2="3.0"> 225 <param name="target" type="GLenum"/> 226 <param name="index" type="GLuint"/> 227 <param name="buffer" type="GLuint"/> 228 </function> 229 230 <function name="TransformFeedbackVaryings" es2="3.0" no_error="true"> 231 <param name="program" type="GLuint"/> 232 <param name="count" type="GLsizei"/> 233 <param name="varyings" type="const GLchar * const *"/> 234 <param name="bufferMode" type="GLenum"/> 235 </function> 236 237 <function name="GetTransformFeedbackVarying" es2="3.0"> 238 <param name="program" type="GLuint"/> 239 <param name="index" type="GLuint"/> 240 <param name="bufSize" type="GLsizei"/> 241 <param name="length" type="GLsizei *"/> 242 <param name="size" type="GLsizei *"/> 243 <param name="type" type="GLenum *"/> 244 <param name="name" type="GLchar *"/> 245 </function> 246 247 <!-- These functions alias ones from GL_NV_conditional_render --> 248 249 <function name="BeginConditionalRender" no_error="true"> 250 <param name="query" type="GLuint"/> 251 <param name="mode" type="GLenum"/> 252 </function> 253 254 <function name="EndConditionalRender" no_error="true"> 255 </function> 256 257 <!-- These functions alias ones from GL_EXT_gpu_shader4 --> 258 259 <function name="VertexAttribIPointer" es2="3.0" marshal="async" 260 no_error="true" 261 marshal_fail="_mesa_glthread_is_non_vbo_vertex_attrib_pointer(ctx)"> 262 <param name="index" type="GLuint"/> 263 <param name="size" type="GLint"/> 264 <param name="type" type="GLenum"/> 265 <param name="stride" type="GLsizei"/> 266 <param name="pointer" type="const GLvoid *"/> 267 </function> 268 269 <function name="GetVertexAttribIiv" es2="3.0"> 270 <param name="index" type="GLuint"/> 271 <param name="pname" type="GLenum"/> 272 <param name="params" type="GLint *"/> 273 </function> 274 275 <function name="GetVertexAttribIuiv" es2="3.0"> 276 <param name="index" type="GLuint"/> 277 <param name="pname" type="GLenum"/> 278 <param name="params" type="GLuint *"/> 279 </function> 280 281 <function name="VertexAttribI1i" alias="VertexAttribI1iEXT"> 282 <param name="index" type="GLuint"/> 283 <param name="x" type="GLint"/> 284 </function> 285 286 <function name="VertexAttribI2i" alias="VertexAttribI2iEXT"> 287 <param name="index" type="GLuint"/> 288 <param name="x" type="GLint"/> 289 <param name="y" type="GLint"/> 290 </function> 291 292 <function name="VertexAttribI3i" alias="VertexAttribI3iEXT"> 293 <param name="index" type="GLuint"/> 294 <param name="x" type="GLint"/> 295 <param name="y" type="GLint"/> 296 <param name="z" type="GLint"/> 297 </function> 298 299 <function name="VertexAttribI4i" alias="VertexAttribI4iEXT" es2="3.0"> 300 <param name="index" type="GLuint"/> 301 <param name="x" type="GLint"/> 302 <param name="y" type="GLint"/> 303 <param name="z" type="GLint"/> 304 <param name="w" type="GLint"/> 305 </function> 306 307 <function name="VertexAttribI1ui" alias="VertexAttribI1uiEXT"> 308 <param name="index" type="GLuint"/> 309 <param name="x" type="GLuint"/> 310 </function> 311 312 <function name="VertexAttribI2ui" alias="VertexAttribI2uiEXT"> 313 <param name="index" type="GLuint"/> 314 <param name="x" type="GLuint"/> 315 <param name="y" type="GLuint"/> 316 </function> 317 318 <function name="VertexAttribI3ui" alias="VertexAttribI3uiEXT"> 319 <param name="index" type="GLuint"/> 320 <param name="x" type="GLuint"/> 321 <param name="y" type="GLuint"/> 322 <param name="z" type="GLuint"/> 323 </function> 324 325 <function name="VertexAttribI4ui" alias="VertexAttribI4uiEXT" es2="3.0"> 326 <param name="index" type="GLuint"/> 327 <param name="x" type="GLuint"/> 328 <param name="y" type="GLuint"/> 329 <param name="z" type="GLuint"/> 330 <param name="w" type="GLuint"/> 331 </function> 332 333 <function name="VertexAttribI1iv"> 334 <param name="index" type="GLuint"/> 335 <param name="v" type="const GLint *"/> 336 </function> 337 338 <function name="VertexAttribI2iv" alias="VertexAttribI2ivEXT"> 339 <param name="index" type="GLuint"/> 340 <param name="v" type="const GLint *"/> 341 </function> 342 343 <function name="VertexAttribI3iv" alias="VertexAttribI3ivEXT"> 344 <param name="index" type="GLuint"/> 345 <param name="v" type="const GLint *"/> 346 </function> 347 348 <function name="VertexAttribI4iv" alias="VertexAttribI4ivEXT" es2="3.0"> 349 <param name="index" type="GLuint"/> 350 <param name="v" type="const GLint *"/> 351 </function> 352 353 <function name="VertexAttribI1uiv"> 354 <param name="index" type="GLuint"/> 355 <param name="v" type="const GLuint *"/> 356 </function> 357 358 <function name="VertexAttribI2uiv" alias="VertexAttribI2uivEXT"> 359 <param name="index" type="GLuint"/> 360 <param name="v" type="const GLuint *"/> 361 </function> 362 363 <function name="VertexAttribI3uiv" alias="VertexAttribI3uivEXT"> 364 <param name="index" type="GLuint"/> 365 <param name="v" type="const GLuint *"/> 366 </function> 367 368 <function name="VertexAttribI4uiv" alias="VertexAttribI4uivEXT" es2="3.0"> 369 <param name="index" type="GLuint"/> 370 <param name="v" type="const GLuint *"/> 371 </function> 372 373 <function name="VertexAttribI4bv"> 374 <param name="index" type="GLuint"/> 375 <param name="v" type="const GLbyte *"/> 376 </function> 377 378 <function name="VertexAttribI4sv"> 379 <param name="index" type="GLuint"/> 380 <param name="v" type="const GLshort *"/> 381 </function> 382 383 <function name="VertexAttribI4ubv"> 384 <param name="index" type="GLuint"/> 385 <param name="v" type="const GLubyte *"/> 386 </function> 387 388 <function name="VertexAttribI4usv"> 389 <param name="index" type="GLuint"/> 390 <param name="v" type="const GLushort *"/> 391 </function> 392 393 <function name="GetUniformuiv" es2="3.0"> 394 <param name="program" type="GLuint"/> 395 <param name="location" type="GLint"/> 396 <param name="params" type="GLuint *"/> 397 </function> 398 399 <function name="Uniform1ui" es2="3.0"> 400 <param name="location" type="GLint"/> 401 <param name="x" type="GLuint"/> 402 </function> 403 404 <function name="Uniform2ui" es2="3.0"> 405 <param name="location" type="GLint"/> 406 <param name="x" type="GLuint"/> 407 <param name="y" type="GLuint"/> 408 </function> 409 410 <function name="Uniform3ui" es2="3.0"> 411 <param name="location" type="GLint"/> 412 <param name="x" type="GLuint"/> 413 <param name="y" type="GLuint"/> 414 <param name="z" type="GLuint"/> 415 </function> 416 417 <function name="Uniform4ui" es2="3.0"> 418 <param name="location" type="GLint"/> 419 <param name="x" type="GLuint"/> 420 <param name="y" type="GLuint"/> 421 <param name="z" type="GLuint"/> 422 <param name="w" type="GLuint"/> 423 </function> 424 425 <function name="Uniform1uiv" es2="3.0"> 426 <param name="location" type="GLint"/> 427 <param name="count" type="GLsizei" counter="true"/> 428 <param name="value" type="const GLuint *" count="count"/> 429 </function> 430 431 <function name="Uniform2uiv" es2="3.0"> 432 <param name="location" type="GLint"/> 433 <param name="count" type="GLsizei" counter="true"/> 434 <param name="value" type="const GLuint *" count="count" count_scale="2"/> 435 </function> 436 437 <function name="Uniform3uiv" es2="3.0"> 438 <param name="location" type="GLint"/> 439 <param name="count" type="GLsizei" counter="true"/> 440 <param name="value" type="const GLuint *" count="count" count_scale="3"/> 441 </function> 442 443 <function name="Uniform4uiv" es2="3.0"> 444 <param name="location" type="GLint"/> 445 <param name="count" type="GLsizei" counter="true"/> 446 <param name="value" type="const GLuint *" count="count" count_scale="4"/> 447 </function> 448 449 <!-- These functions alias ones from GL_EXT_texture_integer --> 450 451 <function name="TexParameterIiv" es2="3.2"> 452 <param name="target" type="GLenum"/> 453 <param name="pname" type="GLenum"/> 454 <param name="params" type="const GLint *"/> 455 </function> 456 457 <function name="TexParameterIuiv" es2="3.2"> 458 <param name="target" type="GLenum"/> 459 <param name="pname" type="GLenum"/> 460 <param name="params" type="const GLuint *"/> 461 </function> 462 463 <function name="GetTexParameterIiv" es2="3.2"> 464 <param name="target" type="GLenum"/> 465 <param name="pname" type="GLenum"/> 466 <param name="params" type="GLint *"/> 467 </function> 468 469 <function name="GetTexParameterIuiv" es2="3.2"> 470 <param name="target" type="GLenum"/> 471 <param name="pname" type="GLenum"/> 472 <param name="params" type="GLuint *"/> 473 </function> 474 475</category> 476 477 478<category name="3.1"> 479 480 <enum name="UNIFORM_BUFFER" value="0x8A11"/> 481 <enum name="UNIFORM_BUFFER_BINDING" value="0x8A28"/> 482 <enum name="UNIFORM_BUFFER_START" value="0x8A29"/> 483 <enum name="UNIFORM_BUFFER_SIZE" value="0x8A2A"/> 484 <enum name="MAX_VERTEX_UNIFORM_BLOCKS" value="0x8A2B"/> 485 <enum name="MAX_GEOMETRY_UNIFORM_BLOCKS" value="0x8A2C"/> 486 <enum name="MAX_FRAGMENT_UNIFORM_BLOCKS" value="0x8A2D"/> 487 <enum name="MAX_COMBINED_UNIFORM_BLOCKS" value="0x8A2E"/> 488 <enum name="MAX_UNIFORM_BUFFER_BINDINGS" value="0x8A2F"/> 489 <enum name="MAX_UNIFORM_BLOCK_SIZE" value="0x8A30"/> 490 <enum name="MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS" value="0x8A31"/> 491 <enum name="MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS" value="0x8A32"/> 492 <enum name="MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS" value="0x8A33"/> 493 <enum name="UNIFORM_BUFFER_OFFSET_ALIGNMENT" value="0x8A34"/> 494 <enum name="ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH" value="0x8A35"/> 495 <enum name="ACTIVE_UNIFORM_BLOCKS" value="0x8A36"/> 496 <enum name="UNIFORM_TYPE" value="0x8A37"/> 497 <enum name="UNIFORM_SIZE" value="0x8A38"/> 498 <enum name="UNIFORM_NAME_LENGTH" value="0x8A39"/> 499 <enum name="UNIFORM_BLOCK_INDEX" value="0x8A3A"/> 500 <enum name="UNIFORM_OFFSET" value="0x8A3B"/> 501 <enum name="UNIFORM_ARRAY_STRIDE" value="0x8A3C"/> 502 <enum name="UNIFORM_MATRIX_STRIDE" value="0x8A3D"/> 503 <enum name="UNIFORM_IS_ROW_MAJOR" value="0x8A3E"/> 504 <enum name="UNIFORM_BLOCK_BINDING" value="0x8A3F"/> 505 <enum name="UNIFORM_BLOCK_DATA_SIZE" value="0x8A40"/> 506 <enum name="UNIFORM_BLOCK_NAME_LENGTH" value="0x8A41"/> 507 <enum name="UNIFORM_BLOCK_ACTIVE_UNIFORMS" value="0x8A42"/> 508 <enum name="UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES" value="0x8A43"/> 509 <enum name="UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER" value="0x8A44"/> 510 <enum name="UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER" value="0x8A45"/> 511 <enum name="UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER" value="0x8A46"/> 512 <enum name="SAMPLER_2D_RECT" value="0x8B63"/> 513 <enum name="SAMPLER_2D_RECT_SHADOW" value="0x8B64"/> 514 <enum name="FRAMEBUFFER_SRGB" value="0x8DB9"/> 515 <enum name="SAMPLER_BUFFER" value="0x8DC2"/> 516 <enum name="INT_SAMPLER_2D_RECT" value="0x8DCD"/> 517 <enum name="INT_SAMPLER_BUFFER" value="0x8DD0"/> 518 <enum name="UNSIGNED_INT_SAMPLER_2D_RECT" value="0x8DD5"/> 519 <enum name="UNSIGNED_INT_SAMPLER_BUFFER" value="0x8DD8"/> 520 <enum name="TEXTURE_BUFFER" value="0x8C2A"/> 521 <enum name="MAX_TEXTURE_BUFFER_SIZE" value="0x8C2B"/> 522 <enum name="TEXTURE_BINDING_BUFFER" value="0x8C2C"/> 523 <enum name="TEXTURE_BUFFER_DATA_STORE_BINDING" value="0x8C2D"/> 524 <enum name="TEXTURE_BUFFER_FORMAT" value="0x8C2E"/> 525 <enum name="TEXTURE_RECTANGLE" value="0x84F5"/> 526 <enum name="TEXTURE_BINDING_RECTANGLE" value="0x84F6"/> 527 <enum name="PROXY_TEXTURE_RECTANGLE" value="0x84F7"/> 528 <enum name="MAX_RECTANGLE_TEXTURE_SIZE" value="0x84F8"/> 529 <enum name="RED_SNORM" value="0x8F90"/> 530 <enum name="RG_SNORM" value="0x8F91"/> 531 <enum name="RGB_SNORM" value="0x8F92"/> 532 <enum name="RGBA_SNORM" value="0x8F93"/> 533 <enum name="R8_SNORM" value="0x8F94"/> 534 <enum name="RG8_SNORM" value="0x8F95"/> 535 <enum name="RGB8_SNORM" value="0x8F96"/> 536 <enum name="RGBA8_SNORM" value="0x8F97"/> 537 <enum name="R16_SNORM" value="0x8F98"/> 538 <enum name="RG16_SNORM" value="0x8F99"/> 539 <enum name="RGB16_SNORM" value="0x8F9A"/> 540 <enum name="RGBA16_SNORM" value="0x8F9B"/> 541 <enum name="SIGNED_NORMALIZED" value="0x8F9C"/> 542 <enum name="PRIMITIVE_RESTART" value="0x8F9D"/> 543 <enum name="PRIMITIVE_RESTART_INDEX" value="0x8F9E"/> 544 545 <function name="DrawArraysInstanced" alias="DrawArraysInstancedARB" es2="3.0"> 546 <param name="mode" type="GLenum"/> 547 <param name="first" type="GLint"/> 548 <param name="count" type="GLsizei"/> 549 <param name="primcount" type="GLsizei"/> 550 </function> 551 552 <function name="DrawElementsInstanced" alias="DrawElementsInstancedARB" es2="3.0"> 553 <param name="mode" type="GLenum"/> 554 <param name="count" type="GLsizei"/> 555 <param name="type" type="GLenum"/> 556 <param name="indices" type="const GLvoid *"/> 557 <param name="primcount" type="GLsizei"/> 558 </function> 559 560 <function name="TexBuffer" es2="3.2"> 561 <param name="target" type="GLenum"/> 562 <param name="internalFormat" type="GLenum"/> 563 <param name="buffer" type="GLuint"/> 564 </function> 565 566 <function name="PrimitiveRestartIndex" no_error="true"> 567 <param name="index" type="GLuint"/> 568 </function> 569 570</category> 571 572 573<category name="3.2"> 574 575 <enum name="CONTEXT_CORE_PROFILE_BIT" value="0x00000001"/> 576 <enum name="CONTEXT_COMPATIBILITY_PROFILE_BIT" value="0x00000002"/> 577 <enum name="LINES_ADJACENCY" value="0x000A"/> 578 <enum name="LINE_STRIP_ADJACENCY" value="0x000B"/> 579 <enum name="TRIANGLES_ADJACENCY" value="0x000C"/> 580 <enum name="TRIANGLE_STRIP_ADJACENCY" value="0x000D"/> 581 <enum name="PROGRAM_POINT_SIZE" value="0x8642"/> 582 <enum name="MAX_GEOMETRY_TEXTURE_IMAGE_UNITS" value="0x8C29"/> 583 <enum name="FRAMEBUFFER_ATTACHMENT_LAYERED" value="0x8DA7"/> 584 <enum name="FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS" value="0x8DA8"/> 585 <enum name="GEOMETRY_SHADER" value="0x8DD9"/> 586 <enum name="GEOMETRY_VERTICES_OUT" value="0x8916"/> 587 <enum name="GEOMETRY_INPUT_TYPE" value="0x8917"/> 588 <enum name="GEOMETRY_OUTPUT_TYPE" value="0x8918"/> 589 <enum name="MAX_GEOMETRY_UNIFORM_COMPONENTS" value="0x8DDF"/> 590 <enum name="MAX_GEOMETRY_OUTPUT_VERTICES" value="0x8DE0"/> 591 <enum name="MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS" value="0x8DE1"/> 592 <enum name="MAX_VERTEX_OUTPUT_COMPONENTS" value="0x9122"/> 593 <enum name="MAX_GEOMETRY_INPUT_COMPONENTS" value="0x9123"/> 594 <enum name="MAX_GEOMETRY_OUTPUT_COMPONENTS" value="0x9124"/> 595 <enum name="MAX_FRAGMENT_INPUT_COMPONENTS" value="0x9125"/> 596 <enum name="CONTEXT_PROFILE_MASK" value="0x9126"/> 597 598 <function name="GetInteger64i_v" es2="3.0"> 599 <param name="cap" type="GLenum"/> 600 <param name="index" type="GLuint"/> 601 <param name="data" type="GLint64 *"/> 602 </function> 603 604 <function name="GetBufferParameteri64v" es2="3.0"> 605 <param name="target" type="GLenum"/> 606 <param name="pname" type="GLenum"/> 607 <param name="params" type="GLint64 *"/> 608 </function> 609 610 <function name="FramebufferTexture" es2="3.2" no_error="true"> 611 <param name="target" type="GLenum"/> 612 <param name="attachment" type="GLenum"/> 613 <param name="texture" type="GLuint"/> 614 <param name="level" type="GLint"/> 615 </function> 616 617</category> 618 619 620<category name="3.3"> 621 <!-- There are other new functions and tokens defined by other extensions --> 622 <enum name="TEXTURE_SWIZZLE_R" value="0x8E42"/> 623 <enum name="TEXTURE_SWIZZLE_G" value="0x8E43"/> 624 <enum name="TEXTURE_SWIZZLE_B" value="0x8E44"/> 625 <enum name="TEXTURE_SWIZZLE_A" value="0x8E45"/> 626 <enum name="TEXTURE_SWIZZLE_RGBA" value="0x8E46"/> 627 628 <function name="VertexAttribDivisor" es2="3.0" no_error="true"> 629 <param name="index" type="GLuint"/> 630 <param name="divisor" type="GLuint"/> 631 </function> 632 633</category> 634 635</OpenGLAPI> 636