From: Gert Wollny Date: Sat, 11 May 2019 15:44:17 +0000 (+0200) Subject: mapi/glapi/registry: Update gl.xml to latest upstream version X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f1f6228a388692dd22121ebfaccd8e935ed21c2f;p=mesa.git mapi/glapi/registry: Update gl.xml to latest upstream version The old copy didn't include EXT_clip_control, so update it. Signed-off-by: Gert Wollny Reviewed-by: Tapani Pälli Acked-by: Marek Olšák Reviewed-by: Emil Velikov --- diff --git a/src/mapi/glapi/registry/gl.xml b/src/mapi/glapi/registry/gl.xml index 13882eff7bb..d3f40527748 100644 --- a/src/mapi/glapi/registry/gl.xml +++ b/src/mapi/glapi/registry/gl.xml @@ -1,7 +1,7 @@ -Copyright (c) 2013-2017 The Khronos Group Inc. +Copyright (c) 2013-2018 The Khronos Group Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -27,60 +27,22 @@ can always be found in the Khronos Registry at - #include <stddef.h> #include <KHR/khrplatform.h> - #ifndef GLEXT_64_TYPES_DEFINED -/* This code block is duplicated in glxext.h, so must be protected */ -#define GLEXT_64_TYPES_DEFINED -/* Define int32_t, int64_t, and uint64_t types for UST/MSC */ -/* (as used in the GL_EXT_timer_query extension). */ -#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L -#include <inttypes.h> -#elif defined(__sun__) || defined(__digital__) -#include <inttypes.h> -#if defined(__STDC__) -#if defined(__arch64__) || defined(_LP64) -typedef long int int64_t; -typedef unsigned long int uint64_t; -#else -typedef long long int int64_t; -typedef unsigned long long int uint64_t; -#endif /* __arch64__ */ -#endif /* __STDC__ */ -#elif defined( __VMS ) || defined(__sgi) -#include <inttypes.h> -#elif defined(__SCO__) || defined(__USLC__) -#include <stdint.h> -#elif defined(__UNIXOS2__) || defined(__SOL64__) -typedef long int int32_t; -typedef long long int int64_t; -typedef unsigned long long int uint64_t; -#elif defined(_WIN32) && defined(__GNUC__) -#include <stdint.h> -#elif defined(_WIN32) -typedef __int32 int32_t; -typedef __int64 int64_t; -typedef unsigned __int64 uint64_t; -#else -/* Fallback if nothing above works */ -#include <inttypes.h> -#endif -#endif typedef unsigned int GLenum; typedef unsigned char GLboolean; typedef unsigned int GLbitfield; typedef void GLvoid; - typedef signed char GLbyte; - typedef short GLshort; + typedef khronos_int8_t GLbyte; + typedef khronos_uint8_t GLubyte; + typedef khronos_int16_t GLshort; + typedef khronos_uint16_t GLushort; typedef int GLint; - typedef int GLclampx; - typedef unsigned char GLubyte; - typedef unsigned short GLushort; typedef unsigned int GLuint; + typedef khronos_int32_t GLclampx; typedef int GLsizei; - typedef float GLfloat; - typedef float GLclampf; + typedef khronos_float_t GLfloat; + typedef khronos_float_t GLclampf; typedef double GLdouble; typedef double GLclampd; typedef void *GLeglClientBufferEXT; @@ -92,53 +54,24 @@ typedef void *GLhandleARB; #else typedef unsigned int GLhandleARB; #endif - typedef unsigned short GLhalfARB; - typedef unsigned short GLhalf; - typedef GLint GLfixed; - typedef ptrdiff_t GLintptr; - typedef ptrdiff_t GLsizeiptr; - typedef int64_t GLint64; - typedef uint64_t GLuint64; - typedef ptrdiff_t GLintptrARB; - typedef ptrdiff_t GLsizeiptrARB; - typedef int64_t GLint64EXT; - typedef uint64_t GLuint64EXT; + typedef khronos_uint16_t GLhalf; + typedef khronos_uint16_t GLhalfARB; + typedef khronos_int32_t GLfixed; + typedef khronos_intptr_t GLintptr; + typedef khronos_intptr_t GLintptrARB; + typedef khronos_ssize_t GLsizeiptr; + typedef khronos_ssize_t GLsizeiptrARB; + typedef khronos_int64_t GLint64; + typedef khronos_int64_t GLint64EXT; + typedef khronos_uint64_t GLuint64; + typedef khronos_uint64_t GLuint64EXT; typedef struct __GLsync *GLsync; struct _cl_context; struct _cl_event; typedef void ( *GLDEBUGPROC)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam); typedef void ( *GLDEBUGPROCARB)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam); typedef void ( *GLDEBUGPROCKHR)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam); - - typedef khronos_int32_t GLclampx; - - typedef khronos_int8_t GLbyte; - typedef khronos_uint8_t GLubyte; - typedef khronos_float_t GLfloat; - typedef khronos_float_t GLclampf; - typedef khronos_int32_t GLfixed; - typedef khronos_int64_t GLint64; - typedef khronos_uint64_t GLuint64; - typedef khronos_intptr_t GLintptr; - typedef khronos_ssize_t GLsizeiptr; - - typedef khronos_int8_t GLbyte; - typedef khronos_uint8_t GLubyte; - typedef khronos_float_t GLfloat; - typedef khronos_float_t GLclampf; - typedef khronos_int32_t GLfixed; - typedef khronos_int64_t GLint64; - typedef khronos_uint64_t GLuint64; - typedef khronos_int64_t GLint64EXT; - typedef khronos_uint64_t GLuint64EXT; - typedef khronos_intptr_t GLintptr; - typedef khronos_ssize_t GLsizeiptr; - - - typedef khronos_uint8_t GLubyte; - typedef khronos_float_t GLfloat; - typedef khronos_intptr_t GLintptr; - typedef khronos_ssize_t GLsizeiptr; + typedef void ( *GLDEBUGPROCAMD)(GLuint id,GLenum category,GLenum severity,GLsizei length,const GLchar *message,void *userParam); typedef unsigned short GLhalfNV; @@ -199,50 +132,58 @@ typedef unsigned int GLhandleARB; + + + - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -258,6 +199,7 @@ typedef unsigned int GLhandleARB; + @@ -278,6 +220,25 @@ typedef unsigned int GLhandleARB; + + + + + + + + + + + + + + + + + + + @@ -362,8 +323,11 @@ typedef unsigned int GLhandleARB; + + + @@ -444,6 +408,7 @@ typedef unsigned int GLhandleARB; + @@ -457,6 +422,9 @@ typedef unsigned int GLhandleARB; + + + @@ -472,6 +440,7 @@ typedef unsigned int GLhandleARB; + @@ -508,6 +477,7 @@ typedef unsigned int GLhandleARB; + @@ -521,11 +491,20 @@ typedef unsigned int GLhandleARB; + + + + + + + + + @@ -537,6 +516,7 @@ typedef unsigned int GLhandleARB; + @@ -656,6 +636,16 @@ typedef unsigned int GLhandleARB; + + + + + + + + + + @@ -667,6 +657,15 @@ typedef unsigned int GLhandleARB; + + + + + + + + + @@ -678,6 +677,22 @@ typedef unsigned int GLhandleARB; + + + + + + + + + + + + + + + + @@ -691,6 +706,8 @@ typedef unsigned int GLhandleARB; + + @@ -712,6 +729,7 @@ typedef unsigned int GLhandleARB; + @@ -723,6 +741,7 @@ typedef unsigned int GLhandleARB; + @@ -732,10 +751,17 @@ typedef unsigned int GLhandleARB; + + + + + + + @@ -761,6 +787,8 @@ typedef unsigned int GLhandleARB; + + @@ -769,6 +797,7 @@ typedef unsigned int GLhandleARB; + @@ -776,6 +805,7 @@ typedef unsigned int GLhandleARB; + @@ -789,16 +819,19 @@ typedef unsigned int GLhandleARB; + + + @@ -821,6 +854,7 @@ typedef unsigned int GLhandleARB; + @@ -829,6 +863,8 @@ typedef unsigned int GLhandleARB; + + @@ -843,6 +879,7 @@ typedef unsigned int GLhandleARB; + @@ -870,6 +907,7 @@ typedef unsigned int GLhandleARB; + @@ -895,9 +933,11 @@ typedef unsigned int GLhandleARB; + + @@ -909,20 +949,98 @@ typedef unsigned int GLhandleARB; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -934,14 +1052,20 @@ typedef unsigned int GLhandleARB; - + + + + + + + @@ -959,6 +1083,7 @@ typedef unsigned int GLhandleARB; + @@ -970,6 +1095,8 @@ typedef unsigned int GLhandleARB; + + @@ -1008,23 +1135,35 @@ typedef unsigned int GLhandleARB; + + + + + + + + + + + + @@ -1033,6 +1172,11 @@ typedef unsigned int GLhandleARB; + + + + + @@ -1043,6 +1187,13 @@ typedef unsigned int GLhandleARB; + + + + + + + @@ -1062,9 +1213,18 @@ typedef unsigned int GLhandleARB; + + + + + + + + + @@ -1076,13 +1236,23 @@ typedef unsigned int GLhandleARB; + + + + + + + + + + @@ -1090,13 +1260,20 @@ typedef unsigned int GLhandleARB; + + + + + + + @@ -1117,6 +1294,8 @@ typedef unsigned int GLhandleARB; + + @@ -1241,6 +1420,8 @@ typedef unsigned int GLhandleARB; + + @@ -1367,8 +1548,11 @@ typedef unsigned int GLhandleARB; + + + @@ -1376,12 +1560,16 @@ typedef unsigned int GLhandleARB; + + + + @@ -1444,6 +1632,7 @@ typedef unsigned int GLhandleARB; + @@ -1510,18 +1699,30 @@ typedef unsigned int GLhandleARB; + + + + + + + + + + + + @@ -1530,15 +1731,13 @@ typedef unsigned int GLhandleARB; + - + - - - - + @@ -1556,49 +1755,212 @@ typedef unsigned int GLhandleARB; - + - + - - + + - - + + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1887,7 +2249,9 @@ typedef unsigned int GLhandleARB; + + @@ -1902,6 +2266,11 @@ typedef unsigned int GLhandleARB; + + + + + @@ -1958,16 +2327,6 @@ typedef unsigned int GLhandleARB; - - - - - - - - - - @@ -2048,6 +2407,35 @@ typedef unsigned int GLhandleARB; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2115,11 +2503,16 @@ typedef unsigned int GLhandleARB; + + + + + @@ -2130,6 +2523,1000 @@ typedef unsigned int GLhandleARB; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2165,6 +3552,10 @@ typedef unsigned int GLhandleARB; + + + + @@ -2216,6 +3607,8 @@ typedef unsigned int GLhandleARB; + + @@ -2252,7 +3645,7 @@ typedef unsigned int GLhandleARB; - + @@ -2280,6 +3673,8 @@ typedef unsigned int GLhandleARB; + + @@ -2415,6 +3810,7 @@ typedef unsigned int GLhandleARB; + @@ -4322,7 +5718,8 @@ typedef unsigned int GLhandleARB; - + + @@ -4518,7 +5915,8 @@ typedef unsigned int GLhandleARB; - + + @@ -5231,6 +6629,7 @@ typedef unsigned int GLhandleARB; + @@ -6568,7 +7967,10 @@ typedef unsigned int GLhandleARB; - + + + + @@ -6595,7 +7997,11 @@ typedef unsigned int GLhandleARB; - + + + + + @@ -6805,11 +8211,12 @@ typedef unsigned int GLhandleARB; - + + @@ -7384,7 +8791,22 @@ typedef unsigned int GLhandleARB; - + + + + + + + + + + + + + + + + @@ -7633,7 +9055,8 @@ typedef unsigned int GLhandleARB; - + + @@ -7643,7 +9066,7 @@ typedef unsigned int GLhandleARB; - + @@ -8188,9 +9611,17 @@ typedef unsigned int GLhandleARB; - - - + + + + + + + + + + + @@ -8394,7 +9825,7 @@ typedef unsigned int GLhandleARB; - + @@ -8524,13 +9955,19 @@ typedef unsigned int GLhandleARB; + + + + + + @@ -8551,7 +9988,7 @@ typedef unsigned int GLhandleARB; - + @@ -8560,7 +9997,36 @@ typedef unsigned int GLhandleARB; - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -8688,23 +10154,73 @@ typedef unsigned int GLhandleARB; - + + + + + + + + + + + + + + + + + + + + + - + - + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -8733,7 +10249,28 @@ typedef unsigned int GLhandleARB; - + + + + + + + + + + + + + + + + + + + + + + @@ -8764,7 +10301,8 @@ typedef unsigned int GLhandleARB; - + + + + + + + + @@ -37369,6 +39142,18 @@ typedef unsigned int GLhandleARB; + + + + + + + + + + + + @@ -37563,6 +39348,8 @@ typedef unsigned int GLhandleARB; + + @@ -38822,17 +40609,17 @@ typedef unsigned int GLhandleARB; + + - + + - - - @@ -39072,6 +40859,29 @@ typedef unsigned int GLhandleARB; + + + + + + + + + + + + + + + + + + + + + + + @@ -41177,6 +42987,15 @@ typedef unsigned int GLhandleARB; + + + + + + + + + @@ -41296,6 +43115,17 @@ typedef unsigned int GLhandleARB; + + + + + + + + + + + @@ -41466,7 +43296,7 @@ typedef unsigned int GLhandleARB; - + @@ -41480,6 +43310,11 @@ typedef unsigned int GLhandleARB; + + + + + @@ -42641,6 +44476,8 @@ typedef unsigned int GLhandleARB; + + @@ -42782,9 +44619,15 @@ typedef unsigned int GLhandleARB; - + + + + + + + @@ -43151,6 +44994,14 @@ typedef unsigned int GLhandleARB; + + + + + + + + @@ -43220,13 +45071,8 @@ typedef unsigned int GLhandleARB; - - - - - - - + + @@ -43234,6 +45080,11 @@ typedef unsigned int GLhandleARB; + + + + + @@ -43305,6 +45156,11 @@ typedef unsigned int GLhandleARB; + + + + + @@ -43367,7 +45223,7 @@ typedef unsigned int GLhandleARB; - + @@ -44047,6 +45903,11 @@ typedef unsigned int GLhandleARB; + + + + + @@ -44131,7 +45992,7 @@ typedef unsigned int GLhandleARB; - + @@ -44347,6 +46208,13 @@ typedef unsigned int GLhandleARB; + + + + + + + @@ -44378,6 +46246,13 @@ typedef unsigned int GLhandleARB; + + + + + + + @@ -44414,6 +46289,11 @@ typedef unsigned int GLhandleARB; + + + + + @@ -44545,7 +46425,7 @@ typedef unsigned int GLhandleARB; - + @@ -44599,6 +46479,7 @@ typedef unsigned int GLhandleARB; + @@ -44626,6 +46507,11 @@ typedef unsigned int GLhandleARB; + + + + + @@ -44635,6 +46521,7 @@ typedef unsigned int GLhandleARB; + @@ -44911,6 +46798,7 @@ typedef unsigned int GLhandleARB; + @@ -45195,6 +47083,84 @@ typedef unsigned int GLhandleARB; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -45494,6 +47460,25 @@ typedef unsigned int GLhandleARB; + + + + + + + + + + + + + + + + + + + @@ -45565,6 +47550,24 @@ typedef unsigned int GLhandleARB; + + + + + + + + + + + + + + + + + + @@ -45655,6 +47658,11 @@ typedef unsigned int GLhandleARB; + + + + + @@ -45690,6 +47698,14 @@ typedef unsigned int GLhandleARB; + + + + + + + + @@ -45725,6 +47741,7 @@ typedef unsigned int GLhandleARB; + @@ -45733,6 +47750,39 @@ typedef unsigned int GLhandleARB; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -45743,7 +47793,7 @@ typedef unsigned int GLhandleARB; - + @@ -46009,6 +48059,11 @@ typedef unsigned int GLhandleARB; + + + + + @@ -46935,7 +48990,7 @@ typedef unsigned int GLhandleARB; - + @@ -47152,7 +49207,7 @@ typedef unsigned int GLhandleARB; - + @@ -47374,6 +49429,24 @@ typedef unsigned int GLhandleARB; + + + + + + + + + + + + + + + + + + @@ -47385,6 +49458,8 @@ typedef unsigned int GLhandleARB; + + @@ -47428,6 +49503,8 @@ typedef unsigned int GLhandleARB; + +