Lines Matching refs:currentContext
489 getEGLThreadInfo()->currentContext->getGoldfishSyncFd(), in createNativeSync()
835 if (!tInfo || !tInfo->currentContext) { in getExtStringArray()
886 if (!tInfo || !tInfo->currentContext) { in getGLString()
900 strPtr = &tInfo->currentContext->versionString; in getGLString()
903 strPtr = &tInfo->currentContext->vendorString; in getGLString()
906 strPtr = &tInfo->currentContext->rendererString; in getGLString()
909 strPtr = &tInfo->currentContext->shaderVersionString; in getGLString()
912 strPtr = &tInfo->currentContext->extensionString; in getGLString()
1428 EGLContext_t* context = tInfo->currentContext; in s_eglReleaseThreadImpl()
1453 tInfo->currentContext = 0; in s_eglReleaseThreadImpl()
1573 EGLContext_t* ctx = getEGLThreadInfo()->currentContext; in eglSwapInterval()
1798 if (tInfo->currentContext == context && in eglMakeCurrent()
1805 EGLContext_t* prevCtx = tInfo->currentContext; in eglMakeCurrent()
1806 if (tInfo->currentContext) { in eglMakeCurrent()
1813 s_destroyPendingSurfacesInContext(tInfo->currentContext); in eglMakeCurrent()
1816 …if (context && (context->flags & EGLContext_t::IS_CURRENT) && (context != tInfo->currentContext)) { in eglMakeCurrent()
1914 else if (tInfo->currentContext) { in eglMakeCurrent()
1916 if (tInfo->currentContext->majorVersion > 1) { in eglMakeCurrent()
1928 if (tInfo->currentContext && (tInfo->currentContext != context)) { in eglMakeCurrent()
1929 tInfo->currentContext->flags &= ~EGLContext_t::IS_CURRENT; in eglMakeCurrent()
1930 if (tInfo->currentContext->deletePending && tInfo->currentContext != context) { in eglMakeCurrent()
1931 eglDestroyContext(dpy, tInfo->currentContext); in eglMakeCurrent()
1936 tInfo->currentContext = context; in eglMakeCurrent()
1939 if (tInfo->currentContext) { in eglMakeCurrent()
1940 if (tInfo->currentContext->majorVersion > 1) { in eglMakeCurrent()
1968 return getEGLThreadInfo()->currentContext; in eglGetCurrentContext()
1973 EGLContext_t * context = getEGLThreadInfo()->currentContext; in eglGetCurrentSurface()
1990 EGLContext_t * context = getEGLThreadInfo()->currentContext; in eglGetCurrentDisplay()
2033 if (!tInfo || !tInfo->currentContext) { in eglWaitGL()
2037 if (tInfo->currentContext->majorVersion > 1) { in eglWaitGL()
2224 if (!tInfo || !tInfo->currentContext) { in eglCreateSyncKHR()