/usr/include/allegrogl/gl_ext.h is in liballeggl4-dev 2:4.4.2-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 | #ifndef INCLUDE_ALLEGRO_GL_GL_EXT_H_GUARD
#define INCLUDE_ALLEGRO_GL_GL_EXT_H_GUARD
#ifdef __cplusplus
extern "C" {
#endif
#include "allegrogl/gl_header_detect.h"
#include "allegrogl/GLext/gl_ext_defs.h"
#ifdef ALLEGRO_WINDOWS
#include "allegrogl/GLext/wgl_ext_defs.h"
#elif defined ALLEGRO_UNIX
#include "allegrogl/GLext/glx_ext_defs.h"
#endif
/* GL extension types */
#ifndef APIENTRY
#define APIENTRY
#define APIENTRY_defined
#endif
#define AGL_API(type, name, args) typedef type (APIENTRY * AGL_##name##_t) args;
# include "allegrogl/GLext/gl_ext_api.h"
#ifdef ALLEGRO_WINDOWS
# include "allegrogl/GLext/wgl_ext_api.h"
#elif defined ALLEGRO_UNIX
# include "allegrogl/GLext/glx_ext_api.h"
#endif
#undef AGL_API
#ifdef APIENTRY_defined
#undef APIENTRY
#undef APIENTRY_defined
#endif
/* GL extension declarations */
#define AGL_API(type, name, args) extern _AGL_DLL AGL_##name##_t __agl##name;
# include "allegrogl/GLext/gl_ext_alias.h"
# include "allegrogl/GLext/gl_ext_api.h"
#undef AGL_API
#ifdef ALLEGRO_WINDOWS
#define AGL_API(type, name, args) extern _AGL_DLL AGL_##name##_t __awgl##name;
# include "allegrogl/GLext/wgl_ext_alias.h"
# include "allegrogl/GLext/wgl_ext_api.h"
#undef AGL_API
#elif defined ALLEGRO_UNIX
#define AGL_API(type, name, args) extern AGL_##name##_t __aglX##name;
# include "allegrogl/GLext/glx_ext_alias.h"
# include "allegrogl/GLext/glx_ext_api.h"
#undef AGL_API
#endif
typedef struct AGL_EXTENSION_LIST_GL {
# define AGL_EXT(name, ver) int name;
# include "allegrogl/GLext/gl_ext_list.h"
# undef AGL_EXT
} AGL_EXTENSION_LIST_GL;
#ifdef ALLEGRO_UNIX
typedef struct AGL_EXTENSION_LIST_GLX {
# define AGL_EXT(name, ver) int name;
# include "allegrogl/GLext/glx_ext_list.h"
# undef AGL_EXT
} AGL_EXTENSION_LIST_GLX;
#elif defined ALLEGRO_WINDOWS
typedef struct AGL_EXTENSION_LIST_WGL {
# define AGL_EXT(name, ver) int name;
# include "allegrogl/GLext/wgl_ext_list.h"
# undef AGL_EXT
} AGL_EXTENSION_LIST_WGL;
#endif
AGL_VAR(AGL_EXTENSION_LIST_GL, allegro_gl_extensions_GL);
#ifdef ALLEGRO_UNIX
extern AGL_EXTENSION_LIST_GLX allegro_gl_extensions_GLX;
#elif defined ALLEGRO_WINDOWS
AGL_VAR(AGL_EXTENSION_LIST_WGL, allegro_gl_extensions_WGL);
#endif
#ifdef __cplusplus
}
#endif
#endif /* INCLUDE_ALLEGRO_GL_GL_EXT_H_GUARD */
|