diff options
author | Chia-I Wu <[email protected]> | 2010-02-17 18:39:27 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-02-17 20:00:12 +0800 |
commit | db5ce8b3843a03c6f83a02a79f033d7e74784dd5 (patch) | |
tree | a947f66eca9512ac82a53e1acf05173b92f977cc /src/egl/main/egldisplay.h | |
parent | 99bcb1f06d35a038b9fcf9786938a31b3dba21b7 (diff) |
egl: Make eglGetDisplay atomic.
Merge _eglNewDisplay and _eglLinkDisplay into _eglFindDisplay. Remove
unused _eglUnlinkDisplay.
Diffstat (limited to 'src/egl/main/egldisplay.h')
-rw-r--r-- | src/egl/main/egldisplay.h | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/src/egl/main/egldisplay.h b/src/egl/main/egldisplay.h index 36986464430..43b39bda9d8 100644 --- a/src/egl/main/egldisplay.h +++ b/src/egl/main/egldisplay.h @@ -88,19 +88,7 @@ _eglFiniDisplay(void); extern _EGLDisplay * -_eglNewDisplay(EGLNativeDisplayType displayName); - - -extern EGLDisplay -_eglLinkDisplay(_EGLDisplay *dpy); - - -extern void -_eglUnlinkDisplay(_EGLDisplay *dpy); - - -extern _EGLDisplay * -_eglFindDisplay(EGLNativeDisplayType nativeDisplay); +_eglFindDisplay(EGLNativeDisplayType displayName); PUBLIC void @@ -167,16 +155,6 @@ _eglGetDisplayHandle(_EGLDisplay *dpy) } -/** - * Return true if the display is linked. - */ -static INLINE EGLBoolean -_eglIsDisplayLinked(_EGLDisplay *dpy) -{ - return (EGLBoolean) (_eglGetDisplayHandle(dpy) != EGL_NO_DISPLAY); -} - - extern void _eglLinkResource(_EGLResource *res, _EGLResourceType type, _EGLDisplay *dpy); |