Searched refs:_eglGlobal (Results 1 - 14 of 14) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/egl/main/
H A Deglglobals.c53 struct _egl_global _eglGlobal = variable in typeref:struct:_egl_global
106 for (i = _eglGlobal.NumAtExitCalls - 1; i >= 0; i--)
107 _eglGlobal.AtExitCalls[i]();
117 mtx_lock(_eglGlobal.Mutex);
121 assert(_eglGlobal.NumAtExitCalls < ARRAY_SIZE(_eglGlobal.AtExitCalls));
122 _eglGlobal.AtExitCalls[_eglGlobal.NumAtExitCalls++] = func;
124 mtx_unlock(_eglGlobal.Mutex);
133 mtx_lock(_eglGlobal
[all...]
H A Degldevice.c60 dev_list = _eglGlobal.DeviceList;
79 _eglGlobal.DeviceList = NULL;
87 mtx_lock(_eglGlobal.Mutex);
88 cur = _eglGlobal.DeviceList;
94 mtx_unlock(_eglGlobal.Mutex);
116 dev = _eglGlobal.DeviceList;
161 mtx_lock(_eglGlobal.Mutex);
162 dev = _eglGlobal.DeviceList;
187 mtx_unlock(_eglGlobal.Mutex);
247 dev = _eglGlobal
[all...]
H A Deglglobals.h77 extern struct _egl_global _eglGlobal;
H A Deglglvnd.c18 return _eglGlobal.ClientOnlyExtensionString;
28 const char *str = _eglGlobal.PlatformExtensionString;
H A Degldisplay.c190 dispList = _eglGlobal.DisplayList;
207 _eglGlobal.DisplayList = NULL;
223 mtx_lock(_eglGlobal.Mutex);
226 disp = _eglGlobal.DisplayList;
242 disp->Next = _eglGlobal.DisplayList;
243 _eglGlobal.DisplayList = disp;
247 mtx_unlock(_eglGlobal.Mutex);
327 mtx_lock(_eglGlobal.Mutex);
328 cur = _eglGlobal.DisplayList;
334 mtx_unlock(_eglGlobal
[all...]
H A Deglcurrent.c305 mtx_lock(_eglGlobal.Mutex);
306 if (_eglGlobal.debugTypesEnabled & DebugBitFromType(type))
307 callback = _eglGlobal.debugCallback;
309 mtx_unlock(_eglGlobal.Mutex);
H A Deglapi.c2440 mtx_lock(_eglGlobal.Mutex);
2442 newEnabled = _eglGlobal.debugTypesEnabled;
2460 mtx_unlock(_eglGlobal.Mutex);
2469 _eglGlobal.debugCallback = callback;
2470 _eglGlobal.debugTypesEnabled = newEnabled;
2472 _eglGlobal.debugCallback = NULL;
2473 _eglGlobal.debugTypesEnabled = _EGL_DEBUG_BIT_CRITICAL | _EGL_DEBUG_BIT_ERROR;
2476 mtx_unlock(_eglGlobal.Mutex);
2485 mtx_lock(_eglGlobal.Mutex);
2492 if (_eglGlobal
[all...]
/xsrc/external/mit/MesaLib/dist/src/egl/main/
H A Deglglobals.c52 struct _egl_global _eglGlobal = variable in typeref:struct:_egl_global
117 for (i = _eglGlobal.NumAtExitCalls - 1; i >= 0; i--)
118 _eglGlobal.AtExitCalls[i]();
128 mtx_lock(_eglGlobal.Mutex);
132 assert(_eglGlobal.NumAtExitCalls < ARRAY_SIZE(_eglGlobal.AtExitCalls));
133 _eglGlobal.AtExitCalls[_eglGlobal.NumAtExitCalls++] = func;
135 mtx_unlock(_eglGlobal.Mutex);
H A Degldevice.c62 dev_list = _eglGlobal.DeviceList;
81 _eglGlobal.DeviceList = NULL;
89 mtx_lock(_eglGlobal.Mutex);
90 cur = _eglGlobal.DeviceList;
96 mtx_unlock(_eglGlobal.Mutex);
120 dev = _eglGlobal.DeviceList;
171 mtx_lock(_eglGlobal.Mutex);
172 dev = _eglGlobal.DeviceList;
197 mtx_unlock(_eglGlobal.Mutex);
290 dev = _eglGlobal
[all...]
H A Deglglobals.h79 extern struct _egl_global _eglGlobal;
H A Deglglvnd.c45 return _eglGlobal.ClientOnlyExtensionString;
55 return _eglGlobal.PlatformExtensionString;
H A Deglcurrent.c312 mtx_lock(_eglGlobal.Mutex);
313 if (_eglGlobal.debugTypesEnabled & DebugBitFromType(type))
314 callback = _eglGlobal.debugCallback;
316 mtx_unlock(_eglGlobal.Mutex);
H A Degldisplay.c197 dispList = _eglGlobal.DisplayList;
222 _eglGlobal.DisplayList = NULL;
266 mtx_lock(_eglGlobal.Mutex);
269 for (disp = _eglGlobal.DisplayList; disp; disp = disp->Next) {
297 disp->Next = _eglGlobal.DisplayList;
298 _eglGlobal.DisplayList = disp;
301 mtx_unlock(_eglGlobal.Mutex);
382 mtx_lock(_eglGlobal.Mutex);
383 cur = _eglGlobal.DisplayList;
389 mtx_unlock(_eglGlobal
[all...]
H A Deglapi.c723 RETURN_EGL_SUCCESS(NULL, _eglGlobal.ClientExtensionString);
2472 mtx_lock(_eglGlobal.Mutex);
2474 newEnabled = _eglGlobal.debugTypesEnabled;
2492 mtx_unlock(_eglGlobal.Mutex);
2501 _eglGlobal.debugCallback = callback;
2502 _eglGlobal.debugTypesEnabled = newEnabled;
2504 _eglGlobal.debugCallback = NULL;
2505 _eglGlobal.debugTypesEnabled = _EGL_DEBUG_BIT_CRITICAL | _EGL_DEBUG_BIT_ERROR;
2508 mtx_unlock(_eglGlobal.Mutex);
2517 mtx_lock(_eglGlobal
[all...]

Completed in 14 milliseconds