Lines Matching refs:ref
59 egl_object_t* ref; variable
66 explicit LocalRef(egl_display_t const* display, T o) : ref(nullptr) { in LocalRef()
69 ref = native; in LocalRef()
72 inline N* get() { return static_cast<N*>(ref); } in get()
82 egl_object_t::LocalRef<N, T>::LocalRef(egl_object_t* rhs) : ref(rhs) { in LocalRef()
83 if (ref) { in LocalRef()
84 ref->incRef(); in LocalRef()
90 if (ref) { in ~LocalRef()
91 ref->destroy(); in ~LocalRef()
97 if (ref) { in acquire()
98 ref->incRef(); in acquire()
104 if (ref) { in release()
105 if (ref->decRef() == 1) { in release()
114 if (ref) { in terminate()
115 ref->terminate(); in terminate()