summaryrefslogtreecommitdiff
path: root/src/egl/main/eglglobals.h
blob: 2f3c211476f81401f4112977311ac8bfbdcd95a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef EGLGLOBALS_INCLUDED
#define EGLGLOBALS_INCLUDED

#include "egltypedefs.h"
#include "eglhash.h"
#include "eglcurrent.h"


/**
 * Global library data
 */
struct _egl_global
{
   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;


#endif /* EGLGLOBALS_INCLUDED */