Searched refs:_eglGlobal (Results 1 – 7 of 7) sorted by relevance
51 struct _egl_global _eglGlobal = variable108 for (i = _eglGlobal.NumAtExitCalls - 1; i >= 0; i--) in _eglAtExit()109 _eglGlobal.AtExitCalls[i](); in _eglAtExit()119 mtx_lock(_eglGlobal.Mutex); in _eglAddAtExitCall()126 assert(_eglGlobal.NumAtExitCalls < ARRAY_SIZE(_eglGlobal.AtExitCalls)); in _eglAddAtExitCall()127 _eglGlobal.AtExitCalls[_eglGlobal.NumAtExitCalls++] = func; in _eglAddAtExitCall()129 mtx_unlock(_eglGlobal.Mutex); in _eglAddAtExitCall()
60 dev_list = _eglGlobal.DeviceList; in _eglFiniDevice()79 _eglGlobal.DeviceList = NULL; in _eglFiniDevice()87 mtx_lock(_eglGlobal.Mutex); in _eglCheckDeviceHandle()88 cur = _eglGlobal.DeviceList; in _eglCheckDeviceHandle()94 mtx_unlock(_eglGlobal.Mutex); in _eglCheckDeviceHandle()116 dev = _eglGlobal.DeviceList; in _eglAddDRMDevice()161 mtx_lock(_eglGlobal.Mutex); in _eglAddDevice()162 dev = _eglGlobal.DeviceList; in _eglAddDevice()187 mtx_unlock(_eglGlobal.Mutex); in _eglAddDevice()263 dev = _eglGlobal.DeviceList; in _eglRefreshDeviceList()[all …]
183 dispList = _eglGlobal.DisplayList; in _eglFiniDisplay()208 _eglGlobal.DisplayList = NULL; in _eglFiniDisplay()252 mtx_lock(_eglGlobal.Mutex); in _eglFindDisplay()255 for (disp = _eglGlobal.DisplayList; disp; disp = disp->Next) { in _eglFindDisplay()283 disp->Next = _eglGlobal.DisplayList; in _eglFindDisplay()284 _eglGlobal.DisplayList = disp; in _eglFindDisplay()287 mtx_unlock(_eglGlobal.Mutex); in _eglFindDisplay()368 mtx_lock(_eglGlobal.Mutex); in _eglCheckDisplayHandle()369 cur = _eglGlobal.DisplayList; in _eglCheckDisplayHandle()375 mtx_unlock(_eglGlobal.Mutex); in _eglCheckDisplayHandle()
305 mtx_lock(_eglGlobal.Mutex); in _eglDebugReport()306 if (_eglGlobal.debugTypesEnabled & DebugBitFromType(type)) in _eglDebugReport()307 callback = _eglGlobal.debugCallback; in _eglDebugReport()309 mtx_unlock(_eglGlobal.Mutex); in _eglDebugReport()
18 return _eglGlobal.ClientOnlyExtensionString; in __eglGLVNDQueryString()28 return _eglGlobal.PlatformExtensionString; in __eglGLVNDGetVendorString()
79 extern struct _egl_global _eglGlobal;
717 RETURN_EGL_SUCCESS(NULL, _eglGlobal.ClientExtensionString); in eglQueryString()2466 mtx_lock(_eglGlobal.Mutex); in eglDebugMessageControlKHR()2468 newEnabled = _eglGlobal.debugTypesEnabled; in eglDebugMessageControlKHR()2486 mtx_unlock(_eglGlobal.Mutex); in eglDebugMessageControlKHR()2495 _eglGlobal.debugCallback = callback; in eglDebugMessageControlKHR()2496 _eglGlobal.debugTypesEnabled = newEnabled; in eglDebugMessageControlKHR()2498 _eglGlobal.debugCallback = NULL; in eglDebugMessageControlKHR()2499 _eglGlobal.debugTypesEnabled = _EGL_DEBUG_BIT_CRITICAL | _EGL_DEBUG_BIT_ERROR; in eglDebugMessageControlKHR()2502 mtx_unlock(_eglGlobal.Mutex); in eglDebugMessageControlKHR()2511 mtx_lock(_eglGlobal.Mutex); in eglQueryDebugKHR()[all …]