Home | History | Annotate | Download | only in EGL

Lines Matching defs:mDpy

193     explicit egl_display_ptr(egl_display_t* dpy): mDpy(dpy) {
194 if (mDpy) {
195 if (CC_UNLIKELY(!mDpy->enter())) {
196 mDpy = NULL;
207 // mDpy = other.mDpy;
208 // other.mDpy = NULL;
211 egl_display_ptr(const egl_display_ptr& other): mDpy(other.mDpy) {
212 if (mDpy) {
213 mDpy->enter();
218 if (mDpy) {
219 mDpy->leave();
223 const egl_display_t* operator->() const { return mDpy; }
224 egl_display_t* operator->() { return mDpy; }
226 const egl_display_t* get() const { return mDpy; }
227 egl_display_t* get() { return mDpy; }
229 operator bool() const { return mDpy != NULL; }
232 egl_display_t* mDpy;