diff options
author | Chia-I Wu <[email protected]> | 2009-08-14 17:47:00 +0800 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-08-18 08:49:53 -0600 |
commit | 38feefdc4eb4a3c7530b9cddea4c55e9ef39aec8 (patch) | |
tree | cb7d042db8ac72c18064981e2a3d17aa048e9f91 /src/egl/main/eglglobals.h | |
parent | 7a9f52800932c02f5b425158b4978d0c1d2f4fd3 (diff) |
egl: Remove hash table for displays.
The hash table was used to map a display to a handle. It is simpler to
cast directly.
Signed-off-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'src/egl/main/eglglobals.h')
-rw-r--r-- | src/egl/main/eglglobals.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/egl/main/eglglobals.h b/src/egl/main/eglglobals.h index d00d12afd85..58511076d45 100644 --- a/src/egl/main/eglglobals.h +++ b/src/egl/main/eglglobals.h @@ -2,7 +2,7 @@ #define EGLGLOBALS_INCLUDED #include "egltypedefs.h" -#include "eglhash.h" +#include "egldisplay.h" #include "eglcurrent.h" #include "eglmutex.h" @@ -13,6 +13,10 @@ struct _egl_global { _EGLMutex *Mutex; + + /* the list of all displays */ + _EGLDisplay *DisplayList; + EGLScreenMESA FreeScreenHandle; /* bitmaks of supported APIs (supported by _some_ driver) */ |