Home
last modified time | relevance | path

Searched refs:_eglGlobal (Results 1 – 7 of 7) sorted by relevance

/third_party/mesa3d/src/egl/main/
Deglglobals.c52 struct _egl_global _eglGlobal = variable
116 for (i = _eglGlobal.NumAtExitCalls - 1; i >= 0; i--) in _eglAtExit()
117 _eglGlobal.AtExitCalls[i](); in _eglAtExit()
127 mtx_lock(_eglGlobal.Mutex); in _eglAddAtExitCall()
134 assert(_eglGlobal.NumAtExitCalls < ARRAY_SIZE(_eglGlobal.AtExitCalls)); in _eglAddAtExitCall()
135 _eglGlobal.AtExitCalls[_eglGlobal.NumAtExitCalls++] = func; in _eglAddAtExitCall()
137 mtx_unlock(_eglGlobal.Mutex); in _eglAddAtExitCall()
Degldevice.c62 dev_list = _eglGlobal.DeviceList; in _eglFiniDevice()
81 _eglGlobal.DeviceList = NULL; in _eglFiniDevice()
89 mtx_lock(_eglGlobal.Mutex); in _eglCheckDeviceHandle()
90 cur = _eglGlobal.DeviceList; in _eglCheckDeviceHandle()
96 mtx_unlock(_eglGlobal.Mutex); in _eglCheckDeviceHandle()
120 dev = _eglGlobal.DeviceList; in _eglAddDRMDevice()
171 mtx_lock(_eglGlobal.Mutex); in _eglAddDevice()
172 dev = _eglGlobal.DeviceList; in _eglAddDevice()
197 mtx_unlock(_eglGlobal.Mutex); in _eglAddDevice()
290 dev = _eglGlobal.DeviceList; in _eglRefreshDeviceList()
[all …]
Degldisplay.c198 dispList = _eglGlobal.DisplayList; in _eglFiniDisplay()
223 _eglGlobal.DisplayList = NULL; in _eglFiniDisplay()
267 mtx_lock(_eglGlobal.Mutex); in _eglFindDisplay()
270 for (disp = _eglGlobal.DisplayList; disp; disp = disp->Next) { in _eglFindDisplay()
298 disp->Next = _eglGlobal.DisplayList; in _eglFindDisplay()
299 _eglGlobal.DisplayList = disp; in _eglFindDisplay()
302 mtx_unlock(_eglGlobal.Mutex); in _eglFindDisplay()
383 mtx_lock(_eglGlobal.Mutex); in _eglCheckDisplayHandle()
384 cur = _eglGlobal.DisplayList; in _eglCheckDisplayHandle()
390 mtx_unlock(_eglGlobal.Mutex); in _eglCheckDisplayHandle()
Deglcurrent.c184 mtx_lock(_eglGlobal.Mutex); in _eglDebugReport()
185 if (_eglGlobal.debugTypesEnabled & DebugBitFromType(type)) in _eglDebugReport()
186 callback = _eglGlobal.debugCallback; in _eglDebugReport()
188 mtx_unlock(_eglGlobal.Mutex); in _eglDebugReport()
Deglglvnd.c45 return _eglGlobal.ClientOnlyExtensionString; in __eglGLVNDQueryString()
55 return _eglGlobal.PlatformExtensionString; in __eglGLVNDGetVendorString()
Deglapi.c726 RETURN_EGL_SUCCESS(NULL, _eglGlobal.ClientExtensionString); in eglQueryString()
2484 mtx_lock(_eglGlobal.Mutex); in eglDebugMessageControlKHR()
2486 newEnabled = _eglGlobal.debugTypesEnabled; in eglDebugMessageControlKHR()
2504 mtx_unlock(_eglGlobal.Mutex); in eglDebugMessageControlKHR()
2513 _eglGlobal.debugCallback = callback; in eglDebugMessageControlKHR()
2514 _eglGlobal.debugTypesEnabled = newEnabled; in eglDebugMessageControlKHR()
2516 _eglGlobal.debugCallback = NULL; in eglDebugMessageControlKHR()
2517 _eglGlobal.debugTypesEnabled = _EGL_DEBUG_BIT_CRITICAL | _EGL_DEBUG_BIT_ERROR; in eglDebugMessageControlKHR()
2520 mtx_unlock(_eglGlobal.Mutex); in eglDebugMessageControlKHR()
2529 mtx_lock(_eglGlobal.Mutex); in eglQueryDebugKHR()
[all …]
Deglglobals.h79 extern struct _egl_global _eglGlobal;