Home
last modified time | relevance | path

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

/frameworks/native/opengl/libs/EGL/
Degl_tls.cpp32 pthread_key_t egl_tls_t::sKey = TLS_KEY_NOT_INITIALIZED;
33 pthread_once_t egl_tls_t::sOnceKey = PTHREAD_ONCE_INIT;
35 egl_tls_t::egl_tls_t() in egl_tls_t() function in android::egl_tls_t
39 const char *egl_tls_t::egl_strerror(EGLint err) { in egl_strerror()
60 void egl_tls_t::validateTLSKey() in validateTLSKey()
70 void egl_tls_t::setErrorEtcImpl( in setErrorEtcImpl()
73 egl_tls_t* tls = getTLS(); in setErrorEtcImpl()
88 bool egl_tls_t::logNoContextCall() { in logNoContextCall()
89 egl_tls_t* tls = getTLS(); in logNoContextCall()
97 egl_tls_t* egl_tls_t::getTLS() { in getTLS()
[all …]
Degl_tls.h32 class egl_tls_t {
41 egl_tls_t();
47 static egl_tls_t* getTLS();
65 egl_tls_t::setErrorEtc(__FUNCTION__, __LINE__, _e, _r)
68 egl_tls_t::setErrorEtc(__FUNCTION__, __LINE__, _e, _r, true)
Degl.cpp215 if (egl_tls_t::logNoContextCall()) { in gl_no_context()
281 EGLContext context = egl_tls_t::getContext(); in egl_get_string_for_current_context()
DeglApi.cpp198 static inline void clearError() { egl_tls_t::clearError(); } in clearError()
199 static inline EGLContext getContext() { return egl_tls_t::getContext(); } in getContext()
762 egl_tls_t::setContext(ctx); in eglMakeCurrent()
772 egl_tls_t::setContext(EGL_NO_CONTEXT); in eglMakeCurrent()
877 err = egl_tls_t::getError(); in eglGetError()
1067 EGLContext ctx = egl_tls_t::getContext(); in eglSwapBuffers()
1079 EGLContext ctx = egl_tls_t::getContext(); in eglSwapBuffers()
1097 egl_context_t * const c = get_context( egl_tls_t::getContext() ); in eglSwapBuffers()
1316 egl_tls_t::clearTLS(); in eglReleaseThread()
Degl_display.cpp181 egl_tls_t::egl_strerror(cnx->egl.eglGetError())); in initialize()
272 egl_tls_t::egl_strerror(cnx->egl.eglGetError())); in terminate()