Lines Matching defs:LocalRef
62 class LocalRef {
64 LocalRef();
65 LocalRef(const LocalRef* rhs);
67 ~LocalRef();
68 explicit LocalRef(egl_object_t* rhs);
69 explicit LocalRef(egl_display_t const* display, T o) : ref(0) {
83 friend class LocalRef;
87 egl_object_t::LocalRef<N, T>::LocalRef(egl_object_t* rhs) : ref(rhs) {
94 egl_object_t::LocalRef<N,T>::~LocalRef() {
101 void egl_object_t::LocalRef<N,T>::acquire() const {
108 void egl_object_t::LocalRef<N,T>::release() const {
111 // shouldn't happen because this is called from LocalRef
112 ALOGE("LocalRef::release() removed the last reference!");
118 void egl_object_t::LocalRef<N,T>::terminate() {
130 typedef egl_object_t::LocalRef<egl_surface_t, EGLSurface> Ref;
146 typedef egl_object_t::LocalRef<egl_context_t, EGLContext> Ref;