Lines Matching refs:ref
64 egl_object_t* ref; variable
70 explicit LocalRef(egl_display_t const* display, T o) : ref(nullptr) { in LocalRef()
73 ref = native; in LocalRef()
77 return static_cast<N*>(ref); in get()
88 egl_object_t::LocalRef<N, T>::LocalRef(egl_object_t* rhs) : ref(rhs) { in LocalRef()
89 if (ref) { in LocalRef()
90 ref->incRef(); in LocalRef()
96 if (ref) { in ~LocalRef()
97 ref->destroy(); in ~LocalRef()
103 if (ref) { in acquire()
104 ref->incRef(); in acquire()
110 if (ref) { in release()
111 if (ref->decRef() == 1) { in release()
120 if (ref) { in terminate()
121 ref->terminate(); in terminate()