Files
third_party_mesa3d/src/egl/main/eglglobals.h

38 lines
570 B
C
Raw Normal View History

2005-04-22 21:09:39 +00:00
#ifndef EGLGLOBALS_INCLUDED
#define EGLGLOBALS_INCLUDED
#include "egltypedefs.h"
#include "egldisplay.h"
#include "eglcurrent.h"
#include "eglmutex.h"
/**
* Global library data
*/
2005-04-22 21:09:39 +00:00
struct _egl_global
{
_EGLMutex *Mutex;
/* the list of all displays */
_EGLDisplay *DisplayList;
EGLScreenMESA FreeScreenHandle;
EGLint NumDrivers;
_EGLDriver *Drivers[10];
EGLint NumAtExitCalls;
void (*AtExitCalls[10])(void);
2005-04-22 21:09:39 +00:00
};
extern struct _egl_global _eglGlobal;
extern void
_eglAddAtExitCall(void (*func)(void));
2005-04-22 21:09:39 +00:00
#endif /* EGLGLOBALS_INCLUDED */