Home
last modified time | relevance | path

Searched refs:egl_tls_t (Results 1 – 6 of 6) sorted by relevance

/aosp12/frameworks/native/opengl/libs/EGL/
H A Degl_tls.cpp31 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 Degl_tls.h27 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 Degl.cpp43 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 Degl_display.cpp291 egl_tls_t::egl_strerror(cnx->egl.eglGetError())); in initialize()
428 egl_tls_t::egl_strerror(cnx->egl.eglGetError())); in terminate()
H A Degl_platform_entries.cpp244 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 DeglApi.cpp37 egl_tls_t::clearError(); in clearError()