Home
last modified time | relevance | path

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

/device/generic/goldfish-opengl/system/egl/
DClientAPIExts.cpp97 if (!thread->currentContext) { \
100 int clientMajorVersion = (int)thread->currentContext->majorVersion; \
112 if (!thread->currentContext) { \
115 int idx = (int)thread->currentContext->majorVersion - 1; \
Degl.cpp483 getEGLThreadInfo()->currentContext->getGoldfishSyncFd(), in createNativeSync()
725 if (!tInfo || !tInfo->currentContext) { in getExtStringArray()
776 if (!tInfo || !tInfo->currentContext) { in getGLString()
790 strPtr = &tInfo->currentContext->versionString; in getGLString()
793 strPtr = &tInfo->currentContext->vendorString; in getGLString()
796 strPtr = &tInfo->currentContext->rendererString; in getGLString()
799 strPtr = &tInfo->currentContext->shaderVersionString; in getGLString()
802 strPtr = &tInfo->currentContext->extensionString; in getGLString()
1317 EGLContext_t* context = tInfo->currentContext; in s_eglReleaseThreadImpl()
1342 tInfo->currentContext = 0; in s_eglReleaseThreadImpl()
[all …]
/device/generic/goldfish-opengl/system/OpenglSystemCommon/
DThreadInfo.h27 EGLThreadInfo() : currentContext(NULL), hostConn(NULL), eglError(EGL_SUCCESS) { } in EGLThreadInfo()
29 EGLContext_t *currentContext; member
/device/generic/goldfish-opengl/tests/gles_android_wrapper/
DThreadInfo.h41 EGLThreadInfo() : currentContext(NULL), serverConn(NULL) {} in EGLThreadInfo()
43 EGLWrapperContext *currentContext; member
Degl.cpp483 if (ti->currentContext == wctx) ti->currentContext = NULL; in eglDestroyContext()
512 ti->currentContext = wctx; in eglMakeCurrent()
521 return (ti->currentContext ? ti->currentContext : EGL_NO_CONTEXT); in eglGetCurrentContext()