Update GL headers
This commit is contained in:
parent
a108e6ce65
commit
c4a3b3f18a
|
|
@ -8,13 +8,13 @@ extern "C" {
|
||||||
/*
|
/*
|
||||||
** Copyright 2013-2020 The Khronos Group Inc.
|
** Copyright 2013-2020 The Khronos Group Inc.
|
||||||
** SPDX-License-Identifier: Apache-2.0
|
** SPDX-License-Identifier: Apache-2.0
|
||||||
/*
|
**
|
||||||
** This header is generated from the Khronos EGL XML API Registry.
|
** This header is generated from the Khronos EGL XML API Registry.
|
||||||
** The current version of the Registry, generator scripts
|
** The current version of the Registry, generator scripts
|
||||||
** used to make the header, and the header can be found at
|
** used to make the header, and the header can be found at
|
||||||
** http://www.khronos.org/registry/egl
|
** http://www.khronos.org/registry/egl
|
||||||
**
|
**
|
||||||
** Khronos $Git commit SHA1: 50f5da047a $ on $Git commit date: 2020-08-13 03:59:02 -0700 $
|
** Khronos $Git commit SHA1: 6fb1daea15 $ on $Git commit date: 2022-05-25 09:41:13 -0600 $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <EGL/eglplatform.h>
|
#include <EGL/eglplatform.h>
|
||||||
|
|
@ -23,7 +23,7 @@ extern "C" {
|
||||||
#define EGL_EGL_PROTOTYPES 1
|
#define EGL_EGL_PROTOTYPES 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Generated on date 20200813 */
|
/* Generated on date 20220525 */
|
||||||
|
|
||||||
/* Generated C header for:
|
/* Generated C header for:
|
||||||
* API: egl
|
* API: egl
|
||||||
|
|
|
||||||
|
|
@ -8,18 +8,18 @@ extern "C" {
|
||||||
/*
|
/*
|
||||||
** Copyright 2013-2020 The Khronos Group Inc.
|
** Copyright 2013-2020 The Khronos Group Inc.
|
||||||
** SPDX-License-Identifier: Apache-2.0
|
** SPDX-License-Identifier: Apache-2.0
|
||||||
/*
|
**
|
||||||
** This header is generated from the Khronos EGL XML API Registry.
|
** This header is generated from the Khronos EGL XML API Registry.
|
||||||
** The current version of the Registry, generator scripts
|
** The current version of the Registry, generator scripts
|
||||||
** used to make the header, and the header can be found at
|
** used to make the header, and the header can be found at
|
||||||
** http://www.khronos.org/registry/egl
|
** http://www.khronos.org/registry/egl
|
||||||
**
|
**
|
||||||
** Khronos $Git commit SHA1: 50f5da047a $ on $Git commit date: 2020-08-13 03:59:02 -0700 $
|
** Khronos $Git commit SHA1: 6fb1daea15 $ on $Git commit date: 2022-05-25 09:41:13 -0600 $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <EGL/eglplatform.h>
|
#include <EGL/eglplatform.h>
|
||||||
|
|
||||||
#define EGL_EGLEXT_VERSION 20200813
|
#define EGL_EGLEXT_VERSION 20220525
|
||||||
|
|
||||||
/* Generated C header for:
|
/* Generated C header for:
|
||||||
* API: egl
|
* API: egl
|
||||||
|
|
@ -574,6 +574,14 @@ EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurfacePointerANGLE (EGLDisplay dpy, EGLSu
|
||||||
#define EGL_ANGLE_surface_d3d_texture_2d_share_handle 1
|
#define EGL_ANGLE_surface_d3d_texture_2d_share_handle 1
|
||||||
#endif /* EGL_ANGLE_surface_d3d_texture_2d_share_handle */
|
#endif /* EGL_ANGLE_surface_d3d_texture_2d_share_handle */
|
||||||
|
|
||||||
|
#ifndef EGL_ANGLE_sync_control_rate
|
||||||
|
#define EGL_ANGLE_sync_control_rate 1
|
||||||
|
typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETMSCRATEANGLEPROC) (EGLDisplay dpy, EGLSurface surface, EGLint *numerator, EGLint *denominator);
|
||||||
|
#ifdef EGL_EGLEXT_PROTOTYPES
|
||||||
|
EGLAPI EGLBoolean EGLAPIENTRY eglGetMscRateANGLE (EGLDisplay dpy, EGLSurface surface, EGLint *numerator, EGLint *denominator);
|
||||||
|
#endif
|
||||||
|
#endif /* EGL_ANGLE_sync_control_rate */
|
||||||
|
|
||||||
#ifndef EGL_ANGLE_window_fixed_size
|
#ifndef EGL_ANGLE_window_fixed_size
|
||||||
#define EGL_ANGLE_window_fixed_size 1
|
#define EGL_ANGLE_window_fixed_size 1
|
||||||
#define EGL_FIXED_SIZE_ANGLE 0x3201
|
#define EGL_FIXED_SIZE_ANGLE 0x3201
|
||||||
|
|
@ -643,6 +651,11 @@ EGLAPI EGLBoolean EGLAPIENTRY eglCompositorSwapPolicyEXT (EGLint external_win_id
|
||||||
#endif
|
#endif
|
||||||
#endif /* EGL_EXT_compositor */
|
#endif /* EGL_EXT_compositor */
|
||||||
|
|
||||||
|
#ifndef EGL_EXT_config_select_group
|
||||||
|
#define EGL_EXT_config_select_group 1
|
||||||
|
#define EGL_CONFIG_SELECT_GROUP_EXT 0x34C0
|
||||||
|
#endif /* EGL_EXT_config_select_group */
|
||||||
|
|
||||||
#ifndef EGL_EXT_create_context_robustness
|
#ifndef EGL_EXT_create_context_robustness
|
||||||
#define EGL_EXT_create_context_robustness 1
|
#define EGL_EXT_create_context_robustness 1
|
||||||
#define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT 0x30BF
|
#define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT 0x30BF
|
||||||
|
|
@ -675,6 +688,11 @@ EGLAPI EGLBoolean EGLAPIENTRY eglQueryDisplayAttribEXT (EGLDisplay dpy, EGLint a
|
||||||
#define EGL_DRM_MASTER_FD_EXT 0x333C
|
#define EGL_DRM_MASTER_FD_EXT 0x333C
|
||||||
#endif /* EGL_EXT_device_drm */
|
#endif /* EGL_EXT_device_drm */
|
||||||
|
|
||||||
|
#ifndef EGL_EXT_device_drm_render_node
|
||||||
|
#define EGL_EXT_device_drm_render_node 1
|
||||||
|
#define EGL_DRM_RENDER_NODE_FILE_EXT 0x3377
|
||||||
|
#endif /* EGL_EXT_device_drm_render_node */
|
||||||
|
|
||||||
#ifndef EGL_EXT_device_enumeration
|
#ifndef EGL_EXT_device_enumeration
|
||||||
#define EGL_EXT_device_enumeration 1
|
#define EGL_EXT_device_enumeration 1
|
||||||
#endif /* EGL_EXT_device_enumeration */
|
#endif /* EGL_EXT_device_enumeration */
|
||||||
|
|
@ -682,8 +700,20 @@ EGLAPI EGLBoolean EGLAPIENTRY eglQueryDisplayAttribEXT (EGLDisplay dpy, EGLint a
|
||||||
#ifndef EGL_EXT_device_openwf
|
#ifndef EGL_EXT_device_openwf
|
||||||
#define EGL_EXT_device_openwf 1
|
#define EGL_EXT_device_openwf 1
|
||||||
#define EGL_OPENWF_DEVICE_ID_EXT 0x3237
|
#define EGL_OPENWF_DEVICE_ID_EXT 0x3237
|
||||||
|
#define EGL_OPENWF_DEVICE_EXT 0x333D
|
||||||
#endif /* EGL_EXT_device_openwf */
|
#endif /* EGL_EXT_device_openwf */
|
||||||
|
|
||||||
|
#ifndef EGL_EXT_device_persistent_id
|
||||||
|
#define EGL_EXT_device_persistent_id 1
|
||||||
|
#define EGL_DEVICE_UUID_EXT 0x335C
|
||||||
|
#define EGL_DRIVER_UUID_EXT 0x335D
|
||||||
|
#define EGL_DRIVER_NAME_EXT 0x335E
|
||||||
|
typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDEVICEBINARYEXTPROC) (EGLDeviceEXT device, EGLint name, EGLint max_size, void *value, EGLint *size);
|
||||||
|
#ifdef EGL_EGLEXT_PROTOTYPES
|
||||||
|
EGLAPI EGLBoolean EGLAPIENTRY eglQueryDeviceBinaryEXT (EGLDeviceEXT device, EGLint name, EGLint max_size, void *value, EGLint *size);
|
||||||
|
#endif
|
||||||
|
#endif /* EGL_EXT_device_persistent_id */
|
||||||
|
|
||||||
#ifndef EGL_EXT_device_query
|
#ifndef EGL_EXT_device_query
|
||||||
#define EGL_EXT_device_query 1
|
#define EGL_EXT_device_query 1
|
||||||
#endif /* EGL_EXT_device_query */
|
#endif /* EGL_EXT_device_query */
|
||||||
|
|
@ -693,6 +723,10 @@ EGLAPI EGLBoolean EGLAPIENTRY eglQueryDisplayAttribEXT (EGLDisplay dpy, EGLint a
|
||||||
#define EGL_RENDERER_EXT 0x335F
|
#define EGL_RENDERER_EXT 0x335F
|
||||||
#endif /* EGL_EXT_device_query_name */
|
#endif /* EGL_EXT_device_query_name */
|
||||||
|
|
||||||
|
#ifndef EGL_EXT_explicit_device
|
||||||
|
#define EGL_EXT_explicit_device 1
|
||||||
|
#endif /* EGL_EXT_explicit_device */
|
||||||
|
|
||||||
#ifndef EGL_EXT_gl_colorspace_bt2020_linear
|
#ifndef EGL_EXT_gl_colorspace_bt2020_linear
|
||||||
#define EGL_EXT_gl_colorspace_bt2020_linear 1
|
#define EGL_EXT_gl_colorspace_bt2020_linear 1
|
||||||
#define EGL_GL_COLORSPACE_BT2020_LINEAR_EXT 0x333F
|
#define EGL_GL_COLORSPACE_BT2020_LINEAR_EXT 0x333F
|
||||||
|
|
@ -869,6 +903,17 @@ EGLAPI EGLSurface EGLAPIENTRY eglCreatePlatformPixmapSurfaceEXT (EGLDisplay dpy,
|
||||||
#define EGL_PLATFORM_X11_SCREEN_EXT 0x31D6
|
#define EGL_PLATFORM_X11_SCREEN_EXT 0x31D6
|
||||||
#endif /* EGL_EXT_platform_x11 */
|
#endif /* EGL_EXT_platform_x11 */
|
||||||
|
|
||||||
|
#ifndef EGL_EXT_platform_xcb
|
||||||
|
#define EGL_EXT_platform_xcb 1
|
||||||
|
#define EGL_PLATFORM_XCB_EXT 0x31DC
|
||||||
|
#define EGL_PLATFORM_XCB_SCREEN_EXT 0x31DE
|
||||||
|
#endif /* EGL_EXT_platform_xcb */
|
||||||
|
|
||||||
|
#ifndef EGL_EXT_present_opaque
|
||||||
|
#define EGL_EXT_present_opaque 1
|
||||||
|
#define EGL_PRESENT_OPAQUE_EXT 0x31DF
|
||||||
|
#endif /* EGL_EXT_present_opaque */
|
||||||
|
|
||||||
#ifndef EGL_EXT_protected_content
|
#ifndef EGL_EXT_protected_content
|
||||||
#define EGL_EXT_protected_content 1
|
#define EGL_EXT_protected_content 1
|
||||||
#define EGL_PROTECTED_CONTENT_EXT 0x32C0
|
#define EGL_PROTECTED_CONTENT_EXT 0x32C0
|
||||||
|
|
@ -907,6 +952,31 @@ EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerOutputEXT (EGLDisplay dpy, EGLStr
|
||||||
#define EGL_METADATA_SCALING_EXT 50000
|
#define EGL_METADATA_SCALING_EXT 50000
|
||||||
#endif /* EGL_EXT_surface_SMPTE2086_metadata */
|
#endif /* EGL_EXT_surface_SMPTE2086_metadata */
|
||||||
|
|
||||||
|
#ifndef EGL_EXT_surface_compression
|
||||||
|
#define EGL_EXT_surface_compression 1
|
||||||
|
#define EGL_SURFACE_COMPRESSION_EXT 0x34B0
|
||||||
|
#define EGL_SURFACE_COMPRESSION_PLANE1_EXT 0x328E
|
||||||
|
#define EGL_SURFACE_COMPRESSION_PLANE2_EXT 0x328F
|
||||||
|
#define EGL_SURFACE_COMPRESSION_FIXED_RATE_NONE_EXT 0x34B1
|
||||||
|
#define EGL_SURFACE_COMPRESSION_FIXED_RATE_DEFAULT_EXT 0x34B2
|
||||||
|
#define EGL_SURFACE_COMPRESSION_FIXED_RATE_1BPC_EXT 0x34B4
|
||||||
|
#define EGL_SURFACE_COMPRESSION_FIXED_RATE_2BPC_EXT 0x34B5
|
||||||
|
#define EGL_SURFACE_COMPRESSION_FIXED_RATE_3BPC_EXT 0x34B6
|
||||||
|
#define EGL_SURFACE_COMPRESSION_FIXED_RATE_4BPC_EXT 0x34B7
|
||||||
|
#define EGL_SURFACE_COMPRESSION_FIXED_RATE_5BPC_EXT 0x34B8
|
||||||
|
#define EGL_SURFACE_COMPRESSION_FIXED_RATE_6BPC_EXT 0x34B9
|
||||||
|
#define EGL_SURFACE_COMPRESSION_FIXED_RATE_7BPC_EXT 0x34BA
|
||||||
|
#define EGL_SURFACE_COMPRESSION_FIXED_RATE_8BPC_EXT 0x34BB
|
||||||
|
#define EGL_SURFACE_COMPRESSION_FIXED_RATE_9BPC_EXT 0x34BC
|
||||||
|
#define EGL_SURFACE_COMPRESSION_FIXED_RATE_10BPC_EXT 0x34BD
|
||||||
|
#define EGL_SURFACE_COMPRESSION_FIXED_RATE_11BPC_EXT 0x34BE
|
||||||
|
#define EGL_SURFACE_COMPRESSION_FIXED_RATE_12BPC_EXT 0x34BF
|
||||||
|
typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSUPPORTEDCOMPRESSIONRATESEXTPROC) (EGLDisplay dpy, EGLConfig config, const EGLAttrib *attrib_list, EGLint *rates, EGLint rate_size, EGLint *num_rates);
|
||||||
|
#ifdef EGL_EGLEXT_PROTOTYPES
|
||||||
|
EGLAPI EGLBoolean EGLAPIENTRY eglQuerySupportedCompressionRatesEXT (EGLDisplay dpy, EGLConfig config, const EGLAttrib *attrib_list, EGLint *rates, EGLint rate_size, EGLint *num_rates);
|
||||||
|
#endif
|
||||||
|
#endif /* EGL_EXT_surface_compression */
|
||||||
|
|
||||||
#ifndef EGL_EXT_swap_buffers_with_damage
|
#ifndef EGL_EXT_swap_buffers_with_damage
|
||||||
#define EGL_EXT_swap_buffers_with_damage 1
|
#define EGL_EXT_swap_buffers_with_damage 1
|
||||||
typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC) (EGLDisplay dpy, EGLSurface surface, const EGLint *rects, EGLint n_rects);
|
typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC) (EGLDisplay dpy, EGLSurface surface, const EGLint *rects, EGLint n_rects);
|
||||||
|
|
@ -1141,12 +1211,12 @@ EGLAPI EGLBoolean EGLAPIENTRY eglPostSubBufferNV (EGLDisplay dpy, EGLSurface sur
|
||||||
#define EGL_STREAM_IMAGE_ADD_NV 0x3374
|
#define EGL_STREAM_IMAGE_ADD_NV 0x3374
|
||||||
#define EGL_STREAM_IMAGE_REMOVE_NV 0x3375
|
#define EGL_STREAM_IMAGE_REMOVE_NV 0x3375
|
||||||
#define EGL_STREAM_IMAGE_AVAILABLE_NV 0x3376
|
#define EGL_STREAM_IMAGE_AVAILABLE_NV 0x3376
|
||||||
typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLint num_modifiers, EGLuint64KHR *modifiers, EGLAttrib *attrib_list);
|
typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLint num_modifiers, const EGLuint64KHR *modifiers, const EGLAttrib *attrib_list);
|
||||||
typedef EGLint (EGLAPIENTRYP PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLTime timeout, EGLenum *event, EGLAttrib *aux);
|
typedef EGLint (EGLAPIENTRYP PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLTime timeout, EGLenum *event, EGLAttrib *aux);
|
||||||
typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMACQUIREIMAGENVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLImage *pImage, EGLSync sync);
|
typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMACQUIREIMAGENVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLImage *pImage, EGLSync sync);
|
||||||
typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMRELEASEIMAGENVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLImage image, EGLSync sync);
|
typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMRELEASEIMAGENVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLImage image, EGLSync sync);
|
||||||
#ifdef EGL_EGLEXT_PROTOTYPES
|
#ifdef EGL_EGLEXT_PROTOTYPES
|
||||||
EGLAPI EGLBoolean EGLAPIENTRY eglStreamImageConsumerConnectNV (EGLDisplay dpy, EGLStreamKHR stream, EGLint num_modifiers, EGLuint64KHR *modifiers, EGLAttrib *attrib_list);
|
EGLAPI EGLBoolean EGLAPIENTRY eglStreamImageConsumerConnectNV (EGLDisplay dpy, EGLStreamKHR stream, EGLint num_modifiers, const EGLuint64KHR *modifiers, const EGLAttrib *attrib_list);
|
||||||
EGLAPI EGLint EGLAPIENTRY eglQueryStreamConsumerEventNV (EGLDisplay dpy, EGLStreamKHR stream, EGLTime timeout, EGLenum *event, EGLAttrib *aux);
|
EGLAPI EGLint EGLAPIENTRY eglQueryStreamConsumerEventNV (EGLDisplay dpy, EGLStreamKHR stream, EGLTime timeout, EGLenum *event, EGLAttrib *aux);
|
||||||
EGLAPI EGLBoolean EGLAPIENTRY eglStreamAcquireImageNV (EGLDisplay dpy, EGLStreamKHR stream, EGLImage *pImage, EGLSync sync);
|
EGLAPI EGLBoolean EGLAPIENTRY eglStreamAcquireImageNV (EGLDisplay dpy, EGLStreamKHR stream, EGLImage *pImage, EGLSync sync);
|
||||||
EGLAPI EGLBoolean EGLAPIENTRY eglStreamReleaseImageNV (EGLDisplay dpy, EGLStreamKHR stream, EGLImage image, EGLSync sync);
|
EGLAPI EGLBoolean EGLAPIENTRY eglStreamReleaseImageNV (EGLDisplay dpy, EGLStreamKHR stream, EGLImage image, EGLSync sync);
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,13 @@
|
||||||
* implementations.
|
* implementations.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if defined(_WIN32) || defined(__VC32__) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) /* Win32 and WinCE */
|
#if defined(EGL_NO_PLATFORM_SPECIFIC_TYPES)
|
||||||
|
|
||||||
|
typedef void *EGLNativeDisplayType;
|
||||||
|
typedef void *EGLNativePixmapType;
|
||||||
|
typedef void *EGLNativeWindowType;
|
||||||
|
|
||||||
|
#elif defined(_WIN32) || defined(__VC32__) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) /* Win32 and WinCE */
|
||||||
#ifndef WIN32_LEAN_AND_MEAN
|
#ifndef WIN32_LEAN_AND_MEAN
|
||||||
#define WIN32_LEAN_AND_MEAN 1
|
#define WIN32_LEAN_AND_MEAN 1
|
||||||
#endif
|
#endif
|
||||||
|
|
@ -97,13 +103,7 @@ typedef intptr_t EGLNativeDisplayType;
|
||||||
typedef intptr_t EGLNativePixmapType;
|
typedef intptr_t EGLNativePixmapType;
|
||||||
typedef intptr_t EGLNativeWindowType;
|
typedef intptr_t EGLNativeWindowType;
|
||||||
|
|
||||||
#elif defined(__unix__) && defined(EGL_NO_X11)
|
#elif defined(USE_X11)
|
||||||
|
|
||||||
typedef void *EGLNativeDisplayType;
|
|
||||||
typedef khronos_uintptr_t EGLNativePixmapType;
|
|
||||||
typedef khronos_uintptr_t EGLNativeWindowType;
|
|
||||||
|
|
||||||
#elif defined(__unix__) || defined(USE_X11)
|
|
||||||
|
|
||||||
/* X11 (tentative) */
|
/* X11 (tentative) */
|
||||||
#include <X11/Xlib.h>
|
#include <X11/Xlib.h>
|
||||||
|
|
@ -113,6 +113,12 @@ typedef Display *EGLNativeDisplayType;
|
||||||
typedef Pixmap EGLNativePixmapType;
|
typedef Pixmap EGLNativePixmapType;
|
||||||
typedef Window EGLNativeWindowType;
|
typedef Window EGLNativeWindowType;
|
||||||
|
|
||||||
|
#elif defined(__unix__)
|
||||||
|
|
||||||
|
typedef void *EGLNativeDisplayType;
|
||||||
|
typedef khronos_uintptr_t EGLNativePixmapType;
|
||||||
|
typedef khronos_uintptr_t EGLNativeWindowType;
|
||||||
|
|
||||||
#elif defined(__APPLE__)
|
#elif defined(__APPLE__)
|
||||||
|
|
||||||
typedef int EGLNativeDisplayType;
|
typedef int EGLNativeDisplayType;
|
||||||
|
|
|
||||||
|
|
@ -6,28 +6,9 @@ extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** Copyright (c) 2013-2018 The Khronos Group Inc.
|
** Copyright 2013-2020 The Khronos Group Inc.
|
||||||
|
** SPDX-License-Identifier: MIT
|
||||||
**
|
**
|
||||||
** Permission is hereby granted, free of charge, to any person obtaining a
|
|
||||||
** copy of this software and/or associated documentation files (the
|
|
||||||
** "Materials"), to deal in the Materials without restriction, including
|
|
||||||
** without limitation the rights to use, copy, modify, merge, publish,
|
|
||||||
** distribute, sublicense, and/or sell copies of the Materials, and to
|
|
||||||
** permit persons to whom the Materials are furnished to do so, subject to
|
|
||||||
** the following conditions:
|
|
||||||
**
|
|
||||||
** The above copyright notice and this permission notice shall be included
|
|
||||||
** in all copies or substantial portions of the Materials.
|
|
||||||
**
|
|
||||||
** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
** This header is generated from the Khronos OpenGL / OpenGL ES XML
|
** This header is generated from the Khronos OpenGL / OpenGL ES XML
|
||||||
** API Registry. The current version of the Registry, generator scripts
|
** API Registry. The current version of the Registry, generator scripts
|
||||||
** used to make the header, and the header can be found at
|
** used to make the header, and the header can be found at
|
||||||
|
|
@ -1895,7 +1876,7 @@ GLAPI void APIENTRY glGetQueryIndexediv (GLenum target, GLuint index, GLenum pna
|
||||||
#define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F
|
#define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F
|
||||||
#define GL_UNDEFINED_VERTEX 0x8260
|
#define GL_UNDEFINED_VERTEX 0x8260
|
||||||
typedef void (APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void);
|
typedef void (APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void);
|
||||||
typedef void (APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length);
|
typedef void (APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryFormat, const void *binary, GLsizei length);
|
||||||
typedef void (APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
|
typedef void (APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
|
||||||
typedef void (APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f);
|
typedef void (APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f);
|
||||||
typedef void (APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d);
|
typedef void (APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d);
|
||||||
|
|
@ -1984,7 +1965,7 @@ typedef void (APIENTRYP PFNGLGETFLOATI_VPROC) (GLenum target, GLuint index, GLfl
|
||||||
typedef void (APIENTRYP PFNGLGETDOUBLEI_VPROC) (GLenum target, GLuint index, GLdouble *data);
|
typedef void (APIENTRYP PFNGLGETDOUBLEI_VPROC) (GLenum target, GLuint index, GLdouble *data);
|
||||||
#ifdef GL_GLEXT_PROTOTYPES
|
#ifdef GL_GLEXT_PROTOTYPES
|
||||||
GLAPI void APIENTRY glReleaseShaderCompiler (void);
|
GLAPI void APIENTRY glReleaseShaderCompiler (void);
|
||||||
GLAPI void APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length);
|
GLAPI void APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryFormat, const void *binary, GLsizei length);
|
||||||
GLAPI void APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
|
GLAPI void APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
|
||||||
GLAPI void APIENTRY glDepthRangef (GLfloat n, GLfloat f);
|
GLAPI void APIENTRY glDepthRangef (GLfloat n, GLfloat f);
|
||||||
GLAPI void APIENTRY glClearDepthf (GLfloat d);
|
GLAPI void APIENTRY glClearDepthf (GLfloat d);
|
||||||
|
|
@ -4681,6 +4662,11 @@ GLAPI void APIENTRY glFramebufferFetchBarrierEXT (void);
|
||||||
#define GL_SR8_EXT 0x8FBD
|
#define GL_SR8_EXT 0x8FBD
|
||||||
#endif /* GL_EXT_texture_sRGB_R8 */
|
#endif /* GL_EXT_texture_sRGB_R8 */
|
||||||
|
|
||||||
|
#ifndef GL_EXT_texture_sRGB_RG8
|
||||||
|
#define GL_EXT_texture_sRGB_RG8 1
|
||||||
|
#define GL_SRG8_EXT 0x8FBE
|
||||||
|
#endif /* GL_EXT_texture_sRGB_RG8 */
|
||||||
|
|
||||||
#ifndef GL_EXT_texture_sRGB_decode
|
#ifndef GL_EXT_texture_sRGB_decode
|
||||||
#define GL_EXT_texture_sRGB_decode 1
|
#define GL_EXT_texture_sRGB_decode 1
|
||||||
#define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48
|
#define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48
|
||||||
|
|
@ -4692,6 +4678,41 @@ GLAPI void APIENTRY glFramebufferFetchBarrierEXT (void);
|
||||||
#define GL_EXT_texture_shadow_lod 1
|
#define GL_EXT_texture_shadow_lod 1
|
||||||
#endif /* GL_EXT_texture_shadow_lod */
|
#endif /* GL_EXT_texture_shadow_lod */
|
||||||
|
|
||||||
|
#ifndef GL_EXT_texture_storage
|
||||||
|
#define GL_EXT_texture_storage 1
|
||||||
|
#define GL_TEXTURE_IMMUTABLE_FORMAT_EXT 0x912F
|
||||||
|
#define GL_ALPHA8_EXT 0x803C
|
||||||
|
#define GL_LUMINANCE8_EXT 0x8040
|
||||||
|
#define GL_LUMINANCE8_ALPHA8_EXT 0x8045
|
||||||
|
#define GL_RGBA32F_EXT 0x8814
|
||||||
|
#define GL_RGB32F_EXT 0x8815
|
||||||
|
#define GL_ALPHA32F_EXT 0x8816
|
||||||
|
#define GL_LUMINANCE32F_EXT 0x8818
|
||||||
|
#define GL_LUMINANCE_ALPHA32F_EXT 0x8819
|
||||||
|
#define GL_RGBA16F_EXT 0x881A
|
||||||
|
#define GL_RGB16F_EXT 0x881B
|
||||||
|
#define GL_ALPHA16F_EXT 0x881C
|
||||||
|
#define GL_LUMINANCE16F_EXT 0x881E
|
||||||
|
#define GL_LUMINANCE_ALPHA16F_EXT 0x881F
|
||||||
|
#define GL_RGB10_A2_EXT 0x8059
|
||||||
|
#define GL_RGB10_EXT 0x8052
|
||||||
|
#define GL_BGRA8_EXT 0x93A1
|
||||||
|
#define GL_R8_EXT 0x8229
|
||||||
|
#define GL_RG8_EXT 0x822B
|
||||||
|
#define GL_R32F_EXT 0x822E
|
||||||
|
#define GL_RG32F_EXT 0x8230
|
||||||
|
#define GL_R16F_EXT 0x822D
|
||||||
|
#define GL_RG16F_EXT 0x822F
|
||||||
|
typedef void (APIENTRYP PFNGLTEXSTORAGE1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
|
||||||
|
typedef void (APIENTRYP PFNGLTEXSTORAGE2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
|
||||||
|
typedef void (APIENTRYP PFNGLTEXSTORAGE3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
|
||||||
|
#ifdef GL_GLEXT_PROTOTYPES
|
||||||
|
GLAPI void APIENTRY glTexStorage1DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
|
||||||
|
GLAPI void APIENTRY glTexStorage2DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
|
||||||
|
GLAPI void APIENTRY glTexStorage3DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
|
||||||
|
#endif
|
||||||
|
#endif /* GL_EXT_texture_storage */
|
||||||
|
|
||||||
#ifndef GL_EXT_window_rectangles
|
#ifndef GL_EXT_window_rectangles
|
||||||
#define GL_EXT_window_rectangles 1
|
#define GL_EXT_window_rectangles 1
|
||||||
#define GL_INCLUSIVE_EXT 0x8F10
|
#define GL_INCLUSIVE_EXT 0x8F10
|
||||||
|
|
@ -4770,6 +4791,11 @@ GLAPI void APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLen
|
||||||
#endif
|
#endif
|
||||||
#endif /* GL_INTEL_performance_query */
|
#endif /* GL_INTEL_performance_query */
|
||||||
|
|
||||||
|
#ifndef GL_MESA_framebuffer_flip_x
|
||||||
|
#define GL_MESA_framebuffer_flip_x 1
|
||||||
|
#define GL_FRAMEBUFFER_FLIP_X_MESA 0x8BBC
|
||||||
|
#endif /* GL_MESA_framebuffer_flip_x */
|
||||||
|
|
||||||
#ifndef GL_MESA_framebuffer_flip_y
|
#ifndef GL_MESA_framebuffer_flip_y
|
||||||
#define GL_MESA_framebuffer_flip_y 1
|
#define GL_MESA_framebuffer_flip_y 1
|
||||||
#define GL_FRAMEBUFFER_FLIP_Y_MESA 0x8BBB
|
#define GL_FRAMEBUFFER_FLIP_Y_MESA 0x8BBB
|
||||||
|
|
@ -4781,6 +4807,11 @@ GLAPI void APIENTRY glGetFramebufferParameterivMESA (GLenum target, GLenum pname
|
||||||
#endif
|
#endif
|
||||||
#endif /* GL_MESA_framebuffer_flip_y */
|
#endif /* GL_MESA_framebuffer_flip_y */
|
||||||
|
|
||||||
|
#ifndef GL_MESA_framebuffer_swap_xy
|
||||||
|
#define GL_MESA_framebuffer_swap_xy 1
|
||||||
|
#define GL_FRAMEBUFFER_SWAP_XY_MESA 0x8BBD
|
||||||
|
#endif /* GL_MESA_framebuffer_swap_xy */
|
||||||
|
|
||||||
#ifndef GL_NV_bindless_multi_draw_indirect
|
#ifndef GL_NV_bindless_multi_draw_indirect
|
||||||
#define GL_NV_bindless_multi_draw_indirect 1
|
#define GL_NV_bindless_multi_draw_indirect 1
|
||||||
typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSNVPROC) (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
|
typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSNVPROC) (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
|
||||||
|
|
@ -5267,6 +5298,20 @@ GLAPI void APIENTRY glNamedBufferAttachMemoryNV (GLuint buffer, GLuint memory, G
|
||||||
#endif
|
#endif
|
||||||
#endif /* GL_NV_memory_attachment */
|
#endif /* GL_NV_memory_attachment */
|
||||||
|
|
||||||
|
#ifndef GL_NV_memory_object_sparse
|
||||||
|
#define GL_NV_memory_object_sparse 1
|
||||||
|
typedef void (APIENTRYP PFNGLBUFFERPAGECOMMITMENTMEMNVPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit);
|
||||||
|
typedef void (APIENTRYP PFNGLTEXPAGECOMMITMENTMEMNVPROC) (GLenum target, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit);
|
||||||
|
typedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit);
|
||||||
|
typedef void (APIENTRYP PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC) (GLuint texture, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit);
|
||||||
|
#ifdef GL_GLEXT_PROTOTYPES
|
||||||
|
GLAPI void APIENTRY glBufferPageCommitmentMemNV (GLenum target, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit);
|
||||||
|
GLAPI void APIENTRY glTexPageCommitmentMemNV (GLenum target, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit);
|
||||||
|
GLAPI void APIENTRY glNamedBufferPageCommitmentMemNV (GLuint buffer, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit);
|
||||||
|
GLAPI void APIENTRY glTexturePageCommitmentMemNV (GLuint texture, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit);
|
||||||
|
#endif
|
||||||
|
#endif /* GL_NV_memory_object_sparse */
|
||||||
|
|
||||||
#ifndef GL_NV_mesh_shader
|
#ifndef GL_NV_mesh_shader
|
||||||
#define GL_NV_mesh_shader 1
|
#define GL_NV_mesh_shader 1
|
||||||
#define GL_MESH_SHADER_NV 0x9559
|
#define GL_MESH_SHADER_NV 0x9559
|
||||||
|
|
@ -5536,7 +5581,7 @@ typedef void (APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHNVPROC) (GLuint path, GLenu
|
||||||
typedef void (APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask, GLenum coverMode);
|
typedef void (APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask, GLenum coverMode);
|
||||||
typedef void (APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
|
typedef void (APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
|
||||||
typedef void (APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
|
typedef void (APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
|
||||||
typedef GLenum (APIENTRYP PFNGLPATHGLYPHINDEXRANGENVPROC) (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]);
|
typedef GLenum (APIENTRYP PFNGLPATHGLYPHINDEXRANGENVPROC) (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint *baseAndCount);
|
||||||
typedef GLenum (APIENTRYP PFNGLPATHGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
|
typedef GLenum (APIENTRYP PFNGLPATHGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
|
||||||
typedef GLenum (APIENTRYP PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
|
typedef GLenum (APIENTRYP PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
|
||||||
typedef void (APIENTRYP PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC) (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
|
typedef void (APIENTRYP PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC) (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
|
||||||
|
|
@ -5594,7 +5639,7 @@ GLAPI void APIENTRY glStencilThenCoverFillPathNV (GLuint path, GLenum fillMode,
|
||||||
GLAPI void APIENTRY glStencilThenCoverStrokePathNV (GLuint path, GLint reference, GLuint mask, GLenum coverMode);
|
GLAPI void APIENTRY glStencilThenCoverStrokePathNV (GLuint path, GLint reference, GLuint mask, GLenum coverMode);
|
||||||
GLAPI void APIENTRY glStencilThenCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
|
GLAPI void APIENTRY glStencilThenCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
|
||||||
GLAPI void APIENTRY glStencilThenCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
|
GLAPI void APIENTRY glStencilThenCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
|
||||||
GLAPI GLenum APIENTRY glPathGlyphIndexRangeNV (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]);
|
GLAPI GLenum APIENTRY glPathGlyphIndexRangeNV (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint *baseAndCount);
|
||||||
GLAPI GLenum APIENTRY glPathGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
|
GLAPI GLenum APIENTRY glPathGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
|
||||||
GLAPI GLenum APIENTRY glPathMemoryGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
|
GLAPI GLenum APIENTRY glPathMemoryGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
|
||||||
GLAPI void APIENTRY glProgramPathFragmentInputGenNV (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
|
GLAPI void APIENTRY glProgramPathFragmentInputGenNV (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
|
||||||
|
|
@ -5607,6 +5652,12 @@ GLAPI void APIENTRY glGetProgramResourcefvNV (GLuint program, GLenum programInte
|
||||||
#define GL_SHARED_EDGE_NV 0xC0
|
#define GL_SHARED_EDGE_NV 0xC0
|
||||||
#endif /* GL_NV_path_rendering_shared_edge */
|
#endif /* GL_NV_path_rendering_shared_edge */
|
||||||
|
|
||||||
|
#ifndef GL_NV_primitive_shading_rate
|
||||||
|
#define GL_NV_primitive_shading_rate 1
|
||||||
|
#define GL_SHADING_RATE_IMAGE_PER_PRIMITIVE_NV 0x95B1
|
||||||
|
#define GL_SHADING_RATE_IMAGE_PALETTE_COUNT_NV 0x95B2
|
||||||
|
#endif /* GL_NV_primitive_shading_rate */
|
||||||
|
|
||||||
#ifndef GL_NV_representative_fragment_test
|
#ifndef GL_NV_representative_fragment_test
|
||||||
#define GL_NV_representative_fragment_test 1
|
#define GL_NV_representative_fragment_test 1
|
||||||
#define GL_REPRESENTATIVE_FRAGMENT_TEST_NV 0x937F
|
#define GL_REPRESENTATIVE_FRAGMENT_TEST_NV 0x937F
|
||||||
|
|
|
||||||
|
|
@ -6,28 +6,9 @@ extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** Copyright (c) 2013-2018 The Khronos Group Inc.
|
** Copyright 2013-2020 The Khronos Group Inc.
|
||||||
|
** SPDX-License-Identifier: MIT
|
||||||
**
|
**
|
||||||
** Permission is hereby granted, free of charge, to any person obtaining a
|
|
||||||
** copy of this software and/or associated documentation files (the
|
|
||||||
** "Materials"), to deal in the Materials without restriction, including
|
|
||||||
** without limitation the rights to use, copy, modify, merge, publish,
|
|
||||||
** distribute, sublicense, and/or sell copies of the Materials, and to
|
|
||||||
** permit persons to whom the Materials are furnished to do so, subject to
|
|
||||||
** the following conditions:
|
|
||||||
**
|
|
||||||
** The above copyright notice and this permission notice shall be included
|
|
||||||
** in all copies or substantial portions of the Materials.
|
|
||||||
**
|
|
||||||
** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
** This header is generated from the Khronos OpenGL / OpenGL ES XML
|
** This header is generated from the Khronos OpenGL / OpenGL ES XML
|
||||||
** API Registry. The current version of the Registry, generator scripts
|
** API Registry. The current version of the Registry, generator scripts
|
||||||
** used to make the header, and the header can be found at
|
** used to make the header, and the header can be found at
|
||||||
|
|
@ -51,7 +32,7 @@ extern "C" {
|
||||||
#define GLAPI extern
|
#define GLAPI extern
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define GL_GLEXT_VERSION 20200408
|
#define GL_GLEXT_VERSION 20220530
|
||||||
|
|
||||||
#include <KHR/khrplatform.h>
|
#include <KHR/khrplatform.h>
|
||||||
|
|
||||||
|
|
@ -1843,7 +1824,7 @@ GLAPI void APIENTRY glGetQueryIndexediv (GLenum target, GLuint index, GLenum pna
|
||||||
#define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F
|
#define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F
|
||||||
#define GL_UNDEFINED_VERTEX 0x8260
|
#define GL_UNDEFINED_VERTEX 0x8260
|
||||||
typedef void (APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void);
|
typedef void (APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void);
|
||||||
typedef void (APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length);
|
typedef void (APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryFormat, const void *binary, GLsizei length);
|
||||||
typedef void (APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
|
typedef void (APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
|
||||||
typedef void (APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f);
|
typedef void (APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f);
|
||||||
typedef void (APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d);
|
typedef void (APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d);
|
||||||
|
|
@ -1932,7 +1913,7 @@ typedef void (APIENTRYP PFNGLGETFLOATI_VPROC) (GLenum target, GLuint index, GLfl
|
||||||
typedef void (APIENTRYP PFNGLGETDOUBLEI_VPROC) (GLenum target, GLuint index, GLdouble *data);
|
typedef void (APIENTRYP PFNGLGETDOUBLEI_VPROC) (GLenum target, GLuint index, GLdouble *data);
|
||||||
#ifdef GL_GLEXT_PROTOTYPES
|
#ifdef GL_GLEXT_PROTOTYPES
|
||||||
GLAPI void APIENTRY glReleaseShaderCompiler (void);
|
GLAPI void APIENTRY glReleaseShaderCompiler (void);
|
||||||
GLAPI void APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length);
|
GLAPI void APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryFormat, const void *binary, GLsizei length);
|
||||||
GLAPI void APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
|
GLAPI void APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
|
||||||
GLAPI void APIENTRY glDepthRangef (GLfloat n, GLfloat f);
|
GLAPI void APIENTRY glDepthRangef (GLfloat n, GLfloat f);
|
||||||
GLAPI void APIENTRY glClearDepthf (GLfloat d);
|
GLAPI void APIENTRY glClearDepthf (GLfloat d);
|
||||||
|
|
@ -2581,6 +2562,18 @@ GLAPI void APIENTRY glBindVertexBuffers (GLuint first, GLsizei count, const GLui
|
||||||
#define GL_LOSE_CONTEXT_ON_RESET 0x8252
|
#define GL_LOSE_CONTEXT_ON_RESET 0x8252
|
||||||
#define GL_NO_RESET_NOTIFICATION 0x8261
|
#define GL_NO_RESET_NOTIFICATION 0x8261
|
||||||
#define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT 0x00000004
|
#define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT 0x00000004
|
||||||
|
#define GL_COLOR_TABLE 0x80D0
|
||||||
|
#define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1
|
||||||
|
#define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2
|
||||||
|
#define GL_PROXY_COLOR_TABLE 0x80D3
|
||||||
|
#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
|
||||||
|
#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
|
||||||
|
#define GL_CONVOLUTION_1D 0x8010
|
||||||
|
#define GL_CONVOLUTION_2D 0x8011
|
||||||
|
#define GL_SEPARABLE_2D 0x8012
|
||||||
|
#define GL_HISTOGRAM 0x8024
|
||||||
|
#define GL_PROXY_HISTOGRAM 0x8025
|
||||||
|
#define GL_MINMAX 0x802E
|
||||||
#define GL_CONTEXT_RELEASE_BEHAVIOR 0x82FB
|
#define GL_CONTEXT_RELEASE_BEHAVIOR 0x82FB
|
||||||
#define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH 0x82FC
|
#define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH 0x82FC
|
||||||
typedef void (APIENTRYP PFNGLCLIPCONTROLPROC) (GLenum origin, GLenum depth);
|
typedef void (APIENTRYP PFNGLCLIPCONTROLPROC) (GLenum origin, GLenum depth);
|
||||||
|
|
@ -3470,9 +3463,6 @@ typedef khronos_uint16_t GLhalfARB;
|
||||||
|
|
||||||
#ifndef GL_ARB_imaging
|
#ifndef GL_ARB_imaging
|
||||||
#define GL_ARB_imaging 1
|
#define GL_ARB_imaging 1
|
||||||
#define GL_CONVOLUTION_1D 0x8010
|
|
||||||
#define GL_CONVOLUTION_2D 0x8011
|
|
||||||
#define GL_SEPARABLE_2D 0x8012
|
|
||||||
#define GL_CONVOLUTION_BORDER_MODE 0x8013
|
#define GL_CONVOLUTION_BORDER_MODE 0x8013
|
||||||
#define GL_CONVOLUTION_FILTER_SCALE 0x8014
|
#define GL_CONVOLUTION_FILTER_SCALE 0x8014
|
||||||
#define GL_CONVOLUTION_FILTER_BIAS 0x8015
|
#define GL_CONVOLUTION_FILTER_BIAS 0x8015
|
||||||
|
|
@ -3490,8 +3480,6 @@ typedef khronos_uint16_t GLhalfARB;
|
||||||
#define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021
|
#define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021
|
||||||
#define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022
|
#define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022
|
||||||
#define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023
|
#define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023
|
||||||
#define GL_HISTOGRAM 0x8024
|
|
||||||
#define GL_PROXY_HISTOGRAM 0x8025
|
|
||||||
#define GL_HISTOGRAM_WIDTH 0x8026
|
#define GL_HISTOGRAM_WIDTH 0x8026
|
||||||
#define GL_HISTOGRAM_FORMAT 0x8027
|
#define GL_HISTOGRAM_FORMAT 0x8027
|
||||||
#define GL_HISTOGRAM_RED_SIZE 0x8028
|
#define GL_HISTOGRAM_RED_SIZE 0x8028
|
||||||
|
|
@ -3500,7 +3488,6 @@ typedef khronos_uint16_t GLhalfARB;
|
||||||
#define GL_HISTOGRAM_ALPHA_SIZE 0x802B
|
#define GL_HISTOGRAM_ALPHA_SIZE 0x802B
|
||||||
#define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C
|
#define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C
|
||||||
#define GL_HISTOGRAM_SINK 0x802D
|
#define GL_HISTOGRAM_SINK 0x802D
|
||||||
#define GL_MINMAX 0x802E
|
|
||||||
#define GL_MINMAX_FORMAT 0x802F
|
#define GL_MINMAX_FORMAT 0x802F
|
||||||
#define GL_MINMAX_SINK 0x8030
|
#define GL_MINMAX_SINK 0x8030
|
||||||
#define GL_TABLE_TOO_LARGE 0x8031
|
#define GL_TABLE_TOO_LARGE 0x8031
|
||||||
|
|
@ -3515,12 +3502,6 @@ typedef khronos_uint16_t GLhalfARB;
|
||||||
#define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9
|
#define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9
|
||||||
#define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA
|
#define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA
|
||||||
#define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB
|
#define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB
|
||||||
#define GL_COLOR_TABLE 0x80D0
|
|
||||||
#define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1
|
|
||||||
#define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2
|
|
||||||
#define GL_PROXY_COLOR_TABLE 0x80D3
|
|
||||||
#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
|
|
||||||
#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
|
|
||||||
#define GL_COLOR_TABLE_SCALE 0x80D6
|
#define GL_COLOR_TABLE_SCALE 0x80D6
|
||||||
#define GL_COLOR_TABLE_BIAS 0x80D7
|
#define GL_COLOR_TABLE_BIAS 0x80D7
|
||||||
#define GL_COLOR_TABLE_FORMAT 0x80D8
|
#define GL_COLOR_TABLE_FORMAT 0x80D8
|
||||||
|
|
@ -7543,7 +7524,6 @@ GLAPI void APIENTRY glProgramLocalParameters4fvEXT (GLenum target, GLuint index,
|
||||||
|
|
||||||
#ifndef GL_EXT_gpu_shader4
|
#ifndef GL_EXT_gpu_shader4
|
||||||
#define GL_EXT_gpu_shader4 1
|
#define GL_EXT_gpu_shader4 1
|
||||||
#define GL_VERTEX_ATTRIB_ARRAY_INTEGER_EXT 0x88FD
|
|
||||||
#define GL_SAMPLER_1D_ARRAY_EXT 0x8DC0
|
#define GL_SAMPLER_1D_ARRAY_EXT 0x8DC0
|
||||||
#define GL_SAMPLER_2D_ARRAY_EXT 0x8DC1
|
#define GL_SAMPLER_2D_ARRAY_EXT 0x8DC1
|
||||||
#define GL_SAMPLER_BUFFER_EXT 0x8DC2
|
#define GL_SAMPLER_BUFFER_EXT 0x8DC2
|
||||||
|
|
@ -7571,6 +7551,7 @@ GLAPI void APIENTRY glProgramLocalParameters4fvEXT (GLenum target, GLuint index,
|
||||||
#define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8
|
#define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8
|
||||||
#define GL_MIN_PROGRAM_TEXEL_OFFSET_EXT 0x8904
|
#define GL_MIN_PROGRAM_TEXEL_OFFSET_EXT 0x8904
|
||||||
#define GL_MAX_PROGRAM_TEXEL_OFFSET_EXT 0x8905
|
#define GL_MAX_PROGRAM_TEXEL_OFFSET_EXT 0x8905
|
||||||
|
#define GL_VERTEX_ATTRIB_ARRAY_INTEGER_EXT 0x88FD
|
||||||
typedef void (APIENTRYP PFNGLGETUNIFORMUIVEXTPROC) (GLuint program, GLint location, GLuint *params);
|
typedef void (APIENTRYP PFNGLGETUNIFORMUIVEXTPROC) (GLuint program, GLint location, GLuint *params);
|
||||||
typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name);
|
typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name);
|
||||||
typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONEXTPROC) (GLuint program, const GLchar *name);
|
typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONEXTPROC) (GLuint program, const GLchar *name);
|
||||||
|
|
@ -7582,6 +7563,29 @@ typedef void (APIENTRYP PFNGLUNIFORM1UIVEXTPROC) (GLint location, GLsizei count,
|
||||||
typedef void (APIENTRYP PFNGLUNIFORM2UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
|
typedef void (APIENTRYP PFNGLUNIFORM2UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
|
||||||
typedef void (APIENTRYP PFNGLUNIFORM3UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
|
typedef void (APIENTRYP PFNGLUNIFORM3UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
|
||||||
typedef void (APIENTRYP PFNGLUNIFORM4UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
|
typedef void (APIENTRYP PFNGLUNIFORM4UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IEXTPROC) (GLuint index, GLint x);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IEXTPROC) (GLuint index, GLint x, GLint y);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IEXTPROC) (GLuint index, GLint x, GLint y, GLint z);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IEXTPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIEXTPROC) (GLuint index, GLuint x);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIEXTPROC) (GLuint index, GLuint x, GLuint y);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVEXTPROC) (GLuint index, const GLint *v);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVEXTPROC) (GLuint index, const GLint *v);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVEXTPROC) (GLuint index, const GLint *v);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVEXTPROC) (GLuint index, const GLint *v);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVEXTPROC) (GLuint index, const GLuint *v);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVEXTPROC) (GLuint index, const GLuint *v);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVEXTPROC) (GLuint index, const GLuint *v);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVEXTPROC) (GLuint index, const GLuint *v);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVEXTPROC) (GLuint index, const GLbyte *v);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVEXTPROC) (GLuint index, const GLshort *v);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVEXTPROC) (GLuint index, const GLubyte *v);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVEXTPROC) (GLuint index, const GLushort *v);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
|
||||||
|
typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVEXTPROC) (GLuint index, GLenum pname, GLint *params);
|
||||||
|
typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVEXTPROC) (GLuint index, GLenum pname, GLuint *params);
|
||||||
#ifdef GL_GLEXT_PROTOTYPES
|
#ifdef GL_GLEXT_PROTOTYPES
|
||||||
GLAPI void APIENTRY glGetUniformuivEXT (GLuint program, GLint location, GLuint *params);
|
GLAPI void APIENTRY glGetUniformuivEXT (GLuint program, GLint location, GLuint *params);
|
||||||
GLAPI void APIENTRY glBindFragDataLocationEXT (GLuint program, GLuint color, const GLchar *name);
|
GLAPI void APIENTRY glBindFragDataLocationEXT (GLuint program, GLuint color, const GLchar *name);
|
||||||
|
|
@ -7594,6 +7598,29 @@ GLAPI void APIENTRY glUniform1uivEXT (GLint location, GLsizei count, const GLuin
|
||||||
GLAPI void APIENTRY glUniform2uivEXT (GLint location, GLsizei count, const GLuint *value);
|
GLAPI void APIENTRY glUniform2uivEXT (GLint location, GLsizei count, const GLuint *value);
|
||||||
GLAPI void APIENTRY glUniform3uivEXT (GLint location, GLsizei count, const GLuint *value);
|
GLAPI void APIENTRY glUniform3uivEXT (GLint location, GLsizei count, const GLuint *value);
|
||||||
GLAPI void APIENTRY glUniform4uivEXT (GLint location, GLsizei count, const GLuint *value);
|
GLAPI void APIENTRY glUniform4uivEXT (GLint location, GLsizei count, const GLuint *value);
|
||||||
|
GLAPI void APIENTRY glVertexAttribI1iEXT (GLuint index, GLint x);
|
||||||
|
GLAPI void APIENTRY glVertexAttribI2iEXT (GLuint index, GLint x, GLint y);
|
||||||
|
GLAPI void APIENTRY glVertexAttribI3iEXT (GLuint index, GLint x, GLint y, GLint z);
|
||||||
|
GLAPI void APIENTRY glVertexAttribI4iEXT (GLuint index, GLint x, GLint y, GLint z, GLint w);
|
||||||
|
GLAPI void APIENTRY glVertexAttribI1uiEXT (GLuint index, GLuint x);
|
||||||
|
GLAPI void APIENTRY glVertexAttribI2uiEXT (GLuint index, GLuint x, GLuint y);
|
||||||
|
GLAPI void APIENTRY glVertexAttribI3uiEXT (GLuint index, GLuint x, GLuint y, GLuint z);
|
||||||
|
GLAPI void APIENTRY glVertexAttribI4uiEXT (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
|
||||||
|
GLAPI void APIENTRY glVertexAttribI1ivEXT (GLuint index, const GLint *v);
|
||||||
|
GLAPI void APIENTRY glVertexAttribI2ivEXT (GLuint index, const GLint *v);
|
||||||
|
GLAPI void APIENTRY glVertexAttribI3ivEXT (GLuint index, const GLint *v);
|
||||||
|
GLAPI void APIENTRY glVertexAttribI4ivEXT (GLuint index, const GLint *v);
|
||||||
|
GLAPI void APIENTRY glVertexAttribI1uivEXT (GLuint index, const GLuint *v);
|
||||||
|
GLAPI void APIENTRY glVertexAttribI2uivEXT (GLuint index, const GLuint *v);
|
||||||
|
GLAPI void APIENTRY glVertexAttribI3uivEXT (GLuint index, const GLuint *v);
|
||||||
|
GLAPI void APIENTRY glVertexAttribI4uivEXT (GLuint index, const GLuint *v);
|
||||||
|
GLAPI void APIENTRY glVertexAttribI4bvEXT (GLuint index, const GLbyte *v);
|
||||||
|
GLAPI void APIENTRY glVertexAttribI4svEXT (GLuint index, const GLshort *v);
|
||||||
|
GLAPI void APIENTRY glVertexAttribI4ubvEXT (GLuint index, const GLubyte *v);
|
||||||
|
GLAPI void APIENTRY glVertexAttribI4usvEXT (GLuint index, const GLushort *v);
|
||||||
|
GLAPI void APIENTRY glVertexAttribIPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
|
||||||
|
GLAPI void APIENTRY glGetVertexAttribIivEXT (GLuint index, GLenum pname, GLint *params);
|
||||||
|
GLAPI void APIENTRY glGetVertexAttribIuivEXT (GLuint index, GLenum pname, GLuint *params);
|
||||||
#endif
|
#endif
|
||||||
#endif /* GL_EXT_gpu_shader4 */
|
#endif /* GL_EXT_gpu_shader4 */
|
||||||
|
|
||||||
|
|
@ -8187,6 +8214,10 @@ GLAPI void APIENTRY glMemoryBarrierEXT (GLbitfield barriers);
|
||||||
#define GL_EXT_shader_integer_mix 1
|
#define GL_EXT_shader_integer_mix 1
|
||||||
#endif /* GL_EXT_shader_integer_mix */
|
#endif /* GL_EXT_shader_integer_mix */
|
||||||
|
|
||||||
|
#ifndef GL_EXT_shader_samples_identical
|
||||||
|
#define GL_EXT_shader_samples_identical 1
|
||||||
|
#endif /* GL_EXT_shader_samples_identical */
|
||||||
|
|
||||||
#ifndef GL_EXT_shadow_funcs
|
#ifndef GL_EXT_shadow_funcs
|
||||||
#define GL_EXT_shadow_funcs 1
|
#define GL_EXT_shadow_funcs 1
|
||||||
#endif /* GL_EXT_shadow_funcs */
|
#endif /* GL_EXT_shadow_funcs */
|
||||||
|
|
@ -8555,6 +8586,11 @@ GLAPI void APIENTRY glTextureNormalEXT (GLenum mode);
|
||||||
#define GL_SR8_EXT 0x8FBD
|
#define GL_SR8_EXT 0x8FBD
|
||||||
#endif /* GL_EXT_texture_sRGB_R8 */
|
#endif /* GL_EXT_texture_sRGB_R8 */
|
||||||
|
|
||||||
|
#ifndef GL_EXT_texture_sRGB_RG8
|
||||||
|
#define GL_EXT_texture_sRGB_RG8 1
|
||||||
|
#define GL_SRG8_EXT 0x8FBE
|
||||||
|
#endif /* GL_EXT_texture_sRGB_RG8 */
|
||||||
|
|
||||||
#ifndef GL_EXT_texture_sRGB_decode
|
#ifndef GL_EXT_texture_sRGB_decode
|
||||||
#define GL_EXT_texture_sRGB_decode 1
|
#define GL_EXT_texture_sRGB_decode 1
|
||||||
#define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48
|
#define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48
|
||||||
|
|
@ -8593,6 +8629,36 @@ GLAPI void APIENTRY glTextureNormalEXT (GLenum mode);
|
||||||
#define GL_RGBA_SNORM 0x8F93
|
#define GL_RGBA_SNORM 0x8F93
|
||||||
#endif /* GL_EXT_texture_snorm */
|
#endif /* GL_EXT_texture_snorm */
|
||||||
|
|
||||||
|
#ifndef GL_EXT_texture_storage
|
||||||
|
#define GL_EXT_texture_storage 1
|
||||||
|
#define GL_TEXTURE_IMMUTABLE_FORMAT_EXT 0x912F
|
||||||
|
#define GL_RGBA32F_EXT 0x8814
|
||||||
|
#define GL_RGB32F_EXT 0x8815
|
||||||
|
#define GL_ALPHA32F_EXT 0x8816
|
||||||
|
#define GL_LUMINANCE32F_EXT 0x8818
|
||||||
|
#define GL_LUMINANCE_ALPHA32F_EXT 0x8819
|
||||||
|
#define GL_RGBA16F_EXT 0x881A
|
||||||
|
#define GL_RGB16F_EXT 0x881B
|
||||||
|
#define GL_ALPHA16F_EXT 0x881C
|
||||||
|
#define GL_LUMINANCE16F_EXT 0x881E
|
||||||
|
#define GL_LUMINANCE_ALPHA16F_EXT 0x881F
|
||||||
|
#define GL_BGRA8_EXT 0x93A1
|
||||||
|
#define GL_R8_EXT 0x8229
|
||||||
|
#define GL_RG8_EXT 0x822B
|
||||||
|
#define GL_R32F_EXT 0x822E
|
||||||
|
#define GL_RG32F_EXT 0x8230
|
||||||
|
#define GL_R16F_EXT 0x822D
|
||||||
|
#define GL_RG16F_EXT 0x822F
|
||||||
|
typedef void (APIENTRYP PFNGLTEXSTORAGE1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
|
||||||
|
typedef void (APIENTRYP PFNGLTEXSTORAGE2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
|
||||||
|
typedef void (APIENTRYP PFNGLTEXSTORAGE3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
|
||||||
|
#ifdef GL_GLEXT_PROTOTYPES
|
||||||
|
GLAPI void APIENTRY glTexStorage1DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
|
||||||
|
GLAPI void APIENTRY glTexStorage2DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
|
||||||
|
GLAPI void APIENTRY glTexStorage3DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
|
||||||
|
#endif
|
||||||
|
#endif /* GL_EXT_texture_storage */
|
||||||
|
|
||||||
#ifndef GL_EXT_texture_swizzle
|
#ifndef GL_EXT_texture_swizzle
|
||||||
#define GL_EXT_texture_swizzle 1
|
#define GL_EXT_texture_swizzle 1
|
||||||
#define GL_TEXTURE_SWIZZLE_R_EXT 0x8E42
|
#define GL_TEXTURE_SWIZZLE_R_EXT 0x8E42
|
||||||
|
|
@ -9285,6 +9351,11 @@ GLAPI void APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLen
|
||||||
#define GL_TEXTURE_2D_STACK_BINDING_MESAX 0x875E
|
#define GL_TEXTURE_2D_STACK_BINDING_MESAX 0x875E
|
||||||
#endif /* GL_MESAX_texture_stack */
|
#endif /* GL_MESAX_texture_stack */
|
||||||
|
|
||||||
|
#ifndef GL_MESA_framebuffer_flip_x
|
||||||
|
#define GL_MESA_framebuffer_flip_x 1
|
||||||
|
#define GL_FRAMEBUFFER_FLIP_X_MESA 0x8BBC
|
||||||
|
#endif /* GL_MESA_framebuffer_flip_x */
|
||||||
|
|
||||||
#ifndef GL_MESA_framebuffer_flip_y
|
#ifndef GL_MESA_framebuffer_flip_y
|
||||||
#define GL_MESA_framebuffer_flip_y 1
|
#define GL_MESA_framebuffer_flip_y 1
|
||||||
#define GL_FRAMEBUFFER_FLIP_Y_MESA 0x8BBB
|
#define GL_FRAMEBUFFER_FLIP_Y_MESA 0x8BBB
|
||||||
|
|
@ -9296,6 +9367,11 @@ GLAPI void APIENTRY glGetFramebufferParameterivMESA (GLenum target, GLenum pname
|
||||||
#endif
|
#endif
|
||||||
#endif /* GL_MESA_framebuffer_flip_y */
|
#endif /* GL_MESA_framebuffer_flip_y */
|
||||||
|
|
||||||
|
#ifndef GL_MESA_framebuffer_swap_xy
|
||||||
|
#define GL_MESA_framebuffer_swap_xy 1
|
||||||
|
#define GL_FRAMEBUFFER_SWAP_XY_MESA 0x8BBD
|
||||||
|
#endif /* GL_MESA_framebuffer_swap_xy */
|
||||||
|
|
||||||
#ifndef GL_MESA_pack_invert
|
#ifndef GL_MESA_pack_invert
|
||||||
#define GL_MESA_pack_invert 1
|
#define GL_MESA_pack_invert 1
|
||||||
#define GL_PACK_INVERT_MESA 0x8758
|
#define GL_PACK_INVERT_MESA 0x8758
|
||||||
|
|
@ -10286,6 +10362,20 @@ GLAPI void APIENTRY glNamedBufferAttachMemoryNV (GLuint buffer, GLuint memory, G
|
||||||
#endif
|
#endif
|
||||||
#endif /* GL_NV_memory_attachment */
|
#endif /* GL_NV_memory_attachment */
|
||||||
|
|
||||||
|
#ifndef GL_NV_memory_object_sparse
|
||||||
|
#define GL_NV_memory_object_sparse 1
|
||||||
|
typedef void (APIENTRYP PFNGLBUFFERPAGECOMMITMENTMEMNVPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit);
|
||||||
|
typedef void (APIENTRYP PFNGLTEXPAGECOMMITMENTMEMNVPROC) (GLenum target, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit);
|
||||||
|
typedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit);
|
||||||
|
typedef void (APIENTRYP PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC) (GLuint texture, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit);
|
||||||
|
#ifdef GL_GLEXT_PROTOTYPES
|
||||||
|
GLAPI void APIENTRY glBufferPageCommitmentMemNV (GLenum target, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit);
|
||||||
|
GLAPI void APIENTRY glTexPageCommitmentMemNV (GLenum target, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit);
|
||||||
|
GLAPI void APIENTRY glNamedBufferPageCommitmentMemNV (GLuint buffer, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit);
|
||||||
|
GLAPI void APIENTRY glTexturePageCommitmentMemNV (GLuint texture, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit);
|
||||||
|
#endif
|
||||||
|
#endif /* GL_NV_memory_object_sparse */
|
||||||
|
|
||||||
#ifndef GL_NV_mesh_shader
|
#ifndef GL_NV_mesh_shader
|
||||||
#define GL_NV_mesh_shader 1
|
#define GL_NV_mesh_shader 1
|
||||||
#define GL_MESH_SHADER_NV 0x9559
|
#define GL_MESH_SHADER_NV 0x9559
|
||||||
|
|
@ -10625,7 +10715,7 @@ typedef void (APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHNVPROC) (GLuint path, GLenu
|
||||||
typedef void (APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask, GLenum coverMode);
|
typedef void (APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask, GLenum coverMode);
|
||||||
typedef void (APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
|
typedef void (APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
|
||||||
typedef void (APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
|
typedef void (APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
|
||||||
typedef GLenum (APIENTRYP PFNGLPATHGLYPHINDEXRANGENVPROC) (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]);
|
typedef GLenum (APIENTRYP PFNGLPATHGLYPHINDEXRANGENVPROC) (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint *baseAndCount);
|
||||||
typedef GLenum (APIENTRYP PFNGLPATHGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
|
typedef GLenum (APIENTRYP PFNGLPATHGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
|
||||||
typedef GLenum (APIENTRYP PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
|
typedef GLenum (APIENTRYP PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
|
||||||
typedef void (APIENTRYP PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC) (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
|
typedef void (APIENTRYP PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC) (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
|
||||||
|
|
@ -10690,7 +10780,7 @@ GLAPI void APIENTRY glStencilThenCoverFillPathNV (GLuint path, GLenum fillMode,
|
||||||
GLAPI void APIENTRY glStencilThenCoverStrokePathNV (GLuint path, GLint reference, GLuint mask, GLenum coverMode);
|
GLAPI void APIENTRY glStencilThenCoverStrokePathNV (GLuint path, GLint reference, GLuint mask, GLenum coverMode);
|
||||||
GLAPI void APIENTRY glStencilThenCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
|
GLAPI void APIENTRY glStencilThenCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
|
||||||
GLAPI void APIENTRY glStencilThenCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
|
GLAPI void APIENTRY glStencilThenCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
|
||||||
GLAPI GLenum APIENTRY glPathGlyphIndexRangeNV (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]);
|
GLAPI GLenum APIENTRY glPathGlyphIndexRangeNV (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint *baseAndCount);
|
||||||
GLAPI GLenum APIENTRY glPathGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
|
GLAPI GLenum APIENTRY glPathGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
|
||||||
GLAPI GLenum APIENTRY glPathMemoryGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
|
GLAPI GLenum APIENTRY glPathMemoryGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
|
||||||
GLAPI void APIENTRY glProgramPathFragmentInputGenNV (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
|
GLAPI void APIENTRY glProgramPathFragmentInputGenNV (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
|
||||||
|
|
@ -10775,6 +10865,12 @@ GLAPI void APIENTRY glPrimitiveRestartIndexNV (GLuint index);
|
||||||
#endif
|
#endif
|
||||||
#endif /* GL_NV_primitive_restart */
|
#endif /* GL_NV_primitive_restart */
|
||||||
|
|
||||||
|
#ifndef GL_NV_primitive_shading_rate
|
||||||
|
#define GL_NV_primitive_shading_rate 1
|
||||||
|
#define GL_SHADING_RATE_IMAGE_PER_PRIMITIVE_NV 0x95B1
|
||||||
|
#define GL_SHADING_RATE_IMAGE_PALETTE_COUNT_NV 0x95B2
|
||||||
|
#endif /* GL_NV_primitive_shading_rate */
|
||||||
|
|
||||||
#ifndef GL_NV_query_resource
|
#ifndef GL_NV_query_resource
|
||||||
#define GL_NV_query_resource 1
|
#define GL_NV_query_resource 1
|
||||||
#define GL_QUERY_RESOURCE_TYPE_VIDMEM_ALLOC_NV 0x9540
|
#define GL_QUERY_RESOURCE_TYPE_VIDMEM_ALLOC_NV 0x9540
|
||||||
|
|
@ -11251,6 +11347,23 @@ GLAPI void APIENTRY glTextureImage3DMultisampleCoverageNV (GLuint texture, GLenu
|
||||||
#define GL_FORCE_BLUE_TO_ONE_NV 0x8860
|
#define GL_FORCE_BLUE_TO_ONE_NV 0x8860
|
||||||
#endif /* GL_NV_texture_shader3 */
|
#endif /* GL_NV_texture_shader3 */
|
||||||
|
|
||||||
|
#ifndef GL_NV_timeline_semaphore
|
||||||
|
#define GL_NV_timeline_semaphore 1
|
||||||
|
#define GL_TIMELINE_SEMAPHORE_VALUE_NV 0x9595
|
||||||
|
#define GL_SEMAPHORE_TYPE_NV 0x95B3
|
||||||
|
#define GL_SEMAPHORE_TYPE_BINARY_NV 0x95B4
|
||||||
|
#define GL_SEMAPHORE_TYPE_TIMELINE_NV 0x95B5
|
||||||
|
#define GL_MAX_TIMELINE_SEMAPHORE_VALUE_DIFFERENCE_NV 0x95B6
|
||||||
|
typedef void (APIENTRYP PFNGLCREATESEMAPHORESNVPROC) (GLsizei n, GLuint *semaphores);
|
||||||
|
typedef void (APIENTRYP PFNGLSEMAPHOREPARAMETERIVNVPROC) (GLuint semaphore, GLenum pname, const GLint *params);
|
||||||
|
typedef void (APIENTRYP PFNGLGETSEMAPHOREPARAMETERIVNVPROC) (GLuint semaphore, GLenum pname, GLint *params);
|
||||||
|
#ifdef GL_GLEXT_PROTOTYPES
|
||||||
|
GLAPI void APIENTRY glCreateSemaphoresNV (GLsizei n, GLuint *semaphores);
|
||||||
|
GLAPI void APIENTRY glSemaphoreParameterivNV (GLuint semaphore, GLenum pname, const GLint *params);
|
||||||
|
GLAPI void APIENTRY glGetSemaphoreParameterivNV (GLuint semaphore, GLenum pname, GLint *params);
|
||||||
|
#endif
|
||||||
|
#endif /* GL_NV_timeline_semaphore */
|
||||||
|
|
||||||
#ifndef GL_NV_transform_feedback
|
#ifndef GL_NV_transform_feedback
|
||||||
#define GL_NV_transform_feedback 1
|
#define GL_NV_transform_feedback 1
|
||||||
#define GL_BACK_PRIMARY_COLOR_NV 0x8C77
|
#define GL_BACK_PRIMARY_COLOR_NV 0x8C77
|
||||||
|
|
@ -11737,54 +11850,6 @@ GLAPI void APIENTRY glVertexAttribs4ubvNV (GLuint index, GLsizei count, const GL
|
||||||
#ifndef GL_NV_vertex_program4
|
#ifndef GL_NV_vertex_program4
|
||||||
#define GL_NV_vertex_program4 1
|
#define GL_NV_vertex_program4 1
|
||||||
#define GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV 0x88FD
|
#define GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV 0x88FD
|
||||||
typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IEXTPROC) (GLuint index, GLint x);
|
|
||||||
typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IEXTPROC) (GLuint index, GLint x, GLint y);
|
|
||||||
typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IEXTPROC) (GLuint index, GLint x, GLint y, GLint z);
|
|
||||||
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IEXTPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
|
|
||||||
typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIEXTPROC) (GLuint index, GLuint x);
|
|
||||||
typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIEXTPROC) (GLuint index, GLuint x, GLuint y);
|
|
||||||
typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
|
|
||||||
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
|
|
||||||
typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVEXTPROC) (GLuint index, const GLint *v);
|
|
||||||
typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVEXTPROC) (GLuint index, const GLint *v);
|
|
||||||
typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVEXTPROC) (GLuint index, const GLint *v);
|
|
||||||
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVEXTPROC) (GLuint index, const GLint *v);
|
|
||||||
typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVEXTPROC) (GLuint index, const GLuint *v);
|
|
||||||
typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVEXTPROC) (GLuint index, const GLuint *v);
|
|
||||||
typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVEXTPROC) (GLuint index, const GLuint *v);
|
|
||||||
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVEXTPROC) (GLuint index, const GLuint *v);
|
|
||||||
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVEXTPROC) (GLuint index, const GLbyte *v);
|
|
||||||
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVEXTPROC) (GLuint index, const GLshort *v);
|
|
||||||
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVEXTPROC) (GLuint index, const GLubyte *v);
|
|
||||||
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVEXTPROC) (GLuint index, const GLushort *v);
|
|
||||||
typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
|
|
||||||
typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVEXTPROC) (GLuint index, GLenum pname, GLint *params);
|
|
||||||
typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVEXTPROC) (GLuint index, GLenum pname, GLuint *params);
|
|
||||||
#ifdef GL_GLEXT_PROTOTYPES
|
|
||||||
GLAPI void APIENTRY glVertexAttribI1iEXT (GLuint index, GLint x);
|
|
||||||
GLAPI void APIENTRY glVertexAttribI2iEXT (GLuint index, GLint x, GLint y);
|
|
||||||
GLAPI void APIENTRY glVertexAttribI3iEXT (GLuint index, GLint x, GLint y, GLint z);
|
|
||||||
GLAPI void APIENTRY glVertexAttribI4iEXT (GLuint index, GLint x, GLint y, GLint z, GLint w);
|
|
||||||
GLAPI void APIENTRY glVertexAttribI1uiEXT (GLuint index, GLuint x);
|
|
||||||
GLAPI void APIENTRY glVertexAttribI2uiEXT (GLuint index, GLuint x, GLuint y);
|
|
||||||
GLAPI void APIENTRY glVertexAttribI3uiEXT (GLuint index, GLuint x, GLuint y, GLuint z);
|
|
||||||
GLAPI void APIENTRY glVertexAttribI4uiEXT (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
|
|
||||||
GLAPI void APIENTRY glVertexAttribI1ivEXT (GLuint index, const GLint *v);
|
|
||||||
GLAPI void APIENTRY glVertexAttribI2ivEXT (GLuint index, const GLint *v);
|
|
||||||
GLAPI void APIENTRY glVertexAttribI3ivEXT (GLuint index, const GLint *v);
|
|
||||||
GLAPI void APIENTRY glVertexAttribI4ivEXT (GLuint index, const GLint *v);
|
|
||||||
GLAPI void APIENTRY glVertexAttribI1uivEXT (GLuint index, const GLuint *v);
|
|
||||||
GLAPI void APIENTRY glVertexAttribI2uivEXT (GLuint index, const GLuint *v);
|
|
||||||
GLAPI void APIENTRY glVertexAttribI3uivEXT (GLuint index, const GLuint *v);
|
|
||||||
GLAPI void APIENTRY glVertexAttribI4uivEXT (GLuint index, const GLuint *v);
|
|
||||||
GLAPI void APIENTRY glVertexAttribI4bvEXT (GLuint index, const GLbyte *v);
|
|
||||||
GLAPI void APIENTRY glVertexAttribI4svEXT (GLuint index, const GLshort *v);
|
|
||||||
GLAPI void APIENTRY glVertexAttribI4ubvEXT (GLuint index, const GLubyte *v);
|
|
||||||
GLAPI void APIENTRY glVertexAttribI4usvEXT (GLuint index, const GLushort *v);
|
|
||||||
GLAPI void APIENTRY glVertexAttribIPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
|
|
||||||
GLAPI void APIENTRY glGetVertexAttribIivEXT (GLuint index, GLenum pname, GLint *params);
|
|
||||||
GLAPI void APIENTRY glGetVertexAttribIuivEXT (GLuint index, GLenum pname, GLuint *params);
|
|
||||||
#endif
|
|
||||||
#endif /* GL_NV_vertex_program4 */
|
#endif /* GL_NV_vertex_program4 */
|
||||||
|
|
||||||
#ifndef GL_NV_video_capture
|
#ifndef GL_NV_video_capture
|
||||||
|
|
|
||||||
|
|
@ -6,35 +6,16 @@ extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** Copyright (c) 2013-2018 The Khronos Group Inc.
|
** Copyright 2013-2020 The Khronos Group Inc.
|
||||||
|
** SPDX-License-Identifier: MIT
|
||||||
**
|
**
|
||||||
** Permission is hereby granted, free of charge, to any person obtaining a
|
|
||||||
** copy of this software and/or associated documentation files (the
|
|
||||||
** "Materials"), to deal in the Materials without restriction, including
|
|
||||||
** without limitation the rights to use, copy, modify, merge, publish,
|
|
||||||
** distribute, sublicense, and/or sell copies of the Materials, and to
|
|
||||||
** permit persons to whom the Materials are furnished to do so, subject to
|
|
||||||
** the following conditions:
|
|
||||||
**
|
|
||||||
** The above copyright notice and this permission notice shall be included
|
|
||||||
** in all copies or substantial portions of the Materials.
|
|
||||||
**
|
|
||||||
** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
** This header is generated from the Khronos OpenGL / OpenGL ES XML
|
** This header is generated from the Khronos OpenGL / OpenGL ES XML
|
||||||
** API Registry. The current version of the Registry, generator scripts
|
** API Registry. The current version of the Registry, generator scripts
|
||||||
** used to make the header, and the header can be found at
|
** used to make the header, and the header can be found at
|
||||||
** https://github.com/KhronosGroup/OpenGL-Registry
|
** https://github.com/KhronosGroup/OpenGL-Registry
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define GLX_GLXEXT_VERSION 20200408
|
#define GLX_GLXEXT_VERSION 20220530
|
||||||
|
|
||||||
/* Generated C header for:
|
/* Generated C header for:
|
||||||
* API: glx
|
* API: glx
|
||||||
|
|
@ -309,6 +290,10 @@ void glXBlitContextFramebufferAMD (GLXContext dstCtx, GLint srcX0, GLint srcY0,
|
||||||
#define GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20B2
|
#define GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20B2
|
||||||
#endif /* GLX_EXT_framebuffer_sRGB */
|
#endif /* GLX_EXT_framebuffer_sRGB */
|
||||||
|
|
||||||
|
#ifndef GLX_EXT_get_drawable_type
|
||||||
|
#define GLX_EXT_get_drawable_type 1
|
||||||
|
#endif /* GLX_EXT_get_drawable_type */
|
||||||
|
|
||||||
#ifndef GLX_EXT_import_context
|
#ifndef GLX_EXT_import_context
|
||||||
#define GLX_EXT_import_context 1
|
#define GLX_EXT_import_context 1
|
||||||
#define GLX_SHARE_CONTEXT_EXT 0x800A
|
#define GLX_SHARE_CONTEXT_EXT 0x800A
|
||||||
|
|
|
||||||
|
|
@ -6,28 +6,9 @@ extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** Copyright (c) 2013-2018 The Khronos Group Inc.
|
** Copyright 2013-2020 The Khronos Group Inc.
|
||||||
|
** SPDX-License-Identifier: MIT
|
||||||
**
|
**
|
||||||
** Permission is hereby granted, free of charge, to any person obtaining a
|
|
||||||
** copy of this software and/or associated documentation files (the
|
|
||||||
** "Materials"), to deal in the Materials without restriction, including
|
|
||||||
** without limitation the rights to use, copy, modify, merge, publish,
|
|
||||||
** distribute, sublicense, and/or sell copies of the Materials, and to
|
|
||||||
** permit persons to whom the Materials are furnished to do so, subject to
|
|
||||||
** the following conditions:
|
|
||||||
**
|
|
||||||
** The above copyright notice and this permission notice shall be included
|
|
||||||
** in all copies or substantial portions of the Materials.
|
|
||||||
**
|
|
||||||
** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
** This header is generated from the Khronos OpenGL / OpenGL ES XML
|
** This header is generated from the Khronos OpenGL / OpenGL ES XML
|
||||||
** API Registry. The current version of the Registry, generator scripts
|
** API Registry. The current version of the Registry, generator scripts
|
||||||
** used to make the header, and the header can be found at
|
** used to make the header, and the header can be found at
|
||||||
|
|
@ -39,7 +20,7 @@ extern "C" {
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Generated on date 20200408 */
|
/* Generated on date 20220530 */
|
||||||
|
|
||||||
/* Generated C header for:
|
/* Generated C header for:
|
||||||
* API: wgl
|
* API: wgl
|
||||||
|
|
|
||||||
|
|
@ -6,28 +6,9 @@ extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** Copyright (c) 2013-2018 The Khronos Group Inc.
|
** Copyright 2013-2020 The Khronos Group Inc.
|
||||||
|
** SPDX-License-Identifier: MIT
|
||||||
**
|
**
|
||||||
** Permission is hereby granted, free of charge, to any person obtaining a
|
|
||||||
** copy of this software and/or associated documentation files (the
|
|
||||||
** "Materials"), to deal in the Materials without restriction, including
|
|
||||||
** without limitation the rights to use, copy, modify, merge, publish,
|
|
||||||
** distribute, sublicense, and/or sell copies of the Materials, and to
|
|
||||||
** permit persons to whom the Materials are furnished to do so, subject to
|
|
||||||
** the following conditions:
|
|
||||||
**
|
|
||||||
** The above copyright notice and this permission notice shall be included
|
|
||||||
** in all copies or substantial portions of the Materials.
|
|
||||||
**
|
|
||||||
** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
** This header is generated from the Khronos OpenGL / OpenGL ES XML
|
** This header is generated from the Khronos OpenGL / OpenGL ES XML
|
||||||
** API Registry. The current version of the Registry, generator scripts
|
** API Registry. The current version of the Registry, generator scripts
|
||||||
** used to make the header, and the header can be found at
|
** used to make the header, and the header can be found at
|
||||||
|
|
@ -39,7 +20,7 @@ extern "C" {
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define WGL_WGLEXT_VERSION 20200408
|
#define WGL_WGLEXT_VERSION 20220530
|
||||||
|
|
||||||
/* Generated C header for:
|
/* Generated C header for:
|
||||||
* API: wgl
|
* API: wgl
|
||||||
|
|
|
||||||
|
|
@ -6,28 +6,9 @@ extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** Copyright (c) 2013-2018 The Khronos Group Inc.
|
** Copyright 2013-2020 The Khronos Group Inc.
|
||||||
|
** SPDX-License-Identifier: MIT
|
||||||
**
|
**
|
||||||
** Permission is hereby granted, free of charge, to any person obtaining a
|
|
||||||
** copy of this software and/or associated documentation files (the
|
|
||||||
** "Materials"), to deal in the Materials without restriction, including
|
|
||||||
** without limitation the rights to use, copy, modify, merge, publish,
|
|
||||||
** distribute, sublicense, and/or sell copies of the Materials, and to
|
|
||||||
** permit persons to whom the Materials are furnished to do so, subject to
|
|
||||||
** the following conditions:
|
|
||||||
**
|
|
||||||
** The above copyright notice and this permission notice shall be included
|
|
||||||
** in all copies or substantial portions of the Materials.
|
|
||||||
**
|
|
||||||
** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
** This header is generated from the Khronos OpenGL / OpenGL ES XML
|
** This header is generated from the Khronos OpenGL / OpenGL ES XML
|
||||||
** API Registry. The current version of the Registry, generator scripts
|
** API Registry. The current version of the Registry, generator scripts
|
||||||
** used to make the header, and the header can be found at
|
** used to make the header, and the header can be found at
|
||||||
|
|
@ -38,7 +19,7 @@ extern "C" {
|
||||||
#define GL_APIENTRYP GL_APIENTRY*
|
#define GL_APIENTRYP GL_APIENTRY*
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Generated on date 20200408 */
|
/* Generated on date 20220530 */
|
||||||
|
|
||||||
/* Generated C header for:
|
/* Generated C header for:
|
||||||
* API: gles2
|
* API: gles2
|
||||||
|
|
@ -350,12 +331,12 @@ GL_APICALL GLboolean GL_APIENTRY glIsEnablediOES (GLenum target, GLuint index);
|
||||||
typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXOESPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
|
typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXOESPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
|
||||||
typedef void (GL_APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
|
typedef void (GL_APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
|
||||||
typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
|
typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
|
||||||
typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, const GLint *basevertex);
|
typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex);
|
||||||
#ifdef GL_GLEXT_PROTOTYPES
|
#ifdef GL_GLEXT_PROTOTYPES
|
||||||
GL_APICALL void GL_APIENTRY glDrawElementsBaseVertexOES (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
|
GL_APICALL void GL_APIENTRY glDrawElementsBaseVertexOES (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
|
||||||
GL_APICALL void GL_APIENTRY glDrawRangeElementsBaseVertexOES (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
|
GL_APICALL void GL_APIENTRY glDrawRangeElementsBaseVertexOES (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
|
||||||
GL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseVertexOES (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
|
GL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseVertexOES (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
|
||||||
GL_APICALL void GL_APIENTRY glMultiDrawElementsBaseVertexEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, const GLint *basevertex);
|
GL_APICALL void GL_APIENTRY glMultiDrawElementsBaseVertexEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex);
|
||||||
#endif
|
#endif
|
||||||
#endif /* GL_OES_draw_elements_base_vertex */
|
#endif /* GL_OES_draw_elements_base_vertex */
|
||||||
|
|
||||||
|
|
@ -1112,6 +1093,13 @@ GL_APICALL void GL_APIENTRY glEGLImageTargetTextureStorageEXT (GLuint texture, G
|
||||||
#endif
|
#endif
|
||||||
#endif /* GL_EXT_EGL_image_storage */
|
#endif /* GL_EXT_EGL_image_storage */
|
||||||
|
|
||||||
|
#ifndef GL_EXT_EGL_image_storage_compression
|
||||||
|
#define GL_EXT_EGL_image_storage_compression 1
|
||||||
|
#define GL_SURFACE_COMPRESSION_EXT 0x96C0
|
||||||
|
#define GL_SURFACE_COMPRESSION_FIXED_RATE_NONE_EXT 0x96C1
|
||||||
|
#define GL_SURFACE_COMPRESSION_FIXED_RATE_DEFAULT_EXT 0x96C2
|
||||||
|
#endif /* GL_EXT_EGL_image_storage_compression */
|
||||||
|
|
||||||
#ifndef GL_EXT_YUV_target
|
#ifndef GL_EXT_YUV_target
|
||||||
#define GL_EXT_YUV_target 1
|
#define GL_EXT_YUV_target 1
|
||||||
#define GL_SAMPLER_EXTERNAL_2D_Y2Y_EXT 0x8BE7
|
#define GL_SAMPLER_EXTERNAL_2D_Y2Y_EXT 0x8BE7
|
||||||
|
|
@ -1431,6 +1419,46 @@ GL_APICALL void GL_APIENTRY glNamedBufferStorageExternalEXT (GLuint buffer, GLin
|
||||||
#define GL_EXT_float_blend 1
|
#define GL_EXT_float_blend 1
|
||||||
#endif /* GL_EXT_float_blend */
|
#endif /* GL_EXT_float_blend */
|
||||||
|
|
||||||
|
#ifndef GL_EXT_fragment_shading_rate
|
||||||
|
#define GL_EXT_fragment_shading_rate 1
|
||||||
|
#define GL_SHADING_RATE_1X1_PIXELS_EXT 0x96A6
|
||||||
|
#define GL_SHADING_RATE_1X2_PIXELS_EXT 0x96A7
|
||||||
|
#define GL_SHADING_RATE_2X1_PIXELS_EXT 0x96A8
|
||||||
|
#define GL_SHADING_RATE_2X2_PIXELS_EXT 0x96A9
|
||||||
|
#define GL_SHADING_RATE_1X4_PIXELS_EXT 0x96AA
|
||||||
|
#define GL_SHADING_RATE_4X1_PIXELS_EXT 0x96AB
|
||||||
|
#define GL_SHADING_RATE_4X2_PIXELS_EXT 0x96AC
|
||||||
|
#define GL_SHADING_RATE_2X4_PIXELS_EXT 0x96AD
|
||||||
|
#define GL_SHADING_RATE_4X4_PIXELS_EXT 0x96AE
|
||||||
|
#define GL_SHADING_RATE_EXT 0x96D0
|
||||||
|
#define GL_SHADING_RATE_ATTACHMENT_EXT 0x96D1
|
||||||
|
#define GL_FRAGMENT_SHADING_RATE_COMBINER_OP_KEEP_EXT 0x96D2
|
||||||
|
#define GL_FRAGMENT_SHADING_RATE_COMBINER_OP_REPLACE_EXT 0x96D3
|
||||||
|
#define GL_FRAGMENT_SHADING_RATE_COMBINER_OP_MIN_EXT 0x96D4
|
||||||
|
#define GL_FRAGMENT_SHADING_RATE_COMBINER_OP_MAX_EXT 0x96D5
|
||||||
|
#define GL_FRAGMENT_SHADING_RATE_COMBINER_OP_MUL_EXT 0x96D6
|
||||||
|
#define GL_MIN_FRAGMENT_SHADING_RATE_ATTACHMENT_TEXEL_WIDTH_EXT 0x96D7
|
||||||
|
#define GL_MAX_FRAGMENT_SHADING_RATE_ATTACHMENT_TEXEL_WIDTH_EXT 0x96D8
|
||||||
|
#define GL_MIN_FRAGMENT_SHADING_RATE_ATTACHMENT_TEXEL_HEIGHT_EXT 0x96D9
|
||||||
|
#define GL_MAX_FRAGMENT_SHADING_RATE_ATTACHMENT_TEXEL_HEIGHT_EXT 0x96DA
|
||||||
|
#define GL_MAX_FRAGMENT_SHADING_RATE_ATTACHMENT_TEXEL_ASPECT_RATIO_EXT 0x96DB
|
||||||
|
#define GL_MAX_FRAGMENT_SHADING_RATE_ATTACHMENT_LAYERS_EXT 0x96DC
|
||||||
|
#define GL_FRAGMENT_SHADING_RATE_WITH_SHADER_DEPTH_STENCIL_WRITES_SUPPORTED_EXT 0x96DD
|
||||||
|
#define GL_FRAGMENT_SHADING_RATE_WITH_SAMPLE_MASK_SUPPORTED_EXT 0x96DE
|
||||||
|
#define GL_FRAGMENT_SHADING_RATE_ATTACHMENT_WITH_DEFAULT_FRAMEBUFFER_SUPPORTED_EXT 0x96DF
|
||||||
|
#define GL_FRAGMENT_SHADING_RATE_NON_TRIVIAL_COMBINERS_SUPPORTED_EXT 0x8F6F
|
||||||
|
typedef void (GL_APIENTRYP PFNGLGETFRAGMENTSHADINGRATESEXTPROC) (GLsizei samples, GLsizei maxCount, GLsizei *count, GLenum *shadingRates);
|
||||||
|
typedef void (GL_APIENTRYP PFNGLSHADINGRATEEXTPROC) (GLenum rate);
|
||||||
|
typedef void (GL_APIENTRYP PFNGLSHADINGRATECOMBINEROPSEXTPROC) (GLenum combinerOp0, GLenum combinerOp1);
|
||||||
|
typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERSHADINGRATEEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint baseLayer, GLsizei numLayers, GLsizei texelWidth, GLsizei texelHeight);
|
||||||
|
#ifdef GL_GLEXT_PROTOTYPES
|
||||||
|
GL_APICALL void GL_APIENTRY glGetFragmentShadingRatesEXT (GLsizei samples, GLsizei maxCount, GLsizei *count, GLenum *shadingRates);
|
||||||
|
GL_APICALL void GL_APIENTRY glShadingRateEXT (GLenum rate);
|
||||||
|
GL_APICALL void GL_APIENTRY glShadingRateCombinerOpsEXT (GLenum combinerOp0, GLenum combinerOp1);
|
||||||
|
GL_APICALL void GL_APIENTRY glFramebufferShadingRateEXT (GLenum target, GLenum attachment, GLuint texture, GLint baseLayer, GLsizei numLayers, GLsizei texelWidth, GLsizei texelHeight);
|
||||||
|
#endif
|
||||||
|
#endif /* GL_EXT_fragment_shading_rate */
|
||||||
|
|
||||||
#ifndef GL_EXT_geometry_point_size
|
#ifndef GL_EXT_geometry_point_size
|
||||||
#define GL_EXT_geometry_point_size 1
|
#define GL_EXT_geometry_point_size 1
|
||||||
#endif /* GL_EXT_geometry_point_size */
|
#endif /* GL_EXT_geometry_point_size */
|
||||||
|
|
@ -1624,6 +1652,10 @@ GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleEXT (GLenum target,
|
||||||
#endif
|
#endif
|
||||||
#endif /* GL_EXT_multisampled_render_to_texture */
|
#endif /* GL_EXT_multisampled_render_to_texture */
|
||||||
|
|
||||||
|
#ifndef GL_EXT_multisampled_render_to_texture2
|
||||||
|
#define GL_EXT_multisampled_render_to_texture2 1
|
||||||
|
#endif /* GL_EXT_multisampled_render_to_texture2 */
|
||||||
|
|
||||||
#ifndef GL_EXT_multiview_draw_buffers
|
#ifndef GL_EXT_multiview_draw_buffers
|
||||||
#define GL_EXT_multiview_draw_buffers 1
|
#define GL_EXT_multiview_draw_buffers 1
|
||||||
#define GL_COLOR_ATTACHMENT_EXT 0x90F0
|
#define GL_COLOR_ATTACHMENT_EXT 0x90F0
|
||||||
|
|
@ -1810,6 +1842,10 @@ GL_APICALL void GL_APIENTRY glImportSemaphoreWin32NameEXT (GLuint semaphore, GLe
|
||||||
#endif
|
#endif
|
||||||
#endif /* GL_EXT_semaphore_win32 */
|
#endif /* GL_EXT_semaphore_win32 */
|
||||||
|
|
||||||
|
#ifndef GL_EXT_separate_depth_stencil
|
||||||
|
#define GL_EXT_separate_depth_stencil 1
|
||||||
|
#endif /* GL_EXT_separate_depth_stencil */
|
||||||
|
|
||||||
#ifndef GL_EXT_separate_shader_objects
|
#ifndef GL_EXT_separate_shader_objects
|
||||||
#define GL_EXT_separate_shader_objects 1
|
#define GL_EXT_separate_shader_objects 1
|
||||||
#define GL_ACTIVE_PROGRAM_EXT 0x8259
|
#define GL_ACTIVE_PROGRAM_EXT 0x8259
|
||||||
|
|
@ -1965,6 +2001,10 @@ GL_APICALL void GL_APIENTRY glClearPixelLocalStorageuiEXT (GLsizei offset, GLsiz
|
||||||
#endif
|
#endif
|
||||||
#endif /* GL_EXT_shader_pixel_local_storage2 */
|
#endif /* GL_EXT_shader_pixel_local_storage2 */
|
||||||
|
|
||||||
|
#ifndef GL_EXT_shader_samples_identical
|
||||||
|
#define GL_EXT_shader_samples_identical 1
|
||||||
|
#endif /* GL_EXT_shader_samples_identical */
|
||||||
|
|
||||||
#ifndef GL_EXT_shader_texture_lod
|
#ifndef GL_EXT_shader_texture_lod
|
||||||
#define GL_EXT_shader_texture_lod 1
|
#define GL_EXT_shader_texture_lod 1
|
||||||
#endif /* GL_EXT_shader_texture_lod */
|
#endif /* GL_EXT_shader_texture_lod */
|
||||||
|
|
@ -2259,6 +2299,29 @@ GL_APICALL void GL_APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target
|
||||||
#endif
|
#endif
|
||||||
#endif /* GL_EXT_texture_storage */
|
#endif /* GL_EXT_texture_storage */
|
||||||
|
|
||||||
|
#ifndef GL_EXT_texture_storage_compression
|
||||||
|
#define GL_EXT_texture_storage_compression 1
|
||||||
|
#define GL_NUM_SURFACE_COMPRESSION_FIXED_RATES_EXT 0x8F6E
|
||||||
|
#define GL_SURFACE_COMPRESSION_FIXED_RATE_1BPC_EXT 0x96C4
|
||||||
|
#define GL_SURFACE_COMPRESSION_FIXED_RATE_2BPC_EXT 0x96C5
|
||||||
|
#define GL_SURFACE_COMPRESSION_FIXED_RATE_3BPC_EXT 0x96C6
|
||||||
|
#define GL_SURFACE_COMPRESSION_FIXED_RATE_4BPC_EXT 0x96C7
|
||||||
|
#define GL_SURFACE_COMPRESSION_FIXED_RATE_5BPC_EXT 0x96C8
|
||||||
|
#define GL_SURFACE_COMPRESSION_FIXED_RATE_6BPC_EXT 0x96C9
|
||||||
|
#define GL_SURFACE_COMPRESSION_FIXED_RATE_7BPC_EXT 0x96CA
|
||||||
|
#define GL_SURFACE_COMPRESSION_FIXED_RATE_8BPC_EXT 0x96CB
|
||||||
|
#define GL_SURFACE_COMPRESSION_FIXED_RATE_9BPC_EXT 0x96CC
|
||||||
|
#define GL_SURFACE_COMPRESSION_FIXED_RATE_10BPC_EXT 0x96CD
|
||||||
|
#define GL_SURFACE_COMPRESSION_FIXED_RATE_11BPC_EXT 0x96CE
|
||||||
|
#define GL_SURFACE_COMPRESSION_FIXED_RATE_12BPC_EXT 0x96CF
|
||||||
|
typedef void (GL_APIENTRYP PFNGLTEXSTORAGEATTRIBS2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, const GLint* attrib_list);
|
||||||
|
typedef void (GL_APIENTRYP PFNGLTEXSTORAGEATTRIBS3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, const GLint* attrib_list);
|
||||||
|
#ifdef GL_GLEXT_PROTOTYPES
|
||||||
|
GL_APICALL void GL_APIENTRY glTexStorageAttribs2DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, const GLint* attrib_list);
|
||||||
|
GL_APICALL void GL_APIENTRY glTexStorageAttribs3DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, const GLint* attrib_list);
|
||||||
|
#endif
|
||||||
|
#endif /* GL_EXT_texture_storage_compression */
|
||||||
|
|
||||||
#ifndef GL_EXT_texture_type_2_10_10_10_REV
|
#ifndef GL_EXT_texture_type_2_10_10_10_REV
|
||||||
#define GL_EXT_texture_type_2_10_10_10_REV 1
|
#define GL_EXT_texture_type_2_10_10_10_REV 1
|
||||||
#define GL_UNSIGNED_INT_2_10_10_10_REV_EXT 0x8368
|
#define GL_UNSIGNED_INT_2_10_10_10_REV_EXT 0x8368
|
||||||
|
|
@ -2459,6 +2522,11 @@ GL_APICALL void GL_APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint quer
|
||||||
#endif
|
#endif
|
||||||
#endif /* GL_INTEL_performance_query */
|
#endif /* GL_INTEL_performance_query */
|
||||||
|
|
||||||
|
#ifndef GL_MESA_bgra
|
||||||
|
#define GL_MESA_bgra 1
|
||||||
|
#define GL_BGR_EXT 0x80E0
|
||||||
|
#endif /* GL_MESA_bgra */
|
||||||
|
|
||||||
#ifndef GL_MESA_framebuffer_flip_x
|
#ifndef GL_MESA_framebuffer_flip_x
|
||||||
#define GL_MESA_framebuffer_flip_x 1
|
#define GL_MESA_framebuffer_flip_x 1
|
||||||
#define GL_FRAMEBUFFER_FLIP_X_MESA 0x8BBC
|
#define GL_FRAMEBUFFER_FLIP_X_MESA 0x8BBC
|
||||||
|
|
@ -3018,6 +3086,20 @@ GL_APICALL void GL_APIENTRY glNamedBufferAttachMemoryNV (GLuint buffer, GLuint m
|
||||||
#endif
|
#endif
|
||||||
#endif /* GL_NV_memory_attachment */
|
#endif /* GL_NV_memory_attachment */
|
||||||
|
|
||||||
|
#ifndef GL_NV_memory_object_sparse
|
||||||
|
#define GL_NV_memory_object_sparse 1
|
||||||
|
typedef void (GL_APIENTRYP PFNGLBUFFERPAGECOMMITMENTMEMNVPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit);
|
||||||
|
typedef void (GL_APIENTRYP PFNGLTEXPAGECOMMITMENTMEMNVPROC) (GLenum target, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit);
|
||||||
|
typedef void (GL_APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit);
|
||||||
|
typedef void (GL_APIENTRYP PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC) (GLuint texture, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit);
|
||||||
|
#ifdef GL_GLEXT_PROTOTYPES
|
||||||
|
GL_APICALL void GL_APIENTRY glBufferPageCommitmentMemNV (GLenum target, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit);
|
||||||
|
GL_APICALL void GL_APIENTRY glTexPageCommitmentMemNV (GLenum target, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit);
|
||||||
|
GL_APICALL void GL_APIENTRY glNamedBufferPageCommitmentMemNV (GLuint buffer, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit);
|
||||||
|
GL_APICALL void GL_APIENTRY glTexturePageCommitmentMemNV (GLuint texture, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit);
|
||||||
|
#endif
|
||||||
|
#endif /* GL_NV_memory_object_sparse */
|
||||||
|
|
||||||
#ifndef GL_NV_mesh_shader
|
#ifndef GL_NV_mesh_shader
|
||||||
#define GL_NV_mesh_shader 1
|
#define GL_NV_mesh_shader 1
|
||||||
#define GL_MESH_SHADER_NV 0x9559
|
#define GL_MESH_SHADER_NV 0x9559
|
||||||
|
|
@ -3312,7 +3394,7 @@ typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHNVPROC) (GLuint path, GL
|
||||||
typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask, GLenum coverMode);
|
typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask, GLenum coverMode);
|
||||||
typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
|
typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
|
||||||
typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
|
typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
|
||||||
typedef GLenum (GL_APIENTRYP PFNGLPATHGLYPHINDEXRANGENVPROC) (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]);
|
typedef GLenum (GL_APIENTRYP PFNGLPATHGLYPHINDEXRANGENVPROC) (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint *baseAndCount);
|
||||||
typedef GLenum (GL_APIENTRYP PFNGLPATHGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
|
typedef GLenum (GL_APIENTRYP PFNGLPATHGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
|
||||||
typedef GLenum (GL_APIENTRYP PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
|
typedef GLenum (GL_APIENTRYP PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
|
||||||
typedef void (GL_APIENTRYP PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC) (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
|
typedef void (GL_APIENTRYP PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC) (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
|
||||||
|
|
@ -3389,7 +3471,7 @@ GL_APICALL void GL_APIENTRY glStencilThenCoverFillPathNV (GLuint path, GLenum fi
|
||||||
GL_APICALL void GL_APIENTRY glStencilThenCoverStrokePathNV (GLuint path, GLint reference, GLuint mask, GLenum coverMode);
|
GL_APICALL void GL_APIENTRY glStencilThenCoverStrokePathNV (GLuint path, GLint reference, GLuint mask, GLenum coverMode);
|
||||||
GL_APICALL void GL_APIENTRY glStencilThenCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
|
GL_APICALL void GL_APIENTRY glStencilThenCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
|
||||||
GL_APICALL void GL_APIENTRY glStencilThenCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
|
GL_APICALL void GL_APIENTRY glStencilThenCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
|
||||||
GL_APICALL GLenum GL_APIENTRY glPathGlyphIndexRangeNV (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]);
|
GL_APICALL GLenum GL_APIENTRY glPathGlyphIndexRangeNV (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint *baseAndCount);
|
||||||
GL_APICALL GLenum GL_APIENTRY glPathGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
|
GL_APICALL GLenum GL_APIENTRY glPathGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
|
||||||
GL_APICALL GLenum GL_APIENTRY glPathMemoryGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
|
GL_APICALL GLenum GL_APIENTRY glPathMemoryGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
|
||||||
GL_APICALL void GL_APIENTRY glProgramPathFragmentInputGenNV (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
|
GL_APICALL void GL_APIENTRY glProgramPathFragmentInputGenNV (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
|
||||||
|
|
@ -3443,6 +3525,12 @@ GL_APICALL void GL_APIENTRY glPolygonModeNV (GLenum face, GLenum mode);
|
||||||
#endif
|
#endif
|
||||||
#endif /* GL_NV_polygon_mode */
|
#endif /* GL_NV_polygon_mode */
|
||||||
|
|
||||||
|
#ifndef GL_NV_primitive_shading_rate
|
||||||
|
#define GL_NV_primitive_shading_rate 1
|
||||||
|
#define GL_SHADING_RATE_IMAGE_PER_PRIMITIVE_NV 0x95B1
|
||||||
|
#define GL_SHADING_RATE_IMAGE_PALETTE_COUNT_NV 0x95B2
|
||||||
|
#endif /* GL_NV_primitive_shading_rate */
|
||||||
|
|
||||||
#ifndef GL_NV_read_buffer
|
#ifndef GL_NV_read_buffer
|
||||||
#define GL_NV_read_buffer 1
|
#define GL_NV_read_buffer 1
|
||||||
#define GL_READ_BUFFER_NV 0x0C02
|
#define GL_READ_BUFFER_NV 0x0C02
|
||||||
|
|
@ -3609,6 +3697,23 @@ GL_APICALL void GL_APIENTRY glShadingRateSampleOrderCustomNV (GLenum rate, GLuin
|
||||||
#define GL_NV_texture_npot_2D_mipmap 1
|
#define GL_NV_texture_npot_2D_mipmap 1
|
||||||
#endif /* GL_NV_texture_npot_2D_mipmap */
|
#endif /* GL_NV_texture_npot_2D_mipmap */
|
||||||
|
|
||||||
|
#ifndef GL_NV_timeline_semaphore
|
||||||
|
#define GL_NV_timeline_semaphore 1
|
||||||
|
#define GL_TIMELINE_SEMAPHORE_VALUE_NV 0x9595
|
||||||
|
#define GL_SEMAPHORE_TYPE_NV 0x95B3
|
||||||
|
#define GL_SEMAPHORE_TYPE_BINARY_NV 0x95B4
|
||||||
|
#define GL_SEMAPHORE_TYPE_TIMELINE_NV 0x95B5
|
||||||
|
#define GL_MAX_TIMELINE_SEMAPHORE_VALUE_DIFFERENCE_NV 0x95B6
|
||||||
|
typedef void (GL_APIENTRYP PFNGLCREATESEMAPHORESNVPROC) (GLsizei n, GLuint *semaphores);
|
||||||
|
typedef void (GL_APIENTRYP PFNGLSEMAPHOREPARAMETERIVNVPROC) (GLuint semaphore, GLenum pname, const GLint *params);
|
||||||
|
typedef void (GL_APIENTRYP PFNGLGETSEMAPHOREPARAMETERIVNVPROC) (GLuint semaphore, GLenum pname, GLint *params);
|
||||||
|
#ifdef GL_GLEXT_PROTOTYPES
|
||||||
|
GL_APICALL void GL_APIENTRY glCreateSemaphoresNV (GLsizei n, GLuint *semaphores);
|
||||||
|
GL_APICALL void GL_APIENTRY glSemaphoreParameterivNV (GLuint semaphore, GLenum pname, const GLint *params);
|
||||||
|
GL_APICALL void GL_APIENTRY glGetSemaphoreParameterivNV (GLuint semaphore, GLenum pname, GLint *params);
|
||||||
|
#endif
|
||||||
|
#endif /* GL_NV_timeline_semaphore */
|
||||||
|
|
||||||
#ifndef GL_NV_viewport_array
|
#ifndef GL_NV_viewport_array
|
||||||
#define GL_NV_viewport_array 1
|
#define GL_NV_viewport_array 1
|
||||||
#define GL_MAX_VIEWPORTS_NV 0x825B
|
#define GL_MAX_VIEWPORTS_NV 0x825B
|
||||||
|
|
@ -3775,6 +3880,14 @@ GL_APICALL void GL_APIENTRY glExtGetProgramBinarySourceQCOM (GLuint program, GLe
|
||||||
#endif
|
#endif
|
||||||
#endif /* GL_QCOM_extended_get2 */
|
#endif /* GL_QCOM_extended_get2 */
|
||||||
|
|
||||||
|
#ifndef GL_QCOM_frame_extrapolation
|
||||||
|
#define GL_QCOM_frame_extrapolation 1
|
||||||
|
typedef void (GL_APIENTRYP PFNGLEXTRAPOLATETEX2DQCOMPROC) (GLuint src1, GLuint src2, GLuint output, GLfloat scaleFactor);
|
||||||
|
#ifdef GL_GLEXT_PROTOTYPES
|
||||||
|
GL_APICALL void GL_APIENTRY glExtrapolateTex2DQCOM (GLuint src1, GLuint src2, GLuint output, GLfloat scaleFactor);
|
||||||
|
#endif
|
||||||
|
#endif /* GL_QCOM_frame_extrapolation */
|
||||||
|
|
||||||
#ifndef GL_QCOM_framebuffer_foveated
|
#ifndef GL_QCOM_framebuffer_foveated
|
||||||
#define GL_QCOM_framebuffer_foveated 1
|
#define GL_QCOM_framebuffer_foveated 1
|
||||||
#define GL_FOVEATION_ENABLE_BIT_QCOM 0x00000001
|
#define GL_FOVEATION_ENABLE_BIT_QCOM 0x00000001
|
||||||
|
|
@ -3804,6 +3917,10 @@ GL_APICALL void GL_APIENTRY glTexEstimateMotionRegionsQCOM (GLuint ref, GLuint t
|
||||||
#define GL_PERFMON_GLOBAL_MODE_QCOM 0x8FA0
|
#define GL_PERFMON_GLOBAL_MODE_QCOM 0x8FA0
|
||||||
#endif /* GL_QCOM_perfmon_global_mode */
|
#endif /* GL_QCOM_perfmon_global_mode */
|
||||||
|
|
||||||
|
#ifndef GL_QCOM_render_shared_exponent
|
||||||
|
#define GL_QCOM_render_shared_exponent 1
|
||||||
|
#endif /* GL_QCOM_render_shared_exponent */
|
||||||
|
|
||||||
#ifndef GL_QCOM_shader_framebuffer_fetch_noncoherent
|
#ifndef GL_QCOM_shader_framebuffer_fetch_noncoherent
|
||||||
#define GL_QCOM_shader_framebuffer_fetch_noncoherent 1
|
#define GL_QCOM_shader_framebuffer_fetch_noncoherent 1
|
||||||
#define GL_FRAMEBUFFER_FETCH_NONCOHERENT_QCOM 0x96A2
|
#define GL_FRAMEBUFFER_FETCH_NONCOHERENT_QCOM 0x96A2
|
||||||
|
|
@ -3846,6 +3963,11 @@ GL_APICALL void GL_APIENTRY glTextureFoveationParametersQCOM (GLuint texture, GL
|
||||||
#endif
|
#endif
|
||||||
#endif /* GL_QCOM_texture_foveated */
|
#endif /* GL_QCOM_texture_foveated */
|
||||||
|
|
||||||
|
#ifndef GL_QCOM_texture_foveated2
|
||||||
|
#define GL_QCOM_texture_foveated2 1
|
||||||
|
#define GL_TEXTURE_FOVEATED_CUTOFF_DENSITY_QCOM 0x96A0
|
||||||
|
#endif /* GL_QCOM_texture_foveated2 */
|
||||||
|
|
||||||
#ifndef GL_QCOM_texture_foveated_subsampled_layout
|
#ifndef GL_QCOM_texture_foveated_subsampled_layout
|
||||||
#define GL_QCOM_texture_foveated_subsampled_layout 1
|
#define GL_QCOM_texture_foveated_subsampled_layout 1
|
||||||
#define GL_FOVEATION_SUBSAMPLED_LAYOUT_METHOD_BIT_QCOM 0x00000004
|
#define GL_FOVEATION_SUBSAMPLED_LAYOUT_METHOD_BIT_QCOM 0x00000004
|
||||||
|
|
|
||||||
|
|
@ -6,28 +6,9 @@ extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** Copyright (c) 2013-2018 The Khronos Group Inc.
|
** Copyright 2013-2020 The Khronos Group Inc.
|
||||||
|
** SPDX-License-Identifier: MIT
|
||||||
**
|
**
|
||||||
** Permission is hereby granted, free of charge, to any person obtaining a
|
|
||||||
** copy of this software and/or associated documentation files (the
|
|
||||||
** "Materials"), to deal in the Materials without restriction, including
|
|
||||||
** without limitation the rights to use, copy, modify, merge, publish,
|
|
||||||
** distribute, sublicense, and/or sell copies of the Materials, and to
|
|
||||||
** permit persons to whom the Materials are furnished to do so, subject to
|
|
||||||
** the following conditions:
|
|
||||||
**
|
|
||||||
** The above copyright notice and this permission notice shall be included
|
|
||||||
** in all copies or substantial portions of the Materials.
|
|
||||||
**
|
|
||||||
** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
** This header is generated from the Khronos OpenGL / OpenGL ES XML
|
** This header is generated from the Khronos OpenGL / OpenGL ES XML
|
||||||
** API Registry. The current version of the Registry, generator scripts
|
** API Registry. The current version of the Registry, generator scripts
|
||||||
** used to make the header, and the header can be found at
|
** used to make the header, and the header can be found at
|
||||||
|
|
@ -44,7 +25,7 @@ extern "C" {
|
||||||
#define GL_GLES_PROTOTYPES 1
|
#define GL_GLES_PROTOTYPES 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Generated on date 20200408 */
|
/* Generated on date 20220530 */
|
||||||
|
|
||||||
/* Generated C header for:
|
/* Generated C header for:
|
||||||
* API: gles2
|
* API: gles2
|
||||||
|
|
@ -477,7 +458,7 @@ typedef void (GL_APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void);
|
||||||
typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
|
typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
|
||||||
typedef void (GL_APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLfloat value, GLboolean invert);
|
typedef void (GL_APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLfloat value, GLboolean invert);
|
||||||
typedef void (GL_APIENTRYP PFNGLSCISSORPROC) (GLint x, GLint y, GLsizei width, GLsizei height);
|
typedef void (GL_APIENTRYP PFNGLSCISSORPROC) (GLint x, GLint y, GLsizei width, GLsizei height);
|
||||||
typedef void (GL_APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length);
|
typedef void (GL_APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryFormat, const void *binary, GLsizei length);
|
||||||
typedef void (GL_APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
|
typedef void (GL_APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
|
||||||
typedef void (GL_APIENTRYP PFNGLSTENCILFUNCPROC) (GLenum func, GLint ref, GLuint mask);
|
typedef void (GL_APIENTRYP PFNGLSTENCILFUNCPROC) (GLenum func, GLint ref, GLuint mask);
|
||||||
typedef void (GL_APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask);
|
typedef void (GL_APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask);
|
||||||
|
|
@ -620,7 +601,7 @@ GL_APICALL void GL_APIENTRY glReleaseShaderCompiler (void);
|
||||||
GL_APICALL void GL_APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
|
GL_APICALL void GL_APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
|
||||||
GL_APICALL void GL_APIENTRY glSampleCoverage (GLfloat value, GLboolean invert);
|
GL_APICALL void GL_APIENTRY glSampleCoverage (GLfloat value, GLboolean invert);
|
||||||
GL_APICALL void GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height);
|
GL_APICALL void GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height);
|
||||||
GL_APICALL void GL_APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length);
|
GL_APICALL void GL_APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryFormat, const void *binary, GLsizei length);
|
||||||
GL_APICALL void GL_APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
|
GL_APICALL void GL_APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
|
||||||
GL_APICALL void GL_APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask);
|
GL_APICALL void GL_APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask);
|
||||||
GL_APICALL void GL_APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask);
|
GL_APICALL void GL_APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask);
|
||||||
|
|
|
||||||
|
|
@ -6,28 +6,9 @@ extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** Copyright (c) 2013-2018 The Khronos Group Inc.
|
** Copyright 2013-2020 The Khronos Group Inc.
|
||||||
|
** SPDX-License-Identifier: MIT
|
||||||
**
|
**
|
||||||
** Permission is hereby granted, free of charge, to any person obtaining a
|
|
||||||
** copy of this software and/or associated documentation files (the
|
|
||||||
** "Materials"), to deal in the Materials without restriction, including
|
|
||||||
** without limitation the rights to use, copy, modify, merge, publish,
|
|
||||||
** distribute, sublicense, and/or sell copies of the Materials, and to
|
|
||||||
** permit persons to whom the Materials are furnished to do so, subject to
|
|
||||||
** the following conditions:
|
|
||||||
**
|
|
||||||
** The above copyright notice and this permission notice shall be included
|
|
||||||
** in all copies or substantial portions of the Materials.
|
|
||||||
**
|
|
||||||
** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
** This header is generated from the Khronos OpenGL / OpenGL ES XML
|
** This header is generated from the Khronos OpenGL / OpenGL ES XML
|
||||||
** API Registry. The current version of the Registry, generator scripts
|
** API Registry. The current version of the Registry, generator scripts
|
||||||
** used to make the header, and the header can be found at
|
** used to make the header, and the header can be found at
|
||||||
|
|
|
||||||
|
|
@ -6,28 +6,9 @@ extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** Copyright (c) 2013-2018 The Khronos Group Inc.
|
** Copyright 2013-2020 The Khronos Group Inc.
|
||||||
|
** SPDX-License-Identifier: MIT
|
||||||
**
|
**
|
||||||
** Permission is hereby granted, free of charge, to any person obtaining a
|
|
||||||
** copy of this software and/or associated documentation files (the
|
|
||||||
** "Materials"), to deal in the Materials without restriction, including
|
|
||||||
** without limitation the rights to use, copy, modify, merge, publish,
|
|
||||||
** distribute, sublicense, and/or sell copies of the Materials, and to
|
|
||||||
** permit persons to whom the Materials are furnished to do so, subject to
|
|
||||||
** the following conditions:
|
|
||||||
**
|
|
||||||
** The above copyright notice and this permission notice shall be included
|
|
||||||
** in all copies or substantial portions of the Materials.
|
|
||||||
**
|
|
||||||
** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
** This header is generated from the Khronos OpenGL / OpenGL ES XML
|
** This header is generated from the Khronos OpenGL / OpenGL ES XML
|
||||||
** API Registry. The current version of the Registry, generator scripts
|
** API Registry. The current version of the Registry, generator scripts
|
||||||
** used to make the header, and the header can be found at
|
** used to make the header, and the header can be found at
|
||||||
|
|
|
||||||
|
|
@ -2,19 +2,8 @@
|
||||||
#define __gl3platform_h_
|
#define __gl3platform_h_
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** Copyright (c) 2017 The Khronos Group Inc.
|
** Copyright 2017-2020 The Khronos Group Inc.
|
||||||
**
|
** SPDX-License-Identifier: Apache-2.0
|
||||||
** Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
** you may not use this file except in compliance with the License.
|
|
||||||
** You may obtain a copy of the License at
|
|
||||||
**
|
|
||||||
** http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
**
|
|
||||||
** Unless required by applicable law or agreed to in writing, software
|
|
||||||
** distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
** See the License for the specific language governing permissions and
|
|
||||||
** limitations under the License.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Platform-specific types and definitions for OpenGL ES 3.X gl3.h
|
/* Platform-specific types and definitions for OpenGL ES 3.X gl3.h
|
||||||
|
|
|
||||||
|
|
@ -119,7 +119,7 @@
|
||||||
* This follows the return type of the function and precedes the function
|
* This follows the return type of the function and precedes the function
|
||||||
* name in the function prototype.
|
* name in the function prototype.
|
||||||
*/
|
*/
|
||||||
#if defined(_WIN32) && !defined(_WIN32_WCE) && !defined(KHRONOS_STATIC)
|
#if defined(_WIN32) && !defined(_WIN32_WCE) && !defined(__SCITECH_SNAP__)
|
||||||
/* Win32 but not WinCE */
|
/* Win32 but not WinCE */
|
||||||
# define KHRONOS_APIENTRY __stdcall
|
# define KHRONOS_APIENTRY __stdcall
|
||||||
#else
|
#else
|
||||||
|
|
@ -153,6 +153,20 @@ typedef int64_t khronos_int64_t;
|
||||||
typedef uint64_t khronos_uint64_t;
|
typedef uint64_t khronos_uint64_t;
|
||||||
#define KHRONOS_SUPPORT_INT64 1
|
#define KHRONOS_SUPPORT_INT64 1
|
||||||
#define KHRONOS_SUPPORT_FLOAT 1
|
#define KHRONOS_SUPPORT_FLOAT 1
|
||||||
|
/*
|
||||||
|
* To support platform where unsigned long cannot be used interchangeably with
|
||||||
|
* inptr_t (e.g. CHERI-extended ISAs), we can use the stdint.h intptr_t.
|
||||||
|
* Ideally, we could just use (u)intptr_t everywhere, but this could result in
|
||||||
|
* ABI breakage if khronos_uintptr_t is changed from unsigned long to
|
||||||
|
* unsigned long long or similar (this results in different C++ name mangling).
|
||||||
|
* To avoid changes for existing platforms, we restrict usage of intptr_t to
|
||||||
|
* platforms where the size of a pointer is larger than the size of long.
|
||||||
|
*/
|
||||||
|
#if defined(__SIZEOF_LONG__) && defined(__SIZEOF_POINTER__)
|
||||||
|
#if __SIZEOF_POINTER__ > __SIZEOF_LONG__
|
||||||
|
#define KHRONOS_USE_INTPTR_T
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#elif defined(__VMS ) || defined(__sgi)
|
#elif defined(__VMS ) || defined(__sgi)
|
||||||
|
|
||||||
|
|
@ -235,14 +249,21 @@ typedef unsigned short int khronos_uint16_t;
|
||||||
* pointers are 64 bits, but 'long' is still 32 bits. Win64 appears
|
* pointers are 64 bits, but 'long' is still 32 bits. Win64 appears
|
||||||
* to be the only LLP64 architecture in current use.
|
* to be the only LLP64 architecture in current use.
|
||||||
*/
|
*/
|
||||||
#ifdef _WIN64
|
#ifdef KHRONOS_USE_INTPTR_T
|
||||||
|
typedef intptr_t khronos_intptr_t;
|
||||||
|
typedef uintptr_t khronos_uintptr_t;
|
||||||
|
#elif defined(_WIN64)
|
||||||
typedef signed long long int khronos_intptr_t;
|
typedef signed long long int khronos_intptr_t;
|
||||||
typedef unsigned long long int khronos_uintptr_t;
|
typedef unsigned long long int khronos_uintptr_t;
|
||||||
typedef signed long long int khronos_ssize_t;
|
|
||||||
typedef unsigned long long int khronos_usize_t;
|
|
||||||
#else
|
#else
|
||||||
typedef signed long int khronos_intptr_t;
|
typedef signed long int khronos_intptr_t;
|
||||||
typedef unsigned long int khronos_uintptr_t;
|
typedef unsigned long int khronos_uintptr_t;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(_WIN64)
|
||||||
|
typedef signed long long int khronos_ssize_t;
|
||||||
|
typedef unsigned long long int khronos_usize_t;
|
||||||
|
#else
|
||||||
typedef signed long int khronos_ssize_t;
|
typedef signed long int khronos_ssize_t;
|
||||||
typedef unsigned long int khronos_usize_t;
|
typedef unsigned long int khronos_usize_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue