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/egldisplay.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/egldisplay.h')
-rw-r--r-- | src/egl/main/egldisplay.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/egl/main/egldisplay.h b/src/egl/main/egldisplay.h index dfc54f17cb6..19a4d4e542c 100644 --- a/src/egl/main/egldisplay.h +++ b/src/egl/main/egldisplay.h @@ -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); |