diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-05-27 14:33:54 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-05-27 14:33:54 -0600 |
commit | 721ba15bf4596b2e9589e7656005b387724875c3 (patch) | |
tree | 34821f5061822a2eac270444fca03db583376f55 /src/egl/main/eglsurface.h | |
parent | 5f8a4f3e5e8fe78f1abe9ca6dd1131ad53d3d943 (diff) |
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.
Diffstat (limited to 'src/egl/main/eglsurface.h')
-rw-r--r-- | src/egl/main/eglsurface.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/egl/main/eglsurface.h b/src/egl/main/eglsurface.h index 79abeca0b2..df1e70122e 100644 --- a/src/egl/main/eglsurface.h +++ b/src/egl/main/eglsurface.h @@ -51,6 +51,10 @@ extern void _eglRemoveSurface(_EGLSurface *surf); +extern EGLSurface +_eglGetSurfaceHandle(_EGLSurface *surface); + + extern _EGLSurface * _eglLookupSurface(EGLSurface surf); |