Lines Matching refs:_eglGlobal
2440 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.debugTypesEnabled & DebugBitFromType(attribute))
2498 *value = (EGLAttrib) _eglGlobal.debugCallback;
2501 mtx_unlock(_eglGlobal.Mutex);
2507 mtx_unlock(_eglGlobal.Mutex);