Free Electron
eglew_head.h
1 #ifndef __eglew_h__
2 #define __eglew_h__
3 #define __EGLEW_H__
4 
5 #ifdef __eglext_h_
6 #error eglext.h included before eglew.h
7 #endif
8 
9 #if defined(__egl_h_)
10 #error egl.h included before eglew.h
11 #endif
12 
13 #define __eglext_h_
14 
15 #define __egl_h_
16 
17 #ifndef EGLAPIENTRY
18 #define EGLAPIENTRY
19 #endif
20 #ifndef EGLAPI
21 #define EGLAPI extern
22 #endif
23 
24 /* EGL Types */
25 #include <sys/types.h>
26 
27 #include <KHR/khrplatform.h>
28 #include <EGL/eglplatform.h>
29 
30 #include <GL/glew.h>
31 
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
35 
36 typedef int32_t EGLint;
37 
38 typedef unsigned int EGLBoolean;
39 typedef void *EGLDisplay;
40 typedef void *EGLConfig;
41 typedef void *EGLSurface;
42 typedef void *EGLContext;
43 typedef void (*__eglMustCastToProperFunctionPointerType)(void);
44 
45 typedef unsigned int EGLenum;
46 typedef void *EGLClientBuffer;
47 
48 typedef void *EGLSync;
49 typedef intptr_t EGLAttrib;
50 typedef khronos_utime_nanoseconds_t EGLTime;
51 typedef void *EGLImage;
52 
53 typedef void *EGLSyncKHR;
54 typedef intptr_t EGLAttribKHR;
55 typedef void *EGLLabelKHR;
56 typedef void *EGLObjectKHR;
57 typedef void (EGLAPIENTRY *EGLDEBUGPROCKHR)(EGLenum error,const char *command,EGLint messageType,EGLLabelKHR threadLabel,EGLLabelKHR objectLabel,const char* message);
58 typedef khronos_utime_nanoseconds_t EGLTimeKHR;
59 typedef void *EGLImageKHR;
60 typedef void *EGLStreamKHR;
61 typedef khronos_uint64_t EGLuint64KHR;
62 typedef int EGLNativeFileDescriptorKHR;
63 typedef khronos_ssize_t EGLsizeiANDROID;
64 typedef void (*EGLSetBlobFuncANDROID) (const void *key, EGLsizeiANDROID keySize, const void *value, EGLsizeiANDROID valueSize);
65 typedef EGLsizeiANDROID (*EGLGetBlobFuncANDROID) (const void *key, EGLsizeiANDROID keySize, void *value, EGLsizeiANDROID valueSize);
66 typedef void *EGLDeviceEXT;
67 typedef void *EGLOutputLayerEXT;
68 typedef void *EGLOutputPortEXT;
69 typedef void *EGLSyncNV;
70 typedef khronos_utime_nanoseconds_t EGLTimeNV;
71 typedef khronos_utime_nanoseconds_t EGLuint64NV;
72 typedef khronos_stime_nanoseconds_t EGLnsecsANDROID;
73 
74 struct EGLClientPixmapHI;
75 
76 #define EGL_DONT_CARE ((EGLint)-1)
77 
78 #define EGL_NO_CONTEXT ((EGLContext)0)
79 #define EGL_NO_DISPLAY ((EGLDisplay)0)
80 #define EGL_NO_IMAGE ((EGLImage)0)
81 #define EGL_NO_SURFACE ((EGLSurface)0)
82 #define EGL_NO_SYNC ((EGLSync)0)
83 
84 #define EGL_UNKNOWN ((EGLint)-1)
85 
86 #define EGL_DEFAULT_DISPLAY ((EGLNativeDisplayType)0)
87 
88 EGLAPI __eglMustCastToProperFunctionPointerType EGLAPIENTRY eglGetProcAddress (const char *procname);