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 <olvaffe@gmail.com>
This commit is contained in:
Chia-I Wu
2009-08-14 17:47:00 +08:00
committed by Brian Paul
parent 7a9f528009
commit 38feefdc4e
4 changed files with 64 additions and 78 deletions

View File

@@ -24,8 +24,10 @@ struct _egl_extensions
struct _egl_display
{
/* used to link displays */
_EGLDisplay *Next;
EGLNativeDisplayType NativeDisplay;
EGLDisplay Handle;
const char *DriverName;
_EGLDriver *Driver;
@@ -58,6 +60,10 @@ struct _egl_display
};
extern void
_eglFiniDisplay(void);
extern _EGLDisplay *
_eglNewDisplay(NativeDisplayType displayName);