Searched refs:currentContext (Results 1 – 5 of 5) sorted by relevance
70 EGLContext currentContext = s_egl.eglGetCurrentContext(); in setupContext() local74 bool needsUpdate = (currentContext != mContext || in setupContext()81 "current=%p, needed=%p, thread=%p", currentContext, mContext, &sThreadState); in setupContext()94 {.context = currentContext, in setupContext()103 EGLContext currentContext = s_egl.eglGetCurrentContext(); in teardownContext() local113 bool needsUpdate = (currentContext != newContext.context || in teardownContext()
97 if (!thread->currentContext) { \100 int clientMajorVersion = (int)thread->currentContext->majorVersion; \112 if (!thread->currentContext) { \115 int idx = (int)thread->currentContext->majorVersion - 1; \
597 getEGLThreadInfo()->currentContext->getGoldfishSyncFd(), in createNativeSync()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()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()[all …]
29 EGLThreadInfo() : currentContext(NULL), eglError(EGL_SUCCESS), dtor(0) {} in EGLThreadInfo()32 EGLContext_t *currentContext; member
345 NSOpenGLContext* ctx = [NSOpenGLContext currentContext];352 NSOpenGLContext* ctx = [NSOpenGLContext currentContext];