Home | History | Annotate | Download | only in EGL

Lines Matching refs:ref

64         egl_object_t* ref;
70 explicit LocalRef(egl_display_t const* display, T o) : ref(0) {
73 ref = native;
77 return static_cast<N*>(ref);
88 egl_object_t::LocalRef<N, T>::LocalRef(egl_object_t* rhs) : ref(rhs) {
89 if (ref) {
90 ref->incRef();
96 if (ref) {
97 ref->destroy();
103 if (ref) {
104 ref->incRef();
110 if (ref) {
111 if (ref->decRef() == 1) {
120 if (ref) {
121 ref->terminate();
139 typedef egl_object_t::LocalRef<egl_surface_t, EGLSurface> Ref;
158 typedef egl_object_t::LocalRef<egl_context_t, EGLContext> Ref;
180 typedef egl_object_t::LocalRef<egl_image_t, EGLImageKHR> Ref;
195 typedef egl_object_t::LocalRef<egl_sync_t, EGLSyncKHR> Ref;
207 typedef egl_surface_t::Ref SurfaceRef;
208 typedef egl_context_t::Ref ContextRef;
209 typedef egl_image_t::Ref ImageRef;
210 typedef egl_sync_t::Ref SyncRef;