Clone of mesa.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

eglglobals.h 436B

12345678910111213141516171819202122232425262728293031
  1. #ifndef EGLGLOBALS_INCLUDED
  2. #define EGLGLOBALS_INCLUDED
  3. #include "egltypedefs.h"
  4. #include "eglmutex.h"
  5. /**
  6. * Global library data
  7. */
  8. struct _egl_global
  9. {
  10. _EGLMutex *Mutex;
  11. /* the list of all displays */
  12. _EGLDisplay *DisplayList;
  13. EGLint NumAtExitCalls;
  14. void (*AtExitCalls[10])(void);
  15. };
  16. extern struct _egl_global _eglGlobal;
  17. extern void
  18. _eglAddAtExitCall(void (*func)(void));
  19. #endif /* EGLGLOBALS_INCLUDED */