diff options
Diffstat (limited to 'opengl/libs/EGL/egl_display.h')
-rw-r--r-- | opengl/libs/EGL/egl_display.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/opengl/libs/EGL/egl_display.h b/opengl/libs/EGL/egl_display.h index 0a6e425..2d86295 100644 --- a/opengl/libs/EGL/egl_display.h +++ b/opengl/libs/EGL/egl_display.h @@ -131,7 +131,9 @@ private: void leave() { return mHibernation.decWakeCount(HibernationMachine::WEAK); } uint32_t refs; - mutable Mutex lock; + bool eglIsInitialized; + mutable Mutex lock, refLock; + mutable Condition refCond; SortedVector<egl_object_t*> objects; String8 mVendorString; String8 mVersionString; |