#ifndef EGLGLOBALS_INCLUDED #define EGLGLOBALS_INCLUDED #include "egltypedefs.h" #include "eglhash.h" #include "eglcurrent.h" /** * Global library data */ struct _egl_global { EGLBoolean Initialized; /* these are private to egldisplay.c */ _EGLHashtable *Displays; _EGLHashtable *Surfaces; EGLScreenMESA FreeScreenHandle; /* bitmaks of supported APIs (supported by _some_ driver) */ EGLint ClientAPIsMask; char ClientAPIs[1000]; /**< updated by eglQueryString */ EGLint NumDrivers; _EGLDriver *Drivers[10]; }; extern struct _egl_global _eglGlobal; extern void _eglInitGlobals(void); extern void _eglDestroyGlobals(void); #endif /* EGLGLOBALS_INCLUDED */