Home | History | Annotate | Download | only in EGL

Lines Matching refs:Ref

63         egl_object_t* ref;
69 explicit LocalRef(egl_display_t const* display, T o) : ref(0) {
72 ref = native;
76 return static_cast<N*>(ref);
87 egl_object_t::LocalRef<N, T>::LocalRef(egl_object_t* rhs) : ref(rhs) {
88 if (ref) {
89 ref->incRef();
95 if (ref) {
96 ref->destroy();
102 if (ref) {
103 ref->incRef();
109 if (ref) {
110 if (ref->decRef() == 1) {
119 if (ref) {
120 ref->terminate();
130 typedef egl_object_t::LocalRef<egl_surface_t, EGLSurface> Ref;
146 typedef egl_object_t::LocalRef<egl_context_t, EGLContext> Ref;
166 typedef egl_surface_t::Ref SurfaceRef;
167 typedef egl_context_t::Ref ContextRef;