Lines Matching refs:currentContext
413 if (!tInfo || !tInfo->currentContext) {
427 strPtr = &tInfo->currentContext->versionString;
430 strPtr = &tInfo->currentContext->vendorString;
433 strPtr = &tInfo->currentContext->rendererString;
436 strPtr = &tInfo->currentContext->shaderVersionString;
439 strPtr = &tInfo->currentContext->extensionString;
800 if (tInfo && tInfo->currentContext) {
891 EGLContext_t* ctx = getEGLThreadInfo()->currentContext;
958 if (getEGLThreadInfo()->currentContext == context) {
959 getEGLThreadInfo()->currentContext->deletePending = 1;
996 if (tInfo->currentContext == context &&
1002 if (tInfo->currentContext && tInfo->currentContext->deletePending) {
1003 if (tInfo->currentContext != context) {
1004 EGLContext_t * contextToDelete = tInfo->currentContext;
1005 tInfo->currentContext = 0;
1010 if (context && (context->flags & EGLContext_t::IS_CURRENT) && (context != tInfo->currentContext)) {
1036 else if (tInfo->currentContext) {
1038 if (tInfo->currentContext->version == 2) {
1049 if (tInfo->currentContext)
1050 tInfo->currentContext->flags &= ~EGLContext_t::IS_CURRENT;
1053 tInfo->currentContext = context;
1056 if (tInfo->currentContext) {
1057 if (tInfo->currentContext->version == 2) {
1078 return getEGLThreadInfo()->currentContext;
1083 EGLContext_t * context = getEGLThreadInfo()->currentContext;
1099 EGLContext_t * context = getEGLThreadInfo()->currentContext;
1142 if (!tInfo || !tInfo->currentContext) {
1146 if (tInfo->currentContext->version == 2) {
1319 if (!tInfo || !tInfo->currentContext) {
1323 if (tInfo->currentContext->version == 2) {