diff options
author | Chia-I Wu <[email protected]> | 2010-10-23 12:52:26 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-10-23 15:26:28 +0800 |
commit | d19afc57fe49816f3f3290410e0124d326577be2 (patch) | |
tree | 8d90c500c91f8c2e703a05259c85406d4261c3ed /src/egl/main/eglsync.h | |
parent | dc4f845c37a8446de19036e24fd397a0aa864c02 (diff) |
egl: Use reference counting to replace IsLinked or IsBound.
Remove all _egl<Res>IsLinked and _egl<Res>IsBound. Update
_eglBindContext and drivers to do reference counting.
Diffstat (limited to 'src/egl/main/eglsync.h')
-rw-r--r-- | src/egl/main/eglsync.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/egl/main/eglsync.h b/src/egl/main/eglsync.h index 97ae67cf866..a0025237e7a 100644 --- a/src/egl/main/eglsync.h +++ b/src/egl/main/eglsync.h @@ -103,20 +103,6 @@ _eglGetSyncHandle(_EGLSync *sync) } -/** - * Return true if the sync is linked to a display. - * - * The link is considered a reference to the sync (the display is owning the - * sync). Drivers should not destroy a sync when it is linked. - */ -static INLINE EGLBoolean -_eglIsSyncLinked(_EGLSync *sync) -{ - _EGLResource *res = (_EGLResource *) sync; - return (res && _eglIsResourceLinked(res)); -} - - #endif /* EGL_KHR_reusable_sync */ |