Changeset View
Changeset View
Standalone View
Standalone View
libraries/source/glad/include/glad/glx.h
/** | /** | ||||
* Loader generated by glad 2.0.0-beta on Tue Mar 29 08:49:06 2022 | * Loader generated by glad 2.0.2 on 11/20/22 13:31:48 | ||||
* | |||||
* SPDX-License-Identifier: (WTFPL OR CC0-1.0) AND Apache-2.0 | |||||
* | * | ||||
* Generator: C/C++ | * Generator: C/C++ | ||||
* Specification: glx | * Specification: glx | ||||
* Extensions: 2 | * Extensions: 2 | ||||
* | * | ||||
* APIs: | * APIs: | ||||
* - glx=1.4 | * - glx=1.4 | ||||
* | * | ||||
* Options: | * Options: | ||||
* - ON_DEMAND = False | |||||
* - LOADER = False | |||||
* - ALIAS = False | * - ALIAS = False | ||||
* - DEBUG = False | |||||
* - HEADER_ONLY = False | * - HEADER_ONLY = False | ||||
* - LOADER = False | * - DEBUG = False | ||||
* - MX = False | * - MX = False | ||||
* - MX_GLOBAL = False | |||||
* - ON_DEMAND = False | |||||
* | * | ||||
* Commandline: | * Commandline: | ||||
* --api='glx=1.4' --extensions='GLX_MESA_query_renderer,GLX_SGI_swap_control' c | * --api='glx=1.4' --extensions='GLX_MESA_query_renderer,GLX_SGI_swap_control' c | ||||
* | * | ||||
* Online: | * Online: | ||||
* http://glad.sh/#api=glx%3D1.4&extensions=GLX_MESA_query_renderer%2CGLX_SGI_swap_control&generator=c&options= | * http://glad.sh/#api=glx%3D1.4&extensions=GLX_MESA_query_renderer%2CGLX_SGI_swap_control&generator=c&options= | ||||
* | * | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 70 Lines • ▼ Show 20 Lines | |||||
#endif | #endif | ||||
#ifdef __GNUC__ | #ifdef __GNUC__ | ||||
#define GLAD_GNUC_EXTENSION __extension__ | #define GLAD_GNUC_EXTENSION __extension__ | ||||
#else | #else | ||||
#define GLAD_GNUC_EXTENSION | #define GLAD_GNUC_EXTENSION | ||||
#endif | #endif | ||||
#define GLAD_UNUSED(x) (void)(x) | |||||
#ifndef GLAD_API_CALL | #ifndef GLAD_API_CALL | ||||
#if defined(GLAD_API_CALL_EXPORT) | #if defined(GLAD_API_CALL_EXPORT) | ||||
#if GLAD_PLATFORM_WIN32 || defined(__CYGWIN__) | #if GLAD_PLATFORM_WIN32 || defined(__CYGWIN__) | ||||
#if defined(GLAD_API_CALL_EXPORT_BUILD) | #if defined(GLAD_API_CALL_EXPORT_BUILD) | ||||
#if defined(__GNUC__) | #if defined(__GNUC__) | ||||
#define GLAD_API_CALL __attribute__ ((dllexport)) extern | #define GLAD_API_CALL __attribute__ ((dllexport)) extern | ||||
#else | #else | ||||
#define GLAD_API_CALL __declspec(dllexport) extern | #define GLAD_API_CALL __declspec(dllexport) extern | ||||
Show All 30 Lines | |||||
#ifndef GLAPIENTRY | #ifndef GLAPIENTRY | ||||
#define GLAPIENTRY GLAD_API_PTR | #define GLAPIENTRY GLAD_API_PTR | ||||
#endif | #endif | ||||
#define GLAD_MAKE_VERSION(major, minor) (major * 10000 + minor) | #define GLAD_MAKE_VERSION(major, minor) (major * 10000 + minor) | ||||
#define GLAD_VERSION_MAJOR(version) (version / 10000) | #define GLAD_VERSION_MAJOR(version) (version / 10000) | ||||
#define GLAD_VERSION_MINOR(version) (version % 10000) | #define GLAD_VERSION_MINOR(version) (version % 10000) | ||||
#define GLAD_GENERATOR_VERSION "2.0.0-beta" | #define GLAD_GENERATOR_VERSION "2.0.2" | ||||
typedef void (*GLADapiproc)(void); | typedef void (*GLADapiproc)(void); | ||||
typedef GLADapiproc (*GLADloadfunc)(const char *name); | typedef GLADapiproc (*GLADloadfunc)(const char *name); | ||||
typedef GLADapiproc (*GLADuserptrloadfunc)(void *userptr, const char *name); | typedef GLADapiproc (*GLADuserptrloadfunc)(void *userptr, const char *name); | ||||
typedef void (*GLADprecallback)(const char *name, GLADapiproc apiproc, int len_args, ...); | typedef void (*GLADprecallback)(const char *name, GLADapiproc apiproc, int len_args, ...); | ||||
typedef void (*GLADpostcallback)(void *ret, const char *name, GLADapiproc apiproc, int len_args, ...); | typedef void (*GLADpostcallback)(void *ret, const char *name, GLADapiproc apiproc, int len_args, ...); | ||||
▲ Show 20 Lines • Show All 426 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator