Home | History | Annotate | Download | only in EGL

Lines Matching refs:Ref

65         egl_object_t* ref;
71 explicit LocalRef(egl_display_t const* display, T o) : ref(0) {
74 ref = native;
78 return static_cast<N*>(ref);
89 egl_object_t::LocalRef<N, T>::LocalRef(egl_object_t* rhs) : ref(rhs) {
90 if (ref) {
91 ref->incRef();
97 if (ref) {
98 ref->destroy();
104 if (ref) {
105 ref->incRef();
111 if (ref) {
112 if (ref->decRef() == 1) {
121 if (ref) {
122 ref->terminate();
132 typedef egl_object_t::LocalRef<egl_surface_t, EGLSurface> Ref;
148 typedef egl_object_t::LocalRef<egl_context_t, EGLContext> Ref;
168 typedef egl_surface_t::Ref SurfaceRef;
169 typedef egl_context_t::Ref ContextRef;