4 ** ONLY egl.h SHOULD INCLUDE THIS FILE!
6 ** See comments about egltypes.h in the standard egl.h file.
10 #include <sys/types.h>
14 ** These opaque EGL types are implemented as unsigned 32-bit integers:
16 typedef uint32_t EGLDisplay;
17 typedef uint32_t EGLConfig;
18 typedef uint32_t EGLSurface;
19 typedef uint32_t EGLContext;
21 /* EGL_MESA_screen_surface */
22 typedef uint32_t EGLModeMESA;
23 typedef uint32_t EGLScreenMESA;
27 ** Other basic EGL types:
29 typedef uint8_t EGLBoolean;
30 typedef int32_t EGLint;
32 typedef void * NativeDisplayType;
33 typedef int NativePixmapType;
34 typedef int NativeWindowType;
37 ** EGL and native handle null values:
39 #define EGL_DEFAULT_DISPLAY ((NativeDisplayType) 0)
40 #define EGL_NO_CONTEXT ((EGLContext) 0)
41 #define EGL_NO_DISPLAY ((EGLDisplay) 0)
42 #define EGL_NO_SURFACE ((EGLSurface) 0)
44 /* EGL_MESA_screen_surface */
45 #define EGL_NO_MODE_MESA ((EGLModeMESA) 0)