Tweak ContextPtr to handle move construction/assignment correctly. This was overlooked when I made the last minute change to use explicit lock/unlock. Tweak LockGuard to allow construction from ptr to MutexLock, and behave correctly if mutex == nullptr. This is required because the locking machinery for EGL is /outside/ the error generation for bad EGLDisplay. Add 'Big EGL Lock' around most of the EGL API Bug: b/112184433 Change-Id: Ic4cd5fa9e6a16ae81cbb2b46e1cb881a850749c5 Reviewed-on: https://swiftshader-review.googlesource.com/20628Reviewed-by:Nicolas Capens <nicolascapens@google.com> Tested-by:
Chris Forbes <chrisforbes@google.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| BUILD.gn | Loading commit data... | |
| CPUID.cpp | Loading commit data... | |
| CPUID.hpp | Loading commit data... | |
| Configurator.cpp | Loading commit data... | |
| Configurator.hpp | Loading commit data... | |
| Debug.cpp | Loading commit data... | |
| Debug.hpp | Loading commit data... | |
| DebugAndroid.cpp | Loading commit data... | |
| DebugAndroid.hpp | Loading commit data... | |
| GrallocAndroid.cpp | Loading commit data... | |
| GrallocAndroid.hpp | Loading commit data... | |
| Half.cpp | Loading commit data... | |
| Half.hpp | Loading commit data... | |
| Math.cpp | Loading commit data... | |
| Math.hpp | Loading commit data... | |
| Memory.cpp | Loading commit data... | |
| Memory.hpp | Loading commit data... | |
| MutexLock.hpp | Loading commit data... | |
| Resource.cpp | Loading commit data... | |
| Resource.hpp | Loading commit data... | |
| SharedLibrary.hpp | Loading commit data... | |
| Socket.cpp | Loading commit data... | |
| Socket.hpp | Loading commit data... | |
| Thread.cpp | Loading commit data... | |
| Thread.hpp | Loading commit data... | |
| Timer.cpp | Loading commit data... | |
| Timer.hpp | Loading commit data... | |
| Types.hpp | Loading commit data... | |
| Version.h | Loading commit data... |