Searched refs:_eglGlobal (Results 1 – 6 of 6) sorted by relevance
50 struct _egl_global _eglGlobal = variable93 for (i = _eglGlobal.NumAtExitCalls - 1; i >= 0; i--) in _eglAtExit()94 _eglGlobal.AtExitCalls[i](); in _eglAtExit()104 mtx_lock(_eglGlobal.Mutex); in _eglAddAtExitCall()111 assert(_eglGlobal.NumAtExitCalls < ARRAY_SIZE(_eglGlobal.AtExitCalls)); in _eglAddAtExitCall()112 _eglGlobal.AtExitCalls[_eglGlobal.NumAtExitCalls++] = func; in _eglAddAtExitCall()114 mtx_unlock(_eglGlobal.Mutex); in _eglAddAtExitCall()123 mtx_lock(_eglGlobal.Mutex); in _eglGetClientExtensionString()125 if (_eglGlobal.ClientExtensionString == NULL) { in _eglGetClientExtensionString()126 size_t clientLen = strlen(_eglGlobal.ClientOnlyExtensionString); in _eglGetClientExtensionString()[all …]
190 dpyList = _eglGlobal.DisplayList; in _eglFiniDisplay()207 _eglGlobal.DisplayList = NULL; in _eglFiniDisplay()223 mtx_lock(_eglGlobal.Mutex); in _eglFindDisplay()226 dpy = _eglGlobal.DisplayList; in _eglFindDisplay()242 dpy->Next = _eglGlobal.DisplayList; in _eglFindDisplay()243 _eglGlobal.DisplayList = dpy; in _eglFindDisplay()247 mtx_unlock(_eglGlobal.Mutex); in _eglFindDisplay()327 mtx_lock(_eglGlobal.Mutex); in _eglCheckDisplayHandle()328 cur = _eglGlobal.DisplayList; in _eglCheckDisplayHandle()334 mtx_unlock(_eglGlobal.Mutex); in _eglCheckDisplayHandle()
307 mtx_lock(_eglGlobal.Mutex); in _eglDebugReport()308 if (_eglGlobal.debugTypesEnabled & DebugBitFromType(type)) in _eglDebugReport()309 callback = _eglGlobal.debugCallback; in _eglDebugReport()311 mtx_unlock(_eglGlobal.Mutex); in _eglDebugReport()
18 return _eglGlobal.ClientOnlyExtensionString; in __eglGLVNDQueryString()28 const char *str = _eglGlobal.PlatformExtensionString; in __eglGLVNDGetVendorString()
75 extern struct _egl_global _eglGlobal;
2408 mtx_lock(_eglGlobal.Mutex); in eglDebugMessageControlKHR()2410 newEnabled = _eglGlobal.debugTypesEnabled; in eglDebugMessageControlKHR()2428 mtx_unlock(_eglGlobal.Mutex); in eglDebugMessageControlKHR()2437 _eglGlobal.debugCallback = callback; in eglDebugMessageControlKHR()2438 _eglGlobal.debugTypesEnabled = newEnabled; in eglDebugMessageControlKHR()2440 _eglGlobal.debugCallback = NULL; in eglDebugMessageControlKHR()2441 _eglGlobal.debugTypesEnabled = _EGL_DEBUG_BIT_CRITICAL | _EGL_DEBUG_BIT_ERROR; in eglDebugMessageControlKHR()2444 mtx_unlock(_eglGlobal.Mutex); in eglDebugMessageControlKHR()2453 mtx_lock(_eglGlobal.Mutex); in eglQueryDebugKHR()2460 if (_eglGlobal.debugTypesEnabled & DebugBitFromType(attribute)) in eglQueryDebugKHR()[all …]