Searched refs:egl_tls_t (Results 1 – 6 of 6) sorted by relevance
/aosp12/frameworks/native/opengl/libs/EGL/ |
H A D | egl_tls.cpp | 31 egl_tls_t::egl_tls_t() : error(EGL_SUCCESS), ctx(nullptr), logCallWithNoContext(true) {} in egl_tls_t() function in android::egl_tls_t 78 egl_tls_t* tls = static_cast<egl_tls_t*>(data); in destructTLSData() 106 egl_tls_t* tls = getTLS(); in setErrorEtcImpl() 119 egl_tls_t* tls = getTLS(); in logNoContextCall() 127 egl_tls_t* egl_tls_t::getTLS() { in getTLS() 128 egl_tls_t* tls = (egl_tls_t*)pthread_getspecific(sKey); in getTLS() 130 tls = new egl_tls_t; in getTLS() 136 void egl_tls_t::clearTLS() { in clearTLS() 138 egl_tls_t* tls = (egl_tls_t*)pthread_getspecific(sKey); in clearTLS() 156 egl_tls_t* tls = (egl_tls_t*)pthread_getspecific(sKey); in getError() [all …]
|
H A D | egl_tls.h | 27 class egl_tls_t { 36 egl_tls_t(); 42 static egl_tls_t* getTLS(); 59 #define setError(_e, _r) egl_tls_t::setErrorEtc(__FUNCTION__, __LINE__, _e, _r) 61 #define setErrorQuiet(_e, _r) egl_tls_t::setErrorEtc(__FUNCTION__, __LINE__, _e, _r, true)
|
H A D | egl.cpp | 43 if (egl_tls_t::logNoContextCall()) { in gl_no_context() 72 EGLContext context = egl_tls_t::getContext(); in egl_get_string_for_current_context() 88 EGLContext context = egl_tls_t::getContext(); in egl_get_string_for_current_context() 108 EGLContext context = egl_tls_t::getContext(); in egl_get_num_extensions_for_current_context()
|
H A D | egl_display.cpp | 291 egl_tls_t::egl_strerror(cnx->egl.eglGetError())); in initialize() 428 egl_tls_t::egl_strerror(cnx->egl.eglGetError())); in terminate()
|
H A D | egl_platform_entries.cpp | 244 return egl_tls_t::getContext(); in getContext() 1027 egl_tls_t::setContext(ctx); in eglMakeCurrentImpl() 1033 egl_tls_t::setContext(EGL_NO_CONTEXT); in eglMakeCurrentImpl() 1115 err = egl_tls_t::getError(); in eglGetErrorImpl() 1329 egl_context_t* const c = get_context(egl_tls_t::getContext()); in eglSwapBuffersWithDamageKHRImpl() 1561 egl_tls_t::clearTLS(); in eglReleaseThreadImpl()
|
H A D | eglApi.cpp | 37 egl_tls_t::clearError(); in clearError()
|