added _eglGet*Handle() functions

These are the inverse of the _eglLookup*() functions.
Returns the public handle for a private surface/config/display/etc.
Removes glapi.c's direct access of private fields.
This commit is contained in:
Brian Paul
2008-05-27 14:33:54 -06:00
parent 5f8a4f3e5e
commit 721ba15bf4
7 changed files with 62 additions and 12 deletions

View File

@@ -24,6 +24,10 @@ extern _EGLDisplay *
_eglNewDisplay(NativeDisplayType displayName);
EGLDisplay
_eglGetDisplayHandle(_EGLDisplay *display);
extern _EGLDisplay *
_eglLookupDisplay(EGLDisplay dpy);