• Home
  • Raw
  • Download

Lines Matching refs:tInfo

945     EGLThreadInfo *tInfo = getEGLThreadInfo();  in getExtStringArray()  local
946 if (!tInfo || !tInfo->currentContext) { in getExtStringArray()
950 if (tInfo->currentContext->extensionStringArray.size() > 0) { in getExtStringArray()
951 return tInfo->currentContext->extensionStringArray; in getExtStringArray()
993 tInfo->currentContext->extensionStringArray = res; in getExtStringArray()
1001 EGLThreadInfo *tInfo = getEGLThreadInfo(); in getGLString() local
1002 if (!tInfo || !tInfo->currentContext) { in getGLString()
1016 strPtr = &tInfo->currentContext->versionString; in getGLString()
1019 strPtr = &tInfo->currentContext->vendorString; in getGLString()
1022 strPtr = &tInfo->currentContext->rendererString; in getGLString()
1025 strPtr = &tInfo->currentContext->shaderVersionString; in getGLString()
1028 strPtr = &tInfo->currentContext->extensionString; in getGLString()
1533 static EGLBoolean s_eglReleaseThreadImpl(EGLThreadInfo* tInfo) { in s_eglReleaseThreadImpl() argument
1534 if (!tInfo) return EGL_TRUE; in s_eglReleaseThreadImpl()
1536 tInfo->eglError = EGL_SUCCESS; in s_eglReleaseThreadImpl()
1537 EGLContext_t* context = tInfo->currentContext; in s_eglReleaseThreadImpl()
1547 DEFINE_AND_VALIDATE_HOST_CONNECTION_FOR_TLS(EGL_FALSE, tInfo); in s_eglReleaseThreadImpl()
1562 tInfo->currentContext = 0; in s_eglReleaseThreadImpl()
1955 EGLThreadInfo *tInfo = getEGLThreadInfo(); in eglMakeCurrent() local
1957 if (tInfo->currentContext == context && in eglMakeCurrent()
1964 EGLContext_t* prevCtx = tInfo->currentContext; in eglMakeCurrent()
1965 if (tInfo->currentContext) { in eglMakeCurrent()
1972 s_destroyPendingSurfacesInContext(tInfo->currentContext); in eglMakeCurrent()
1975 …if (context && (context->flags & EGLContext_t::IS_CURRENT) && (context != tInfo->currentContext)) { in eglMakeCurrent()
2005 context, context->majorVersion, context->minorVersion, tInfo); in eglMakeCurrent()
2053 } else if (tInfo->currentContext) { in eglMakeCurrent()
2055 if (tInfo->currentContext->majorVersion > 1) { in eglMakeCurrent()
2066 if (tInfo->currentContext && (tInfo->currentContext != context)) { in eglMakeCurrent()
2067 tInfo->currentContext->flags &= ~EGLContext_t::IS_CURRENT; in eglMakeCurrent()
2068 if (tInfo->currentContext->deletePending && tInfo->currentContext != context) { in eglMakeCurrent()
2069 eglDestroyContext(dpy, tInfo->currentContext); in eglMakeCurrent()
2074 tInfo->currentContext = context; in eglMakeCurrent()
2077 if (tInfo->currentContext) { in eglMakeCurrent()
2078 if (tInfo->currentContext->majorVersion > 1) { in eglMakeCurrent()
2093 context, context->majorVersion, context->minorVersion, tInfo); in eglMakeCurrent()
2170 EGLThreadInfo *tInfo = getEGLThreadInfo(); in eglWaitGL() local
2171 if (!tInfo || !tInfo->currentContext) { in eglWaitGL()
2175 if (tInfo->currentContext->majorVersion > 1) { in eglWaitGL()
2360 EGLThreadInfo *tInfo = getEGLThreadInfo(); in eglCreateSyncKHR() local
2361 if (!tInfo || !tInfo->currentContext) { in eglCreateSyncKHR()