Lines Matching full:localref
63 class LocalRef {
65 LocalRef() = delete;
66 LocalRef(const LocalRef* rhs) = delete;
68 ~LocalRef();
69 explicit LocalRef(egl_object_t* rhs);
70 explicit LocalRef(egl_display_t const* display, T o) : ref(0) {
84 friend class LocalRef;
88 egl_object_t::LocalRef<N, T>::LocalRef(egl_object_t* rhs) : ref(rhs) {
95 egl_object_t::LocalRef<N,T>::~LocalRef() {
102 void egl_object_t::LocalRef<N,T>::acquire() const {
109 void egl_object_t::LocalRef<N,T>::release() const {
112 // shouldn't happen because this is called from LocalRef
113 ALOGE("LocalRef::release() removed the last reference!");
119 void egl_object_t::LocalRef<N,T>::terminate() {
132 typedef egl_object_t::LocalRef<egl_surface_t, EGLSurface> Ref;
193 typedef egl_object_t::LocalRef<egl_context_t, EGLContext> Ref;